Page 1 of 1
quick (and probabily easy) question
Posted: Mon Nov 22, 2010 6:28 pm
by legobear154
I am new to php. I have a webserver and am currently using PHP-Nuke 8.0. Anytime people signup it is suppose to send a conformation email. The email is never sent. I know this forum is for php and not php-nuke but I thought I had a better chance for an answer here than on their forum. If you need any code i will show you it, but the script I think is the right script has more than 200 lines of code. Thanks for any help you can give me!
Re: quick (and probabily easy) question
Posted: Mon Nov 22, 2010 9:19 pm
by s992
Without seeing your code, it's pretty difficult to troubleshoot.
Standard e-mail related answer: Are you sure you have a mail server on your webserver?
Re: quick (and probabily easy) question
Posted: Mon Nov 22, 2010 9:53 pm
by Pazuzu156
I'm pretty new myself, but any time you use php to get people to send an email to your email address for confirmation or something like that, the mail() function is used. I made a post on how to set that up, the link will be below along with a page from the W3Schools website on php email.
My post:
http://forums.devnetwork.net/viewtopic.php?f=1&t=125014&sid=9ef78754e10fa388c24559aae4587584
W3School's PHP E-Mail:
http://www.w3schools.com/php/php_secure_mail.asp
I hope this helps you.
Re: quick (and probabily easy) question
Posted: Wed Nov 24, 2010 1:01 pm
by legobear154
The index.php file which I think has the code that sends the email to the user who signed up who has to activate their account through the email. Here it is
http://www.host-a.net/u/legobear154/index.php. It has 1817 lines... I was way off with my first guess

Thanks for any help
Re: quick (and probabily easy) question
Posted: Wed Nov 24, 2010 1:07 pm
by Pazuzu156
I will say man, I'm not very familiar with phpnuke. In fact I've never messed with it. I'm sure I could figure out, as just looking at codes I can learn pretty quickly.
Re: quick (and probabily easy) question
Posted: Wed Nov 24, 2010 2:03 pm
by Pazuzu156
Dude, every time i load the page on my server, it says "You can't access this file directly..." Note all i did was save the page and opened it in the browser. Is it suppose to allow me to use the page or just say that?
Re: quick (and probabily easy) question
Posted: Wed Nov 24, 2010 3:34 pm
by legobear154
You won't be able to access it because it is set to my site only and it takes certain things from my server. if you go to byethost33.com and create an account and install phpnuke, you will be able to see the same code there and use it. but you wont be able to use the code I gave you. it does that for security reasons. I was hopping someone would be able to do it with just the code and not using it on a server.