Portal Home > Knowledgebase > Articles Database > proplem with php registration its not send to the infrmations
proplem with php registration its not send to the infrmations
Posted by ahbahouse, 11-17-2008, 11:48 AM |
proplem with php registration its not send to the infrmations
I did a manual php registration form my site
and he not send to my mail
and im try in two servers
please see the code for send.php
PHP Code:
Bob's
Feedback submitted Your feedback has been sent.
|
Posted by WebbyCart, 11-17-2008, 12:02 PM |
Hi,
Check your mail logs, it could be not sending due to nobody restrictions, errors, etc.
Regards,
Bobby
__________________WebbyCart.com - Pushing OnwardsFully Managed Servers
|
Posted by etogre, 11-17-2008, 12:43 PM |
You should be using $_POST['key'] instead. I don't know if that will solve your problem though, the code looks alright to me and must be a server issue.
|
Posted by FrozenWire, 11-17-2008, 01:58 PM |
Debug your variables. I am with etorge and use $_POST['key'] for the post variables.
Echo the variables on the page and see what is getting set. Then you can see what is getting set before you troubleshoot the email issue.
|
Posted by etogre, 11-17-2008, 02:05 PM |
Another note,
PHP Code:
I'm really surprised you aren't getting thrown errors for using deprecated superglobals and concatenating non-existent strings. Your server must not have error reporting on, try adding the following line at the top and see what it says.
PHP Code:
__________________
|
Posted by ahbahouse, 11-17-2008, 02:20 PM |
Quote:
this code wich file you want from me tp boot him
and if any body he have goood file send.php
can he give me to test him please
thanks agine
|
Posted by etogre, 11-17-2008, 02:24 PM |
PHP Code:
Bob's
Feedback submitted Your feedback has been sent.
Try that and report any errors.
__________________
|
Posted by ahbahouse, 11-17-2008, 02:35 PM |
Quote:
[17-Nov-2008 20:30:10] PHP Notice: Use of undefined constant email - assumed 'email' in /home/martg/public_html/test2/send.php on line 4
[17-Nov-2008 20:30:10] PHP Notice: Use of undefined constant Subject - assumed 'Subject' in /home/martg/public_html/test2/send.php on line 6
[17-Nov-2008 20:30:10] PHP Notice: Undefined index: Subject in /home/martg/public_html/test2/send.php on line 6
[17-Nov-2008 20:30:10] PHP Notice: Use of undefined constant email - assumed 'email' in /home/martg/public_html/test2/send.php on line 52
[17-Nov-2008 20:30:16] PHP Notice: Use of undefined constant email - assumed 'email' in /home/martg/public_html/test2/send.php on line 4
[17-Nov-2008 20:30:16] PHP Notice: Use of undefined constant Subject - assumed 'Subject' in /home/martg/public_html/test2/send.php on line 6
[17-Nov-2008 20:30:16] PHP Notice: Undefined index: Subject in /home/martg/public_html/test2/send.php on line 6
[17-Nov-2008 20:30:16] PHP Notice: Use of undefined constant email - assumed 'email' in /home/martg/public_html/test2/send.php on line 52
se this please
|
Posted by ahbahouse, 11-17-2008, 02:40 PM |
about this error log its from other file "send.php"
so if you can tell me where is the woronge thats its very good from you
thanks agine sair
|
Posted by Barti1987, 11-17-2008, 02:42 PM |
Take a look at this script and see how its sending the emails:http://www.awesomephp.com/?Ajax-Contact-Form
You need to have headers in correct format for your email to be sent and accepted.
Peace,
__________________NEW: What Is Their IP - Anyone's IP a click away.
URL Tracker, Shortener, Blocker, Unblocker, Whois and More.
|
Posted by ahbahouse, 11-18-2008, 10:34 AM |
this issuse its resloved now
just talk with your admin server and tell him doinge this command in ssh
"chmod 755 /bin/bash"
|
Add to Favourites Print this Article
Also Read