Url

hello!! im just curious about some url’s because i saw some like
[COLOR=red]index2.php?mod=qs459na22frkhitnx26973mgejybne3x&task=main[/COLOR]
[COLOR=black]i just wanna know how to do it using php 4… thnx… :slight_smile: rok on!!![/COLOR]

Are you just talking about passing information to a PHP page with a URL similar to the one you posted?

Say you had a URL like: index2.php?first=Frank&last=Smith

Your index2.php can get the info from the $_GET superglobal.

<?php
if(isset($_GET['first'])){
  $first = $_GET['first'];
  $last = $_GET['last'];

  echo "Hello $first $last.";
}else{
  echo "Hello stranger.";
}
?>

Or are you talking about something else that I just didn’t understand?