Re: How to get information out of an external page?
| From: | Tobias Talltorp | Date: | Wed, 07 Feb 2001 12:47:13 +0000 |
| Subject: | Re: How to get information out of an external page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38536@lists.php.net to get a copy of this message | ||
Try this:
http://www.zend.com/codex.php?id=39&single=1
Just replace the fopen() and eregi() to suit your needs.
// Tobias
""David Tandberg-Johansen"" <david@datajo.no> wrote in message
news:95onrm$dj6$1@toye.p.sourceforge.net...
> Hello!
>
> I try to get some information from an public DB to controll that the users
> input is right.
>
> I can access the DB via http, so I dont have to logg in to it
>
> The public DB write out and plain HTML page.
>
> I want to check if only one of the records is the same as the user input.
I
> am only using the information in public DB to verify, and nothing else.
>
> Example of output from DB:
> *********************************
> Name : Joe
> Lastname: Doe
> Userid: 45545654 /*this is the information I wants
> City: New York
> *********************************
>
> I figured out that I have to use fopen () and fread().
>
> Could anyone give mes some hints!
>
> Thank's
>
> David
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>