note 24266 added to function.fopen

From: Date: Sun, 11 Aug 2002 12:47:53 +0000
Subject: note 24266 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-34806@lists.php.net to get a copy of this message
I have wrote a script to use fopen to get everything from a web site: $file=fopen"http://...url...", "r"); while (!feof($file)) { $line = fgets($file, 4096); However, $line miss out something like: g_ImageTable[g_imax++] = new Array ("/image .............. But if i open the same web page in IE, those missed out script is actually there. Fopen cannot return javascript in form the url?? any workaround??? pls help Thks Frankie -- http://www.php.net/manual/en/function.fopen.php http://master.php.net/manage/user-notes.php?action=edit+24266 http://master.php.net/manage/user-notes.php?action=delete+24266 http://master.php.net/manage/user-notes.php?action=reject+24266

« previous php.notes (#34806) next »