Login Retreive lost passwordRegister
Search

Forum Index / General / SSL Problem

[ This topic is solved ]

  John Boshier 23 September 09 / 11:45  
To use SSL with my ISP I need to use a URL like "https://secure1.namesco.net/www.mydomain.co.uk/mydirectory/myfile.php"

When I click the save button on a FormHandler form it tries to return to "https://secure1.namesco.net/mydirectory/myfile.php". It misses out the "www.mydomain.co.uk" part, so doesn't work.

Is there a way round this?

  Johan Wiegel (Admin) 23 September 09 / 12:10  
use the second argument of FormHandler (the action)

<?php
$oForm 
= new FormHandler('','https://secure1.namesco.net/www.mydomain.co.uk/mydirectory/myfile.php','');
?>

  John Boshier 23 September 09 / 16:23  
That seems to cause a problem. If I'm editing an existing database record it saves it as a new record

  Johan Wiegel (Admin) 23 November 09 / 18:24  
use the $_SERVER['REQUEST_URI] AS second argument to formhandler

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license