Jump to content

hummerton

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

hummerton's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, Not even sure what this is called, but I assume they are doing it with PHP. We have members who use our template for a website. The website comes with an admin area. We want important announcements to be shared with all members using our website. Kind of like WordPress does with an upgrade announcement. Is this done via PHP? Is there a script out there that anyone knows of? Thanks, Rob
  2. Hello When I do that and submit the form, I get this: my mail = rjmatthews15@cfl.com cc = Website installation (plus124) body = Website Chosen: eMail Address: Confirm eMail: Hosting Info: Hosting Password: Sign Up Method: Method 1(Average User) from = From: Reply-To: X-MAILER: PHP5.2.17
  3. I have a form-to-email that I am trying to use. I'm testing, but I am not getting the orders that I send. Everything else I send to that email I get fine, so something definately wrong with my code somewhere. Thought I was ok (as a beginner) with PHP, but now my ego is taking a beating It is contained all on 1 page - the below coding is the entire page: <?php if(isset($_POST['t1'])){ // **** CHANGE EMAIL, AFFILIATE ID & AFFILIATE LINK! **** $mymail = 'rjmatthews15@cfl.rr.com'; $cc = 'Website installation (plus124)'; $BoDy = ' '; $FrOm = "From: $_POST[t2]"; $FrOm .= "\r\nReply-To: $_POST[t2]"; $FrOm .= "\r\nX-MAILER: PHP".phpversion(); //Body sends all the sign up info to the $mymail address $BoDy .= 'Website Chosen: '; $BoDy .= $_POST['t1']; $BoDy .= "\n"; $BoDy .= 'eMail Address: '; $BoDy .= $_POST['t2']; $BoDy .= "\n"; $BoDy .= 'Confirm eMail: '; $BoDy .= $_POST['t3']; $BoDy .= "\n"; $BoDy .= 'Hosting Info: '; $BoDy .= $_POST['t4']; $BoDy .= "\n"; $BoDy .= 'Hosting Password: '; $BoDy .= $_POST['t5']; $BoDy .= "\n"; $BoDy .= 'Sign Up Method: '; $BoDy .= $_POST['t6']; $BoDy .= "\n"; $send = mail("$mymail", "$cc", "$BoDy", "$FrOm"); ///Redirect user to your homepage.... if($send) { echo '<html><head>'; echo '<meta http-equiv="refresh" content="0;URL=http://www.affiliscripts.com/124-thanks.php">'; echo '</head><body>Email send....'; echo '</body></html>'; } }else{ ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="layout.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="jquery.js"></script> <script> function toggle1(id){ if(id == 1){$('#method1').slideDown('slow'); $('#method2').slideUp('slow'); } if(id == 2){$('#method2').slideDown('slow'); $('#method1').slideUp('slow'); } } </script> </head> **** ALL BODY COING HERE <?php include 'footer.php'; ?> <?php } ?> If anyone can see what I am doing wrong, I would LOVE it if you could let me know. I am sure it's something stupid... but I've looked at this coding for 2 days now and can't find a thing! Thanks, Rob
  4. Yes, a PHP file. Don't know much about the print_r($fetch_arr); thing... will read up a little on it. Thanks, Rob
  5. I changed to the below listed code, but still no luck. What do you mean by print? <title>ShopItBack.com - Save up to <?php echo $fetch_arr['cashback']; ?> when you shop at <?php echo $website; ?></title>
  6. Hello all I have been messing with this for almost 2 days now... hate it when I can't figure out something... hurts my ego I have a website that I am trying to make the TITLE meta tag read the specific store and cash back offered (There are about 700 stores). My title coding looks like this: <title>URL-Here.com - Save up to <?=$fetch_arr['cashback']?> when you shop at <?=$website[0]?></title> I am getting the PHP right from the page that shows: <tr> <td colspan="2" align="left">Use URL-Here.com every time you shop online at <a href="<?=$user_link?>" target=_blank style="text-decoration:underline"><b><?=$website[0]?></b></a> to earn a <?=$fetch_arr['cashback']?> cash back discount. </td> </tr> I can't see what I am doing wrong. Any ideas? Thanks, Rob
  7. Yep, complicated I don't do. Lucky I know HTML, let alone PHP. I really appreciate your help
  8. Ok, did that but still had error. I removed the redirect to the thank you page and all works good now. I will jsut see if I can put a message in red saying the email was sent. Thank you for your help. Got a Paypal addy? Rob
  9. Ok, I removed it from the file and put at the very top (first line) of the header.php file. The error is gone at http://faceandbodyportorange.com/contact-us.php BUT now the captcha doesn't work!
  10. I meant, no I don't have anywhere else. The only place it shows up at is at html-contact-form.php I tried removing from the file html-contact-form.php, but then my capthca didn't work.
  11. No, I do not have that in the header.php file (first file called). I tried removing before, but then my capthca didn't work
  12. I put session_start() at the very top of contact-us.php page, but still the error...
  13. Hello all I am trying my sister in laws site and I keep getting an error with my coding. I am more of a designer than coder and I can't figure this out. It is on the following page: http://faceandbodyportorange.com/contact-us.php Here is my coding.. I call different PHP pages (header and left) so I didn't have to change on all pages, just once. Here is the coding for this page: <?php include 'header.php'; ?> <?php include 'left.php'; ?> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="265" align="left" valign="top"><img src="images/inner_main1.jpg" alt="Welcome to Face&Body.com!" width="268" height="123" /></td> <td align="left" valign="top"><img src="images/inner_main2.jpg" alt="Welcome to Face&Body.com!" width="262" height="123" /></td> </tr> </table> </td> </tr> <tr> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td height="45" align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="8" align="left" valign="top"><img src="images/br_cor1.jpg" alt="cor" width="8" height="32" /></td> <td align="right" valign="middle" bgcolor="#674007"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="middle" class="inner_txtheader">Contact Face & Body Healthy Aging</td> </tr> </table> </td> <td width="8" align="left" valign="top"><img src="images/br_cor2.jpg" alt="cor" width="8" height="32" /></td> </tr> </table> </td> </tr> <tr> <td align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td align="left" valign="middle" class="txt_nor"><b>Face & Body Healthy Aging</b><br>900 N. Swallowtail Drive, #105<br>Port Orange, FL 32129<br>(386) 788-8480 (Office)<br>(386) 679-5346 (Jen)<br>(386) 212-1386 (Tami)<br>(386) 589-7197 (Mariah) </td> </tr> <tr> <td><?php include 'html-contact-form.php'; ?></td> </tr> </table> </td> </tr> </table> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td align="left" valign="top"> </td> </tr> <?php include 'footer.php'; ?> Anyone know this? I am about to lose my mind! I did read the READ FIRST thread at http://www.phpfreaks.com/forums/index.php/topic,37442.0.html, but I am not sure what it means by closing the code?! Remember, designed not programmer.. I am lucky I got this far Thanks, Rob
×
×
  • 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.