Re: Output of html without using functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gustav Wiberg wrote:
//Something like $test = require("http://<domain>/mobil_info.php"); but instead of returning 1 at success I want to return the random value...

$test = file_get_contents("http://<domain>/mobil_info.php");

assuming allow_url_fopen is on, otherwise look at the CURL functions or use raw sockets

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux