1.
1.start http service=/etc/init.d/httpd start
2.php version =php -version
3.chmod 755 /var/www/html/open
4.chmod 777 /var/www/html/open
5.command to inclue file in php
localhost=require_once(dirname(__FILE__)."/path.php");
?>
or
$path = '/usr/lib/pear';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
2.
urlencoding:
This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.
php function:
string urlencode ( string $str )
example:
$text=urlencode("we can do and i am selva kumar");
?>
reference:
http://php.net/manual/en/function.urlencode.php
Thursday, November 18, 2010
Subscribe to:
Posts (Atom)