|
-
Feb 27th, 2006, 05:20 AM
#6
Member
Re: How to output part of feild using mysql and php
 Originally Posted by visualAd
That is not a very safe peice of code to use as you could supply the path to any directoy on the server in the URL.
That crossed my mind, but the idea was to list off all mp3s in the dirs with cleaner details then just opening up the dirs for browsing. By limiting what files can be displayed with preg_match, would you still say its unsafe (with the intent i stated) ?
Thanks for your input.
_
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|