Date: 09/29/98
- Next message: russell <email protected>: "Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4?"
- Previous message: libs <email protected>: "[PHP-DEV] Bug #797: Mistake in text of error message."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: and <email protected>
Operating system: Digital Unix 3.2D
PHP version: 3.0.4
PHP Bug Type: Misbehaving function
Bug description: parse_url() and fopen() reject legal URLs
<?php
$a = parse_url("http://www.mclink.it/")
...
$f = fopen("http://www.mclink.it/index.html", "r");
?>
In both cases the parser complaints with:
Warning: unable to parse url (http://www.mclink.it/...) in <path>/test.phtml on line <xyz>
--The configure command line is:
./configure --with-apxs=/u0/apache/bin/apxs --with-shared-apache=../apache_1.3.2 --with-gd --with-mysql --with-dbase=no --with-config-file-path --enable-debug=no --enable-track-vars=yes --enable-bcmath=yes --enable-short-tags=no --enable-dl=yes --with-zlib=yes
--
No php3.ini file is used.
--
Apparently, the error comes from the url_parse() C function. I've tried to use both the included regex library and the system regex library, to no avail.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: russell <email protected>: "Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4?"
- Previous message: libs <email protected>: "[PHP-DEV] Bug #797: Mistake in text of error message."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

