Code:
$url='http://pictures.sprintpcs.com/getMMBOXMessageMedia?id=Xw1004H8sLv6S3x76lVPYqVrTxG3Wy0cRaW5QH7BKzIP3kyd2rzGvgmk5gW%2FZUWGqyw0fwJJvr5n%0AmyVjMRcrEa7CM6jI4fnEF70tqiCGYjuGkNKbb8WqPF6J6p0x6Nggg%2FAHqM%2B9at7rfcoAkPZBSw%3D%3D%0A';
$fd = fopen($url, "rb");
I noticed that if I even put a space in front of the URL or mess with the http: part, I get a different error (not "file name too long", but I'm also using Windows and I suspect that stuff is OS dependent - I don't know maybe that's the reason it's working for me).
--------------- Added [DATE]1260044206[/DATE] at [TIME]1260044206[/TIME] ---------------
Quote:
Originally Posted by sailnet
can you give me a sample of your code?
php configuration issue maybe?
ps: I just check ed and my php.ini file does have allow_url_fopen = On
|
And you said it works as a literal string, so it seems like it's got to be something to do with your variable assignment.