Written: March 12, 2010

Secure Page Calling an Non-secure Form on Firefox

I have a client called YumFinder that has a secure shopping cart page that needed to call a non-secure form to continue shopping. My first approach was to include a link to the non-secure page (http):

Continue Shopping

With a browser like Internet Explorer 8.0 this works OK however with FireFox (Safari, Opera, Chrome) there is a warning dialog that pops up telling you that the form you are calling is not secure (http) while you are on a secure page (https).

I came up with a fix to avoid these security warnings. On the secure page I use a link to a PHP script which is also considered a secure page (https):

Continue Shopping

Then in the PHP script I redirect to my non-secure page:


header(‘Location: http://www.yumfinder.com/continue_shopping.html’);
?>

The non-secure page (http) can now do it’s work:

I can understand why Firefox and other browsers get concerned about navigating from an https to an http page. Now I know how to keep my visitors from seeing un-needed security messages.

Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

Tethered Photography,Applescript, PHP, MySQL and Web Servers

I’m getting ready to do formal portraits at a corporate party in March so I’d like to share with you how I’ve automated my workflow to better serve clients. Here are my work flow objectives:

  1. Allow clients to be photographed, see proofs and order in a few minutes.
  2. Minimize any waiting in lines.
  3. Have fun, create lasting memories.

To achieve these objectives I’ve assembled the following technologies:

Here’s how the computers and camera are all connected:

I’m a geeky guy so I wrote my own Applescript to re-size and copy images, plus the proofing and order system was written with PHP, MySQL, Javascript, Dreamweaver and Photoshop.

My web server on the PC is using the popular XAMPP tools, which are Open Source.

Shooting
I operate my Canon 5D just like always, on full manual with custom white balance, everything metered so there are no surprises. Using the USB2.0 cable it takes about 6 seconds for an image to go from the camera to the iMac. I shoot JPEG for event photos to save time and they look just great. 

Applescript
This script takes about 5 seconds to re-size the full-size image into a proof and thumbnail size images, then copies them over to a folder on the PC where the web server is running.

Proofing and Ordering
The client uses a web browser to see their proofs. At first they see thumbnails. Clicking a thumbnail brings up a larger image with a price list.

 
 

Post Event
When I arrive back home after the event, then I run another web page to take my batch credit card orders and process them. Yes, I wrote that one too.

Summary
I’ve been able to achieve my event photography work flow objectives by using some standard technology and some custom technology to get the job done. My clients can be photographed, proof and order in a few minutes. They’re happy and I’m busy sending orders to my lab and then delivering prints to clients.

Tags: , , , , , , , , ,

One response to “Tethered Photography,Applescript, PHP, MySQL and Web Servers”

  1. Chris Roane says:

    Hi,

    I love the article and your blog. Would you be interested in exchanging links with me? My website is http://www.montanaprogrammer.com/ . Please let me know!

Leave a Reply

Your email address will not be published. Required fields are marked *

Dynamic Content

My client at Santa Cruz Veterinary Hospital wanted to show several slide images and text inside of an existing page, so I used dynamic content with Javascript to make it work. Visitors just move their mouse over a slide number to see a new photo and read text. See the live results here.

I’m using AJAX techniques more often to display dynamic page content without having to reload pages.

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

Blog Tags

Recent Posts

Blog Directory & Business Pages at OnToplist.com