Passing variables in the URL
Posted: Sun Jun 01, 2003 6:37 am
[Admin Edit: moved from the register globals sticky]
example:
i'm using a link in my page like this "index.php?action=login"
With my 'old' php, the page would just load(again) when the link is clicked but i echo the login part.
like
but snif...with the new php version i get the same page loaded, but not with the loginpart echoo'd.
does anybody have a clue?
example:
i'm using a link in my page like this "index.php?action=login"
With my 'old' php, the page would just load(again) when the link is clicked but i echo the login part.
like
Code: Select all
<?php
if ($action=="login") {print "allthatshouldlooklikealogin";}
?>does anybody have a clue?