Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Php help

Author
Message
glyvin101
19
Years of Service
User Offline
Joined: 27th Jan 2005
Location:
Posted: 18th Dec 2006 04:24
hey i just starting PHP using this book and it told me to insert the following code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd.>
<html xmlns="http:www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv = "content-type" content = "text/html; charset=iso-8859-1" />
<title>Basic PHP Page</title>
</head>

I have no idea what that is, any explanation?

also, right now i'm using notpad which sucks for a text editor any other better options?
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 18th Dec 2006 04:51
That first part is just letting the browser know what style of HTML you're using, and what character set, so it'll know how to properly parse it.

As for a good PHP editor, my favorite is RapidPHP, but it costs about $40. You can get PHP Designer for free, and it's quite good, but it seemed a little slow and buggy last I used it (but that was about a year ago. It's probably a lot better now.)

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 18th Dec 2006 16:26
I prefer notepad ^^

Soul Alchemist W.I.P Thread coming soon!
adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 18th Dec 2006 16:29
That would've been ok, had 95% of your post not been taken up with sig.

Might I recommend CrimsonEditor - very lightweight editor, but no code-insight The other end of the spectrum, is the Zend IDE/Eclipse solution, available here here.


I'm superfly TNT
Zappo
Valued Member
20
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 18th Dec 2006 16:45
I can recommend Crimson Editor too. Its a very competent text editor with a lot of features similar to UltraEdit, but its free. It has a certain amount of syntax highlighting for PHP and HTML (as well as ASP, C++, Perl, Java etc) and will happily display and convert between DOS, UNIX and MAC text file formats. Although I use DreamWeaver for most of my PHP editing, I have been using Crimson for a few years for all sort of quick edits and its great.
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 18th Dec 2006 16:49
If you have the Cash get dreamweaver then you've got backup stuff to + syntax highlighting and asp and asp.net and whatever else highlighting (Even on html !)

hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 18th Dec 2006 20:22
Haha, I was going to also recommend Crimson Editor, as it's what I use as a really good all-around text editor. Unfortunately, the author of it seems to have disappeared and there haven't been any updates for 2 or 3 years. (maybe he's Guy Savoie's brother?)

But, it's solid enough it doesn't really need any updates.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Login to post a reply

Server time is: 2024-11-18 02:38:57
Your offset time is: 2024-11-18 02:38:57