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

    Join Date
    Jan 2000
    Posts
    1
    Rep Power
    0
    Folks,

    Please visit:
    http://georgia-gateway.org/z.php3 and read the error message it generates.

    The source of that script is:

    <?
    $fname = "http://netsponsors.com/cgi-bin/getimage.cgi/unique?REGION=games";
    $fd = fopen ($fname, "r");
    fpassthru($fd);
    ?>

    Everything seems fine, but something's wrong.
    If I assign to $fname any other static image from http://netsponsors.com, it works!

    Also, it works if I pull ANY banners that appear on the web - Yahoo, Altavista and so on.

    any idea what is wrong with http://netsponsors.com/cgi-bin/getim...e?REGION=games ??

    Please, someone help!!!

    Thanks,
    Temuri
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    It's being redirected to another location. To make your script foolproof you need to check for a redirect in $fd.
  4. #3
  5. No Profile Picture
    damari
    Guest
    Devshed Newbie (0 - 499 posts)
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by rod k:
    It's being redirected to another location. To make your script foolproof you need to check for a redirect in $fd.[/quote]

    And how do u do that? Example?
    Or do I have to lynx bla.com > foo ?

Similar Threads

  1. Replies: 5
    Last Post: February 2nd, 2005, 12:28 AM
  2. UTF-8 problem in 4.1.1a
    By mehran20 in forum MySQL Help
    Replies: 1
    Last Post: February 8th, 2004, 02:21 PM
  3. fread problem: doesn t compile php code
    By ghorghor2002 in forum PHP Development
    Replies: 2
    Last Post: February 3rd, 2004, 05:25 AM
  4. WinNT4 problem
    By sandipguha in forum Windows Help
    Replies: 0
    Last Post: January 27th, 2004, 02:06 AM
  5. weird java problem..please help
    By suwandy in forum Java Help
    Replies: 1
    Last Post: January 26th, 2004, 04:13 AM

IMN logo majestic logo threadwatch logo seochat tools logo