Posted by gege2061 on Thu 17 Feb 13:42
View followups from -1 and -1 | download | new post
- <?php
- /*
- * Copyright Camille Harang
- * Copyright (C) 2010-2011 Nicolas Joseph
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see http://www.fsf.org/licensing/licenses/agpl-3.0.html.
- */
- {
- $scheme = 'https://';
- }
- else
- {
- $scheme= 'http://';
- }
- $seeks_uri = 'http://s.s';
- $proxy = '127.0.0.1:8250';
- $hostname = 'seeks.homecomputing.fr';
- $base_url = $scheme.$_SERVER['HTTP_HOST'];
- if ($_SERVER['REQUEST_URI'] == '/')
- {
- $url = $base_url.'/websearch-hp';
- }
- else
- {
- $base_script = $_SERVER['SCRIPT_NAME'];
- }
- 'proxy' => $proxy,
- 'header' => "Seeks-Remote-Location: $base_url\r\n",
- ),
- );
- {
- $data['http']['header'] .= 'Accept-Language: '. $_SERVER['HTTP_ACCEPT_LANGUAGE'] ."\r\n";
- }
- {
- $data['http']['header'] .= 'Referer: '. $_SERVER['HTTP_REFERER'] ."\r\n";
- }
- foreach ($http_response_header as $header)
- {
- }
- echo $result;
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.