Re: How do I get information from a URL?

From: Date: Wed, 22 Aug 2001 00:19:47 +0000
Subject: Re: How do I get information from a URL?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8984@lists.php.net to get a copy of this message
"Jeff Howard" <jeff.howard@berry-hinckley.com> wrote in message news:20010821230920.4621.qmail@pb1.pair.com... > I'm trying to get information from a URL in a way similar to utilizing GET > in ASP. I know how to get information by submitting a form and going to a > new page, but how can I use the form to stay on the same page, yet be able > to retrieve the information? > > For example: > > I start on http://www.mypage.com. I have a form to submit some information, > but want to remain on this page. The result of the query looks like: > > http://www.mypage.com?id=5 > > I want to be able to extract the 5 Try $id (or $HTTP_GET_VARS["id"] if you want to be pedantic)

« previous php.windows (#8984) next »