I don't get this!
Why does example (a) work for me but not example (b) ??? I realize that no
output can be sent to the browser before the header but why would code
linepace effect? Thanks for any info!
(a)
?php $a = 1; ?
?php header(Location: 1.php);?
(b)
?php $a = 1; ?
?php
You absolutely can not send anything to the browser before a header is
sent...
so if you put a space in there, it gets sent to the client.. no good..
its not the code thats the problem . its that you escaped from php and
left space between.
Jason
BOOT [EMAIL PROTECTED] wrote:
I don't get
On Saturday 18 September 2004 06:35, BOOT wrote:
I don't get this!
Why does example (a) work for me but not example (b) ??? I realize that no
output can be sent to the browser before the header but why would code
linepace effect? Thanks for any info!
(a)
?php $a = 1; ?
?php
* Thus wrote BOOT:
I don't get this!
Why does example (a) work for me but not example (b) ??? I realize that no
output can be sent to the browser before the header but why would code
linepace effect? Thanks for any info!
(a)
?php $a = 1; ?
?php header(Location: 1.php);?
(b)
4 matches
Mail list logo