Re: Whats wrong with my code?

From: Date: Tue, 16 Sep 2003 21:21:43 +0000
Subject: Re: Whats wrong with my code?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162787@lists.php.net to get a copy of this message
--- Stevie D Peele <sdp2006@juno.com> wrote: > Can someone spot what Is wrong with my code? It is about 200 lines of redundant crap and posted to a mailing list? Please be considerate and try to narrow your code down to the smallest case that demonstrates the problem. We are not here to debug your code. Your code can be summarized as: <? switch ($_GET['id']) { default: $include = '/includes/index.html'; break; } include ($include); ?> Does this code have the same problem in your environment? Are you saving files with \n\r line termination and trying to execute the code from a Unix environment? Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#162787) next »