Jump to content

4WayStreet

New Members
  • Posts

    1
  • Joined

  • Last visited

4WayStreet's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the welcome. I know right, but I have been told I look really good for 165, then again not so good for a lot less than that.
  2. The disclaimer: I am just hatched for php purposes, so be nice. I have written some hex and binary, C++, and visual basic but not much. My first attempt at php is a php form mailer script I am writing for a friend. The issue: I am tempted to say godaddy is the only issue but that might be too harsh, so since I am new lets say I don't know enough to make the script I have written work. After doing some research I have been using the PhpGuide and various forums to try to find out what mistakes I am making. What I know: The godaddy provided gdform.php is not working for me unless I need to make modifications to it to get it to function. The installation guidelines for a Windows server, like the godaddy one I am using, I have found led me to ask go daddy a bunch of questions, below, that they did not, would not, or could not answer. The script I wrote is not working but it may be because I need to do some actual configuration/installation things on the godaddy hosted site, I don't know. I have seen a ton of forum questions about problems with godaddy and php but most of them were at least two or three years old. Neither I nor my friend have an email account with godaddy. The question: Is there a place to find out what steps to take to get a php formmailer working on godaddy? Can it be made to work or is there a better way to get a simple form mail function working on godaddy? The script in question: I know it is off in places but the functionality is the important thing right now. <?php // //version 1.0 this is hopefully commented out through the use of forward slash and hard returns // $name = $_REQUEST['name'] ; $address = $_REQUEST['address'] ; $city = $_REQUEST['city'] ; $state = $_REQUEST['state'] ; $zip code = $_REQUEST['zip code'] ; $phone number = $_REQUEST['phone number'] ; $email = $_REQUEST['email'] ; if ( preg_match( "/[\r\n]/", $name ) || preg_match( "/[\r\n]/", $email ) ) { [... direct user to an error page and quit ...] } $current loan balance = $_REQUEST['current loan balance'] ; $current interest rate = $_REQUEST['current interest rate'] ; $number of years remaining on loan = $_REQUEST['number of years remaining on loan'] ; $current bank-company = $_REQUEST['current bank-company'] ; $market value of home = $_REQUEST['market value of home'] ; $your credit score = $_REQUEST['your credit score'] ; mail ( "leaderdb8@hotmail.com", "Feedback Form Results", $message, "From: $name" ) ; // // The double forward slash goal is to comment out the following notes and for documentation hopefully it worked // // // Hope springs eternal did I comment this out questionmark I hope so because we dont have a thank you page //header ( "Location: http://www.example.com/thankyou.html" ) ; // ?> The questions asked of godaddy: (the response seemed to have nothing to do with the questions, it was something about .asp on Linux) Is FastCGI enabled? Is the handler mapping created & setup? Is FastCGI impersonation enabled? Is index.php set as a default document in IIS? The finale: If anyone can provide me with any help it would be greatly appreciated. Thank You for taking a look.
  3. Hello everyone, I am ancient and kind of like it, I tell everyone I am 165, strangely most people don't believe me. I recently stepped away from a position as a systems engineer for an OEM storage systems company. That means most of the coding I did was l's and 0's, hence the need for the ubernewbie tag. I have four children, three girls, and one boy. My youngest daughter is still at home and moving toward becoming a seventh grader next year. I have been divorced for a few years now. I recently started working on numerous websites hence my need to get up to speed on php. The best of the best is I finally got my new HD 1200, so riding is my guilty pleasure, yes under that helmet is an ear to ear grin. I started saying I was going to buy one when I was fourteen, so the only downside is it took me this long to do it. Hope everyone is having a good time, see ya virtually soon. J
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.