How do I get information from a URL?
| From: | Jeff Howard | Date: | Tue, 21 Aug 2001 23:03:02 +0000 |
| Subject: | How do I get information from a URL? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8983@lists.php.net to get a copy of this message | ||
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