[PHP] popen returns true whether script exists or not?

2001-08-14 Thread Tom Hodder
e expected response? this returns a process pointer even though bannerz.cgi doesn't exist I then need to read the results of the cgi script and dump them to the screen like so; but this is not functioning, does anyone have any ideas? Regards Tom Hodder -- PHP General Mai

[PHP] global variables in functions

2001-08-16 Thread Tom Hodder
WHERE ID = '$ID'"; mysql_query( $query, $link ); } is there a simple way to access the global form values without working out which method was used and then using the global keyword on the HTTP_POST_VARS / HTTP_GET_VARS?? Regards Tom Hod

RE: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tom Hodder
You could write all the emails to a database with columns toAddress,fromAddress,subject,body and any others you might want, and then write a cron job to check the database every 10 mins for records it might also be possible to read the process list into a variable and then only start new sendma

[PHP] Need to dynamically globalise variables

2001-08-16 Thread Tom Hodder
ot any ideas on this. Regards Tom Hodder -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] how to execute PHP in CGI?

2001-09-13 Thread Tom Hodder
#!/usr/bin/php print "test"; // More code here etc etc -Original Message- From: Gershon [mailto:[EMAIL PROTECTED]] Sent: 13 September 2001 14:11 To: [EMAIL PROTECTED] Subject: [PHP] how to execute PHP in CGI? Hello All!! how to execute PHP in CGI? Thank You. -- PHP Gener