Page 1 of 1

learning the language....

Posted: Fri Jun 28, 2002 12:05 am
by Moffesto
I wanted to try php but i was told i need a webserver. My connection blows to much to host one myself so i might have sumone else do it but for the time being all i want to do is learn how to write php. Does it require a webserver to write php? I just wanna learn the basics and then once i get broadband ill open a webserver, etc. Someone help me out plz :). Im on AIM all the time sn: moffettman85t or just reply to this and ill get around to checking it with in the next few days, thanks.

Posted: Fri Jun 28, 2002 2:44 am
by twigletmac
Since PHP is server-side technology you need a webserver to run it. However, you can install one on your local machine and do all the PHP script writing and testing you want to without any internet connection at all.

Which webserver you decide to use is up to you but depends on your OS.

Mac

Re: learning the language....

Posted: Fri Jun 28, 2002 9:11 am
by FlashMan
Moffesto wrote:I wanted to try php but i was told i need a webserver.
All u need it's a PHPTriad(PHP,MySQL,Perl) three in one.
I used it about month and know PHP,JavaScript,HTML not bad, only by one day i wrote guest book! Two days for "question-board", now i writing some projects. Cool?
Now I can't live without PHPTriad! My hobby is programming and programming... I'm resting in working on PHP and JavaScript :lol:

Posted: Sat Jun 29, 2002 1:28 am
by Moffesto
ok, i downloaded the triad thing... how do i use it. What do i use to write php and test it? I downloaded php zip and install from the site but i havent figured either out. I figure di could just write it and save it as .php like html works. Im running win2k and 98se by the way.

Posted: Sat Jun 29, 2002 6:10 am
by twigletmac
Have you read the installation guide in the manual:
http://www.php.net/installation

Or better yet have a look at phpcomplete.com for tutorials and stuff to get you started.

Mac

Posted: Sat Jun 29, 2002 11:24 am
by Moffesto
I figured it out actually, with help from Flashman on ICQ ;). Now im beginning tutorials on writing the language now. thanks.

Posted: Sun Jun 30, 2002 2:11 am
by Moffesto
i installed triad the other day and i didnt configure anything... i just write php and save .php and i got a message from sum B*TCH on AIM saying im being hacking and i should b more careful, etc so i closed apache and disconnected to make sure.... dose anyone know if apache is letting him attack me? or if hes just saying sh*t to p*ss me off. If he is attacking me... can i password it or make it more secure. Till then im running triad on another pc not online so im safe.

Posted: Mon Jul 01, 2002 1:10 pm
by MattF
As long as you have a secure webserver and you haven't put your web root as C: or something you should be fine. I recommend setting your web root to something like C:\web or similar. The other thing you could to is use .htaccess to deny access from anyone who is not localhost, I did it but I have forgotten exactly how somthing like:

Code: Select all

deny from all
allow from localhost

Posted: Mon Jul 01, 2002 2:43 pm
by mikeq
Moffesto wrote:message from sum B*TCH on AIM saying im being hacking and i should b more careful...or if hes just saying sh*t to p*ss me off.
On the other hand maybe you should thank him for pointing it out. Have you thought about installing a software firewall, ZoneAlarm have a free, decent firewall.

Mike[/b]

Posted: Mon Jul 01, 2002 7:35 pm
by Moffesto
i have the root set as C:\apache\htdocs\.... i think triad set it that way when i set triad up. Yes, i was thinking about getting zonealarm... its prolly a good idea.

Posted: Fri Jul 19, 2002 10:45 pm
by phphead
twigletmac wrote:Since PHP is server-side technology you need a webserver to run it.
Although PHP has many Server modules and is mainly used for sever side applications, PHP is a general scripting language. Thats what the binarys for in the windows application its as mch as client side as perl or sh is.