hi Everyone
Anybody else there, who can solve this problem for Grabbing the Web Contents like URL, First NAme And Last Name From Any specified web site and after that it would be saved into the DataBase.
Best Regards
Ali
Grab the Web Site Contents like URL, FirstName, LastName
Moderator: General Moderators
-
qamarabbasjaffery
- Forum Newbie
- Posts: 2
- Joined: Mon Feb 11, 2008 10:04 am
Re: Grab the Web Site Contents like URL, FirstName, LastName
You would need the url to access the webpage in the first place. Could you please explain exactly what you are trying to do?
What do you mean "FirstName, LastName"? Is it the contents of a page?
You can either use regular expressions or xml processing for that.
http://us.php.net/manual/en/ref.dom.php
or
http://us.php.net/manual/en/ref.simplexml.php
For regular expressions:
http://us.php.net/manual/en/function.preg-match.php
What do you mean "FirstName, LastName"? Is it the contents of a page?
You can either use regular expressions or xml processing for that.
http://us.php.net/manual/en/ref.dom.php
or
http://us.php.net/manual/en/ref.simplexml.php
For regular expressions:
http://us.php.net/manual/en/function.preg-match.php
-
qamarabbasjaffery
- Forum Newbie
- Posts: 2
- Joined: Mon Feb 11, 2008 10:04 am
Re: Grab the Web Site Contents like URL, FirstName, LastName
I actually grab my desired data from any link through the internet. Like
As for i have doe at my side is
i have placed a Text box in which i give the URL of the Desired website site, then i give Expression1 like search from this expression and then give the expression 2 that ends upto here. So go throgh the page and fetch the required mention relevant data. and this grabbed data, i would like to store in a database table.
So how we can code it in PHP. Waiting for an urgent reply
Qamar
As for i have doe at my side is
i have placed a Text box in which i give the URL of the Desired website site, then i give Expression1 like search from this expression and then give the expression 2 that ends upto here. So go throgh the page and fetch the required mention relevant data. and this grabbed data, i would like to store in a database table.
So how we can code it in PHP. Waiting for an urgent reply
Qamar
Re: Grab the Web Site Contents like URL, FirstName, LastName
I am having trouble understanding what you are trying to say. Are you talking about a web form?
Could you post your code?
Could you post your code?