XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
proxy.php
Go to the documentation of this file.
1
<?php
2
// $Id: proxy.php 825 2011-12-09 00:06:11Z i.bitcero $
3
// --------------------------------------------------------------
4
// Red México Common Utilities
5
// A framework for Red México Modules
6
// Author: Eduardo Cortés <i.bitcero@gmail.com>
7
// Email: i.bitcero@gmail.com
8
// License: GPL 2.0
9
// --------------------------------------------------------------
10
11
if
(!isset($_SERVER[
'HTTP_REFERER'
]) || $_SERVER[
'HTTP_REFERER'
]==
''
) die(
"Not Allowed"
);
12
13
$url
= isset($_REQUEST[
'url'
]) ? $_REQUEST[
'url'
] :
''
;
14
$type
= isset($_REQUEST[
'type'
]) ? $_REQUEST[
'type'
] :
'text/html'
;
15
16
include_once
'../class/proxy.php'
;
17
$proxy
=
new
RMProxy
(
$url
,
$type
);
18
echo
$proxy
->get();
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
include
proxy.php
Generated on Sun Mar 17 2013 20:41:05 for XOOPS RMCommon Utilities by
1.8.3.1