rawurlencode() - http://php.net/rawurlencode
';
$enc = rawurlencode($str);
print $enc . '';
?>
-dan
Previously, Floyd Piedad said:
>
> I discovered a bug in my program for uploading files, which stores the
> filename in the database in order to create a link for it on the web page in
> th
The is no function that i know specific to do that. But you can work it out
with a RegExp. Try:
$fileName=ereg_replace("_", "[^A-Za-z0-9_%]", $fileName);
Cheers!!
-Original Message-
From: Floyd Piedad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 April, 2001 11:24 PM
To: [EMAIL PROTECTE
2 matches
Mail list logo