Groups
Groups
Sign in
Groups
Groups
PHP Hacks
Conversations
About
Send feedback
Help
How to Translate a URL into its file (string) of HTML code?
1 view
Skip to first unread message
PHPBABY3
unread,
Oct 31, 2009, 2:31:52 PM
10/31/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP Hacks
I use Snoopy but want to know if I can do it with a little PHP code.
Thanks.
P.
Ahmad Saleh
unread,
Nov 13, 2009, 5:46:53 AM
11/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-...@googlegroups.com
Hi,
Check this out:
http://pear.php.net/search.php?q=http_request&in=packages&x=0&y=0
http://php.net/curl
Enjoy :)
--
Ahmad Fathi Saleh
http://www.wablab.com/Ahmad-Saleh/profile
Rune Kaagaard
unread,
Nov 13, 2009, 5:58:22 AM
11/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-...@googlegroups.com
Is this what you mean? It echos the HTML of a http address.
<?php
echo file_get_contents('
http://example.com
');
Reply all
Reply to author
Forward
0 new messages