load php files or phpmyadmin only show me source code..
Posted by: wcpon (---.212.95.219.cbj02-home.tm.net.my)
Date: October 24, 2007 09:10AM

Please help...
My wampserver got problems.
When i type [localhost]
or
i open phpmyadmin..
the page only show me the source code.. but not the interface...
how come???
I using firefox browser...
before that, I still able to view my interface. now become all source code on the screen...

Options: ReplyQuote
Re: load php files or phpmyadmin only show me source code..
Posted by: Nimrod Gently (---.range86-151.btcentralplus.com)
Date: October 25, 2007 08:12PM

For your opening PHP tags, are you using '<?' or '<?php'?

I had a similar problem (although phpmyadmin worked fine) and it turned out to be WAMP not liking the '<?' opening tag, I had to replace all instances of '<?' with '<?php' (and also all instances of '<?=' with '<?php echo').

[edit]

Whether this is the source of your problem or not, I see from [forum.wampserver.com] that short style tags are disabled by default under WAMP.



Post Edited (10-25-07 21:12)

Options: ReplyQuote
Re: load php files or phpmyadmin only show me source code..
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: October 26, 2007 04:48PM

yes, you will need to use full php tags.



CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.