Menu

code...shows not page

Help
alamosa
2005-09-26
2013-06-03
  • alamosa

    alamosa - 2005-09-26

    I installed the generator, changed all the permissions and when I try to open it in netscape, all the shows is php code and html code.  what am i doing wrong?  I thought I'd be able to enter my info, no such luck.

    thanks-pam

     
    • TNTEverett

      TNTEverett - 2005-09-26

      Where did you install the code.  When I install php code in my Comcast home account I get the same result.  Comcast does not allow running php scripts, or any other scripts for that matter. 
      It appears you've installed the php code on a host that has similar rules. 

       
    • alamosa

      alamosa - 2005-09-27

      our server does allow php ... i've tried several others.... any other suggestions?

       
    • TNTEverett

      TNTEverett - 2005-09-27

      Take this simple test case (hello.php).
      <?php
        // Hello World in PHP
        echo 'Hello World!';
      ?>

      Copy this text into a file called hello.php, upload it to your host, then use your browser to point to this file. 
      Go here to see what you should get if the file can execute:
      http://www.tnteverett.com/hello.php
      Go here to see what you should get if the file can not execute:
      http://home.comcast.net/~tnteveret1/hello.php

      If you get the second case, your server is not allowing php files to execute.  Make sure the file permissions are 755. 

       
    • alamosa

      alamosa - 2005-09-27

      I solved one problem got another...

      it did show up as code, so i moved phpformgen to another site that i work on...

      i was able to get the generator working BUT
      drwx------  4 _httpd  feelingood  512 Sep 27 15:57 partner

      _httpd is the owner, not me, so I can't get any further.  Why is it giving something else ownership of a file I'm trying to create?

      thank you so much everyone that's helping me :-)

       
    • TNTEverett

      TNTEverett - 2005-09-27

      This is an issue that many of us have had, including me.  My files get owner and group set to 33191 (not me). 
      Get your host to modify the group and/or owner to you, then you can do what you need to do.
      FYI, this may happen everytime you create a new form. 

       

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.