Re: [PHP] fsockopen + fputs

2008-05-18 Thread Stut
On 16 May 2008, at 00:04, debussy007 wrote: I use fsockopen and fputs to call a distant URL, but I have the following error : The requested URL /registration/test was not found on this server. This is my code: $req = 'username=' . $usr . '&password=' . $pass . '&date_of_birth=

Re: [PHP] fsockopen + fputs

2008-05-16 Thread Nathan Rixham
debussy007 wrote: Hello, I use fsockopen and fputs to call a distant URL, but I have the following error : The requested URL /registration/test was not found on this server. This is my code: $req = 'username=' . $usr . '&password=' . $pass . '&date_of_birth=' . $year . "-" . $month . "-"

Re: [PHP] fsockopen + fputs

2008-05-16 Thread Per Jessen
debussy007 wrote: > However the path www.example.com/registration/test exists > so why does it says it cannot find the requested url ? > > Any idea ? Thank you for any help !! Take a look at the accesslog on www.example.com - that'll tell you what's happening. /Per Jessen, Zürich -- PHP Gene