Re: Output of html without using functions?

From: Date: Wed, 14 Sep 2005 07:49:58 +0000
Subject: Re: Output of html without using functions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-222364@lists.php.net to get a copy of this message
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/

« previous php.general (#222364) next »