Hi everyone, I will try my hardest to explain my problem... the only thing i know about MYSQL is to make a database, and add a user in cPanel. okay.... I am using a script, where users must activate their account, this is the email they are receiving: Dear test, To complete your registration, click on the link below: http://localhost/index.php?file=verifyreg&c=886644 Thanks very much, http://localhost As you can see the websites URL is showing up as localhost. Any idea's on what this could be? Thanks all in advance! Linda.
seems to be some configuration problem in the script is the script installed on localhost? or a domain ?
It's installed on my hosting plan on a "addon domain" Im not to sure if that's what you meant? I tried
That's the problem, this is all that's in the config.php file, the rest was a MySQL copy and paste job <?php //Database Connection Details $dbhost="localhost";//Database Hostname $dbuser="****";//Database user name $dbname="****";//Database name $dbpass="****";//Database password $prefix="yp_"; //Normal Settings $approve=1;/* set this 0 if you dont want user to add/update listing withought admin checking */ $mail=1;/* set to 0 if u don't want to send email when listing is approved.*/ $logomaxwidth=200; $logomaxheight=200; $logomaxsize=50000;//50 KB $maxchar=1000;// Maximum character in listing description //Google Code //Put your google add here. //If you remove it , it display banner $google=<<<GOOGLE <script type="text/javascript"><!-- google_ad_client = "pub-2898012231294796"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel ="1936339871"; google_color_border = "CC0000"; google_color_bg = "FFFFFF"; google_color_link = "CC0000"; google_color_text = "000000"; google_color_url = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br> GOOGLE; ?>
check the script used to send the mail,, chnage the path thr... make it an absolute URL... the config looks ok.