Page 1 of 1

Newbie help

Posted: Tue Jun 16, 2009 11:17 pm
by gimpact
Hi,
I am new to this forum and PHP. This morning I started to learn php because, my servlet hosting account in godaddy.com is very slow, i mean, there is no provision for manual restart of tomact.

Well, I am off to a ok start. I am mostly referring http://www.w3schools.com/php/. I need to know few things about php developments. Can you please tell me how do i program a php website.

Should i use html files for output and .php files for server side code? or should i use .php file for both?

My main concern is, unlike servlets where i can hide my servlet name from public, i dont see any thing similar in php. Is there any ways i can hide my php files from being displayed over http request?

Thank you,

Re: Newbie help

Posted: Wed Jun 17, 2009 10:28 am
by akuji36
Here you go follow this link for xampp (it contains php, mysql apache--a server and
myphpadmin---all easy to configure with a few mouse clicks.)

http://www.apachefriends.org/en/xampp.html

Next help for php:

here a nice video tutorial for you that will get you up to speed:

http://www.phpvideotutorials.com/free
(follow lessons 2 thru 13 under OLD Videos)

Rod

8)

Re: Newbie help

Posted: Wed Jun 17, 2009 1:17 pm
by kaisellgren
You could use .htaccess to deny a HTTP(s) access to your PHP files or you could just move the files to not be in the document root (which I suggest).

Re: Newbie help

Posted: Wed Jun 17, 2009 8:31 pm
by gimpact
Thank you all for the help.