where $url is the same url I would paste into the browser, the php output is...
Warning: file_get_contents(#url#): failed to open stream: HTTP request failed!
Where #url# is my $url fro mthe script. So it works, the script that its requesting gives the correct output but only via a browser call not a php one. Done a few searches about it but not getting anywhere
any ideas?
__________________ Dan Morley Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up My Blog | Cheap Holidays
do you pass any variables in the URL, that need to be urlencode() can you pm a sample of the URL? If there are any spaces etc in the URL they need to encoded
one damn space! Cant believe id missed that, cheers
__________________ Dan Morley Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up My Blog | Cheap Holidays