RPeraltaJr
4/18/2017 - 5:45 PM

Searching through an external site with their parameter(s)

Searching through an external site with their parameter(s)

<?php

if(isset($_POST['q']) && !empty($_POST['q'])) {
  $keyword = $_POST['q'];
  header("Location: http://corporatesite.com/search?q=$keyword");
}