I will try to program php/sql forum for the software engineering project at
University.
Can you tell me something useful about programming such thing as a forum, or
give me some tips how to start, design patterns, links, source codes,
books...? Anything will help...
Regards, Edo
Go to phpclasses.org and study the sources for any one of several
small open source forums listed there.
Use
error_reporting(E_ALL);
ini_set('display_errors', '1');
at the very top of *all* your scripts, right after the first <?php tag.
When the script produces no warnings or notices, you won't even need to
remove those lines :)
--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.
You should NEVER leave these lines in on a production server. Should
something untoward happen (i.e. database crash), the error messages can
easily expose information you don't wish to be public.
Additionally, I can always tell a sloppy programmer when I get default
messages like this. Good programmers detect and handle errors,
providing meaningful messages to users.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================
These lines will prevent the script from running in safe mode, so you'd
want to do this in the server config, not in your scripts.