Here's the good news:
You can get the code easily.
Just point your browser to the web site and choose "view source" from the menu system. You'll see all the HTML code there. They can't hide it from you. (at least not easily)
Ready for the bad news?
It's probably almost impossible to read. Lots of code out there is really bad. Even if you have the code, you'll probably have to tweak it so much it'll be easier to start over.
Now you want some good news?
It's not that hard to roll your own. Take a look at the form at
http://xfd.freehostia.com/xfd1.7/formDemo.html
and try the same 'view source' trick. If you study the code and the web page, you'll see it's not that difficult. (This is an example from my upcoming book)
Now you ready for the bad news again?
Just having the form isn't enough. It's easy to build a form, but then what are you going to do when somebody fills it in? You need to have a program on the web server to read the form and do something with it. This is also relatively easy, but it's more involved than you probably imagined when you started this project.
Don't give up. Just understand that this will take a little more effort than you initially expected. You can do it yourself, or you can get some help. If it's critical for your business and you need it soon, I'd hire somebody.
Ask another question if you want advice on hiring a web developer. I've been dying to answer that one. (It will make a lot of web developers mad.)
2007-12-18 13:53:02
·
answer #1
·
answered by Anonymous
·
0⤊
0⤋
Of what i've heard, you can hire someone to do that for you. But i'm pretty sure it's expensive.
I'm only positive you hire someone for maknig the html for signing up to a website, i'm not so sure if you can hire someone for your issue though...
2007-12-18 13:24:07
·
answer #3
·
answered by Lady Jane 6
·
0⤊
0⤋
To make a form you can use something like this:
Now, you must create another page, called actionpage.php (or any other name, but don't forget to change on form's action), and there you must have something like this:
$name = $_POST['name'];
$address = $_POST['address'];
$city = $_POST['city'];
$state = $_POST['state'];
$zip = $_POST['zip'];
$email = $_POST['email'];
$phone = $_POST['phone'];
if(empty($name)) {
echo 'Error: you did not entered your name'; }
elseif(empty($address)) {
echo 'You must enter your address'; }
elseif(empty($city)) {
echo 'Please enter your city!'; }
elseif(empty($state)) {
echo 'Please enter your state.'; }
elseif(empty($zip)) {
echo 'Please enter your zip code.'; }
elseif(empty($email)) {
echo 'Please enter your email address.'; }
else {
$to = "your_email@server.com";
$subject = "A new request trough the form";
$head = "From: $email\n";
$body = "Name: $name
Address: $address
City: $city
State: $state
Zip: $zip
Email: $email
Phone: $phone\n";
mail($to, $subject, $body, $head);
echo 'Thank you '.$name.' for your message.';
}
?>
That's it.
After you write this pages, you *must* upload them to your hosting server. It won't work on your computer, because the php script needs to run on a server, with php support, and a mail server. And replace the value from $to, with your email address.
Hope this helps.
Good Luck :-)
2007-12-18 13:26:42
·
answer #7
·
answered by Alin 3
·
1⤊
0⤋