richo7 - 2006-11-16

Just set up a basic form to send details to my email address, but when the submit button is hit it goes to another page coming up with the following:

Warning: fopen(admin/data.dat) [function.fopen]: failed to open stream: Permission denied in /home/launces/public_html/process.php on line 25

Warning: fwrite(): supplied argument is not a valid stream resource in /home/launces/public_html/process.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/launces/public_html/process.php:25) in /home/launces/public_html/process.php on line 31

But the form data still gets sent to my email address no worries, can anyone help clear that error and to get an actual page up after hitting submit?