note 46943 deleted from function.basename by tularis

From: Date: Thu, 28 Oct 2004 12:10:46 +0000
Subject: note 46943 deleted from function.basename by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79247@lists.php.net to get a copy of this message
Note Submitter: markku dot tiuri at nsftele dot com ---- I am using Apache 2.0.48.0 with Win-XP+servicepack2 I tried to build a link to a file where the file path directory name has blanks like this $link_file='C:/Program Files/NSF Telecom/Melody_IP/file.txt'; echo '<A HREF="FILE://'.$link_file.'">open this file"</A>'; if You place the cursor on the link in Browser the blanks are shown as '%20' and the link wont work. It works if You copy the shortcut and paste it on the URL and then replace the '%20':s with pressing spacebar ? URLDECODE,RAWURLDECODE,STR_REPLACE or CHR(32) do not work either. I tried everything. PLEASE CAN YOU HELP ME ! /MARKKU ---- Reason: spam

« previous php.notes (#79247) next »