SRL Archive - Web Development

saving as .php HELP!


dialeyj2

2007-08-11 15:48:32

i am trying to learn php so i was looking in a tutorial and it says you can just save as a .php file. but when i did that it saved as Picture It! Premium. :fiery: :mad: :( WTF! how should i fix this?

Hugolord

2007-08-11 15:49:34

save it in notepad .php ,as all files

dialeyj2

2007-08-11 15:51:36

it's still the same problem :(
the only thing i can think of is to uninstall Picture It! but it's my mom's program :(

~alex~

2007-08-11 16:55:53

try savin it as .php then type the path to it into your address bar in a web browser.

Also have you installed php?

Starblaster100

2007-08-11 17:06:06

save it as a php and then right click, open with.

dialeyj2

2007-08-11 17:42:23

try savin it as .php then type the path to it into your address bar in a web browser.

Also have you installed php?


Maybe that's the problem: I installed it but I don't think it's the right program because… well it's just messed up, it looks like command prompt, and in the start menu it doesn't have the actual program, it just has the read-me thing that opens in notepad.

Can you give me a good link to PHP?

~alex~

2007-08-11 18:33:53

www.php.net

Its only a command prompt anyways.

Bobarkinator

2007-08-11 19:42:57

From: dialeyj2
Maybe that's the problem: I installed it but I don't think it's the right program because… well it's just messed up, it looks like command prompt, and in the start menu it doesn't have the actual program, it just has the read-me thing that opens in notepad.


Then you have it correct but if you want an IDE to write PHP download EasyEclipse which is widely used to write Java but has plugins for just about every language so you can get the PHP plugin and with a little learning you can easily write and test php scripts.

BTW do you have apache?

dialeyj2

2007-08-11 20:27:16

No, I don't have apache. Isn't it some kind of configurer or something?

And if it's just a command prompt then this tutorial just got a lot more confusing.

Bobarkinator

2007-08-13 10:35:03

Apache is so you can test scripts from your local host instead of uploading everything to a server. You can download it at www.apache.org I think and search google for a tut on how to install it.

cathering_

2007-08-13 12:41:48

I used to have picture it i think it uses .php files as its file extendion