Forum Moderators: coopster
The Code I used is here:
<?php $file= "http://www.example.com"; if($data = file_get_contents($file)){ echo $data; } else { echo "No data to echo"; } ?> I understand that the if statement is not absolutely necessary, but it seems to work, so I haven't messed with it...
An example of one of the dynamic links I am trying to include is:
http://www.example.com/ws/ws.dll/StartSrch?UID=83208&category=bags
Thank you for any assistance!
[edited by: eelixduppy at 4:46 pm (utc) on Oct. 16, 2008]
[edit reason] exemplified [/edit]
Try changing the file variable:
$file = 'http://www.example.com/ws/ws.dll/StartSrch?UID=83208&category=bags';
you must have the allow_url_fopen directive enabled in your php.ini configuration file.