HOME       >>       Programming

Saving As .php Ehrm im a little newbie heh


Amezis

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?


no9t9

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 .htmlbut 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 handlersunder extension put -> htmlunder handler put -> application/x-httpd-phpnow you don't have to worry about naming your files .php


novaforme

In Dreamweaver all you have to do is start off by useing a php file. Use Dreamweaver anyway cause FP sucks.


ill

"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" ;)p.s. use notepad, it edits everything!


Amezis

Ok, thanks alot, i'll try it.


deadparrot

In Dreamweaver all you have to do is start off by useing a php file. Use Dreamweaver anyway cause FP sucks.

53872[/snapback]


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.

Amezis

Heh I'll download the trial, and I buy it if it's better than FP...


Danieluchis

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

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? ?

no9t9

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 *bottom* in notepad compared to frontpage.


Amezis

FP is OK to edit HTML-files...


beeseven

FrontPage also adds a lot of extra code that you don't need, though. It also kills the w3c standards of HTML. If you want a good valid webpage you have to make it yourself in a simple text editor. Currently I use vim because I have a little space on my school's UNIX server, and it works really well if you get used to it. I'd rather be able to see everything that happens to my pages than use a WYSIWYG editor that adds bunches of extra unnecessary lines.


HoRuS

I would recommend Crimson Editor to edit html, php, tpl and such files...

It has many features and it's not hard to know that program for example you can even set it so the line numbers appear, really usefull for php editing.

If interested, download here.

 

Peace


mobious

well for all of your web developing needs, i recommend dreamweaver mx 2004. it's file manager is my best buddy. of course the standard syntax highlighting is also updated. it also has tools for managing mysql dbs. and has ftp support.


HoRuS

I tried Dreamweaver MX 2004 once but my pc couldn't handle it since it's only a 400 mzh, 96 Mb RAM pc (shame shame), so I gotta use little programs like Crimson Editor for html, php and tpl... CSB for a WYSIWYG editor... and LeechFTP for my FTP needs I envy those who got the newest pc's available lol


no9t9

FrontPage also adds a lot of extra code that you don't need, though. It also kills the w3c standards of HTML. If you want a good valid webpage you have to make it yourself in a simple text editor. Currently I use vim because I have a little space on my school's UNIX server, and it works really well if you get used to it. I'd rather be able to see everything that happens to my pages than use a WYSIWYG editor that adds bunches of extra unnecessary lines.

54426[/snapback]


i hate it when people always talk about the stupid w3c "standard" as if it were the HTML/CSS bible. I have news for you people.. it's *BLEEP*. You can program to the stupid w3c "standard" all you like but different browsers STILL display things differently. Even so called "standard" browsers like opera and firefox don't display things exactly the same.

 

I for one am going to design so that my audience will see the page I intended them to see. Since my audience is 90% IE and 6% Firefox.. that is what I will design to. I don't care if it looks a little funny in Opera, or Konquerer cause nobody uses those to goto my page. Opera 0.5% and Konquerer 0% (it's zero but there are some hits).

 

Right now, my page displays perfectly in IE. It has VERY minor differences in Firefox, Netscape and Mozilla (stuff you wouldn't notice unless I told you it was different). Opera looks OK but has obvious problems.. and I didn't even try on other no name browsers like Safari and Konquerer.

 

Right now, I have about 98-99% of my visitors... that's all I care about. if it meets the standards great.. if it doesn't.. who cares.


alexia

in Macromedia Dreamweaver MX 2004 software when you open software its ask you which lan you want to programmingif you select php when you save your file Macromedia Dreamweaver MX 2004 save your file in php , php3 , php4 format you can open files in all format in notepad and then select save as and change format of file type



VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.