php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9039 Problem with file(), fopen() and url with parameters
Submitted: 2001-01-31 16:27 UTC Modified: 2001-05-30 11:55 UTC
From: paolozavarise at libero dot it Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-01-31 16:27 UTC] paolozavarise at libero dot it
I have this problem. When I run this script

<?php
$firstfile=file("http://www.imdb.com/Title?1941+(1979)");
$secondfile=file("http://www.imdb.com/Title?Nikita+(1990)");
?>

I always have a warning with the first url:
"Warning: file("http://www.imdb.com/Title?1941+(1979)") - No such file or directory in myfile.php"...
but the second url give me any problem.

I think that my php-win has a problem with url with parameters (get method) started with a number (1941)...
no problem with letters.

Boh
Good work !
Paolo Zavarise

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-30 11:55 UTC] sniper@php.net
Reopen if this happens with PHP 4.0.5.
(works for me just fine)

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC