prkarpi Posted January 16, 2008 Share Posted January 16, 2008 I have the following HTTP link in my window: http://localhost/music/Register/?&SID=b0d8460acad38d4a3723668bc386e09c It does not have any .php notations in the header. When I try to send <form> variables through, they do not appear to be working since my <form> looks like this without index.php, but rather only be default target: <FORM action="<?php echo $GLOBAL_LINK; ?>Register<?php echo $SID . "&Reg=True";?>" method="post" name="form" enctype="multipart/form-data" onsubmit="return checkForm(this)";> Any suggestions or recommendations how to handle this situation. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/86369-solved-http-help/ Share on other sites More sharing options...
revraz Posted January 16, 2008 Share Posted January 16, 2008 What page is this on and what page do you want it to post to? Quote Link to comment https://forums.phpfreaks.com/topic/86369-solved-http-help/#findComment-441330 Share on other sites More sharing options...
prkarpi Posted January 16, 2008 Author Share Posted January 16, 2008 What page is this on and what page do you want it to post to? Whole content is on index.php in Register directory, I am sending it to the same page index.php in same directory to verify information. Hope this helps. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/86369-solved-http-help/#findComment-441335 Share on other sites More sharing options...
revraz Posted January 16, 2008 Share Posted January 16, 2008 <FORM action="<?php echo $GLOBAL_LINK; ?>Register<?php echo "index.php".$SID."&Reg=True";?>" method="post" name="form" enctype="multipart/form-data" onsubmit="return checkForm(this)";> Or you can use $_SERVER['PHP_SELF'] instead of index.php Quote Link to comment https://forums.phpfreaks.com/topic/86369-solved-http-help/#findComment-441350 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.