View Full Version : Help?

Lawn Gnome
08-19-2005, 12:55 AM
ok i was wondering if u can make a .php page BUT, make it display in an html page? here let me explane something first.

i like to make webpages on my computer before i upload them..and i have windows witch doesnt support .php files. and i need to know if u can make a .php file, but have it be read from a plane old html file. is this posible?

08-19-2005, 01:10 AM
The browser will attempted to render anything you give it, but if you are expecting it to execute the php that is not going to happen. PHP only executes on the server side not in the browser.

08-19-2005, 01:17 AM
2) Type in a subject that summarizes your question- A great way to turn off other members wanting to help you is to type an incomplete or silly subject for your post. Examples of poor subject titles include:

- "Help!"
- "I'm a newbie...be gentle"
- "How can I..."
- "Urgent...deadline tomorrow!"

Please remember for future posts :)

08-19-2005, 04:39 AM
Also, you are posting in the javascript section instead of the php section.

But anyways...

Anything within <?php and ?> tags needs a php processor. It's like speaking german to your computer, even if you speak english and throw in the odd german word, the computer wont understand the german and only the english. So if you have it in a .php or a .html file you still need a processor. My recomendation if you really want work on these on your computer would be to go and download php framework at php.net and an apache server somewhere. That way you can view and process php code. And while your at it if you have high speed internet, you can even set up your own webhosting service :eek: lol.