|
Posted by Bonge Boo! on 07/02/06 15:32
On 1/7/06 13:55, in article 44a670bd$0$12275$dbd49001@news.euronet.nl,
"Janwillem Borleffs" <jw@jwscripts.com> wrote:
>> $query .= "&PAGE=1";
>> $query .= "&DEL=";
>> $query .= "&PropertyID=00595876";
>>
>
> The problem might be that you are urlencoding the entire query string,
> including the seperators; try encoding the parameter values only:
>
> $query .= '&FOO=' . urlencode($value);
Ok. I've now correctly encode my url string. If I cut and paste the complete
generated string into a Firefox browser, then goto that page, the expected
result is returned. Some info is entered into a database and an xml string
returned.
If I use Safrai or IE with that same string , the xml comes back, but the
item isn't entered into the database. If I use file_get_contents() with that
same string, again, it fails to work in the same way.
Hum. Rather stuck with this. Unfortunately I'm trying to hack someone else's
system to work how I want it to, so I don't know what is happening at their
end.
Can't get curl() give me any useful feedback on why it failing to give the
expected result.
Darn.
Navigation:
[Reply to this message]
|