Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Saving As .php, Ehrm i'm a little newbie heh
Amezis
post Feb 25 2005, 10:31 AM
Post #1


Privileged Member
*********

Group: Members
Posts: 535
Joined: 14-February 05
From: Oslo, Norway
Member No.: 3,759



I'm currently reading all tutorials on php... Trying to know SOMETHING about it.

But i'm using FP to make my sites... That's because I got it for free. Anyway, how can I save the files as *.php? If I can't do it in FP, how can I do it? Dreamweaver?
Go to the top of the page
 
+Quote Post
no9t9
post Feb 25 2005, 02:57 PM
Post #2


Privileged Member
*********

Group: Members
Posts: 773
Joined: 4-November 04
Member No.: 2,118



I'm not sure I understand the question... what do you mean how to save as .php? You mean the filename? When you hit save, just type in .php for the file name instead of .html

but you don't have to name it .php. You can goto apache handlers in your cpanel and make files that are saved as .html run php too.

pick apahce handlers
under extension put -> html
under handler put -> application/x-httpd-php

now you don't have to worry about naming your files .php
Go to the top of the page
 
+Quote Post
novaforme
post Feb 25 2005, 03:05 PM
Post #3


Computer Nerd!
********

Group: Members
Posts: 157
Joined: 3-February 05
From: Georgia
Member No.: 3,573



In Dreamweaver all you have to do is start off by useing a php file. Use Dreamweaver anyway cause FP sucks.
Go to the top of the page
 
+Quote Post
ill
post Feb 25 2005, 05:16 PM
Post #4


Super Member
*********

Group: Members
Posts: 385
Joined: 10-August 04
From: United States
Member No.: 761



"filename.php"

put quotations around it when you save it. in dreamweaver you can start out with whatever, just at the end just save it as this "filename.php" smile.gif

p.s. use notepad, it edits everything!
Go to the top of the page
 
+Quote Post
Amezis
post Feb 25 2005, 05:43 PM
Post #5


Privileged Member
*********

Group: Members
Posts: 535
Joined: 14-February 05
From: Oslo, Norway
Member No.: 3,759



Ok, thanks alot, i'll try it.
Go to the top of the page
 
+Quote Post
deadparrot
post Feb 25 2005, 06:01 PM
Post #6


Newbie [Level 1]
*

Group: Members
Posts: 14
Joined: 24-February 05
Member No.: 3,967



QUOTE(novaforme @ Feb 25 2005, 04:05 PM)
In Dreamweaver all you have to do is start off by useing a php file. Use Dreamweaver anyway cause FP sucks.
*



yes. use dreamweaver. FP is completely useless compared to using dreamweaver. if you were going to use FP, you'd be better off using notepad or wordpad. it sucks that much.
Go to the top of the page
 
+Quote Post
Amezis
post Feb 25 2005, 06:18 PM
Post #7


Privileged Member
*********

Group: Members
Posts: 535
Joined: 14-February 05
From: Oslo, Norway
Member No.: 3,759



Heh I'll download the trial, and I buy it if it's better than FP...
Go to the top of the page
 
+Quote Post
Danieluchis
post Feb 25 2005, 09:13 PM
Post #8


Yami no Hime
*********

Group: Members
Posts: 296
Joined: 20-October 04
From: Lalaland
Member No.: 1,849



i use notepad to edit and create my php im a n00b at this too x_x i just codify and then when im done i save the file as file.php and voilá! there it is my php file

QUOTE
p.s. use notepad, it edits everything!


yeah!!! it even edits Pics! ony day i open a *.jpg and it appear a lot of coding.. so maybe if u change something the image appearance would change? blink.gif ?
Go to the top of the page
 
+Quote Post
no9t9
post Feb 26 2005, 04:43 AM
Post #9


Privileged Member
*********

Group: Members
Posts: 773
Joined: 4-November 04
Member No.: 2,118



frontpage isn't worse than notepad. Notepad doesn't have color schemes that make it easier to see tags and stuff. I only use notepad for quick changes, but when i am doing major work, Notpad doesn't cut it. Everything is black and everything is just a mess of letters and numbers!!!

On top of that, the search and replace function sucks ASS in notepad compared to frontpage.
Go to the top of the page
 
+Quote Post
Amezis