From:             trustpunk at gmail dot com
Operating system: Windows XP
PHP version:      5.2.0RC4
PHP Bug Type:     Reproducible crash
Bug description:  Adding FTP URL's in the get_headers() function, causes PHP to 
crash.

Description:
------------
When you add a simple FTP connection to the get_headers()
function, PHP will crash.

Reproduce code:
---------------
<pre>
<?php
$ftp_server = "ftp://user:[EMAIL PROTECTED]/path/to/file.zip";

//  Let's echo the "header" from the file
print_r(get_headers($ftp_server));
?>
</pre>

Expected result:
----------------
I want the headers from my FTP server request.

Actual result:
--------------
Windows tells me that "PHP" has crashed. Also, I'm testing
this on PHP5.2.0RC5.

-- 
Edit bug report at http://bugs.php.net/?id=38981&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38981&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38981&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38981&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38981&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38981&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38981&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38981&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38981&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38981&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38981&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38981&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38981&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38981&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38981&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38981&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38981&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38981&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38981&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38981&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38981&r=mysqlcfg

Reply via email to