|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-31 14:19 UTC] elmicha@php.net
[2003-08-01 06:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 09:00:01 2025 UTC |
Description: ------------ There are problems when the @(AT) character is contained within the username through a fopen statement. In the following exampls, there are no escape characters utilised. However, this doesn't help the matter either. I previously send in a Bug report for the same situation with the phase_url - but was classed as a bogus. So, where is the problem then? As it is possible to have a @(AT) sign within the user name. Reproduce code: --------------- $handle = fopen("fttp://user@dna.com:password@ftp.host.com","rw"); // user="user@dna.com" // password = "password" // host = "ftp.dnacpu.com" Expected result: ---------------- For the file to be successfully accessed Actual result: -------------- No Connection, due to the problem that there are two AT signs contains within the URL.