Is there a way I can programmatically switch between HTTPS and HTTP... I use
a lot of INCLUDE's instead of HEADER("Location: ...");
Can I use HEADER in another way (without redirecting) to activate HTTPS or
HTTP for any given page?
It depends on the nature of the data involved. If javascript works you can avoid having a submit button and use a normal button with a function on the onclick event. The function will either send GET data to HTTP or HTTPS, depending on actual data content.
But that also means all data needed to make such a decision shall be available in the client scope, in the form of javascript source. It can turn out to be quite an unsecure way to call for security LOLOL
But maybe it's just a stupid checkbox and in that case you can just do it like this.
Alberto
Kiev
--
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is.......