Help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CoRPS
Forum Newbie
Posts: 2
Joined: Wed Aug 06, 2003 8:36 am

Help?

Post by CoRPS »

Alright, I have a decent amount of knowledge when it comes to HTML. But.. PHP, I have NO idea about.. I download PHP-Nuke v6.7.. And I don't even know how to open it! What do I need to use PHP? HTML all you need is a basic word editor (i.e NotePad). Anyway, ANY help will be MUCH appreciated.
User avatar
mesz
Forum Contributor
Posts: 216
Joined: Fri May 23, 2003 8:11 am
Location: M/cr

Post by mesz »

Download textpad from http://www.textpad.com so that when error messages appear you can trace your problems.
( PHP provides very detailed error messages when something goes wrong. )
Go to http://www.php.net read some things so that you get used to the syntax, then decide on a simple project to practice on, like your own weblog.
You will need to find out about MySQL because although it is possible to not use a database and build a flatfile ( ie notepad - textfile ) database these limit your abilities.
This forum will be fantastic support.
User avatar
werlop
Forum Commoner
Posts: 68
Joined: Sat Mar 22, 2003 2:50 am
Location: /dev/null

Post by werlop »

Also remember that you can't just open a php file in your browser as if it was HTML, you need a server (such as Apache) with PHP installed to parse your scripts.

You can easily set this up on your local machine, if you do not wan't to make your computer into a webserver, you could find a host which supports PHP, and test your files on that.

You should also (as mentioned in the last post) get MySQL which is a database server.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

This might give you some idea of things.
Also, download the PHP-Manual (from http://www.php.net) or, if you run windows, download the windows-helpfile.
Link is in my sig.
CoRPS
Forum Newbie
Posts: 2
Joined: Wed Aug 06, 2003 8:36 am

sad

Post by CoRPS »

I guess me and PHP were never meant to be :cry: one guy tried helping me but either just signed off or blocked me so :? Anyway, if you have a lot of patience and are willing to help a PHP noob, AIM: MaggotFullCorpse
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

PHP is worthwhile getting into. If you follow the links in my post above and read the thread about books you'll certainly find one that will give you a good background.

I find it hard to imagine anyone taking the time to teach you PHP via AIM if you don't know the basics. Show some effort, start with some little projects and if you're stuck, come back and ask.
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

ok
someone better tell me what text=pad is capable of, because i keep thinking of notepad when i see it and notepad sucks ass.


get a programming editor. get xemacs or emacs (it's there, go to seach and type "emacs" and your os).

they both do syntax highlighting, which is very helpful once you get used to it. they both do parenthesis matching, so ic you use scheme/lisp you wont go insane. they both give you line numbers. there's a <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> of other things i don't use ... like that they have the gcc (gnu compiler collection, which is a collection of ansi compiler's and up-to-date-when-you-dl-it java compiler from sun) and can handle every language i've used ... well i know for a fact it handles much more.. namely every one i've ever heard of...and i recently found out emacs finally made a windos port. something x has done for a while.
oldtimer
Forum Contributor
Posts: 204
Joined: Sun Nov 03, 2002 8:21 pm
Location: Washington State

Post by oldtimer »

I use ultra edit for a quick edit but for most of my php I use Dreamweaver. It lets me upload nice and easy while testing. Now Dreamweaver will not write your code for you but can give hints once in a while. I like the color changes and Notepad does not do that.
Post Reply