Newbie help

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
gimpact
Forum Commoner
Posts: 65
Joined: Tue Jun 16, 2009 11:08 pm

Newbie help

Post 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,
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: Newbie help

Post 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)
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: Newbie help

Post 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).
gimpact
Forum Commoner
Posts: 65
Joined: Tue Jun 16, 2009 11:08 pm

Re: Newbie help

Post by gimpact »

Thank you all for the help.
Post Reply