Page 1 of 1
sending form to specific port for security
Posted: Thu Jan 29, 2004 4:43 pm
by eatrom
I think I know the answer to this, but want to validate it. Isn't the port the number in the url after a colon? So
https://www.thisserver.com:9999/somepage.html would use port # 9999?

Posted: Thu Jan 29, 2004 4:48 pm
by ol4pr0
yes that would specify youre port number.
http://localhost:80 if port is 80

Posted: Thu Jan 29, 2004 5:00 pm
by eatrom
Thanks.
Now, can I submit a form via POST from a php script without user interface? IE: I could have an url in a Header redirect and paste the various parameters on like:
Code: Select all
<?php
header("Location: https://www.thisplace.com:80/thispage.php?a=123&b=234");
?>
But can I "simulate" a form sending a POST to an url??
{wondering minds want to know...}

Posted: Thu Jan 29, 2004 5:04 pm
by ol4pr0
Guess you wont know untill you will try it
Posted: Thu Jan 29, 2004 5:42 pm
by d3ad1ysp0rk
I don't believe it's possible, since it's sort of a security risk.
You could always store the vars via hidden things and have a submit button saying "Click here to continue" or whatever.