This is a list of questions that are commonly asked so if you look here and you may find your answer which will save you time in waiting for other members to post replies.
Please add more as you think of them
[b]Q.
[b]A.[url=http://httpd.apache.org/]Apache Web server[url=http://www.php.net/downloads.php]PHP parsing engine[url=http://dev.mysql.com/downloads/]mySQL database engine
Alternatively a All-in-one package for windows operating systems is [url=http://www.apachefriends.org/en/xampp.html]xampp
[b]Q.
[b]A.[b]NogDog[url=http://www.charles-reace.com/article.html]debug those errors with Defensive Coding
[code=php]
<?php
/* In addition to that add this to the very top of your script */
@error_reporting(‘E_ALL’);
@ini_set(‘display_errors’, ‘1’);
/* This will print any errors that your page may have */
?>
[b]Q.
[b]A.[url=http://php.net/mail]PHP Website[url=http://www.google.com]Google[url=http://www.webdeveloper.com/]Web Developer Forum[url=http://bokehman.com/mime_mail_script]Bokeh, Mime Mail
[b]Q.
[b]A.
There are many articles on this over the net, I like this one [url=http://www.charles-reace.com/login_article.html]PHP Login the database way[url=http://www.hotscripts.com]Hotscripts
Another option for those who don’t have access to a mySQL database is the flat file authentication system. [url=http://www.webdeveloper.com/forum/showthread.php?t=85991]Here is a link[url=http://www.webdeveloper.com/forum/showthread.php?t=86052]another[url=http://www.hotscripts.com]Hotscripts
[b]Q.
[b]A.
[code=php]
//db_connect.php
$db_server = “localhost”;
$db_user = “username”;
$db_password = “password”;
$db_name = “database”;
$db_connect = mysql_connect($db_server, $db_user, $db_password)
or die (‘I cannot connect to the database because: ‘ . mysql_error());
mysql_select_db ($db_name) or die (‘I cannot connect to $db_name because: ‘ . mysql_error());
?>
Then just include or require it into each page where you need database access.
[code=php]
<?php
//we need to connect to the database so
require(‘db_connect.php’);
?>
This way means if there is an error you change one script and it’s done.
Possible errors could be:
[b]Server Address
[b]Username Issues
[b]Password
[b]Database name
as with any and every SQL query ales put this piece of code right after your request.
[code=php]echo(mysql_error());
Now For all the newer members please note these few points;
1) Don’t title your threads “Urgent Help Needed!” , “Newbie help”, “Problem” or such un-descriptive as that.
Post with titles like explaining the error given or what you are trying to do.
2) Never say that you urgently need us to do this and that for you, We don’t get paid to do this and are helping you instead of doing our own scripting. Be considerate to us and we will help you find the right solution.
3) Use the V B Tags provided. Posting your code in [b][ php ][b][ /php ]
Even the smallest piece of code should go in tags.
4)Search First, There are as of now (8:00pm, Wednesday 30th November 2005, New Zealand Time) [b]8313
[url=http://www.webdeveloper.com/forum/search.php?]SEARCH FIRST
5) New To the Forum? Read the “[url=http://www.webdeveloper.com/forum/showthread.php?t=64280]help us to help you
Thank you for reading.