Menu

Email problem

Help
-JK-
2007-01-08
2013-06-03
  • -JK-

    -JK- - 2007-01-08

    Hi,
    I am a newbie with phpformgenerator and I immediately got a problem :)

    I managed to create the form, no problems there, but using it was another story.
    As I finished filling my form and pressed suply I got this error

    Undefined variable: SERVER_NAME in C:\Inetpub\modxtesti\phpform\use\Testi1\process.php on line 16

    And

    Undefined variable: PHP_SELF in C:\Inetpub\modxtesti\phpform\use\Testi1\process.php on line 16

    As I'm not too familiar with PHP either I have no clue where to look for the answer. I got no where trying to look this up in google.

    Thanks in advance
    -JK-

     
    • Musawir Ali

      Musawir Ali - 2007-01-11

      Looks like you are using a Windows server. I don't really know about the issues with PHP on Windows, although I'm sure that we do have a lot of users that run phpFormGenerator on Windows. Perhaps one of them would be able to help you out. My best guess is that on windows these undefined variables are called something else (or accessed in some other way). All you would need to do is replace the variables with correct ones and everything should be functional.

       
    • TNTEverett

      TNTEverett - 2007-01-11

      If you are not allowing file uploads remove the line (comment out) beginning with
      $where_form_is="http".

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.