Thread: PHP Problem
View Single Post
Old 08-21-2007, 07:42 PM  
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
not sure why some people mention imap here, i wouldn't get puzzled over it.


Quote:
Originally Posted by LouisianaGuys View Post
well the script is authsuite ....http://www.bespoke-software-solutions.co.uk/

the user management sys
just to clarify if you followed all of the instructions for the script
Quote:
INSTRUCTIONS FOR USE:
In order for you to use these scripts you must have access to a MySQL dB and have a PHP parser.
-------
1. Use the sql script create_cus_table.sql to create the customer_db and customer table. If you already have a database remove the first two lines of the script as otherwise you create a new dB. If you use your own dB (and not the pre-defined customer_db one) you will have to edit the database name on all scripts which access the database.
-------
2. Edit the database connection string so it contains your dB login details ON ALL PHP PAGES WHICH CONNECT TO THE DATABASE.
-------
3. Copy all files from the 'files' folder to the root directory of your site.
-------
4. Customise the outgoing emails to your taste in the activate.php, recoverpword.php and sndactivate.php files.
-------
5. Update styles / CSS as required.
-------
6. Customise error messages and forms to your tastes
-------
7. On all pages you wish to restrict to member access only, copy the php code from lobby.php and insert it at the top of your document(s). This code checks to make sure the user has the required cookie (issued during login) and resets it for 5 minutes if they do. This means that a user has 5 minutes to perform an action before the cookie and their session expires and they have to log in again. By adding this code to all pages within the 'restricted zone' you will prevent people without the cookie from viewing them as they are instantly redirected to the cookie error page.
since you have phpinfo thingie handy check if SMTP present there, if not it won't send mail, if yes look for "disable_functions" see if mail is in there

also see if display_errors is on or not (thats for debugging useful to see what might be a problem with php code) if its off you might want to put error_reporting(E_ALL); in php code of a file that handles submitted registrations for time being (that's the file that is being called by <form's action attribute)
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote