Browsing articles in "PHP"
Jan 4, 2010
admin

MySQL to tab formatted TXT(datafeed) converter script-PHP


mysql_icon

MySQL to Google Based Datafeed Converter PHP Script

Hello Friends !!

Currently I am working on one project in which I have to store data in Google Merchant Center.

This is a Google Product Search which is used for search any product around the world. Currently many shopping sites stores their products in Google Product Search.

For store data in google product search, Google supports txt file with tab seperated.

After some reserch I have made one PHP script which store data from MySQL table to txt file with tab seperated.
Continue reading »

Apr 10, 2009
admin

Set Cookies in PHP


Hello Friends !!

Today i will show you hiw to use Cookie in PHP.

First of all Cookies are small pieces of text, stored by a user’s web browser, that contain the user’s settings, shopping cart contents, or other data used by websites.

In PHP we can set cookies by inbuilt function setcookie().

setcookie(‘username’, $name);

It is very easy to use and understand. First parameter is the name of the cookie and second one is the value you want to store in cookie.

By above code you can set simple cookie and this cookie will be deleted when user close their browser.

We can also set the time how long we want the cookie.

$cookie_life = time() + 31536000;
setcookie(‘username’, $name, $cookie_life);

Above example create cookie for 1 year. Yes 31536000 seconds means 1 year.Remember, cookies must be deleted with the same parameters they were set with.If users clear their history from browser then cookies will be deleted.
Continue reading »

Apr 8, 2009
admin

Security in PHP – Tutorial


Hello Friends !!

Today I found one PDF file about PHP Security. Here I will give you that tutorial.

In this tutorial all the PHP security issues are explained in easu language.

Document is about worth 15 pages so i can’t write it in my blog.

Simply click on link shown below and you can see that PDF file. But first you have to install Adobe PDF reader.

CLICK HERE to see tutorial.

If you like this tutorial then please comment on this post. If you have any query then also tell me.

Click below links for more tutorials:

I will try my best to solve your problem.

Thanks…

Apr 1, 2009
admin

Use PayPal’s Instant Payment Notification with PHP


hello Friends !!

Today i will tell you that how to integrate Instant Payment Notification(IPN) inPayPal using PHP.

There are several PHP scripts and classes to process PayPal payments using their native IPN (Internet payment notification) feature. Because the whole process is based on the data you need to send via a web form to the PayPal payment processor these script look very similar.

The payment / notification process is shown via the following graphic:
Continue reading »

Mar 26, 2009
admin

Redirect to https (SSL) in php


Hello Friends !!

Today I found some new things. This post is show you how to redirect to https(SSL) in PHP.

First, What is SSL ? Let me Explained :

SSL meand Secure Socket Layer. It is developed by Netscape to transmit private data via Internet.

SSL uses a cryptographic system that uses two keys to encrypt data – a public key known to everyone and a private or secret key known only to the recipient of the message. Both Netscape Navigator and Internet Explorer support SSL, and many Web sites use the protocol to obtain confidential user information, such as credit card numbers. By convention, URLs that require an SSL connection start with https: instead of http:

Most of e-commerce sites uses payment gateway for online payment.And those sites use SSL connection to transfer data to and from the payment gateway.

Most of the sites use http protocol. But in above case wehave to redirect browser to https.
If you want to see example, write “http://www.gmail.com” in browser, it automatically redirects to https.It means site transfer to SSL protocol.

First of all, you should know that SSL must be installed in the server. To redirect the browser to “https” , we must know that the site is using SSL or not at the moment. And for this, there is a server variable in PHP called “HTTPS”. $_SERVER['HTTPS'] returns “on” values when the site is using SSL connection.
Continue reading »

Mar 21, 2009
admin

Take cPanel full backup-PHP


Hello Friends !!

I found some new thing to take backup your site/blog from server.

I give you script to take backup.

This will take full backup from cPanel to FTP.

The first, cpbackup_cfg.php, shown below, must be edited to insert your site and FTP server login credentials.

<?php
$cpuser = “xxxxxxxxxx”;
$cppass = “xxxxxxxxxx”;
$domain = “yourdomain.com”;
$skin = “x2″;

$ftpuser = “xxxxxxxx”;
$ftppass = “xxxxxxxx”;
$ftphost = “ftp.backupsite.com”;
$ftpmode = “passiveftp”;
$ftpdir = “/subdir”;

$notifyemail = “webmaster@mydomain.com”;

$delbackup = 1;

$secure = 0;

$debug = 0;
?>

The second file, cp_backup.php, shown below, is the backup script itself.
Continue reading »

Mar 19, 2009
admin

New Open Sorce “OsDate” – Dating and Matchmaking script


Hello Friends !!

Today I want to discuss one new point with you.

I think you all are familier with joomla. Joomla is a free Open Source CMS which is widly used to make CMS.

Same way If you want to develope your Dating or Matrimonial or Couple site, in market there is one new open source available called OsDate.

osDate dating and matchmaking script fully integrates with major bulletin boards (phpBB, vBulletin, etc.) and FlashChat, and provides several payment modules, multiple skins, and free upgrades. The .zip or .tgz downloads below are over 30MB, so please be patient while downloading! Want a different look for your dating site?

You can download absolutely free from this site.

To Download Reffer http://www.tufat.com/s_free_dating_system.htm.

Currently i am working on this. So if you have any question or problem with this then please comment me.

Thanks…

Mar 16, 2009
admin

Take Backup of MySQL database using PHP


Hello Friends !!

Generally we take backup of our MySQL database using import/Export option in phpMyAdmin.

But Suppose, you have to take backup every day or every hour, this technique is time consuming. It takes more time.

There is one way to take backup which take less time. We can take backup using PHP code. When you run this code, This code create one backup file automatically which ia easily import in database when you want.

I write that PHP code below. Simply you have to copy this code and paste in you PHP file.
Continue reading »

Mar 14, 2009
admin

MySQL table to CSV – PHP Script


Hello Friends !!

If you want to export data from MySQL table to CSV file ,then don’t worry. I will provide you one script. When you run this script, data in table are stored in CSV file.

Here i give you code of the PHP script. You have to just copy that code and paste in your PHP file and run that file.
Continue reading »

Mar 13, 2009
admin

Export from CSV to MySQL table – PHP Script


Hello Friends !!

In my later post on Export data from MS EXCEL sheet to MySQL table – PHP Script , i explained how store data from MS EXCEL sheet to MySQL table.

Today I will give you PHP code for store data from CSV file to MySQL table. You have to just make one PHP file, copy code displayed below and paste in that file. After this just run that PHP script.
Continue reading »

Pages:«12345»

PHP Genious Services

I am a PHP freelancer india, PHP Developer india, PHP programmer india, Wordpress Freelancer india, Wordpress customization services, Wordpress Plugin Developer, Wordpress theme customization, Wordpress plugin customization, Magento Freelancer, Magento Developer india, Magento customization services, Magento theme integration, Opencart Developer india, Zencart Freelancer, Opencart customization, Opencart plugin development, HTML and CSS customization, cakePHP Developer, cakePHP Freelancer india, Ecommerce Developer india

Click Here for

Follow me on Facebook

Categories

Get Adobe Flash playerPlugin by wpburn.com wordpress themes