![]() |
Small PHP issue
Odd problem. I have a small php file that just proxys the data from one page to another so that the end user does not know the original url. Problem i am having is that it works on one machine and not the other.
Code:
$dataFile = fopen( "http://xx.xx.xx, "r" ) ; Any Ideas why? Not a major problem though. OS: XPSP2, IIS |
I wish i understood one word of that
:oops: |
are you escaping the backslashes in your URL? is your local webserver running linux?
there's a few problems with fopen() in a lot of PHP versions personally i'd not bother with it and use curl |
Quote:
I guess i will have to use fsockopen |
bloody long way round, try this
<? require ("http://www.x.x.x.x"); ?> or <? include ("http://www.x.x.x.x"); ?> |
Nop does not work either. Weird there may be a problem in php on IIS.
|
All times are GMT. The time now is 03:55 PM. |
Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.