Get HTML code form a PHP made page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
javito
Forum Newbie
Posts: 2
Joined: Wed Nov 12, 2003 3:42 pm

Get HTML code form a PHP made page

Post by javito »

I need to get the html code from a php link.
I mean, i have this page made with php and i need to retrieve de html code and save itt to a variable.

For example:

Code: Select all

<?php
$data = navigate("data/index.php?action=list");
?>
I invented "navigate" that's what i'm looking for. Thanx!
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

check out [php_man]fopen[/php_man], the link has few samples too.
javito
Forum Newbie
Posts: 2
Joined: Wed Nov 12, 2003 3:42 pm

Post by javito »

thanx for the fast answer!
Post Reply