Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Help!! quickie

Status
Not open for further replies.

mike314

Programmer
Jun 24, 2003
143
US
Ok so I downloaded the PHP 4.3.8 installer and after you run installation it just gives you a .dll file and an exe. So how do I create my PHP files??? NotePadd neccessary???

A simple run through tutorial for a Hello World program would be greatly appreciated

thanks
 
ok, so all I have to do is type PHP scripts in NotePad and save with a PHP extension right, since I downloaded the installer my computer will recognize the PHP scripts now right?? Is there anything I have to do with the PHP exe file or the dll the download comes with??? Must I save these files in the same directory as the exe file????

thanks
 
ok basically I want to use PHP on my webpage, and I'm going to ftp it to the server. the server is not on my PC. I 'm basically asking what is that exe file for, I mean when I open it, its basically a blank command prompt looking screen and I can type stuff in it, but whats it for??? I mean I could just type the PHP scripts in NotePad, save it as .php and since I have the installer, my PC will undertstand the PHP now correct???

thanks
 
The exe is the interpreter. If you povided it with a php file as an argument then it will execute the script
eg
Code:
C:\PHP\php.exe myScript.php
However, you want to use php with a web server. As ascikey said, look at and that will explain how to setup exactly what you want

Westbury

If it aint broke, redesign it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top