RE: [PHP] How to update url on server side...php header func?

From: Date: Tue, 23 Sep 2003 11:53:07 +0000
Subject: RE: [PHP] How to update url on server side...php header func?
Groups: php.general 
Request: Send a blank email to php-general+get-163577@lists.php.net to get a copy of this message
[snip] Basically original url is (pseudo) "select * from table where rec=5" ... any ideas of how to better go about this? [/snip] The query is in the URL? Really? You have just asked for a security problem (google for "sql injection" and you'll see what I am talking about). If you have anything that looks like http://www.yourserver.com/script.php?sql=select you need to stop what you are doing. Honestly, I believe that you need to change your code, and without seeing your current code I couldn't make any further recommendations.

« previous php.general (#163577) next »