(New To PHP) I want to create a Web based program to collect data, Hope to Use PHP, MySql, I need build good authentication system. Provide good security for data, and how to make available components like java script or any Calander, Please Advise Me. And why put @ sing before commands (eg: $res = @fopen($fileName, 'w+b') Many thanks Leulae
Heres some Free PHP Samples that can help you understand syntax and general use of the language as well as helping out in specific cases.
I'm where I am from lots of reading. Usually, from PHP scripts that people have written. As for the @ symbol in PHP, it means that it won't shout back at you if an error occurs.. lol. If the function has an error, it will simply ignore the fact that an error occurred and just continue on with the script.
Thanks for the link, i am also looking to learn php, i will go through the site and hopefully it will help me, can you recommend any good books as well?
PHP A Beginners Guide (by Vikram Vaswani) O'Reilly - Learning PHP 5 (ISBN 0-596-00560-1) Once past these, go for O'Reilly - PHP Cookbook (ISBN 1-56592-681-1) And as always: php.net and google.com
The best way to learn in my opinion, is to set yourself a small project, and develop it. google it, pick new things up, and then put it all together. Go back through it and change earlier things as you learn new skills, etc. That's the way I learnt anyway.
True, I started to just open up scripts (the easy ones first, php.net examples and such), but in my vision it would be better to read/go through a few books first so you get the idea of how things work, then try to remember what php's default functions are and do, so when you need to split a string into arrays at special characters, you can say "explode() can do that!"
there is an site php.net & w3schools.com they r really a best websites to learn the facts of PHP...... try that...
I think one of the best places to start your PHP learning process is PHP 101 by Vikram Vaswani - http://devzone.zend.com/node/view/id/625 This alone will give you a good grasp on PHP. Then you can buy some books to augment, or visit other websites and work through more advanced tutorials.
To the OP. This. Please don't use @ to silence errors. Instead, invest the time in learning how to capture errors, document them and give the user a proper error page. When you silence the errors, your users may end up with an infuriating white page should a fatal error occur.