Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2002
    Location
    Denver, Colorado
    Posts
    269

    PHP post problem

    hey all
    i was wondering ho wi get php to allow me to post? Im getting a server error saying that posting isn't allowed. Im running on windows me with and apache 1.3 server for developement
    hoss

  2. #2
    Join Date
    Jul 2001
    Posts
    424
    Have you editied the php.ini file to allow posting? I think thats where it is.

  3. #3
    Join Date
    Apr 2002
    Location
    Denver, Colorado
    Posts
    269

    Hmm

    I'll have to see, do you have any idea at all where that part of the ini file might be?

  4. #4
    Join Date
    May 2002
    Location
    UK
    Posts
    2,994
    Also check httpd.conf and any .htaccess files in that directory or any parent directories as it's possible to deny POST from those places.

    e.g.

    <Limit POST>
    order deny,allow
    deny from all
    </Limit>

  5. #5
    Join Date
    Apr 2002
    Location
    Denver, Colorado
    Posts
    269

    Muchos gracias mi amigo

    Thanks alot man, i just had no idea where it could be, i looked in php and i couldn't find anything, and i guessI must've looked over it in httpd.conf
    Thanks again
    Dhoss

  6. #6
    Join Date
    Apr 2002
    Location
    Denver, Colorado
    Posts
    269

    Well, that helped BUT...

    Hey thanks all for the help. However, i am getting errors or undefined variables for all my form variables. Check it out:
    Notice: Undefined variable: email in c:\program files\apache group\apache\htdocs\guestbook.php on line 22
    Any idears? I know the script woroks cuz i've tested it on a production server, so it's not the script.

Posting Permissions

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