472,992 Members | 3,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 software developers and data experts.

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"
which would of course pass it to the file on my normal http site

if i wanted this form to pass to my secure site, ie.
https://www.mydomain.com, is there
a way to do this without making the form action this:

ecash" method="post">

i have no problem "hardcoding" the site in there, but if there was a more,
correct, acceptable way ?
Jul 16 '05 #1
1 20805
fartsniff wrote:
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">

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 http://www.gogo.co.nz/
Email domain : gogo.co.nz see user in from header!
Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Kenneth Keeley | last post by:
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 selects a link to a HTTPS page that they go there...
by: Grunff | last post by:
I'm experiencing an interesting problem with carrying a php session over from http to https. Much googling later, I'm still stuck. The application is an online shop, where some user data is...
by: MattB | last post by:
I've seen some different suggestions about this, and I'm wondering if there's a common way to do it. I have an app I'll be distributing, so we can't hardcode a absolute URL in it. I've seen an...
by: Iulian Ionescu | last post by:
I have a page (http://www.something.com/) and a secure page (https://secure.something.com) and the secure.something.com points to http://www.something.com/secure/ All works ok, but, when I...
by: Slav | last post by:
Hello, I am using multiple instances of IE on the same machine to test a web site I've created. The web site can be accessed by multiple user type each with different access rights (e.g. Admin...
by: Mark Rae | last post by:
Hi, I'm presently upgrading a v1.1 ASP.NET app to v2. Parts of site run under SSL and parts don't, and the site uses this code: http://www.codeproject.com/aspnet/WebPageSecurity.asp to...
by: cbright | last post by:
I have a very weird problem with our site at https://store.canoegame.com. For many users the site is working as it should however for a few it is not. One of the bigger problems is the fact that,...
by: LVP | last post by:
Hello, What are the ways to switch from http to https. Is there a way internal to IIS 6.0 or x.xx? Some configuration? Is there a way via DNS? I have seen Scripts in VB and JavaScript ...
by: bob | last post by:
Hi, Newbie question. I have a logon Web Form which, once the server has validated the logon, I want to open up a main form. i.e. In a windows app I would write something like if(logon) {...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.