[PHP] Re: Performance of magic_quotes_gpc ??

2004-12-19 Thread Jed Smith
They do not do the same thing. mysql_escape_string() is what you're after, if you're inserting data from user input into an SQL statement, regardless! Jed -- _ (_)___ Jed Smith, Code Monkey | / __| [EMAIL PROTECTED] | [EMAIL PROTECTED] | \__ \ +1 54

[PHP] Re: sanitizing/security

2004-12-18 Thread Jed Smith
M table WHERE id=".intval($_REQUEST['id']).""); } what about when the GET is text? just use htmlspecialchars? just looking for some advice to help keep my apps secure. cheers -- _ (_)___Jed Smith, Code Monkey | / __| [EMAIL PROTECTED] | [EMAIL PROTECTED]

[PHP] Re: Storing binary data within a php script.

2004-12-18 Thread Jed Smith
r two reasons first is to make the application usable by anyone and the second reason is to try to push the boundarys of the langage. I would like anyones comments and views on this please. Any views might help me come to a result. Thanks Jamie -- _ (_)___Jed Smith, Code Monk

[PHP] Re: PHP 5 MySql 4.1 issue - can't connect to mysql.sock

2004-12-18 Thread Jed Smith
roblem, as I have a "Hello world" type PHP script running and can access it via the web. But no PHP script can connect to MySql unless it is run as root... Can anyone point me in the right direction? I have a feeling this is something very simple. Thanks! Gregg -- _

[PHP] Re: default extension for includes?

2004-11-22 Thread Jed Smith
asking :) Justin No. -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Signed mail preferred: PGP 0x703F9124) |__/http://personal.jed.bz/keys/jedsmith.asc -- PHP General Mailing List (http://www.php.

[PHP] Re: Limit to the number of sockets socket_select can supervise?

2004-11-20 Thread Jed Smith
ket_strerror(socket_last_error()). And now forthe questions: Does any of you have the same experience? Is it something to do with Windows? Does this limitation exist on Linux? Is it just a bug? Any good suggestions? Best regards and thanx in advance HC -- _ (_)___Jed Smith, Code Ninj

[PHP] Re: ending a session

2004-11-20 Thread Jed Smith
suggest having a glance over the Apache manual and having a chat with your sysadmin. Good luck. -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Signed mail preferred: PGP 0x703F9124) |__/

[PHP] Re: ending a session

2004-11-19 Thread Jed Smith
x27;ll leave my advice at that for now pending further information. -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Signed mail preferred: PGP 0x703F9124) |__/http://personal.jed.bz/keys/jedsmith.as

Re: [PHP] HTML form online

2004-11-19 Thread Jed Smith
Warren Vail wrote: If so you probably want to start here; http://www.php.net/manual/en/ref.curl.php cURL can do that? -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Signed mail preferred: PGP

[PHP] Re: HTML form online

2004-11-19 Thread Jed Smith
ending the user is typing. (Think Mozilla, Gator, et. al.) PHP can do that, but I don't believe that's a solution for you. HTH -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Si

[PHP] Re: I am new - Having problems displaying something

2004-11-19 Thread Jed Smith
7;t say the song Brian Heibert PS: I have a iMac G4 800mhz OS 10.3.6 running Apple's webserver system preference which is there version of Apache I think -- _ (_)___Jed Smith, Code Ninja | / __| RFBs: [email for info] | \__ \ +1 (541) 606-4145 _/ |___/ [EMAIL PROTECTED] (Signed mail p