Re: Help. I am losing the plot.. .
| From: | Bastien Koert | Date: | Tue, 05 Jul 2005 14:50:42 +0000 |
| Subject: | Re: Help. I am losing the plot.. . | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39892@lists.php.net to get a copy of this message | ||
Perhaps there is an encoding issue in the file(s) that the server is not recoginizing? Could you post the code you actually use?
Bastien
From: Martin Norland <martin.norland@stjude.org> Reply-To: php-db@lists.php.net To: php-db@lists.php.netSubject: Re: [PHP-DB] Help. I am losing the plot.. .Date: Tue, 05 Jul 2005 09:41:55 -0500 Ross Honniball wrote:script1.php: echo 'script 1 before'; require_once('script2.php'); echo 'script 1 after'; script2.php: echo 'hello from script 2'; which in IE visually produces: script 1 beforehello from script 2script 1 after However if I view the source in IE, I get: script 1 before?hello from script 2script 1 after ^ ^ ^ NOTICE THE QUESTION MARK.I can't say I've ever run into it, but I would guess it relates to <? ?>'s. Perhaps your Apache server configuration changed and it no longer recognizes <? start tags and only <?php - but then it shouldn't be echo()ing, rather just emitting the whole of the file or some such. I'd suggest using telnet and issuing your get statement right there telnet yourserver 80 GET / this should give you exactly what your server returns on such a request, minus any customizations it has for the useragent. View source can lie sometimes, unfortunately. cheers, -- - Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php