hello!
I congratulate you for your script Access_user Class, but a file is missing, I can not find it in the file db_config.php Online 2
include_once($_SERVER['DOCUMENT_ROOT'].'/classes/db.php');
where is db.php?
I can not find it
» PHP Forum Archive » PHP Classes Support Forum
hello!
I congratulate you for your script Access_user Class, but a file is missing, I can not find it in the file db_config.php Online 2
include_once($_SERVER['DOCUMENT_ROOT'].'/classes/db.php');
where is db.php?
I can not find it
from the manual:
Create a file called db.php (I place it into the folder classes which is one above the root), add this code with you database connection parameters:
<?php define("DB_SERVER", "localhost"); define("DB_NAME", "database"); define ("DB_USER", "user"); define ("DB_PASSWORD", "password"); ?>
plz help
i get the meaasge[13] at the line 322 in the access_users_class.php
when i submit on register page i get message
"Sorry, an error occurred please try it again."
my setting in db_config.php are
// change these settings to use phpmailer in place of the PHP mail() function
define("USE_PHP_MAILER", true); // true = use phpmailer
define("PHP_MAILER_SMTP", false); // true send by SMTP, false = sendmail
// if you enable these features you need to install the phpmailer class!
if (USE_PHP_MAILER) include_once($_SERVER['DOCUMENT_ROOT']."/classes/PHPMailer/class.phpmailer.php");
if (PHP_MAILER_SMTP) {
define("SMTP_SERVER", "ssl://smtp.gmail.com:465");
define("SMTP_LOGIN", "vikidigi@gmail.com");
define("SMTP_PASSWD", "password_123");
}
plz help soon
thanx
thanks very much!
)
Warning: Division by zero in /home/familyke/public_html/classes/count_visitor_statistics/count_visitors_class.php on line 124
0
i get this error at /classes/count_visitor_statistics/visitor_statistics.php
how is this related to that topic? Please open a new thread...
I was wondering what was going on here. Thanks for the help. This is the first pagination script that's worked for me. Great work.
Quote from: james_womack
"I was wondering what was going on here. Thanks for the help. This is the first pagination script that's worked for me. Great work."
What is your question?
Hi, I have downloaded your script and went through it. Although I can make it work to upload pics, I haven't managed to upload file name in specific fields of a table in database. Such as Image_1, Image_2 and so on. How can I upload a pic and make sure details of its location are stored in db?
I am new with php and any help would be really greatly appreciated.
Francesco
please start a new thread and provide the code which doesn't work