Click here to Skip to main content
15,890,282 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionHow to copy all file from on directory to another Pin
udch31-Jul-09 10:00
udch31-Jul-09 10:00 
AnswerRe: How to copy all file from on directory to another Pin
Marc Firth4-Aug-09 2:53
Marc Firth4-Aug-09 2:53 
GeneralRe: How to copy all file from on directory to another Pin
udch6-Aug-09 16:34
udch6-Aug-09 16:34 
QuestionSend Live Server API to USPS Pin
malrajphp31-Jul-09 5:31
malrajphp31-Jul-09 5:31 
AnswerRe: Send Live Server API to USPS Pin
Marc Firth4-Aug-09 2:55
Marc Firth4-Aug-09 2:55 
Questionhow to highlight punctuation in gedit Pin
chenfengrugao30-Jul-09 16:08
chenfengrugao30-Jul-09 16:08 
Question[Message Deleted] Pin
udch29-Jul-09 2:02
udch29-Jul-09 2:02 
AnswerRe: In which Pin
enhzflep30-Jul-09 19:05
enhzflep30-Jul-09 19:05 
In any language that has a library permitting TCP/IP requests.



Okay, so you know how you have getElementById and getElementByName available in javascript? Well, it seems there's no such luxury available in php. The task is a little more onerous, though not much.

First, you read the remote web-page as a file, using fopen.
Next you use regular expressions to extract the parts of the file that you want. After you've extracted the data you require, it's up to you to open your results.txt and append the data extracted from the web-page.


Here's a couple of links that should have enough to get you started.
http://www.drquincy.com/blog/get-remote-web-page-info-with-php/[^]
http://www.hiteshagrawal.com/php/html-scrapper-in-php[^]
QuestionHow to write in next line Pin
udch29-Jul-09 1:49
udch29-Jul-09 1:49 
AnswerRe: How to write in next line Pin
Adam Maras29-Jul-09 1:58
Adam Maras29-Jul-09 1:58 
GeneralRe: How to write in next line Pin
udch29-Jul-09 2:08
udch29-Jul-09 2:08 
GeneralRe: How to write in next line Pin
parth_patel6-Aug-09 13:51
parth_patel6-Aug-09 13:51 
AnswerRe: How to write in next line Pin
fly90429-Jul-09 2:48
fly90429-Jul-09 2:48 
GeneralRe: How to write in next line Pin
udch29-Jul-09 3:06
udch29-Jul-09 3:06 
Questiondrupal-cck module Pin
myinstincts28-Jul-09 20:55
myinstincts28-Jul-09 20:55 
Questioncck module in drupal Pin
myinstincts28-Jul-09 20:55
myinstincts28-Jul-09 20:55 
QuestionHow to round Pin
udch27-Jul-09 17:47
udch27-Jul-09 17:47 
AnswerRe: How to round Pin
fly90427-Jul-09 21:23
fly90427-Jul-09 21:23 
GeneralRe: How to round Pin
EliottA28-Jul-09 2:45
EliottA28-Jul-09 2:45 
GeneralRe: How to round Pin
udch29-Jul-09 2:22
udch29-Jul-09 2:22 
QuestionForm Display Functions Pin
madan patil27-Jul-09 1:43
madan patil27-Jul-09 1:43 
AnswerRe: Form Display Functions Pin
Marc Firth27-Jul-09 22:07
Marc Firth27-Jul-09 22:07 
QuestionHow to use if condition in php Pin
udch25-Jul-09 22:14
udch25-Jul-09 22:14 
AnswerRe: How to use if condition in php Pin
Marc Firth26-Jul-09 22:41
Marc Firth26-Jul-09 22:41 
QuestionCan we use wild card in php Pin
udch25-Jul-09 9:44
udch25-Jul-09 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.