Thread Adding html to php (1 answers)
Opened by Gast at 2007-01-28 22:17

jan
 2007-01-28 22:41
#73740 #73740
User since
2003-08-04
2536 Artikel
ModeratorIn
[Homepage] [default_avatar]
you could use the php-cli (command line interface) to run the php-script and save its output. since this is not available on every server, I'd suggest using CPAN:LWP::Simple

Code: (dl )
1
2
3
4
5
use LWP::Simple;
if(my $phpContent = get('http://www.mydomain.tld/index.php'))
{
print "php said: " . $phpContent . "<br />";
}

View full thread Adding html to php