PHP Scripts not working
Posted by: Asho (---.dynamic.dsl.as9105.com)
Date: August 02, 2007 12:55PM

I have installed WAMP, but everytime I write a script it come up blank when I open it(using [localhost]).

Why is this? Can I fix it?

Options: ReplyQuote
Re: PHP Scripts not working
Posted by: yfastud (72.236.169.---)
Date: August 02, 2007 01:38PM

Check my old post here:

[forum.wampserver.com]

Have fun,

[www.jlbn.net] (Basic Guide for WAMP)

Options: ReplyQuote
Re: PHP Scripts not working
Posted by: Asho (---.dynamic.dsl.as9105.com)
Date: August 02, 2007 05:42PM

I do exactly as you say, Still doesn't work.

Just comes up as blank screen but source says what it should.

Options: ReplyQuote
Re: PHP Scripts not working
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: August 02, 2007 06:16PM

if you are writing a php script, you need to name the file with a .php extension for the php code to work, so dont use .html or .htm.

make sure apache is running. apache cannot parse your php code unless apache is running.

your apache document root is c:\wamp\www so put all your website files there (html, php, images, css, etc).




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

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


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


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.


Clarify Loans
Mortgage and Home Loan Advice


LaxGo Web Directory
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote
Re: PHP Scripts not working
Posted by: Asho (---.dynamic.dsl.as9105.com)
Date: August 02, 2007 06:29PM

Done all of that. But my directory root is a diffrent folder but It is all done.

Options: ReplyQuote


Sorry, only registered users may post in this forum.