Jump to content
xisto Community
Amezis

Saving As .php Ehrm im a little newbie heh

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

"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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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. :D

Share this post


Link to post
Share on other sites

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 :D I envy those who got the newest pc's available lol

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.