form action=filename in feedback form results in wrong path
Posted: Sat Dec 27, 2003 9:03 am
I have the following:
<form action="sendfeedback.php" method="POST">
and the sendfeedback.php file is in the same dir as the form.php file. But when I click on submit I don't get the right path. I see:
http://localhost:8080/bse/contacts/bse/ ... edback.php
(notice the duplicaiton of bse/contacts in url).
I want it to up at:
http://localhost:8080/bse/contacts/sendfeedback.php
Any reason why it is putting part of the path url in twice?
I tried the full path:
<form action="http://localhost:8080/bse/contacts/sendfeedback.php" method="POST">
and <form action="c:/program files/apache group/apache2/htdocs/bse/contacts/sendfeedback.php" method="POST">
(right now I am testing this on my desktop).
I have apache2, php, and mysql running. No other problems with it finding other pages.
Also, I am confused by something. Do I need double quotes or no quotes around the action file name?
Help would be appreciated.
Thanks
<form action="sendfeedback.php" method="POST">
and the sendfeedback.php file is in the same dir as the form.php file. But when I click on submit I don't get the right path. I see:
http://localhost:8080/bse/contacts/bse/ ... edback.php
(notice the duplicaiton of bse/contacts in url).
I want it to up at:
http://localhost:8080/bse/contacts/sendfeedback.php
Any reason why it is putting part of the path url in twice?
I tried the full path:
<form action="http://localhost:8080/bse/contacts/sendfeedback.php" method="POST">
and <form action="c:/program files/apache group/apache2/htdocs/bse/contacts/sendfeedback.php" method="POST">
(right now I am testing this on my desktop).
I have apache2, php, and mysql running. No other problems with it finding other pages.
Also, I am confused by something. Do I need double quotes or no quotes around the action file name?
Help would be appreciated.
Thanks