Jump to content

How to access


Chocolate570

Recommended Posts

In some php pages, you'll see this:www.domain.com/index.php?variable=valueHow do I access that variable in the php script? I would like to do many things depending on the variable. Thanks in advance.~Chocolate570

Link to comment
Share on other sites

Oh, so just like you get the value of a form? So for example, if the page was:w3schools.invisionzone.com/index.php?wierdscale=4<? php$wierd=$_GET['wierdscale']if($wierd==4){echo $wierd;|?>And it would write "4"?

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...