Results 1 to 46 of 46

Thread: Re: Problem with contact form
      
   

  1. #1
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Question Re: Problem with contact form

    I designed a new contact page, but when I publish it (successfully), the old one still shows up and has a bunch of 'jibberish' above it. Here's what it shows
    0) { $upload_DstName[$i] = $prefix . "_" . str_replace(" ", "_", $_FILES[$key]['name']); $upload_SrcName[$i] = $_FILES[$key]['name']; $upload_Size[$i] = ($_FILES[$key]['size']); $upload_Temp[$i] = ($_FILES[$key]['tmp_name']); $upload_Type[$i] = ($_FILES[$key]['type']); $uploadlink[$i] = "$upload_folder/$upload_DstName[$i]"; $upload_fieldname[$i] = $key; $upload_fieldname_final[$i] = ucwords(str_replace("_", " ", $key)); $fieldvalue[$i] = $uploadlink[$i]; $i++; } if ($upload_Size[$i] >= $max_filesize) { $error .= "The size of $key (file: $upload_SrcName[$i]) is bigger than the allowed " . $max_filesize/1024 . " Kbytes!\n"; } } $crack[0] = '\n'; $crack[1] = '\r'; $crack[2] = "&#37;0a"; $crack[3] = "%0d"; $crack[4] = "content-type:"; $crack[5] = "to:"; $crack[6] = "cc:"; $crack[7] = "bcc:"; $crack[8] = "mime-version:"; $crack[9] = "x0a"; $crack[10] = "x0d"; foreach ($_POST as $key => $value) { for ($k = 0; $k < count($crack); $k++) { if (substr_count(strtolower($value), $crack[$k])) { $error .= "The field $key contained e-mail headers ($crack[$k]) in the value submitted. This seems to be a cracking attempt and the message has not been sent.!
    "; } } } if ($error) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $uploadfolder = basename($upload_folder); for ($i = 0; $i < count($upload_DstName); $i++) { $uploadFile = $uploadfolder . "/" . $upload_DstName[$i]; if (!is_dir(dirname($uploadFile))) { @RecursiveMkdir(dirname($uploadFile)); } else { @chmod(dirname($uploadFile), 0777); } @move_uploaded_file($upload_Temp[$i] , $uploadFile); chmod($uploadFile, 0644); } $internalfields = array ("submit", "reset", "filesize", "upload_folder", "send", "captcha_code"); $message .= "\n"; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . "\n"; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . "\n"; } } } if (count($upload_SrcName) > 0) { $message .= "\nThe following file have been uploaded:\n"; for ($i = 0; $i < count($upload_SrcName); $i++) { $message .= $upload_SrcName[$i] . " Link: " . $uploadlink[$i] . "\n"; } } mail($mailto, $subject, stripslashes($message), $header); header('Location: '.$success_url); exit; } ?>

    Also, should my url for the contact page be php or html? Thanks.div#container{ width: 800px; position: relative; margin-top: 0px; margin-left: auto; margin-right: auto; text-align: left;}body{ text-align: center; margin: 0;}img { behavior: url("pngfix.***"); }

  2. #2
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Problem with contact form

    The old one was probabable published with a .html ending
    Delete it and the new one should be published as .php ending.

  3. #3
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Cool Re: Problem with contact form

    Thanks, still having problems though. I deleted the old page, linked all pages and now 'internal error & 404' comes up. I've saved the page as a php. ?

    Lisa.

  4. #4
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    Have you changed the link to .php at the end instead of .html ?????
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Lisa, why don't you add a link to the form page so we can have a look ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  6. #6
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Smile Re: Problem with contact form

    http://www.lisasigns.ca/contact.php

    Thanks. Also, what number should be entered in the permissions field? Lisa

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Permissions should be 644. As you understand, i couldn't see anything.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Red face Re: Problem with contact form

    When you say that you couldn't see anything, do you mean you couldn't view my link? Thanks.

  9. #9
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    I mean that since there is a permissions issue resulting in a Internal Server Error, the page is not visible, so i couldn't see anything
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  10. #10
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Cool Re: Problem with contact form

    Where do I go from here?

  11. #11
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Check the permissions of your fom page on the server: connect with FTP, select the contact.php file, Right Click, Permissions, set to 644 if different.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  12. #12
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    I had already changed the permissions field, prior to you attempting to view the link. ? Lisa.

  13. #13
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Well, it wasn't when i visited. Now your form seems working fine. The success page shows up.
    See if you recieve the mail.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  14. #14
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    'link is broken' shows up when I log onto my site and try to view my contact page.

  15. #15
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  16. #16
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Edit your menus, you still have contact.html in there.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  17. #17
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Question Re: Problem with contact form

    Sorry, still new at all this. Where do I go to edit 'menus'. I believe I've changed all contact page info to php. Thank you for your help! Lisa

  18. #18
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    On EVERY page you have a navigation set up. Open up all these navigation systems and change the contact page link to php.

    Republish EVERY page
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  19. #19
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    I've already done this. I went to each page, double clicked on the navigation bar and chose the proper link contact.php and republished each page. I still have the problem.

    I noticed that when I log on to my site www.lisasigns.ca and try the contact page, the notice comes up and it gives the option of viewing the cached version of the page. When selected it shows my old contact page. Maybe you could check that out too. Thanks.

  20. #20
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    Quote Originally Posted by gifted View Post
    I've already done this. I went to each page, double clicked on the navigation bar and chose the proper link contact.php and republished each page. I still have the problem.

    I noticed that when I log on to my site www.lisasigns.ca and try the contact page, the notice comes up and it gives the option of viewing the cached version of the page. When selected it shows my old contact page. Maybe you could check that out too. Thanks.
    Trust me Lisa, you need to do the links again, they have not changed.

    What notice comes up? I can't see whether I am seeing your old or new page as I have never seen your page before and therefore don't know if it's the old or new?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  21. #21
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    Oops! This link appears broken.

    HTTP 404 - File not found.

    Suggestions

    This is the notice that appears. My 'old' page has a bunch of html jibberish above it.

    I just tried something, I logged onto my site, clicked on contact and when the above message appeared, I clicked on the link and my old page appears, then I clicked on one of my other pages, events, then clicked on contact and voila, up comes my proper page!!! Not sure what's going on. Lisa.

  22. #22
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    what happens when you click this link http://www.lisasigns.ca/contact.php
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  23. #23
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    That's the correct page.

  24. #24
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    so put that link onto every page in your buttons and republish every page
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  25. #25
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Problem with contact form

    Exactly...now go back and correct all your links on your other pages. Hint: if you look at the task bar (when veiwing your site) it will show you what link it will look for when you place your mouse over it. Remeber to save and republish.

  26. #26
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Cool Re: Problem with contact form

    All my pages ARE linked to http://www.lisasigns.ca/contact.php

    I verified this before, saved all pages, then published them. I'm going to do it again and I'll get back to you. Thank you. Lisa.

  27. #27
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Thumbs up Re: Problem with contact form

    Still not working. Signing out for tonight. Thanks for help, so far. Lisa.

  28. #28
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: Problem with contact form

    You forgot to save them. Only one linked is events. Also your home page link should just www.lisasigns.ca/ without the index.html

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  29. #29
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    Quote Originally Posted by gifted View Post
    Still not working. Signing out for tonight. Thanks for help, so far. Lisa.
    I can guarantee 100% Lisa that if you put that link into your buttons on every page, it would work. You Must be doing something wrong, or misunderstanding what we are telling you?

    Try again tomorrow, if you still can't get it email me all your pages and I will do it for you.
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  30. #30
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: Problem with contact form

    LOL... now thats DEDICATION.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  31. #31
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    The ONLY page where this is correct, is the "events" page. In ALL other pages, the link in the menu is to contact.html
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  32. #32
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Default Re: Problem with contact form

    Not to sound like I'm making any accusations, but out of curiousity, when I give out my domain name information through the forum, how safe is it. My website has been hacked! Frustrated!!!!!!!!!!!!!!!!!!!!!!!

  33. #33
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    How has your website been hacked?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  34. #34
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Problem with contact form

    Re-publish your index page and if that does not work (your other pages are working OK) put in a support ticket and reference this thread.

    Note: ALL the members who have replied to this post can be trusted 100%

  35. #35
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Cool Re: Problem with contact form

    Thanks for the reassurance!

    When I try to view my site, a warning from our anti-virus program comes up and when I click 'deny' to close the window, a page appears that reads, "hacked" and has a cartoon type figure on it. ??

    Lisa

  36. #36
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    This has nothing to do with your website. You have a VIRUS on your PC?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  37. #37
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Problem with contact form

    Ramsey
    I went to the home page and It states that it has been hacked........has my machine also got a virus..................lol

  38. #38
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    Doesn't happen to me when I look at it?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  39. #39
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

  40. #40
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    My apologies... I was thinking you said on your contact page.. I was looking and seeing nothing wrong.... Yes you are right, home page is not good... Contact support immediately
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  41. #41
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Problem with contact form

    Lisa
    Have you tried publishing your index page again yet ??

    Ramsey.........no probs my friend........

  42. #42
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Problem with contact form

    Change your log-in password too, just to be on the safe side.
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  43. #43
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Smile Re: Problem with contact form

    Thanks, do you mean my log in password for this forum?

    Are you both seeing the 'hacked' message? Our computer seems fine other than this issue. I've put a ticket in with support and am awaiting their advise on what to do.

    Regards from snowy Ontario!

  44. #44
    gifted is offline Corporal
    Join Date
    Aug 2008
    Posts
    19

    Red face Re: Problem with contact form

    I did republish my index page, but I'm afraid to check it out.

  45. #45
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Problem with contact form

    Quote Originally Posted by gifted View Post
    I did republish my index page, but I'm afraid to check it out.
    Its still showing that same page.................

  46. #46
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with contact form

    Hm.... This seems a bit more complicated..

    http://lisasigns.ca/index.html is just fine.

    However, there is a http://lisasigns.ca/index.php which is a page with a login entry form.

    Last, it is quite curious that when i type http://lisasigns.ca/ i get the warning.
    It also gives me the warning when i type http://lisasigns.ca/index.htm

    So probably the hacker has somehow also put on your site a Rewrite or htaccess file, that redirect to the pages he has loaded.

    Please do the following:

    Connect with FTP and delete the file "index.php" and "index.htm" . Leave only "index.html" which is the one you published and it is ok.

    Look for any strange files that should not be there, and if certain that they are not yours, delete them, especially if you see a .htaccess file.

    This means that
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49