Jump to content

enemeth

Members
  • Posts

    60
  • Joined

  • Last visited

Profile Information

  • Gender
    Female

enemeth's Achievements

Member

Member (2/5)

0

Reputation

  1. well thank you very much it is wonderful! thank you for all your time I appreciate it !! Elaine
  2. OMG how did you do that, you have to tell me lol what did you change? what happened!!
  3. ok so I did the phpinfo.php and wow a lot of information came up, I wish I could read it lol as for the doctype and all that on the pages, I am going to add it thank you! and the twig and smarty suggestion I will read them and check it out, you have to realize though I am not a coder I see code and see what it does and put it in, and if it isn't doing what I want it to do I move around stuff to make it work with help from documents on the internet and little things I picked up through out my years of doing this. Maybe you can say I am a newbie in all this, but I really do have fun with it all..i guess that's all that counts when it gets to technical and in deep I come here and try and get some help , works great in the end though, always
  4. <table border="0" width="970" bgcolor="ffffff"> <tr> <td width="100%" height="31"><font face="Bookman Old Style" size="2"><center><a href="index.php">Home</a> / <a href="links.php">Link to Us</a> / <a href="emailer.php">Newsletter</a> / <a href="terms.php">Terms & Conditions</a> / <a href="privacy.php">Privacy </a>/<a href="contactus.php"> Contact Us</a> <br><font size="1">Copyrights © 2014 Loads Of Ads - All Rights Reserved</font></center></font></td> </tr> </table> </td> </tr> </table> </center> <script src="ratingfiles/ratings.js" type="text/javascript"></script> </body> </html> <style> .captionOrange, .captionBlack { color: #fff; font-size: 20px; line-height: 30px; text-align: center; border-radius: 4px; } .captionOrange { background: #EB5100; background-color: rgba(235, 81, 0, 0.6); } .captionBlack { font-size:16px; background: #000; background-color: rgba(0, 0, 0, 0.4); } a.captionOrange, A.captionOrange:active, A.captionOrange:visited { color: #ffffff; text-decoration: none; } a.captionOrange:hover { color: #eb5100; text-decoration: underline; background-color: #eeeeee; background-color: rgba(238, 238, 238, 0.7); } .bricon { background: url(img/browser-icons.png); } </style> <!-- ThumbnailNavigator Skin End --> <!-- Bullet Navigator Skin Begin --> <!-- jssor slider bullet navigator skin 01 --> <style> /* .jssorb01 div (normal) .jssorb01 div:hover (normal mouseover) .jssorb01 .av (active) .jssorb01 .av:hover (active mouseover) .jssorb01 .dn (mousedown) */ .jssorb01 div, .jssorb01 div:hover, .jssorb01 .av { filter: alpha(opacity=70); opacity: .7; overflow:hidden; cursor: pointer; border: #000 1px solid; } .jssorb01 div { background-color: gray; } .jssorb01 div:hover, .jssorb01 .av:hover { background-color: #d3d3d3; } .jssorb01 .av { background-color: #fff; } .jssorb01 .dn, .jssorb01 .dn:hover { background-color: #555555; } </style> <!-- Bullet Navigator Skin End --> <!-- Arrow Navigator Skin Begin --> <style> /* jssor slider arrow navigator skin 05 css */ /* .jssora05l (normal) .jssora05r (normal) .jssora05l:hover (normal mouseover) .jssora05r:hover (normal mouseover) .jssora05ldn (mousedown) .jssora05rdn (mousedown) */ .jssora05l, .jssora05r, .jssora05ldn, .jssora05rdn { position: absolute; cursor: pointer; display: block; background: url(/img/a17.png) no-repeat; overflow:hidden; } .jssora05l { background-position: -10px -40px; } .jssora05r { background-position: -70px -40px; } .jssora05l:hover { background-position: -130px -40px; } .jssora05r:hover { background-position: -190px -40px; } .jssora05ldn { background-position: -250px -40px; } .jssora05rdn { background-position: -310px -40px; } </style> <link href="ratingfiles/ratings.css" rel="stylesheet" type="text/css" /> <body style="margin:0;"> <center> <table border="1" width="100%" bgcolor="ffffff"> <tr> <td width="100%"><center> <table border="0" width="968" bgcolor="ffffff"> <tr> <td width="500"><a href="index.php"><img border="0" src="images/LoadsOfAdslogo.jpg" title="Loads Of Ads" width="498" height="90"></a></td> <td width="454" align="right"><form action="sphider/search.php" method="get"> <input type="text" name="query" id="query" size="40" value="" action="sphider/include/js_suggest/suggest.php" columns="2" autocomplete="off" delay="1500"> <input type="submit" value="Search This Site"> <input type="hidden" name="search" value="1"> </a></form></td></tr></table> <hr width="968"> <table border="0" width="970"> <tr> <td width="100%"><link href="css/topmenu.css" rel="stylesheet" type="text/css" /> <script type='text/javascript' src='js/topmenu.js'></script><ul id="qm0" class="qmmc"> <li><a href="javascript:void(0);"></a> </li> <li><a href="javascript:void(0);"></a> </li> <li><a href="javascript:void(0);"></a> </li> <li><a href="index.php" title="Home Page">Home</a></li> <li><a href="forum/index.php" title="Forum">Forum</a></li> <li><a href="links.php" title="Links">Link To Us</a></li> <li><a href="aboutus.php" title="About Us">About Us</a></li> <li><a href="contactus.php" title="Contact Us">Contact Us</a></li> <li><a class="qmparent" href="javascript:void(0);">Categories <img src="images/arrow_6.gif"></a> <ul> <li><a class="qmparent" href="javascript:void(0);">Apparel <img src="images/arrow_4.gif"></a> <ul> <li><a href="appkids.php">Kids</a></li> <li><a href="appmens.php">Men</a></li> <li><a href="appwomens.php">Women</a></li> </ul></li> <li><a target="_blank" href="http://www.amazon.com/b/ref=as_li_qf_br_sr_tl?_encoding=UTF8&camp=1789&creative=9325&linkCode=ur2&node=1000&tag=ebookread09-20&linkId=264YVKGWIQ45Z2AT">Books </a></li> <li><a href="banners.php">Banner Ads </a></li> <li><a href="comp.php">Computer Hardware </a></li> <li><a href="software.php">Computer Software </a></li> <li><a class="qmparent" href="javascript:void(0);">Consumer Electronics <img src="images/arrow_4.gif"></a> <ul> <li><a href="cecell.php">Cell Phones </a></li> <li><a class="qmparent" href="javascript:void(0);">Computers <img src="images/arrow_4.gif"></a> <ul><li><a href="cecompdesk.php">Desktop</a></li> <li><a href="cecomplaptop.php">Laptop</a></li></ul> </li> <li><a href="cetablet.php">Tablets </a></li> <li><a href="cetvs.php">T.V.'s </a></li> </ul></li> <li><a class="qmparent" href="javascript:void(0);">Footwear <img src="images/arrow_4.gif"></a> <ul> <li><a href="footwearkids.php">Kids</a></li> <li><a href="footwearmens.php">Men</a></li> <li><a href="footwearwomens.php">Women</a></li> </ul></li> <li><a href="health.php">Health and Beauty </a></li> <li><a class="qmparent" href="javascript:void(0);">Jewelry <img src="images/arrow_4.gif"></a> <ul> <li><a href="jewelrybrac.php">Bracelets</a></li> <li><a href="jewelryearr.php">Earrings</a></li> <li><a href="jewelryneck.php">Necklaces</a></li> <li><a href="jewelryrings.php">Rings</a></li> <li><a href="jewelrywatches.php">Watches</a></li> </ul></li> <li><a href="linen.php">Linens / Home Decor </a></li> <li><a target="_blank" href="http://www.amazon.com/b/ref=as_li_qf_br_sr_tl?_encoding=UTF8&camp=1789&creative=9325&linkCode=ur2&node=195209011&tag=ebookread09-20&linkId=L63U2CKHTQA6QEZI">Music </a></li> <li><a href="office.php">Office Supplies </a></li> <li><a href="toys.php">Toys / Video Games </a></li> <li><a target="_blank" href="http://www.amazon.com/b/ref=as_li_qf_br_sr_tl?_encoding=UTF8&camp=1789&creative=9325&linkCode=ur2&node=130&tag=ebookread09-20&linkId=3WYCXF6H6PM6RS62"> Video DVD's </a></li> </ul></li> <li class="qmclear"> </li></ul> </td> </tr> </table> <center> Sure don't mind at all I have all my pages set to .php extension I have about 20 ish pages that each have <?php include'header.php?> and for the footer also the one I am trying to get to work is a test page, I test everything on test3.php before I put it up...so I can play with it if you want to go look at it to see what I mean it is www.loadsofads.com/test3.php all the rest that are working are in the root please don't mind all this messy code, I do everything slowly and once it works I clean it up
  5. tried all that, and nothing, the error reporting code didn't give any errors, and the semi colon did no change all the rest of my include files in my other pages do not have them and they work just fine. which is funny, but they do.... nothing happens at all, the header just doesn't appear, it is blank
  6. yes the file in the root directory along with all my other ones and the header and footer the body and html tags are in the footer
  7. Hello All, I have been going crazy trying to figure this out, I hope someone can help me out I have header and footer.php files that on all my pages I get them to load with include, but for some strange reason, this certain page it will not load I did some research and apparently theres problems with div and php, does anyone know how to make this work? Thank you in advance, Elaine test.txt
  8. hello all, i have a simple, im sure to you guys, problem that i just cant find the answer too..... i have this code below on my page and i need a small code that will email me the email address... all codes i see is with address...names....messages.... i only need the email! thanks a bunch;) Elaine <form method="POST" action="FormToEmail.php"> <p> <label for='email'>Email Address:</label> <br> <input type="text" name="email"> <br> </p> <input type="submit" value="Submit"><br> </form>
  9. ok sounds good i will disect the code for the image authentication and use it on my site , thank you
  10. Thank you , I went through that code but the form i have on the site is not a form to log in, it is a simple who are you form and send in your resume, it would be nice to have this to work without the log in method Elaine
  11. i dont no about it being authentication problem , because i have 5 other mailtoforms.php files that do not need authentication on the same hosting account, which i never recieved one spam on , it doesnt make sense
  12. yes all the emails are identical
  13. Hi there, Created a php script that i got working great, it takes the information from the form , even an attachment, sends it to me all is dandy, but it seems like something is going wrong since i have recieved about 40 emails so far from someone or something i have no clue on what or who it is ... if anyone can help , maybe someone has had it happen to them, the email is as follows: the subject reads : formmail-relaytest middlemancan.bmtwebdesign.com//mail.php (which is .bmtwebdesign.com , that is my domain and the mail.php is the file i made that gets the information from the form to my email address) the sender is (UNKOWN) and the fields that are sent to my email from the site is simple, Name: Email: devnull@kundenserver.de Other: Phone: and that is all i get, about 40 of them all at the same time... any ideas? if you need to see the code for the mail.php , here it is : <html> <head> <title> Sending Email </title> </head> <body> <?php // Read POST request params into global vars $my_email = "my@hotmail.com"; $from = $_POST['from']; $subject = $_POST['subject']; $message = stripslashes("Name: " . $from . "\n\n" . "Email: " . $_POST['email'] . "\n\nOther: ". $_POST['other'] . "\n\n" . "Phone: " . $_POST['phone']); // Obtain file upload vars $fileatt = $_FILES['fileatt']['tmp_name']; $fileatt_type = $_FILES['fileatt']['type']; $fileatt_name = $_FILES['fileatt']['name']; $headers = "From: $from"; if (is_uploaded_file($fileatt)) { // Read the file to be attached ('rb' = read binary) $file = fopen($fileatt,'rb'); $data = fread($file,filesize($fileatt)); fclose($file); // Generate a boundary string $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Add the headers for a file attachment $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; // Add a multipart boundary above the plain message $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; // Base64 encode the file data $data = chunk_split(base64_encode($data)); // Add file attachment to the message $message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fileatt_name}\"\n" . //"Content-Disposition: attachment;\n" . //" filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; } // Send the message mail($my_email, $subject, $message, $headers); ?> <html> <body> <?php include 'header.php';?><br> <p align="center"><strong><font face="Arial"><big>Thank you for submitting information<br> You will be redirected shortly</big></font></strong></p> <script> var redirecturl="index.php" var pausefor=5 function postaction(){ if (window.timer){ clearInterval(timer) clearInterval(timer_2) } window.location=redirecturl } setTimeout("postaction()",pausefor*1000) </script> <br><br><br><br><br><br> <img src="images/progressbar.gif"><br><br><br><br> <?php include 'footer.php';?> </body> </html> if anyone has ever seen this before can you please let me know, how i can either stop it or should i contact my hosting company? Thank you, Elaine
  14. hi there, I have been working on this for days now, and figured i would get some help to finish this little project im on in here so if anyone can help with this little coding problem im having it would be much appreciated, The code works , its intention was to send an attachment with php , which it does, but i cant seem to get all the information from the form on the website to be emailed along with it, heres the code: <?php $my_email = "elainenemeth@hotmail.com"; $from = $_POST['from']; $subject = $_POST['subject']; $message = $_POST['message']; $fileatt = $_FILES['fileatt']['tmp_name']; $fileatt_type = $_FILES['fileatt']['type']; $fileatt_name = $_FILES['fileatt']['name']; $headers = "From: $from"; if (is_uploaded_file($fileatt)) { $file = fopen($fileatt,'rb'); $data = fread($file,filesize($fileatt)); fclose($file); $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; $data = chunk_split(base64_encode($data)); $message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; } $ok = @mail($my_email, $subject, $message, $headers); if ($ok) { echo "<p>Mail sent! Yay PHP!</p>"; } else { echo "<p>Mail could not be sent. Sorry!</p>"; } [code=php:0] the form is here: <form action="mail.php" method="POST" enctype="multipart/form-data"> <table border="0" width="99%"> <tr> <td width="69%" align="right" colspan="2"> </td> </tr> <tr> <td width="31%" align="right"><font face="Arial" font size="2" font color="#333333"> Name: </font> </td> <td width="38%"><input type="text" name="from" size="25"></td> </tr> <tr> <td width="31%" align="right"><font size="2" font face="Arial" color="#333333">Your Specialty: </font> </td> <td width="38%"><select size="1" name="subject"> <option>Accounting & Finance</option> <option>Advertising & Marketing</option> <option>Aerospace & Avionics</option> <option>Consumer Products</option> <option>Engineering</option> <option>Hospitality</option> <option>Human Resources</option> <option>Manufacturing/Supply Chain</option> <option>Medical/Biotech/Pharmaceutical</option> <option>Technology</option> <option>Other</option> </select><font face="Arial" size="2">other<input type="text" name="email" size="18"></font></td> </tr> <tr> <td width="31%" align="right"><font face="Arial" font size="2" font color="#333333">Email: </font> </td> <td width="38%"><input type="text" name="phone" size="25"></td> </tr> <tr> <td width="31%" align="right"><font face="Arial" font size="2" font color="#333333">Phone Number: </font> </td> <td width="38%"><input type="text" name="message" size="25"></td> </tr> <tr> <td width="31%" align="right"><font size="2" face="Arial" color="#333333">Resume: (word document only)</font> </td> <td width="38%"><input type="file" name="fileatt" /></td> </tr> </table> <p align="center"><input type="submit" value="Send" /><input type="reset" value="Reset" name="B2"></p> </form> It would be wonderful if someone can tell me what i am missing to get the email address, the phone number included in the email that is sent ! thank you much Elaine
×
×
  • 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.