I need to pass parameters to pages on my website like so: www.mywebsite/page1/?id=XXX I want to capture the "XXX" when the page is opened. I tried using a JAVA script but the browser issues a warning when the page opens. I certainly don't want my users seeing this. Anyone got any ideas?
Use PHP. Create index.php in your page1 directory, and paste this into it. <? $your_variable = $_GET['id']; echo $your_variable; ?>
Normally if your page is put on the web, there should be the warning for the use of javascript. But there will be a warning if you open it in local drive.