Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2006, 10:11 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get html code of dynamic webpages

lets say I want to grab the contents of a html file, I can do a

$html = implode('', file(http://www.abc.com/test.html));

But if I want to grab the html code for a dynamic webpage, like http://news.google.com.sg/nwshp?hl=en&tab=wn&q=

How do I do it?

Do I follow the following line of code?

$html = implode('', file(http://news.google.com.sg/nwshp?hl=en&tab=wn&q=));


Please advise. thanks.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic HTML table bonekrusher XSLT 3 September 23rd, 2006 01:27 PM
Re: Dynamic html tables with xsl? purple XSLT 0 November 2nd, 2005 12:01 PM
dynamic XSLT from HTML variable rich0437 XSLT 0 May 19th, 2004 05:18 PM
creating dynamic html pages moushumi Javascript How-To 1 August 16th, 2003 12:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.