PDA

View Full Version : Account Request Form on a non-vB page


Gary King
05-16-2003, 10:00 PM
Requested here: https://vborg.vbsupport.ru/showthread.php?postid=395038#post395038

There is some PHP included in this, not all HTML, because HTML itself cannot send the email out.

You can modify this all you like to fit your website; this is a basic form to do what it does.

The code is attached; simply modify the variables at the top of the file.

mauce
05-17-2003, 08:00 PM
Thanks for you help.
I modified the parameters on top of the file, but I get a parse error on line 36 (which doesn't exist)

Any ideas?

Davey
05-17-2003, 11:24 PM
That's because one of the close brackets was missing.
Find:
if ($view=='php') {
if ($submit) {
$mail=mail($to,$subject,$message);
if ($mail==TRUE) {
print "<b>Your request has been sent!</b>";
} else {
print "<b>Your request could not be sent!</b>";
}
}
After it, add:
}

Dave.

Gary King
05-17-2003, 11:53 PM
I was in a hurry when I initially created the file.

I have uploaded a new one, slightly modified.

Floris
05-18-2003, 02:19 AM
Hey, I was just browsing the hack database to see if this has been made before, I can use this :) Thank you .. /me installs on client site.