I'm testing a form on my local machine and when I click submit after completing the form, I receive the following error: "Warning: Failed to Receive in C:\FoxServ\www\phpform\forms\process.php on line 20
Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\phpform\forms\process.php:20) in C:\FoxServ\www\phpform\forms\process.php on line 21
Also, no data is being written to the table that I elected to be created. Below I've included a copy of my lines 20 and 21 of the process.php file. Please assist.
I seem to be receiving the same error when I upload it to my website. Where exactly would the php.ini appear there or should it even exist when the form is uploaded?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
php.ini file is a configuration file for your PHP extensions installation. It exists "in all" installations of PHP. Location depends on OS and where it is installed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is what i am getting
Warning: copy(files/03_30_13_Untitled01.jpg): failed to open stream: No such file or directory in /home/virtual/site163/fst/var/www/html/phpform/forms/process.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site163/fst/var/www/html/phpform/forms/process.php:29) in /home/virtual/site163/fst/var/www/html/phpform/forms/process.php on line 42
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-19
Warning: fopen(forms/form1.html): failed to open stream: Permission denied in /home/realest/public_html/modules/phpform/process3.php on line 442
cannot create file. Please help me to correct this problem..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
harry.. looks like your problem is due to your webhost. Does it allow browser based file uploads? Because it looks like either the temporary file for uploads is not specified OR that your webhost immediately deletes the uploaded files somehow.
vic, your problem is not related to this thread. You have just not set the the correct file/directory permissions. Please read the instructions carefully.. it says that you have to give read+write+execute permissions to the entire "forms" directory and everything inside it. That will get rid of that error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm testing a form on my local machine and when I click submit after completing the form, I receive the following error: "Warning: Failed to Receive in C:\FoxServ\www\phpform\forms\process.php on line 20
Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\phpform\forms\process.php:20) in C:\FoxServ\www\phpform\forms\process.php on line 21
Also, no data is being written to the table that I elected to be created. Below I've included a copy of my lines 20 and 21 of the process.php file. Please assist.
mail("username@mydomain.com","ORDER",$message,"From: phpFormGenerator");
header("Refresh: 0;url=//localhost");
Your SMTP server is probably not set in php.ini and therefore the mail function is choking.
I seem to be receiving the same error when I upload it to my website. Where exactly would the php.ini appear there or should it even exist when the form is uploaded?
php.ini file is a configuration file for your PHP extensions installation. It exists "in all" installations of PHP. Location depends on OS and where it is installed.
I'll give it a shot when I get home and I'll let you know if it works or not. THANKS!!!
I am having the same problem, but i am using online web server, how can i fix it
This is what i am getting
Warning: copy(files/03_30_13_Untitled01.jpg): failed to open stream: No such file or directory in /home/virtual/site163/fst/var/www/html/phpform/forms/process.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site163/fst/var/www/html/phpform/forms/process.php:29) in /home/virtual/site163/fst/var/www/html/phpform/forms/process.php on line 42
Warning: fopen(forms/form1.html): failed to open stream: Permission denied in /home/realest/public_html/modules/phpform/process3.php on line 442
cannot create file. Please help me to correct this problem..
harry.. looks like your problem is due to your webhost. Does it allow browser based file uploads? Because it looks like either the temporary file for uploads is not specified OR that your webhost immediately deletes the uploaded files somehow.
vic, your problem is not related to this thread. You have just not set the the correct file/directory permissions. Please read the instructions carefully.. it says that you have to give read+write+execute permissions to the entire "forms" directory and everything inside it. That will get rid of that error.