Re: How to protect a php script that sends variables to itself

From: Date: Tue, 25 Oct 2005 02:15:36 +0000
Subject: Re: How to protect a php script that sends variables to itself
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224600@lists.php.net to get a copy of this message
On Mon, October 24, 2005 2:23 pm, Graham Anderson wrote: > is this possible to prevent ? Or is there a better approach? > This stuff is making my head spin a bit... > I am learning aspects of security so any help is appreciated. You can change makeMoviePlaylist.php to do whatever you want it to. So you can require a valid login, and if they're not logged, spit out a login page. Your login page could be built using examples from: http://php.net/session_start The check to make sure they are logged in will also be there. Just put the same code to check their credentials right into makeMovePlaylist.php -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#224600) next »