[PHP] Re: include from another URL

2004-05-12 Thread AcZ
Nik wrote: Hi there, I'm new to these groups so forgive me if I'm asking at the wrong place (tell me where then :) Ok, I'm not PHP guru but I need to create a simple script that would do this: Include a content from another URL into the current output. I have done something like this: -- code

[PHP] Re: Include from another URL?

2004-05-06 Thread Kim Steinhaug
You could always use this : $text = ""; $fd=fopen($url,"r"); while ($line=fgets($fd,1000)) { $text.=$line; } fclose ($fd); echo $text; -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: tho