# Url

**URL:** <https://forum.kirupa.com/t/url/187015>\
**Category:** Uncategorized\
**Created:** [April 26, 2006, 1:56am UTC](https://forum.kirupa.com/t/url/187015 "2006-04-26T01:56:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melvijin](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@melvijin](https://forum.kirupa.com/u/melvijin)\
**Post date:** [April 26, 2006, 1:56am UTC](https://forum.kirupa.com/t/url/187015/1 "2006-04-26T01:56:40Z")

</div>

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… 🙂 rok on!!![/COLOR]

---

<div class="post-metadata">

**Author:** ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)\
**Post date:** [April 26, 2006, 4:28am UTC](https://forum.kirupa.com/t/url/187015/2 "2006-04-26T04:28:21Z")

</div>

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
<?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?
