
jackofalltrades
Members-
Posts
10 -
Joined
-
Last visited
Never
Everything posted by jackofalltrades
-
OK... I now feel like a complete jerk, as I should. I accept full responsibility for such an incredible piece of bad judgment. Believe me, I try not to be a forum abuser. Just a really dumb mistake because the project got put on the back burner. I even did a search on the forums for a similar problem before I posted. Please accept my apologies everyone. Slinking with tail between legs.
-
Hi. I have a form at http://www.renderforge.com/MainSite/OrderForm.htm When visitors attempt to upload items they are send to a folder. The problem is that the form will accept most formats but NOT .jpg or .png. No problem with .jpeg, .gif.... etc. Attached is the PHP code. Any help would really be appreciated. [attachment deleted by admin]
-
There is functionality is built into Excel 2007. Go to the DATA tab, click on the From Other Sources icon, choose From SQL Server. I dont know if it is MS SQL only or can also do MySQL?
-
Getting \\\ in auto-sent emails before apostraphe
jackofalltrades replied to jackofalltrades's topic in Third Party Scripts
Thank you very much for such a great detailed response. I will try to give back to the community but I am not so good yet... unfortunately I am at the taking rather than giving stage right now. Soon I hope. -
I am having a really strange problem. I generated this code from a product called PHP Form Wizard. I have a form and everything in the form is working fine except one strange thing. When the user submits the form it sends an email to the form owner. In the email message that is sent everything is fine except that any time there is an apostraphe (') in a word, when the email is sent it puts three lines before the ' in the message. For instance if the customer filled in "I don't know" the message the form owner gets says "I don\\\'t know" It is weird and annoying my customer. Attached is the PHP code. The form is at www.designfoundry.ie/contact.htm Thank you very much in advance. [attachment deleted by admin]
-
Problem sending form results to form owner
jackofalltrades replied to jackofalltrades's topic in PHP Coding Help
Sure, I did it that way to keep it short but here goes with the code tags. First, here is the HTML code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>N1::Contact Us</title> <link rel="stylesheet" type="text/css" href="n1-01.css" /> </head> <body> <form method="post" action="site_form.php" enctype="multipart/form-data"> <table> <tr> <td>Name:</td> <td><input name="name" type="text" size="25" maxlength="30" /></td> </tr> <tr> <td>E-mail address:</td> <td><input name="email" type="text" size="25" maxlength="30" /></td> </tr> <tr> <td>What is your number</td> <td> <select size="4" name="numbeeerr[]" multiple> <option selected>number1</option> <option>number2</option> <option>number3</option> <option>number4</option> </select> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td>Check a color<br /> from the check boxes:</td> <td> <label><input type="checkbox" name="choice[0]" value="choice1waschosen" />red</label> <br /> <label><input type="checkbox" name="choice[0]" value="choice2waschosen" />blue</label> <br /> <label><input type="checkbox" name="choice[0]" value="choice3waschosen" />green</label> <br /> <label><input type="checkbox" name="choice[0]" value="choice4waschosen" />black</label></td> </tr> <tr> <td> </td> <td><p> <label> <input type="radio" name="RadioGroup1" value="radio1" id="RadioGroup1_0" /> Radio1</label> <br /> <label> <input type="radio" name="RadioGroup1" value="radio2" id="RadioGroup1_1" /> Radio2</label> <br /> </p></td> </tr> <tr> <td colspan="2"> <input name="submit" type="submit" value="Submit"/></td> </tr> </table> </form> </body> </html> Now the PHP Code <?php # ---------------------------------------------------- # ----- # ----- This script was generated by PHP-Form Wizard 1.2.5 on 7/6/2008 at 11:31:48 PM # ----- # ----- http://www.tools4php.com # ----- # ---------------------------------------------------- // Receiving variables @$pfw_ip= $_SERVER['REMOTE_ADDR']; @$name = addslashes($_POST['name']); @$email = addslashes($_POST['email']); @$numbeeerr = $_POST['numbeeerr[]']; @$numbeeerr = @implode("&" , $numbeeerr); @$choice[0] = addslashes($_POST['choice[0]']); @$RadioGroup1 = addslashes($_POST['RadioGroup1']); // Validation //Sending Email to form owner $pfw_header = "From: $email\n" . "Reply-To: $email\n"; $pfw_subject = "Form submission to N1"; $pfw_email_to = "[email protected]"; $pfw_message = "Visitor's IP: $pfw_ip\n" . "name: $name\n" . "email: $email\n" . "numbeeerr: $numbeeerr\n" . "choice[0]: $choice[0]\n" . "RadioGroup1: $RadioGroup1\n"; @mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ; //Sending auto respond Email to visitor $pfw_header = "From: [email protected]\n" . "Reply-To: [email protected]\n"; $pfw_subject = "Your form submission"; $pfw_email_to = "$email"; $pfw_message = "Thanks for your request"; @mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ; echo("<p align='center'><font face='Arial' size='3' color='#FF0000'>Sent</font></p>"); ?> Thank you very much for any help anyone can give. -
I have a form located at http://www.nativeone.net/site_selection The field that has checkbox choices is giving me a problem. No matter what choices my customer makes, whether they choose all, none or only some, I get in my email that is returned to me all the choices as if they were all checked. My code is attached. Can anyone help me here. I have gone over it a hundred times. Maybe I am missing something. You can see the form code from the link. Attached is my PHP Code. Thanks. [attachment deleted by admin]
-
Keeping Fields Filled in When Captcha fails
jackofalltrades replied to jackofalltrades's topic in Third Party Scripts
The code for the form is attached. Thanks for your help. [attachment deleted by admin] -
I am using a product called PHP Form Captcha to create and display my Captcha image. The tool gives me a choice to have the message display on a new page or in the same page if the captcha input fails. When I choose to have it display on a new page everything works fine and the customer can hit the back button and all fields are filled in and s/he can just re-enter the captcha. When I set it up so that the message for the captcha failure displays on the same page then it displays the error message but all the fields come back empty. Can anybody tell me how to have those fields remain filled in when the captcha fails? Thanks in advance. JackOfAllTrades