Skip to main content
gamedev.net
🔒 Locked

Creating PHP

Started by Cypher Ae 53 replies 1.6k views
Original Post
Cypher Ae
Cypher Ae
What I need is a PHP compiler, Well I think that;s what I need. I just want to be able to save some files as PHP. The codings been done as a HTML file, so what PHP program do i need (if any)
ChaoticCanuck
ChaoticCanuck
PHP is a server side scripting language; you write scripts which generate html to produce web pages ''on the fly''.

You don''t need a compiler, but you do need a webserver that supports php to use this. I recommend you check out SitePoints tutorial on getting php up and running on a server so that you can learn this technology; there are other tutorials, but this one is very well written.

Build your own Database Driven Website using PHP & MySQL
Dot Hack Sign
Dot Hack Sign
There are only three things you need:

1. Knowledge of PHP (I.E. how to script in the language)

2. Notepad (or any text editor for that matter)

3. A webhost that allows PHP scripting. For really big things a MySQL database would also kick ass.
_____________Please read my whole post before making an ass out of yourself, thank you.+ - + - + - + - + - + - + - + - + - + - +| N | e | c | r | o | - | F | i | l | e |+ - + - + - + - + - + - + - + - + - + - +
zer0wolf
zer0wolf
Wasn''t sure if you were posing as a n00b or really were what clueless about PHP. Have you tried php.net? Its shock full of info about the language, being official site for it and all. Its not a terribly difficult language to learn and its very, very affective and very, very free

---------------------------------------------------
laziness is the foundation of efficiency
retrospiral.net | llamas! | megatokyo | FreeBSD | gamedev.net | google
Dot Hack Sign
Dot Hack Sign
quote:
Original post by Cypher Ae
All the code is written (partially by me) and is saved as an HTML file, but how do I make it PHP file?


Just rename it to .PHP
_____________Please read my whole post before making an ass out of yourself, thank you.+ - + - + - + - + - + - + - + - + - + - +| N | e | c | r | o | - | F | i | l | e |+ - + - + - + - + - + - + - + - + - + - +
Dot Hack Sign
Dot Hack Sign
quote:
Original post by Cypher Ae
I downloaded Php versions 3.0 and 4.3 but the install programs weren''t recognised. HELP!



Are you installing it on your computer because your computer is going to be a server or are you trying to install it on your computer for other reasons? All I can say for this is that maybe you should see PHP.Net because they have a great deal of installation tutorials and such.
_____________Please read my whole post before making an ass out of yourself, thank you.+ - + - + - + - + - + - + - + - + - + - +| N | e | c | r | o | - | F | i | l | e |+ - + - + - + - + - + - + - + - + - + - +
Nik02
Nik02
quote:
I downloaded Php versions 3.0 and 4.3 but the install programs weren't recognised. HELP!


What do you mean 'not recognized' ?
I installed php parser on my comp a while ago, no problems at all!

Edit:
Of course you can access php files without a parser, but then they are not more useful than plain html files...

[edited by - Nik02 on August 2, 2003 7:11:58 AM]
Niko Suni
Nik02
Nik02
Also, as an advice, go to sourceforge and download an utility called phpdev.
Niko Suni
Cypher Ae
Cypher Ae
All I want is a program that allows me to load HTML files and save them a php files as a matter of convienience when writing links so I don''t have to alternate between linking to a php file and an HTML file.
Nik02
Nik02
Notepad->File->Save as

EDIT: Seriously !

[edited by - Nik02 on August 2, 2003 10:15:01 AM]
Niko Suni
Nik02
Nik02
Zend is the parser engine''s name. AFAIK, it''s open source...
Niko Suni
TheSorcerer
TheSorcerer
For creating PHP files on your PC you need:
1. PHP knowledge. Get it from PHP.net
2. Notepad (or a similar program)

For viewing PHP files on you PC you need:
1. PHP parser from PHP.net (just take the latest stable version)
2. A webserver. Apache or Abyss. Abyss is easier to setup. Both are freeware. On the site of the Abyss webserver is discribed how to add PHP support to the webserver.

I hope this helped you.

[edited by - TheSorcerer on August 2, 2003 11:05:51 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.