![]() |
OT: PHP
What are some good PHP sites to check out? I know just a little bit about PHP in general but I'm wanting to get to know more about it for possible projects that I may be working on for here at work. (shame on me, visiting this site while at work http://forum.shrapnelgames.com/image...s/rolleyes.gif )
I may end up getting a couple PHP books but was wondering if there is anything Online that is a good place to start off from. Thanks! [ October 24, 2003, 16:43: Message edited by: Ragnarok ] |
Re: OT: PHP
I looked mostly at other scripts and tried altering them to see what happened and then I wrote some of my own (Se PBW Emergency site) with help from Fyron, looking up the things I needed as I went along by searching Google for "PHP tutorial".
(Shame on me for replying while I'm at work http://forum.shrapnelgames.com/image...s/rolleyes.gif ) [ October 24, 2003, 16:46: Message edited by: Ruatha ] |
Re: OT: PHP
php.net is the best site out there
then go to the following http://www.phpbuilder.com/ http://codewalkers.com/ don't forget http://www.weberdev.com/ and http://www.planet-source-code.com/ also for books check out www.books24x7.com ( yearly cost of 400 dollars for as many books as you want ) |
Re: OT: PHP
Ok, cool. thanks for the links and tips. I will start looking at those sites you posted.
|
Re: OT: PHP
So what's everyone use to edit their PHP pages with?
I've been trying to use Dreamweaver to type in my code manually and then just save it as a PHP file, which works just fine but some reason when I test in IE it opens the .php file I'm working on and displays all the code instead of showing what the results should be. When I test in Mozilla it just opens to a blank page. The code is typed in correctly, and to make sure I wasn't messing it up I copied and pasted it from the tutorial I'm using and I get the same results. So here's your chance to fill me in on the best way to edit PHP files and create them. http://forum.shrapnelgames.com/images/icons/icon7.gif |
Re: OT: PHP
You can not view a php file directly in your browser. It is a server side scripting language that generates HTML on the fly and sends that off to the user's browser to display. In order to view php files locally, you must install some php software (which is free) from http://www.php.net/
You can use any text editor to make php files. It does not make a difference in the end, just what your preference is for creating them. They are just text files with a .php extension (like html are just text files with a .html extension). [ November 05, 2003, 17:57: Message edited by: Imperator Fyron ] |
Re: OT: PHP
Quote:
[ November 05, 2003, 18:09: Message edited by: Ragnarok ] |
Re: OT: PHP
Yes. But, you can also install php on your computer. Every computer is a "server", technically. Just a local server though (you need extra programs running to allow Users over the net to see files on your comp, thus making it an actual web server). This is why you can do stuff like view html files that are on your computer in IE and such.
|
Re: OT: PHP
Quote:
Thanks for the help, Fyron. http://forum.shrapnelgames.com/images/icons/icon6.gif |
Re: OT: PHP
ace html 5 free is one i use. or just some text editor....
|
Re: OT: PHP
Hell between all of you PHP people here, someone should be able to make one hell of a good web based game.
|
Re: OT: PHP
I use editpad lite on win and vim on Linux to edit my php files
|
Re: OT: PHP
currently at work i am learning ingres http://forum.shrapnelgames.com/images/icons/shock.gif
|
Re: OT: PHP
I use wordpad, but I really miss two things:
What linenumber am I editing (when debugging; Error in Line 252 (puh...)) And block cut/copy/paste. In my old DOS editor Q-Edit I could select a block of text, say 10 columns and 20 lines in the middle of the page and copy that, in wordpad it automaticly includes the beginning of the lines, not what I want. I guess I should either; 1. look for a better text editor. 2. Write one of my own. (Which I guess is harder than option 1) http://forum.shrapnelgames.com/images/icons/icon12.gif EDIT1: This looks good: http://www.winsyntax.com/ [ November 07, 2003, 05:34: Message edited by: Ruatha ] |
Re: OT: PHP
I'll probably end up using EditPlus2 as soon as I get it downloaded here at work. Currently I'm using Notepad but EditPlus2 is good.
|
Re: OT: PHP
My favorite text editor is actually an old Version of MS Word that I used to use when I did lots of web-stuff. Big advantage over Wordpad was in the much more powerful search/replace. My current PC came with Word 2000 installed, and for some #$^%$&% stupid reason they have tried to turn the $&^* word-processor into a web-browser - it interprets all HTML and shows you what it would look like in a browser, rather than letting you actually see and edit it as text. http://forum.shrapnelgames.com/images/icons/icon8.gif (Why on earth would anyone want their word-processor to act like a browser? More MS stupidity, trying to make every program do everything, rather than letting each one do its own thing and do it well! http://forum.shrapnelgames.com/image...s/rolleyes.gif )
So now I have to use Wordpad, at least until I get around to finding an install CD for Word 97, at which time I will uninstall Word 2000 and replace it with the old one. (I also hate all of the autoformatting junk in Word 2000 - what a time-waster, on the very rare occasions that I use it instead of Wordpad I have to keep undoing stuff that the &^$^%#& program goofs up by guessing what I would want rather than just doing what I say. http://forum.shrapnelgames.com/images/icons/icon8.gif ) Err, umm, how did I get up on this soapbox? http://forum.shrapnelgames.com/image...s/confused.gif SpaceBadger [ November 07, 2003, 15:43: Message edited by: SpaceBadger ] |
Re: OT: PHP
I'm not a big fan of Word. I use it every now and then for certain projects but overall I don't use it if I don't have to.
I'm a big fan of EditPlus2 now though. It's perfect for editing PHP if you ask me, or HTML (unless you have Dreamweaver) and Perl, and C, or C++, or Javascript. It has syntax coloring for all these programming Languages. Which I absolutly love, I need to have my color coding when I code something. http://forum.shrapnelgames.com/images/icons/icon7.gif So for me EditPlus2 is the way to go for all my PHP needs. http://forum.shrapnelgames.com/images/icons/icon6.gif Fyron got me hooked on this program. He's good at doing things like that. http://forum.shrapnelgames.com/image...s/rolleyes.gif http://forum.shrapnelgames.com/images/icons/tongue.gif |
Re: OT: PHP
I hate Word 2000. I've been looking every place I can think of for the install CD for my good old Word 97, but can't find it. Where do you get EditPlus2?
SpaceBadger |
Re: OT: PHP
Quote:
I am pretty sure that Word 2000 and later will let you look at the html in text view won't it? That should give you what you want if it does. |
Re: OT: PHP
Quote:
Quote:
[ November 07, 2003, 17:55: Message edited by: Imperator Fyron ] |
Re: OT: PHP
Come on Paper Clip is BOB.
|
Re: OT: PHP
You can get EditPlus2 at: http://www.editplus.com/
|
Re: OT: PHP
Quote:
|
Re: OT: PHP
Sorry, Ragnarok, didn't intend to hijack the PHP thread... http://forum.shrapnelgames.com/images/icons/shock.gif http://forum.shrapnelgames.com/images/icons/blush.gif
OTOH, I expect you -will- be needing a good text editor... http://forum.shrapnelgames.com/images/icons/icon12.gif Thanks for the info on EditPlus2 and OpenOffice, y'all. http://forum.shrapnelgames.com/images/icons/icon10.gif It has been awhile, but I remember spending some time trying to figure out how to get Word 200 to just let me see the HTML as plain text, and it would not do it unless I bought some sort of add-on for Word - don't recall the exact name, but it was something to let Word function as an HTML editor - without that, it would not let you edit in either plain-text or WYSIWYG, it would just interpret the HTML and display the result. http://forum.shrapnelgames.com/images/icons/icon8.gif SpaceBadger Gee, these smilies are so much fun! http://forum.shrapnelgames.com/images/icons/icon6.gif [ November 07, 2003, 20:41: Message edited by: SpaceBadger ] |
Re: OT: PHP
Umm... what Version of Word 2000 do you have? It normally functions as a WYSIWYG right out of the box...
|
Re: OT: PHP
Quote:
SpaceBadger |
Re: OT: PHP
You could always rename it to .txt temporarily... http://forum.shrapnelgames.com/images/icons/icon12.gif
I am pretty sure you can view the source of html as text in Word 2000. |
Re: OT: PHP
Quote:
I think that if the opening html tag was left off, and the file was saved with txt extension, and maybe some other jerry-rigging done, then it could be persuaded to let you see the markup tags - way too much headache for routine use in page creation/editing. SpaceBadger |
Re: OT: PHP
I have office XP installed, not 2000. But, I just changed a file extension on a html file to txt, and it opened as a txt file, displaying all the code. Do not save as txt or anything. Go to explorer and manually change the file extension from html to txt (you might need to go to the View tab of the Folder Options to allow it to display the extensions). Ignore the warning message that pops up. Then open it in Word.
|
Re: OT: PHP
Quote:
SpaceBadger |
Re: OT: PHP
Oh well. EditPlus2 is a much better route anyways. http://forum.shrapnelgames.com/images/icons/icon12.gif
|
Re: OT: PHP
Go on Google and search for TextPad. I use nothing else.
|
Re: OT: PHP
How does it compare to EditPlus2? Same thing, just different implementation?
|
Re: OT: PHP
I have no idea, as I have never used EditPlus2.
|
Re: OT: PHP
So check out EditPlus2... it is fully functional shareware.
|
Re: OT: PHP
I don't need to. I am very pleased with TextPad.
|
Re: OT: PHP
Fyron is BOB before your time.
How about this BOB quote "You have inputed your password incorrectly three times would you like to change it now ? " Ahhh good old BOB. Who became office clippy guy. |
All times are GMT -4. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.