Re: executeing another files code

From: Date: Sun, 05 Dec 2004 00:30:33 +0000
Subject: Re: executeing another files code
Groups: php.general 
Request: Send a blank email to php-general+get-203504@lists.php.net to get a copy of this message
Hi again, One last question as am a bit confused, using this method: $s = str_replace( array('$firstname', '$lastname', '$sitename', '$message'), array($firstname, $lastname, $sitename, $message),$s); do I *have to* pass 4 arguements? Because I dont really know how many will be passed...the site owner may decide he wants to use just 3 out of 4... eg: he may want to use just $name, $lastname and $submit_date instead of $name, $lastname, $submit_date and message Thanks, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004

« previous php.general (#203504) next »