View previous topic :: View next topic |
Author |
Message |
MaRTiaN Tux's lil' helper
Joined: 22 Apr 2002 Posts: 85 Location: London
|
Posted: Wed Sep 10, 2003 4:44 pm Post subject: apache not passing parameters? |
|
|
I'm trying to learn mySQL and PHP and have set up an apache 2 server. PHP seems to work fine and I can connect to mySQL db's with it. I've got a test form from a book:
Code: |
<HTML>
<BODY>
<H2>Sign my Guest Book!!!</H2>
<FORM method="post" ACTION="create_entry.php">
<B>Name</B>
<INPUT TYPE="TEXT" SIZE="40" name="name">
<BR>
<B>Location:</B>
<INPUT TYPE="TEXT" SIZE="40" name="location">
<BR>
<B>Email:</B>
<INPUT TYPE="TEXT" SIZE="40" name="email">
<BR>
<B>Home Page URL:</B>
<INPUT TYPE="TEXT" SIZE="40" name="url">
<BR>
<B>Comments:</B>
<BR>
<TEXTAREA name="comments" COLS="40" ROWS="4" WRAP=Virtual></TEXTAREA>
<BR>
<INPUT TYPE="submit" name="submit" value="Go">
<INPUT TYPE="RESET" name="reset" value="Start Over">
</FORM>
</BODY>
</HTML> |
I've been through it, several friends have and we can't see anything wrong. When pressing the go button though, the passed url doesn't have any parameter data. Ie it's not http://localhost/create_entry.php?varial=value&... just http://localhost/create_entry.php.
A friend told me he had this problem long ago and it was a security issue but he can't remember how he fixed it.
Any idea's? Thanks _________________ Some people are alive only because it's illegal to kill them. |
|
Back to top |
|
|
Azzuron Apprentice
Joined: 19 May 2002 Posts: 151 Location: Ontario
|
Posted: Wed Sep 10, 2003 5:02 pm Post subject: |
|
|
Man thats wierd...cuz i just found out i have this problem also... hope someone can point us in the rigth direction, i am not at all framiliar with apache config files. _________________ --Azzuron |
|
Back to top |
|
|
Azzuron Apprentice
Joined: 19 May 2002 Posts: 151 Location: Ontario
|
|
Back to top |
|
|
MaRTiaN Tux's lil' helper
Joined: 22 Apr 2002 Posts: 85 Location: London
|
Posted: Wed Sep 10, 2003 5:51 pm Post subject: |
|
|
cool, solved the problem, if I only had seen that post during my search I would be flying through the book by now _________________ Some people are alive only because it's illegal to kill them. |
|
Back to top |
|
|
Azzuron Apprentice
Joined: 19 May 2002 Posts: 151 Location: Ontario
|
Posted: Wed Sep 10, 2003 5:59 pm Post subject: |
|
|
php4+mysql = fun; _________________ --Azzuron |
|
Back to top |
|
|
|