note 56355 added to function.rawurlencode

From: Date: Wed, 31 Aug 2005 12:48:17 +0000
Subject: note 56355 added to function.rawurlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-94524@lists.php.net to get a copy of this message
In addition to my last post I would like to add that, this function is for the "directories/somefile.ext" paths In order to construct valid ftp url (with password added in it ) do this $valid_path = "ftp://" . rawurlencode($user) . ":" . rawurlencode($pass) . ftp_url_encode($your_server_path_to_file) Last function will encode path url so that language characters remain untouched and you get same file name for download after download dialog appears. ---- Manual Page -- http://www.php.net/manual/en/function.rawurlencode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56355 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56355&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56355&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#94524) next »