Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache not passing parameters?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MaRTiaN
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 85
Location: London

PostPosted: Wed Sep 10, 2003 4:44 pm    Post subject: apache not passing parameters? Reply with quote

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
View user's profile Send private message
Azzuron
Apprentice
Apprentice


Joined: 19 May 2002
Posts: 151
Location: Ontario

PostPosted: Wed Sep 10, 2003 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Azzuron
Apprentice
Apprentice


Joined: 19 May 2002
Posts: 151
Location: Ontario

PostPosted: Wed Sep 10, 2003 5:32 pm    Post subject: Reply with quote

here is your answer dood!

https://forums.gentoo.org/viewtopic.php?t=70951&highlight=php+form+post
_________________
--Azzuron
Back to top
View user's profile Send private message
MaRTiaN
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 85
Location: London

PostPosted: Wed Sep 10, 2003 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Azzuron
Apprentice
Apprentice


Joined: 19 May 2002
Posts: 151
Location: Ontario

PostPosted: Wed Sep 10, 2003 5:59 pm    Post subject: Reply with quote

php4+mysql = fun;
_________________
--Azzuron
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum