|
Posted by Toby A Inkster on 03/21/07 16:31
ZeldorBlat wrote:
> $email_content = file_get_contents("http://wwww.myserver.com/email.php?
> param1=my+email+param+1¶m2=my+email+param+2");
This causes a subrequest though, increasing server load and wasting time.
You might find it better to do:
$email_param1 = "my email param 1";
$email_param2 = "my email param 2";
ob_start();
include 'email.php';
$email_content = ob_get_clean();
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Navigation:
[Reply to this message]
|