Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. php form email issue

php form email issue

Scheduled Pinned Locked Moved Web Development
helpphp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JackIsMe777
    wrote on last edited by
    #1

    I'm trying to send some form variable to my email address, however it doesn't work and I can't seem to figure out why. Any help would be appreciated. Thanks!

    G C 2 Replies Last reply
    0
    • J JackIsMe777

      I'm trying to send some form variable to my email address, however it doesn't work and I can't seem to figure out why. Any help would be appreciated. Thanks!

      G Offline
      G Offline
      Graham Nimbley
      wrote on last edited by
      #2

      Hi, Try replacing: if ($_POST) { With: if ($_SERVER['REQUEST_METHOD']=="POST") { If I remember right $_POST, along with $_GET, $_REQUEST, $_SESSION and $_COOKIE, are always set no matter what HTTP method is used to call the script. Graham.

      1 Reply Last reply
      0
      • J JackIsMe777

        I'm trying to send some form variable to my email address, however it doesn't work and I can't seem to figure out why. Any help would be appreciated. Thanks!

        C Offline
        C Offline
        CWIZO
        wrote on last edited by
        #3

        Read this, then come back and re-write your question. -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups