Ask a Question related to PHP Development, Design and Development.
-
fartsniff #1
Switching to and from http and https
hello all.
currently, this is how a line of my form is setup
(names have been changed to protect the innocent ;)
<form action="/modules.php?name=buyme&file=index&func=gimmecash"
method="post">
which would of course pass it to the file on my normal http site
([url]http://www.mydomain.com[/url]).
if i wanted this form to pass to my secure site, ie.
[url]https://www.mydomain.com[/url], is there
a way to do this without making the form action this:
<form
action="https://www.mydomain.com/modules.php?name=buyme&file=index&func=gimm
ecash" method="post">
i have no problem "hardcoding" the site in there, but if there was a more,
correct, acceptable way ?
thanks.
fartsniff Guest
-
Switching Between HTTP and HTTPS
Hi I wish to have a web site that has most of the pages as normal HTTP pages but has some areas that use HTTPS. I want to have it that if a user... -
http to https
Is there a coldfusion function that determines the gives me the protocol of the address bar(http, https) .I tried GetHttpRequestData, but I do not... -
Switching between http and https popping up a login box
Hi, I am response.redirecting from an http to a https site, as follows: ... -
PHP won't parse under https, but will with http
I'm not sure if this is the right forum for this question, but I'm hoping someone can help nonetheless. :) I installed an SSL Cert. on a site the... -
HTTPS to HTTP
When I am using server-side button to switch from https to http by using response.redirect "http://a.apsx" in response to the client event, I am... -
James Sleeman #2
Re: Switching to and from http and https
fartsniff wrote:
action="https://www.mydomain.com/modules.php?name=buyme&file=index&func=gimm> a way to do this without making the form action this:
>
> <form> ecash" method="post">
No, there is no other way, but you might want to consider having people fill
out the form on your secure site rather than just posting the form to it.
You and I know that thier details are secure as long as it's posted to the
secure site but when Joe Bloggs is filling out the form they like to see
the reassuring little padlock/key there already.
--
James Sleeman
Gogo:Code [url]http://www.gogo.co.nz/[/url]
Email domain : gogo.co.nz see user in from header!
James Sleeman Guest



Reply With Quote

