#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    22
    Rep Power
    0
    Hi,
    Trying the script at http://firepages to grab headlines I ended up with this script.
    <?php $file=fopen("http://www.ozemail.com.au/~pjlewis/index.html","r");//My home page
    $rf=fread($file,3200);
    fclose($file);
    ?>
    I get this error:- Warning fopen(URL) - Transport endpoint is not connected in line 5 of [myphp3.file].
    Any suggestions please.
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>File not found, sorry this page does not reside on our server ...etc[/quote]


    hi pjlewis,

    I can not get your page in a normal browser - maybe a typo? +
    $rf = fread($file, 32000) note '32000' not '3200' - this would only get a smll part of your file.

    Let me know if you have problems with a valid address.

    Regards,

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL

Similar Threads

  1. Replies: 2
    Last Post: April 13th, 2004, 02:02 PM
  2. How to get client email??Help plz
    By Gecko22 in forum ASP Programming
    Replies: 12
    Last Post: January 22nd, 2004, 02:40 PM
  3. not returning records when it should
    By aliaga61 in forum ASP Programming
    Replies: 3
    Last Post: January 16th, 2004, 11:57 AM
  4. 'Object required' error
    By aliaga61 in forum ASP Programming
    Replies: 1
    Last Post: January 16th, 2004, 09:48 AM
  5. URGENT----help needed on the workflow of Html and JavaScript pages
    By PritiShah in forum JavaScript Development
    Replies: 0
    Last Post: January 6th, 2004, 03:44 PM

IMN logo majestic logo threadwatch logo seochat tools logo