RE: [PHP] Magic Quotes Issue

2004-12-08 Thread Tim Owens
Shaun wrote: function db_query($query) { if(!magic_quotes_gpc()){ $qid = mysql_query(addslashes($query)); } else { $qid = mysql_query($query); } return $qid; } But this adds too many slashes! Has anyone come to a better solution regarding this? I believe you should be

[PHP] RE: Please wait page while processing

2004-12-03 Thread Tim Owens
=Storing data - please wait; return ok } -- /SCRIPT ... input type=image onclick= return checkFields() src=images/next_button.gif name=next border=0 value=submit alt=Next span id=please_wait/span Not that it's PHP, but it works... Tim Owens -Original Message- From: Geoff Caplan

RE: [PHP] beginnind and end of the week

2004-11-01 Thread Tim Owens
-Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Monday, 1 November 2004 3:46 p.m. To: [EMAIL PROTECTED] Subject: Re: [PHP] beginnind and end of the week * Thus wrote Jerry Swanson: I need to run a query using PHP/MYSQL. The query should be for a week. So if today is

[PHP] Shell commands on Windows not working

2004-10-17 Thread Tim Owens
It works happily on my laptop. They have safe mode off. The PHP manual talks about shell_exec needing to be enabled, but doesn't give any clue how. Any clues? Tim Owens Dataview Design Ltd - innovative quality web automation - -- PHP General Mailing List (http://www.php.net/) To unsubscribe