By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,345 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

PHP URL Validation in html text bar

P: 15
How do I validate that I am on a certain page of my site?

For example I want to run code only if a certain part of my website for example

http://localhost/wiki/index.php/Stuff

BUT NOT


http://localhost/wiki/index.php/Main_Page

Thanks
Jul 31 '07 #1
Share this Question
Share on Google+
1 Reply


kovik
Expert 100+
P: 1,044
How do I validate that I am on a certain page of my site?

For example I want to run code only if a certain part of my website for example

http://localhost/wiki/index.php/Stuff

BUT NOT


http://localhost/wiki/index.php/Main_Page

Thanks
Why would you do that? Why not use a query string or mod_rewrite that creates a query string?
Aug 1 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.