eXeCuTeR Posted November 14, 2007 Share Posted November 14, 2007 Hello, If I'll type: foreach($_REQUEST as $value) main($value); function main() { // .... BLA BLA BLA..... } Is that possible to type it and it'll protect all of my pages? the urls and forms? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 14, 2007 Share Posted November 14, 2007 What are you trying to do? What you typed doesn't make any sense. Ken Quote Link to comment Share on other sites More sharing options...
eXeCuTeR Posted November 14, 2007 Author Share Posted November 14, 2007 I'm trying to make it go over all URLs and forms, and in main function it'll protect each URLs and forms that exists on the directory/directories. is that possible? edit: correction: foreach($_REQUEST as $value) main($value); function main($value) { // .... BLA BLA BLA..... } forgot to add $value as a parameter to main. Quote Link to comment Share on other sites More sharing options...
eXeCuTeR Posted November 14, 2007 Author Share Posted November 14, 2007 NVM, seems like my security system works perfectly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.