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

[PHP] RE: "Please wait" page while processing

2004-12-03 Thread Tim Owens
ase wait"; return ok } --> ... Not that it's PHP, but it works... Tim Owens -Original Message- From: Geoff Caplan [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 December 2004 7:52 a.m. To: [EMAIL PROTECTED] Subject: "Please wait" page while processing Hi

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 i

[PHP] Shell commands on Windows not working

2004-10-17 Thread Tim Owens
. backticks 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.