Jump to content

redirect to https from http


monkeybidz

Recommended Posts

Guest Xanza

Try integrating simple PHP redirection into your script... It's easy, and good to work with:

 

<?php

$links = array(
    "sell" => "sell.php" //http://site.com/redirect.php?r=sell
);
header("Location:" . $links[$_GET['r']]);
exit;
?>

 

usage:

 

<form action="http://site.com/redirect.php?r=sell" method="post" name="zipcodestuff" target="_self" id="zipcodestuff">

 

That should set you in the right direction. :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.