View Single Post
Old 21-11-2008   #4
compufunk
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1354
Thanks: 114
Thanked 221 Times in 189 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters
Lightbulb

Originally Posted by marty80 View Post
every thing's set up already (dyndns and ports 16000-16001). have been able to use cccaminfophp from other remote computers just not from work.
Thats a different story.

Its going to be very hard to say how to go about this depending on how the proxy settings at work are configured.

There are numerous ways in which proxy servers can be configured.
Does another device on the network handle the proxy settings or are the proxy settings applied on the machine you are working on?

If its on the machine you are working on, is the OS configured to use the proxy server to get connected to the outside world, or is this just configured in your browser? There are a lot of variables here.

If its your browser that has the proxy settings applied, then essentially you are opening a browser to view the CccamInfoPHP interface, the browser knows to use the proxy server, but the actual software which is connecting to the remote Qbox is the PHP code within CccamInfoPHP, which doesn't know that it should be using a proxy.

I had a look at the PHP scripts that this software uses and could find no way of allowing for a proxy server.

In these circumstances, you would need to add the relevant code to the PHP files yourself, (Not a simple task if you dont know what you are doing), I have a little experience with PHP but have never had to worry about proxy servers.

EDIT:
I had a quick read through a few books and there is no simple workaround that I can find for this. They only one I found involved adding PHP script to the proxy server itself (probably not an option)

Here is an excerpt from one of the books, This is probably what is causing your problem........
Note that fopen() will only be able to open files if your server has direct access to the Internet. If it needs to access other HTTP servers via a proxy server, fopen() will not work.
cccaminfophp uses the Fopen function to read files on the dreambox / Qbox.
You could re-write the software

You could also install Apache, PHP on the Qbox itself (Probably) it can be done on a dreambox. Then run the cccaminfophp scripts directly from the dreambox. This would make it available anywhere.

My Dreambox has been fried, so I cant test this.

Last edited by compufunk; 22-11-2008 at 12:28 AM.
compufunk is offline   Reply With Quote