With my GoDaddy hosting account, should I choose Linux or Windows?
Posted on Mar 30, 2009 under GoDaddy.com | 7 CommentsMy operating system is Windows XP but when I sent a help request to Go Daddy regarding webforms and databases, ie php and mysql, they told me I had to switch my hosting account from Windows to Linux.
I’ve done this, but can’t get my forms working. I’m not sure if I’ve simply botched the script or whether it’s because I have a Linux hosting account when I operate on Windows!!! Can anyone help please?
When I click "Submit", it tries to go to www.mydomain.info/processform.php and then I get an error message: HTTP 404 Not Found
This is the code I am using for the form (with the guts of the form fields cut out):
<form action="/webformmailer.php" method="post">
<?php
<input type="hidden" name="subject" value="WebForm" />
<input type="hidden" name="redirect" value="thankyou.html" />
?> <label><span class="style1">First name:
<input name="name" type="text" id="name" size="50" />
</span></label>
<p class="style1">
<label>Surname:
<input name="Surname" type="text" id="Surname" size="50" />
</label>
</p>
<p class="style1">
<label>
<input type="submit" name="button" id="button" value="Submit" />
<?php
<input type="hidden" name="email" value="mailto:me@myemail.com" />
<input type="hidden" name="form_format" value="default" />
<input type="hidden" name="form_order" value="default" />
<input type="hidden" name="form_delivery" value="default"/>
?> </label>
</p>
<p class="style1"> </p>
<p class="style1"> </p>
<p> </p>
</form>Contact_Form
<?php
//Connect To Database
$hostname="pXXmysqlXXX.secureserver.net";
$username="Contact_Form";
$password="mypassword";
$dbname="Contact_Form";
$usertable="your_tablename";
$yourfield = "your_field";
mysql_connect($hostname,$username, $password);
mysql_select_db($dbname);
# Check If Record Exists
$query = "SELECT * FROM $usertable";
$result = mysql_query($query);
if($result)
{
while($row = mysql_fetch_array($result))
{
$name = $row["$yourfield"];
echo "Name: ".$name."
";
}
}
?>

March 30th, 2009 at 7:56 am
It depends what script language you are using. PHP/MYSQL would work both windows and Linux that is if godaddy servers support it.
If you are using PHP/MYSQL and it works with your windows server (IIS/Apache) than it should work with linux server.
March 30th, 2009 at 7:56 am
Linux, Linux, Linux…
Is rock solid. Your form problem most likely doesn’t have anything to do with the OS of the server. If you are having problems with your form, email me via Yahoo answers and I’ll be glad to help.
Shawn
March 30th, 2009 at 7:56 am
Unless you have a compelling reason to use Windows Web hosting, you should use Linux Web hosting. You do not have a compelling reason.
If you are using Microsoft Publisher or Microsoft FrontPage to create forms, you need to have a FrontPage enabled Web server. GoDaddy can install FrontPage for you.
Otherwise, if you are making forms in PHP, you are receiving specific error messages. Copy and paste them here.
March 30th, 2009 at 7:56 am
Take a look at the following link to get useful information regarding your question: http://www.goldpuma.com/answers.html It’s ineresting to know that http://www.goldpuma.com is parented with godaddy and offers the same produsts at lower costs. Hope this helps.
March 30th, 2009 at 7:56 am
I would recommend Linux one.Hostmonster webhosting is the best one
http://www.hostmonster.com/track/hostmonsterwebhosting/
November 26th, 2010 at 9:17 pm
It seems to me that this site doesn’t load on a Motorla Droid. Are other people having the same problem? I enjoy this website and don’t want to have to skip it when I’m away from my computer.
January 18th, 2012 at 10:31 am
… [Trackback] …
[...] Read More here: getportals.com/2009/03/30/with-my-godaddy-hosting-account-should-i-choose-linux-or-windows/ [...] …