is there a better way to know from which php file the request comes from ??

From: Date: Mon, 17 Aug 2009 09:17:30 +0000
Subject: is there a better way to know from which php file the request comes from ??
Groups: php.general 
Request: Send a blank email to php-general+get-296867@lists.php.net to get a copy of this message
This is a newbie question... Let's say there are 3 php files, page1.php, page2.php and page3.php. Form submission from page1.php or page2.php will take user to page3.php. I know that we can use parameter that is appended in the action attribute of the form (e.g <FORM METHOD=POST ACTION="tes.php?var1=val1">) But I think, appending this parameter is transparent to the user, since it's visible in the url. And I think we can also use the hidden field or (form name ??.). So which one is most secured and better ?? Thanks.. -- View this message in context: http://www.nabble.com/is-there-a-better-way-to-know-from-which-php-file-the-request-comes-from----tp25003587p25003587.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#296867) next »