Reply to Re: Changes between some lines

Your name:

Reply:


Posted by The87Boy on 12/28/07 12:06

On Dec 27, 6:06 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> In the request itself:
> $_GET['id']

I already know this one, but it is possible, it is not localhost, and
there why I can not use this one

> Parsing the url as a string in another file (if you'd like to examine the
> target in another script for instance):
> $id = false;
> $url = 'http://localhost/index.php?cmd=14&id=3325253&from=2';
> $querystring = parse_url($url, PHP_URL_QUERY);
> if(!empty($querystring)){
> parse_str($querystring,$array);
> $id = isset($array['id']) ? $array['id'] : false;}

This was actually what I was searching for, but I did not know, there
was a PHP function, there why my question

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация