Server time out when php script takes too long to execute.


Most of the time, if the php script is process intensive on client end, by default, the APACHE server times out the script. If the script is timing out on server, one needs to add a small line on the top of the script.

<?php
set_time_limit(0);
?>


Proper DB Insertion from Web Page.


</pre>
<div>$sql = "insert into ads set adsence_code = '".mysql_real_escape_string($banner)."' where domain = 1";</div>
<pre>

http://www.wallpaperama.com/forums/how-to-insert-html-code-into-mysql-database-t7421.html

Server Varaibles


<?php
$crlf=chr(13).chr(10);
$br='<br />'.$crlf;
$p='<br /><br />'.$crlf;
foreach ($_SERVER as $key => $datum)
{
echo $key.' : '.$datum.$br;
}
echo $p;
exit;
?>

Source: http://forums.digitalpoint.com/showthread.php?t=835

Further links

http://blog.zugschlus.de/archives/441-What-is-REQUEST_URI-supposed-to-be.html

http://davidwalsh.name/iis-php-server-request_uri

My Reality Show


When Enough is enough between a couple?

Sweet couple

It would be something like there would be two or more couples along with their in laws. Make them sit opposite to each other. For example, the guys's in laws sitting on with Guy, and similar with Girl.

Bring on the hypnotist. Hypnotize either girl's in laws and let them give only true answers to the questions raised by the guy and guy's in laws. Tape it. and then do the same with other party.

This could very well remove or sort things out between married couples.

Powered by Plinky