Category Archives: PHP

By December 25, 2007

download the latest version of PHP and untar the source. cd into the folder and run the following command. You actually might test your main success books of ra. Apxs2 may be in a different location on your system for zlib supporot add the module –with-zlib ./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql You can reference http://us3.php.net/manual/en/install.unix.apache2.php if you


Read More
By December 16, 2007

A list of possible modes for fopen() using mode mode Description ‘r’ Open for reading only; place the file pointer at the beginning of the file. ‘r+’ Open for reading and writing; place the file pointer at the beginning of the file. ‘w’ Open for writing only; place the file pointer at the beginning of


Read More
By December 16, 2007

Execute a database backup query from PHP file. Run mysqldump using system() function. Use phpMyAdmin to do the backup. Execute a database backup query from PHP file Below is an example of using SELECT INTO OUTFILE query for creating table backup : To restore the backup you just need to run LOAD DATA INFILE query


Read More
By December 10, 2007

You must specify a writeable path for the user:group in the php.ini Locate the following in the php.ini file and make the corrections. You may have to perform this task as root session.save_path 


Read More
1 4 5 6