Re: the files I'm working with

From: Date: Fri, 04 Oct 2002 12:10:03 +0000
Subject: Re: the files I'm working with
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-118866@lists.php.net to get a copy of this message
safe enough would be to put this at the begining if(!ereg('^[0-9]+$',$song) { die('Sorry...') } Rick Beckman wrote:
song.php is the file that I'm using as my template file, and it calls information from the includes/ directory, which the file "1" would be in. If someone would please look at song.php (I stripped it down to the basics pretty much) and let me know the best and most secure way to do what I want it to do. When finished, the includes directory will have dozens of files (numbered 1 and up), as you can see from the dropdown list in song.php . Thanks for the help.


« previous php.general (#118866) next »