Beginning with PHP? [closed]
I'm getting pretty good with javascript, but I want to edit files, so I need to use PHP. I don't need to do any extreme, just insert some text and change some hex values.
A good model of what I want would probably be an online text editor in PHP, but I can't seem to find any, nor any tutorials on it.
Are there any resour开发者_JAVA百科ces that would help?
Check these out http://www.webgeekly.com/lessons/4-web-based-code-editors-that-let-you-code-online/ =)
Read Head First PHP & MySQL book.
To get php running locally, the easiest thing to learn on is going to be either:
- WAMP for Windows : http://www.wampserver.com/en/
- MAMP for Mac : http://www.mamp.info/en/index.html
Some places to get started learning:
- Tizag's tutorial - http://www.tizag.com/phpT/
- Some php tutorial videos: http://phpvideotutorials.com/free
- http://php.net - this will likely be a bit overwhelming for just getting started
And for the older schoolers, there are lots and lots of dead trees on the subject - https://stackoverflow.com/questions/90924/what-is-the-best-php-programming-book
As i said in my comment to Legolas, I dont remember where I started when i know 0 PHP or serverside scripting.
That said i would suggest coming up with a feature you want to develop - like your text editor. Then google for tutorials of implementations in PHP. Youre bound to find a ton for most things. Then read the tutorial learn what the code is actually doing. Look up each function call in the php documentation so that you understand it. Anything you dont understand or have trouble with you will at this point have enough specifics to post here :-)
Try http://php.net/manual/en/tutorial.php
tutorials by php.net itself! One of the most reliable sources for learning php.
Coming back to this now, I would have to say that The New Boston's tutorials are great for getting started in a language.
http://thenewboston.org/list.php?cat=11
http://www.w3schools.com/ would be a good start.
Edit:
Please visit www.w3fools.com and ignore my answer !
精彩评论