SitePoint Sponsor |
|
User Tag List
View Poll Results: Will CMS can create powerful and immediate oppertunities for business to seize ?
- Voters
- 1. You may not vote on this poll
-
Full Agree
0 0% -
Fully Disagree
1 100.00% -
Can't Say
0 0%
Results 1 to 2 of 2
Thread: Grabbing Website Contents
-
Mar 9, 2005, 05:28 #1
- Join Date
- Mar 2005
- Location
- Ludhiana - INDIA
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Grabbing Website Contents
hi all
first thanks to all in advance. i had just registered to this forum and hope get the required help from all budies.
What i need is to make Site Grabber (PHP). i want to input the sitename (any xyz.com) and wants the html source of index page of that site in my text file and save it !
hope u buddies can figure out this.
Thanks
-
Mar 9, 2005, 05:58 #2
- Join Date
- Jun 2003
- Location
- Iowa, USA
- Posts
- 3,749
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
PHP Code:echo htmlspecialchars(filegetcontents($_REQUEST['site']));
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.
Bookmarks