weronpc
04-23-2003, 08:23 PM
Hello everyone, a quick question
here is my form:
<form action="<?php echo $_SERVER['DOCUMENT_ROOT']."/web/php/check.php"; ?>" method="POST">
and this showed when I view source
<form action="C:\\Program Files\\BadBlue\\PE/web/php/check.php" method="POST">
The funny thing is, when I use $_SERVER['DOCUMENT_ROOT'] for include files, it works fine, but when I use it for form, it doesn't work. why is there dboule \ at the view source?
Thank you
Mike
here is my form:
<form action="<?php echo $_SERVER['DOCUMENT_ROOT']."/web/php/check.php"; ?>" method="POST">
and this showed when I view source
<form action="C:\\Program Files\\BadBlue\\PE/web/php/check.php" method="POST">
The funny thing is, when I use $_SERVER['DOCUMENT_ROOT'] for include files, it works fine, but when I use it for form, it doesn't work. why is there dboule \ at the view source?
Thank you
Mike