Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Text grabbing

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Text grabbing

Postby usernamephp » Fri Dec 27, 2013 6:36 am

could any one help me about text grabbing from a website with php coding? :help:
usernamephp
New php-forum User
New php-forum User
 
Posts: 2
Joined: Fri Dec 27, 2013 1:29 am

Re: Text grabbing

Postby aksstgsb » Tue Jan 14, 2014 9:33 pm

The very simple of doing it is by using: file_get_contents() this function will draw the source of the web page for you.

And if you want some more details you can use use cURL. It will give you almost everything about a web page you want to know.
aksstgsb
New php-forum User
New php-forum User
 
Posts: 13
Joined: Fri Dec 13, 2013 3:57 am


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 7 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.