note 85138 deleted from function.implode by hholzgra

From: Date: Thu, 02 Aug 2012 13:21:01 +0000
Subject: note 85138 deleted from function.implode by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189757@lists.php.net to get a copy of this message
Note Submitter: compton ---- superstuntguy below would save himself and his server a lot of time just by using $_SERVER['QUERY_STRING'] (see http://uk.php.net/manual/en/reserved.variables.server.php), as in: <?php echo '<form action=', $_SERVER['PHP_SELF'], '?', $_SERVER['QUERY_STRING'], ' method=post>'; ?> Note: using commas instead of full-stops (periods) between strings for echo is marginally more efficient as echo can then simply pop the substrings off the stack avoiding the tincy-wincy extra overhead of string concatenation.

« previous php.notes (#189757) next »