Re: [PHP] Extracting Variables From URL

2007-05-17 Thread Zoltán Németh
I think you should try: http://php.net/parse_url greets Zoltán Németh 2007. 05. 16, szerda keltezéssel 19.40-kor CK ezt írta: > Hi All, > > The following code works just fine for outputting links from an > array. The next goal, is parsing the $thisPage variable from the URL > (http://bushido

Re: [PHP] Extracting Variables From URL

2007-05-16 Thread J R
http://www.php.net/reserved.variables use $_SERVER['PHP_SELF'] or $_SERVER['REQUEST_URI'] just parse its value to get what you needed. hth, John On 5/17/07, CK <[EMAIL PROTECTED]> wrote: Hi All, The following code works just fine for outputting links from an array. The next goal, is parsin

[PHP] Extracting Variables From URL

2007-05-16 Thread CK
Hi All, The following code works just fine for outputting links from an array. The next goal, is parsing the $thisPage variable from the URL (http://bushidodeep.com/contact.html/) so as $thisPage=strtolower("contact");?>, this variable could also be assigned to the $links[] $key. Moving to