RE: [PHP] Garbage Characters Added To PHP Pages In IIS?
| From: | Lawrence dot Sheed at dfait-maeci dot gc dot ca | Date: | Tue, 12 Sep 2000 09:21:22 +0000 |
| Subject: | RE: [PHP] Garbage Characters Added To PHP Pages In IIS? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16302@lists.php.net to get a copy of this message | ||
I've had this as well,
As recommended, try uploading your file as ascii, binary works, but ascii
will trim off those cr/lf's for unix based hosts.
Another thing thats helped, is closing things properly before exiting,
ie if you've opened files, close them, opened db connections (non
persistent), explicitly close them.
It might be a garbage collection issue in php 3.x, I've not seen it yet in
4.02 and was experiencing this in 3.12
You may want to also post your php versions, and server os so we can
compare.
Cheers,
Lawrence.
-----Original Message-----
From: Dana.Reed@clinicaldatacare.com
[mailto:Dana.Reed@clinicaldatacare.com]
Sent: September 12, 2000 05:11 PM
To: phil@dialsolutions.co.uk; SD3982@momail.sbc.com;
php-general@lists.php.net
Subject: RE: [PHP] Garbage Characters Added To PHP Pages In IIS?
It's not just IIS. We've got a RH box with PHP3 and Apache talking to
Oracle 8i and I get the same crap occasionally. Usually I get what looks
like a misplaced or broken tags, i.e. "TD>" or "?>"
I thought it might have something to do with LeechFTP?? Drag and drop once,
maybe twice...junk at the end. Drag and drop a few more times...works fine.
I don't see this problem very often, but the days I do it's quite frequent.
I always have both NN4.7 & IE5 open to check pages and I'm pretty sure it
happens in both, but I'm not positive. Next time it happens I'll try to
remember to check to be certain.
med vänlig hälsning
/Dana
-----Original Message-----
From: phil@dialsolutions.co.uk [SMTP:phil@dialsolutions.co.uk]
Sent: Tuesday, September 12, 2000 10:23 AM
To: SD3982@momail.sbc.com; php-general@lists.php.net
Subject: Re: [PHP] Garbage Characters Added To PHP Pages In IIS?
>When I load a page the first time it is fine. However
>if you press refresh on the browser a garbage character (y, t, > e .....) it
>shown at the very end of the page. This character does not show up when
you
>search for it in the source. Could it be getting tacked on the header
>somehow? I'm can think of an explanation for it so far?
I sometimes get this, but I'm pretty sure its a browser thing. It hasn't
happened to me for some months, but I remember checking the same page with
IE and with Mozilla. The rogue character only appeared in IE, but as you
say, was nowhere to be found in the stuff sent to IE by php.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net