Just a mention.

Folder name is received by POST (as POST variable).

So i am not talking about any GET thing.
Hi,

I am tryong to filter one folder name i am receiving from user side.

Basically i am receiving a string and i want to be sure it does contains only folder name (as: folder_name or folder123) but not some things like that: ../folder or /folder_name or ..folder/folder1/folder2 aso

Any idea for most proper way to filter such things ?

--
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com


--
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

Reply via email to