menu

Saturday 20 December 2014

how to integrate advanced paypal payment in your website

PayPal Payments Advanced

Accept credit cards, PayPal, and PayPal Credit®  online with PayPal Payments Advanced. This all-in-one solution offers an embedded checkout that keeps customers on the merchant's site and an Internet merchant account from PayPal. Plus, it's PCI compliant to help merchants manage their credit card security requirements.  

How it works

With PayPal Payments Advanced, merchants can enable their online stores to collect payments directly via credit card, PayPal Express Checkout, or PayPal's PayPal Credit service. From an integration standpoint, PayPal Payments Advanced is identical to the PayPal Payflow gateway, with the following exceptions:

Payflow LogoPayflow has become an essential part of PayPal's premier product offerings, coming standard with all new PayPal Payments Advanced and PayPal Payments Pro accounts.
Because Payflow is loosely integrated with the PayPal Sandbox at this time, developers are sometimes unsure about how to get started and may encounter some minor roadblocks. Follow this guide to start running testable code in no time!
CLICK FOR MORE DETAIL

Friday 5 December 2014

Install and Configure CodeIgniter Framework

CodeIgniter is one of the most popular PHP frameworks around. It uses the Model-View-Controller Architectural design pattern and it’s considered by lots of developers as one of the best framework solution for small to medium projects.
First of all, you need to download. https://ellislab.com/codeigniter/user-guide/installation/downloads.html.
Why Codeigniter Framework is Better than Custom PHP Development

Configuring CodeIgniter
  Now you have CodeIgniter installed on your server for the configuration. Open the application/config/config.php file and set your base URL. If you intend to use encryption or sessions, set your encryption key. For the database configuration, open the application/config/database.php and update with your details.

The following is a quick description of what you can do by editing some of the most commonly used configuration files:
- autoload.php: specifies which systems (Packages, Libraries, Helper files, Custom config files, Language files and Models) should be loaded by default.
- config.php: contains all website configuration.
- constants.php: contains defined constants which are used when checking and setting modes when working with the file system.
- database.php: contains the settings needed to access your database.
- email.php: This file is not created by default. But you can create it and set the default values for the email class. Like: mailtype, charset, newline, protocol, smtp_host, etc.
- hooks.php: lets you define “hooks” to extend CI without editing the core files.
- mime.php: contains an array of mime types. It is used by the upload class to help identify allowed file type.
- routes.php: lets you re-map URI requests to specific controller functions.
- smileys.php: contains an array of smileys for use with the emoticon helper.
- upload.php: This file is not created by default. But you can create it and set the default values for the upload class. Like: upload_path, allowed_types, max_size, max_width, max_height, etc.
- user_agents.php: contains four arrays of user agent data. It is used by the User Agent Class to help identify browser, platform, robot, and mobile device data. The array keys are used to identify the device and the array values are used to set the actual name of the item.

Thursday 4 December 2014

PHP for Android Project Launched

PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasible providing tools and documentation.
We currently have an APK which provides PHP support to SL4A (PhpForAndroid.apk) and we're working in a manual.
Irontec is the company behind this project. About this project.
irontec have just launched an open source project to bring PHP to Android platform. PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasable providing tools and documentation. The project already have an APK which provides PHP support to Android Scripting Environment (ASE). To get started you can follow the screencast below :
APK and source code both available at http://phpforandroid.net. Minimum requirement to get PHP for Android running is Android 1.5 phone or emulator. There is even an unofficial ASE build with PHP 5.3 support included. Now Rasmus can get an Android phone and start scripting on mobile.

Thursday 20 November 2014

Client testimonials carousel responsive css jquery

The testimonials carousel is a strategic section of a website. It’s a marketing tool, whose message is “this product/service has been used, and it’s good. Trust us!”.
Today we share a responsive and minimal client testimonials box, that can be easily integrated into your design.  Besides we considered the scenario where the user wants to see more feedbacks, so we added a button that links to a modal page with more testimonials, with a nice CSS3 transition.
2 plugins have been used to built this resource: FlexSlider for the carousel, and Masonry layout to build the grid for the testimonials modal page.

READ MORE 

Sunday 16 November 2014

Upload and cut the picture - jQuery plugin Upload & Crop Image

Picture Cut is a jquery plugin that handles images in a very friendly and simple way, with a beautiful interface based on bootstrap or jquery ui, has great features like ajax upload, drag image from explorer, image crop and others.

Features

  • Ajax Upload
  • Resize image
  • Drag image from explorer
  • Manipulate image size in bytes
  • Cropping image

Supported Browsers

  • Google Chrome
  • Mozilla Firefox
  • Apple Safari
  • Opera
  • Internet Explorer 7+

READ MORE    

Friday 5 September 2014

PHP Melody - Video CMS. A better way to create video websites.

Import from YouTube and more

PHP Melody is a self-hosted Video CMS which evolved over the last 6 years. SEO optimization, unbeaten security and speed are advantages you no longer have to compromise on.
Importing videos from YouTube.com with PHP Melody - Video CMS


          Importing videos from YouTube.com with PHP Melody - Video CMS         Example of an article being published.

A truly great CMS should help you save time and make your life easier not complicate it. Nobody enjoys spending time and money on inferior solutions. If you value your time, don't settle for anything butthe best video CMS with a proven track record, constant support and updates.
Whether you're creating a personal or business video site, PHP

Works on any hosting account.

  • No nonsense features that you'll never use.
  • Optimized for speed, ease of use and customization.
  • Constant updates to keep your site ahead of your competition.
  • Reassuringly solid customer support (6 years and going).
  • Simple pricing – buy and own for life, no monthly fees.


Create Pages without any code modifications →

Wednesday 9 July 2014

Event Espresso is the best event registration and ticketing manager

Trusted by thousands, Event Espresso is the best WordPress event registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a fully-featured event management website and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options and discount codes to printable tickets and seating charts.
Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.

Saturday 12 April 2014

Clip Bucket - Most Popular OpenSource Multimedia Management Script (MMS)

ClipBucket is an OpenSource Multimedia Management Script Provided Free to the Community.This script comes with all the bells & whistles required to start your own Video Sharing website like Youtube, Metacafe, Veoh, Hulu or any other top video distribution application in matter of minutes. ClipBucket is fastest growing script which was first started as Youtube Clone but now its advance features & enhancements makes it the most versatile, reliable & scalable media distribution platform with latest social networking features, while staying light on your pockets. Whether you are a small fan club or a big Multi Tier Network operator, Clipbucket will fulfill your video management needs.

DEMO 

Wednesday 26 February 2014

how to get Video Chat in my website

Magnoliyan Video Chat (mgVideoChat) is full featured video communication system with integrated text chat, available directly within your web browser. You can consider it as online web based Skype, but without the requirement to install any additional software, plugin nor flash.
There is unlimited number of use cases: online live video chat support, private rooms, community chat rooms…
Unlike some other systems, Magnoliyan Video Chat includes full featured server side “signaling” engine: you can see who is online, click to call, click to end call, send text messages. You can even mark certain users as operators who are able to receive calls, while all others can just make calls – perfect for tech support.
In order to disallow anonymous users, there is special plugin system for authorization of visitors. You can easily customize it with your own web app login mechanism. Still, Magnoliyan Video Chat comes with built in support for facebook login and wordpress accounts. It’s even possible to use different authorization system per chat room.





Video Chat - CodeCanyon Item for SaleFeatures

  • Pure HTML 5 RTC video chat system
  • PHP server side signaling system included
  • No additional software nor accounts needed
  • No DB needed
  • Mobile friendly responsive interface
  • Facebook authorization support
  • Wordpress authorization suppor
  • Extendable authorization system
  • Created with Bootstrap 3
  • Ability to define chat rooms
  • Ability to define callable operators
READ MORE

How to Generate Dynamic Favicon in PHP

please read about that Gmail has just launched small but really useful feature in Gmail Labs. Dynamic Favicon showing unread email counts directly in your browser tab icon. If your browser window has lots and lots of tabs open at anytime, this might be really a wonderful feature that lets user know of any unread item. Here is a small and powerful script in PHP that lets you create your own Dynamic favicon. We will use PHP GD library to manipulate the favicon image and add text into it. Below is the simple script that reads a favicon image add add some text character on it.
1<pre>
2//Read the favicon template from favicon.png
3//file from current directory
4$im = imagecreatefrompng("favicon.png");
5//$im = imagecreatefromjpg("favicon.jpg");   //using this function to load favicon of jpeg type
6//$im = imagecreatefrombmp("favicon.bmp"); //using this function to load favicon of bmp type
7  
8/* Read the character which needs to be added in favicon from
9 * get request
10 */
11if(isset($_GET['char']) && !empty($_GET['char'])) {
12    $string = $_GET['char'];
13} else {
14    /* If no character is specified; add some default value */
15    $string = 'V';
16}
17  
18/* background color for the favicon */
19$bg = imagecolorallocate($im, 255, 255, 255);
20  
21/* foreground (font) color for the favicon */
22$black = imagecolorallocate($im, 0, 0, 0);
23  
24/* Write the character in favicon
25 * arguements: image, fontsize, x-coordinate,
26 *              y-coordinate, characterstring, color
27 */
28imagechar($im, 2, 5, 1, $string, $black);
29  
30header('Content-type: image/png');
31  
32imagepng($im);
33 
34</pre>
The above code is pretty much self explanatory. We read a character from GET request and add it into the favicon image. Note here that we are using a template favicon image which me modify. You can place any favicon of your choice near favicon.php file.
 

create a mobile app in php

How to start?

Development of a complex iPFaces application is really simple because the simulation mode can be used. This mode is capable of transfering XML content to a HTML page, which can be displayed in a web browser. It is a helpful tool for developers who can see their iPFaces application in the browser window and they do not need a real iPhone device for main development.
Developers can build and deploy an application to the application server and the browser will show them the GUI which is almost the same as a screen in an iPhone application. There is a difference in the GPS elements. A GPS field is working in a browser only as text field that can be filled by user and GPS coordinates will be submitted. The GPS field is hidden on mobile devices, because the location of the device is detected without interaction with the user.

Hello world example

To use PHP iPFaces library, just include “ipfaces-php-lib-1.1.php” file, construct the component tree and call “render()” method on the component form.
<?php
   require "path/to/ipfaces/library/ipfaces-php-1.1.php";

   $ipf_form = new IPFForm("form1", "Form");
   $ipf_screen = $ipf_form->addScreen("Hello World Application", "screen1");
   $ipf_screen->addLabel("Hello World!");
   $ipf_form->render();
?>
 
Hello world app on the iPhone device and in a web browser

Use of location service

To obtain a user location from a mobile device use the IPFGsm class. Upon submission of a form, the location data will be sent as a parameter with the selected name (gpsElement in this example).
<?php
      require "../lib/ipfaces-php-lib-1.1.php";


      $form = new IPFForm();

      $screen = $form->addScreen("How Far Is It?");

      $screen->addLabel("You can find distance between your position and selected city.");

      $select = new IPFSelect("countrySelect", "1", "Distance to", "list" );

      $select->addOption("35.17 149.13 Australia Canberra", "Canberra");
      $select->addOption("51.30 0.10 UK London", "London");
      $select->addOption("50.05 14.28 Czech Prague", "Prague");
      $select->addOption("38.53 77.02 USA Washington", "Washington");

      $select->Icon = "../img/distcalc.png";
      $screen->addItem($select);

      $screen->addButton("backButton", "1", "Examples", "../index.php", IPFButton::BUTTON_TYPE_LINK, IPFButton::BUTTON_POSITION_BACK);

      $screen->addButton("submitButton", "0", "Calculate" , "distance.php", IPFButton::BUTTON_TYPE_SUBMIT, IPFButton::BUTTON_POSITION_FORWARD);

      $screen->addGps("gpsElement");

      $form->render();
?>
 

Thursday 16 January 2014

get response after sharing with Facebook feed dialog?

<body>
    <div id='fb-root'></div>
    <script src='http://connect.facebook.net/en_US/all.js'></script>
    <p><a onclick='postToFeed(); return false;'><img src="RANDOM IMAGE.png" alt="IMAGE"/></a></p>
    <p id='msg'></p>

        <script> 
          FB.init({appId: "1234567890", status: true, cookie: true});

          function postToFeed() {

            // calling the API ...
            var obj = {
              method: 'feed',
              link: 'https://developers.facebook.com/docs/reference/dialogs/',
              picture: 'http://fbrell.com/f8.jpg',
              name: 'Facebook Dialogs',
              caption: 'Reference Documentation',
              description: 'Using Dialogs to interact with users.'
            };

            function callback(response) {
              document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
            }`enter code here`

            FB.ui(obj, callback);
          }
        </script>
  </body>