This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

PHP


Page 1 of 1612345678910»NextLast »

How to use Namespaces in php 5.3 ?

How would you differentiate if the call save() was to save a blogs or save comments? The solution was to use blog_save() or comment_save() before the introduction of classes in which we could write the save() function within the Blog... (Continue reading)

Tagged with:     

How to get the IP address of the visitor with PHP?

This is a very simple script to get the IP address of your visitor using php < ?php $ip = $_SERVER['REMOTE_ADDR']; echo "Your IP address is ".$ip; ?> VN:F [1.5.7_846]please wait...Rating: 0.0/10 (0 votes cast)VN:F [1.5.7_846]Rating: 0 (from 0 votes)... (Continue reading)

Tagged with:

Simple Visitor Counter Using php

This tutorial require 1 PHP file and 1 table of mySQL database. 1. counter.php 2. Database “mypage” and table “counter” with 1 fields: visitor(Int, 11). You need to insert a first one record with “0″. Counter.php Source Code < ?php // For using session variables put... (Continue reading)

Tagged with:         

Export MySQL to CSV (Excel) using php

You can export your MySQL database to .csv file format (Microsoft Excel file) easily using php. This tutorial require 1 PHP file and 1 table of mySQL database. 1. exportcsv.php 2. The table is with 2 fields: id(auto_increment), name(varchar, 50) and put some... (Continue reading)

Tagged with:         

Import large files in mysql using PhpMyAdmin

Sometimes when trying to upload some huge SQL file using PHPMYADMIN  we might come across this ERROR MESSAGE Error: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit There is simple a fix for this:- Find the config.inc.php file... (Continue reading)

Tagged with:         

Page 1 of 1612345678910»NextLast »