On Fri, Aug 10, 2001 at 03:24:07PM -0700, Evan Nemerson wrote:
> Try messing with the query string, and emulate a GET request. For instance
> 
> $uri = "http://www.somewhere.com/secure.php?username=bob&password=linuxrocks";;
> $theFile = implode("\n",file($uri));
> echo $theFile;

Using/emulating GET for security isn't realy a very smart thing to
do. Everyone can just use the URL as you show it. Using POST isn't
completely waterproof either, but at least you don't just give a way
your security information.

-- 

* R&zE:

-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««

-- 
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]

Reply via email to