Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-03-2004, 11:16 AM   #1
Member (7 bit)
 
Join Date: Apr 2004
Location: something like a pimp
Posts: 68
URL Encoded files and folders

Working in PERL. Been creating CMS systems lately and I've been doing some regex to remove all special characters when a user tries to create a new folder or file. Question is, would there be harm in URL-Encoding the name and then using that to name the file? Like if they try to create a new file...

they enter: new stuff!
I then encode it to: new_stuff%21

and use that for the filename. Then I can read it back in, decode it, and display it as it was meant to be shown.

Thanks for any info.
webg
webguy0000 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:10 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2