PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



Browser is displaying PHP code instead of design. What is ca

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General
View previous topic :: View next topic  
Author Message
slaterino



Joined: 11 Jul 2008
Posts: 16

PostPosted: Sun Jul 20, 2008 5:44 pm    Post subject: Browser is displaying PHP code instead of design. What is ca Reply with quote

I have created a CMS image gallery which I am having one problem with. Sometimes when in the admin side of the site, after uploading an image or modifying various areas the page is loading up as code instead of the actual design. When this happens, this code is before the page code:

//
HTTP/1.1 200 OK
Date: Sun, 20 Jul 2008 15:36:46 GMT
Server: Apache/2
X-Powered-By: PHP/4.4.8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=93
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

134f
//

and there is always a 0 at the bottom of the page, following the </html> command. The URL of the page will always be the name of the php file followed by the specific area that wants to be viewed, for example '?page=album-detail&alId=7.' Does anyone know what causes this to happen?

Thanks
Russ
Back to top
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 5147
Location: toronto, canada

PostPosted: Thu Jul 24, 2008 5:16 pm    Post subject: Reply with quote

show your display code
_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum