[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-10 Thread Tribun
at first: thank you for your answer. but I'm not sure what you've meant, with "I'm betting there's code in the code archives to show you how" Have you any ideas to do that May be through the CURL function??? (http://www.php.net/manual/de/ref.curl.php) In fact, I realy dont know. If you c

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-09 Thread Richard Lynch
Yahoo *might* be "detecting" that you're not a "real" browser, since PHP probably sends different headers when you attempt to get the file dynamically than your browser sends when you type the URL. So Yahoo may be denying you access when using PHP, but not from your browser. There's nothing to s

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-09 Thread elias
As for snap two, try echoing the filename you're trying to fopen: do: $fn = "http://babynames.pregnancy.yahoo.com/bnfname?n=$name"; echo "$fn\n"; $fp = fopen($fn, "r"); Weird...maybe this yahoo service was doing at that moment? "Tribun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">new