note 57072 deleted from function.file-get-contents by betz

From: Date: Mon, 26 Sep 2005 23:05:30 +0000
Subject: note 57072 deleted from function.file-get-contents by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95836@lists.php.net to get a copy of this message
Note Submitter: php dot 20 dot rsb at spamgourmet dot com ---- You can use this function to call one php from another php: just specify an url instead of a file path as the parameter. So for example: $s = file_get_contents("http://www.apple.com") will put into $s what you would see if you loaded that url and viewed the source in your browser (although I don't know as what browser and OS php would identify itself as). To call one php file from another, just substitute an url to that php for "http://www.apple.com".

« previous php.notes (#95836) next »