Endless Paradigm

Full Version: php and html help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
ok im new to php and the form tag...
iv writen a little sometheing but i can't get the damn thing to work....

anyone wana help me? ifso ill upload the files
you mean this?
<?php (or <? can be used)
and
?>

Well, upload the files. I'll see what I can do to help...
ok its a simple form to be made into an email and sent.

i did not make the html page somone else did i tryed to clean it up and add a real capcha, he was useing an img as a capcha

i can't get my apachy to work either
Hmm... I can't seem to pinpoint the problem. I've never worked with capachas, so I'm not entirely sure of the workings.
i think that i have no idea what the fudge im doing...

im trying to test the thing. for all i kno it proabaly works and im stupid for trying to open it from my desktop into firefox...

i feal stupid now...

mby i should start from the beging, like trying to make my own server off my computer
loaded it up on my WAMP, but I don't have Sendmail set up properly so I can't test the sending.

From what the code shows though, I'd imagine this would get somewhere on a proper server with Sendmail set up properly.
ok i upladed it to a host heres the link the cappcha and everyhting works fine excep the sendmail keeps giving me a syntax error... ideas?
http://www.ellet.org/stevetest/registration.htm
its conected to my email so type anythign you want in the boxes do the capcha then submit it gives me
Parse error: syntax error, unexpected ';' in /home4/onezerho/public_html/ellet/stevetest/sendmail.php on line 56
there is no ; on line 56.... even when i add one it gives me the same error
php is pissing me off
I'm pretty sure that the mail() function doesn't accept so many parameters.
Build a message string and send that.

Can't seem to find the syntax error from a quick glance though.
ZiNgA BuRgA Wrote:I'm pretty sure that the mail() function doesn't accept so many parameters.
Build a message string and send that.

Can't seem to find the syntax error from a quick glance though.

and um... er.... how the fudge would i do that? (knows spoon about php)

i could prablay figure it out if i need a example
Try replacing the mail call with this:

PHP Code:
  mail( "bwilla@yahoo.com", "New Registration from $name", <<<END
From: $email
Name: $name
Email: $email
School: $school
Address: $address
City: $city
Zip code: $
Phone number: $
School information
School address: $saddress
School city: $scity
School zip: $szip
Send all mail to: $maill
Coach information
Head coach: $hc
phone: $hcp
Varsity: $va
phone: $vap
JV coach: $jv
phone: $jvp
FR coach: $fr
number: $frp
END;
);

Pages: 1 2
Reference URL's