473,698 Members | 2,432 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

contact page with godaddy php script

1 New Member
hi all i have been trying and trying to set up a contact page on godaddy. they require that i use a php script here is their example.

Expand|Select|Wrap|Line Numbers
  1. <form action="/gdform.php"  runat="server" method="post"> 
  2.   <input type="hidden" name="subject" value="Form Submission" /> 
  3.   <input type="hidden" name="redirect" value="Default.aspx" />
  4.   <p>First Name:<input type="text" name="FirstName" /></p>
  5.   <p>Last Name:<input type="text" name="LastName" /></p>
  6.   <p>E-Mail:<input type="text" name="email" /></p>
  7.   <p>Comments:<textarea name="comments" cols="40" rows="10">
  8.     Type comments here.</textarea></p> 
  9.   <input type="submit" name="submit" value="submit" id="Submit1" language="javascript" onclick="return Submit1_onclick()"/>
  10. </form> 
it requires that i use a html page . what i want to do is use c#.net which is very similar to html so that i can get my master page included. is there a way to post this similar to the

(form action="/gdform.php" runat="server" method="post)

from javascript or code behind?

my second question is how do i include a captcha and verify it, then send the form?
i am verrrry new to c#.net
so try not to make it very complicated and i'll get my smart brother forest gump to help me with it.
Apr 17 '10 #1
3 2995
MrMancunian
569 Recognized Expert Contributor
hi all i have been trying and trying to set up a contact page on godaddy.
Why don't you make your own contact form to go with your masterpage?

c#.net which is very similar to html
Huh?

my second question is how do i include a captcha and verify it, then send the form?
Google is your best friend!

i'll get my smart brother forest gump to help me with it.
Life is like a box of chocolats, you never know what ya gonna get. And that's all I have to say about that...

Steven
Apr 19 '10 #2
Frinavale
9,735 Recognized Expert Moderator Expert
You can use JavaScript to submit any form....whether it be to a PHP script or an ASP.NET script. Just be aware that there will be no control-event associated with the JavaScript event.

ASP.NET adds a "submit JavaScript" function called __doPostback() to the webpage. This method is called when a control causes the page to postback to the server. It helps in the creation of the event that is handled on the server.

So, I recommend that you just ignore the JavaScript in that example....just handle the button click event in your code because the button will submit the page for you.


-Frinny
Apr 26 '10 #3
DeannaAC
1 New Member
I am new here so not sure if I am posting this in the appropriate place? If not just let me know. I have a similar problem to xlr. I am a designer and occasionally do minimal html development with the assistance of Dreamweaver. I created a form in Dreamweaver and used Go-Daddy's php file and it won't work. I searched online and found a gentleman who gave a code for the contact page and for an asp page to make it work but still I am having no luck. I am frustrated and just want the form to work. I wasn't paid a lot for the job but I could offer a small fee for someone to help me.

If anyone has had success in working with GoDaddy contact forms please contact me. I am also in the market for a Drupal developer. Can someone recommend a good place for me to look?

Thanks!
Jun 7 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
944
by: Jason | last post by:
I'm struggling with this email code and I'm not php freak since I'm starting to learn php stuff. Could use some help... It seems that I get too many parse errors all over and cannot figure went wrong since most of these appears right to me... <?PHP $to = "scoobyood@jace41.com" ; $name = $_POST ;
2
6918
by: Dale | last post by:
I'm (trying) to help a friend setup a MySQL db and use some simple scripts on a site hosted with GoDaddy. I note that GoDaddy appears to use Microsoft. I have done this: $connection = mysql_connect("localhost","mydatabase","password") or die ("Couldn't connect to server."); $sql = mysql_query("SELECT * FROM dummy"); $row = mysql_fetch_array($sql); echo $row; ?>
0
5510
by: Benjamin Bittner | last post by:
Hallo NG, ive searched a lot in some google groups, and found many threads, but nothing that helped me. Here is the scenario: I have an aspx page which loads a user control in page.onInit like this Dim pdControl As bb.unit = CType(LoadControl("./content/unit.ascx"), bb.unit) phContent.Controls.Add(pdControl)
3
1395
by: Steve Richter | last post by:
I have the asp.net source of a web application. ( from a great asp.net book by Wrox ) http://www.amazon.com/exec/obidos/tg/detail/-/0764558900/qid=1114469495/sr=8-1/ref=pd_csp_1/002-6140610-0826411?v=glance&s=books&n=507846 The source code includes an sql script that is run to create the database used by the application. contains sql stmts like this: ----------------------------------------------
3
3218
by: d2005\\ | last post by:
I have a site hosted on GoDaddy's shared platorm. I am trying to read XML from the yahoo RSS feed using the HttpWebRequest.GetResponse method and am getting a "401 access denied" exception. I have seen posts here before that indicate GoDaddy needs to provide a proxy to allow this to work properly. They claim this is not the case and want me to open a trouble ticket with their advanced support (this could cost money!).
1
4695
by: paolazi | last post by:
HI I have a flash templates..that uses php as well now I have a problem with my contact page as follows: the user enter his name, email and message into flash input whose Var are: your_name, your_email and message. then the user should press the send button and the actionscript code for the send button is: on (release) { url_var = "server_option=" + _root.server_option + "&recipient=" + _root.recipient + "&your_name=" +...
4
3878
by: thanos | last post by:
Hello, I'm relatively new to PHP so I found this free contact us script on the net that i was going to use for my Contact Us php page. Its works pretty good except for error handling. I was wondering if any can hlep me understand what is missing. I've posted the php files below below. Contact.php calls the sendemail.php script. This appears to be the validation code in the sendemail.php file. But i would like it to validate and...
2
4009
by: DLUKE | last post by:
I use godaddy as my host. I was wondering if anyone know how to make a cron run php script? What is needed inside the script?
12
3831
by: colt28 | last post by:
Ok so I found an ajax contact form script but i can't get the b****** to work. I made a bunch of alterations to it and it didn't work so i replaced everything with the original and it still didn't work...dunno why, but anyhow. The form appears after a delay on the page in a hidden DIV. The original form just had name, email and message, but i have to add a few questions to it so i did and i also added some code from another script i found to...
2
9392
doc barleycorn
by: doc barleycorn | last post by:
I am trying to have a guestbook form on one page write to a second page. The pages are .html, and I know they need to be .asp, but every script I have tried doesnt work. My hosting account is shared windows and only allows asp scripting. Site is on godaddy.com. I will post the two pages here, and have removed all but the key elements. I tried various tutorials, and I know there must be two dozen ways to do it, but I have not been successful. If...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.