as for the remote server, the page does take an awfully long time to lo
attached is my code for the page, see if there's any thing wrong with it.
Code: Select all
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
session_start();
$url = 'http://mywebsite.www/form.php';
$fp = fopen($url, 'r');
print_r($http_response_header);
if(isset($_SESSION['enq_array']))
unset($_SESSION['enq_array']);
require_once('../user_sc_fns.php');
display_enq_form();
?>