473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP-HTTP-Tunnel

Are there some existing PHP-HTTP-Tunnels?

The problem I have: On the computer where I sit it is only possible to
access Intranet. But it's also possible to install a PHP-Script there
on a computer that has access to the whole internet.

So I wonder if it is possible to upload some PHP site with which I can
acess the whole internet (or let's say WWW) - if possible also Webmail
with posting data etc.

Other possibility would be to use some kind of HTTP-Tunnel which is
able to connect via PHP. In this case I would only need a PHP that
simply sends and receives the data, the HTTP-Tunnel connects to my
computer via the intranet-computer where the php is uploaded.

It something of this possible?

Jul 17 '05 #1
4 20667
On Tue, 25 May 2004 01:02:13 +0200 (CEST), Tarapia Tapioco
<co*********@ntani.firenze.linux.it> wrote:
Are there some existing PHP-HTTP-Tunnels?

The problem I have: On the computer where I sit it is only possible to
access Intranet. But it's also possible to install a PHP-Script there
on a computer that has access to the whole internet.

So I wonder if it is possible to upload some PHP site with which I can
acess the whole internet (or let's say WWW) - if possible also Webmail
with posting data etc.

Other possibility would be to use some kind of HTTP-Tunnel which is
able to connect via PHP. In this case I would only need a PHP that
simply sends and receives the data, the HTTP-Tunnel connects to my
computer via the intranet-computer where the php is uploaded.

It something of this possible?

It's possible, heres a little example

<?php
echo stripslashes(file_get_contents($_GET["url"]));
?>

to use:
http://intranet/script.php?url=http://slashdot.org

It'll only fetch the text, but hey, it's only a line of code :)
have a look at: http://www.jmarshall.com/tools/cgiproxy/ and see if that
works on your server, CGI based.

I think fsocksopen() might be worth a look too, anyway sounds an
interesting project, have fun :]

Dank.
--
If we can't play God, who will?
Jul 17 '05 #2
Tarapia Tapioco <co*********@ntani.firenze.linux.it> wrote in message news:<e3******************************@firenze.lin ux.it>...
Are there some existing PHP-HTTP-Tunnels?


<snip>

Did a Google search and found some
<http://www.google.com/search?q=php+httptunnel>
<http://www.evilwalrus.com/viewcode.php?codeEx=467>

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #3
In article <ab**************************@posting.google.com >
Are there some existing PHP-HTTP-Tunnels?
<snip>

Did a Google search and found some
<http://www.google.com/search?q=php+httptunnel>


This doesnt' seem to work via a PHP site, you have to connect to the
server directly.
<http://www.evilwalrus.com/viewcode.php?codeEx=467>


You mean this is the PHP I can put on the server so that it works?

Jul 17 '05 #4
Tarapia Tapioco <co*********@ntani.firenze.linux.it> wrote in message news:<10******************************@firenze.lin ux.it>...
In article <ab**************************@posting.google.com >
Are there some existing PHP-HTTP-Tunnels?

[...]
<http://www.evilwalrus.com/viewcode.php?codeEx=467>


You mean this is the PHP I can put on the server so that it works?


I didn't do much with HTTP-Tunnels and don't know more about that.
Anyway, the code seems to the one you're looking for. For your
question, yes it seems so.

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: the wonderer | last post by:
This is an elementary question, but I've not been able to find the answer, so here goes: I am developing a site using php. I have the html header information in a file that I include in all the...
5
by: Ad Astra | last post by:
I am completely new to PHP and am finding installation the most difficult part to understand and implement. Could someone please review the rather long missive below and assist me? I have...
59
by: Lennart Björk | last post by:
Hi All, I have a tiny program: <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>MyTitle</title> <meta...
1
by: ansc1 | last post by:
Hello, I'm new to using php coding. I need help with the following: 1. There is a submit button on the form and is saves information to my database. After clicking on "Save Measurement" it...
0
by: tsivaraman | last post by:
I am trying to build php-5.2.1 in RedHat Linux 9. I have installed libxml2-2.6.11,mysql-5.0.33,httpd-2.2.4(apache) successfully.When i do 'make' from the php directory,i get the following...
26
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any...
0
by: Benjamin Grieshaber | last post by:
Hi, I´m on SuSE 9.3 with xmlrpc-c and xmlrpc-c-devel installed (ver. 0.9.10) I tried to compile php with xmlrpc support and got the following errors: ...
0
by: Patriot89 | last post by:
I have a quick question in reference to php file extenstions... I have code for example like this... This is all located on this site www.ixalliance.com/BHS/Default (This is my nav.php file) ...
4
by: mechphisto | last post by:
I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6. I need to install mcrypt into it, and the only way I can find to do it is from source then recompile PHP. So I did all that, and got...
5
Chrisjc
by: Chrisjc | last post by:
Good afternoon, I am seeking some php configuration help. Here is the run down I am running Windows server 2003 and IIS V6.0 I have never had issues before until now. I have Symantec Antivirus 11.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.