php-windows Digest 6 Oct 2004 07:19:21 -0000 Issue 2421

Topics (messages 24695 through 24699):

Re: cURL as proxy
        24695 by: Comee Qin

Re: ORIG_SCRIPT_NAME
        24696 by: Amit Arora

Contract: protecting code or not?
        24697 by: Anne Shroeder
        24698 by: Ed Lazor

Function reference
        24699 by: Dale Attree

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Dear David,

try poxy version 0.3

I am using it for the time being.

A very handy tools for URL redirection.

Cheers,

--/PW

----- Original Message ----- 
From: "David Hamilton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 06, 2004 12:09 AM
Subject: [PHP-WIN] cURL as proxy


> Hello all,
> 
> I've run into is strange situation and I am hoping someone on the list
> can help. I need to use cURL to retrieve information on a remote
> (non-SSL) webpage. The problem: the page I need to retrieve from is
> dynamic and the content is determined by the user's IP address. 
> 
> Is there any way at all for cURL to act as proxy on behalf of the remote
> host? I'm thinking that X-FORWARDED-FOR header might be part of the
> solution.
> 
> I don't need it to appear as if server is the remote host, I just need
> the page I'm fetching to know "hey, this request was made by server_ip
> but it's at the request of remote_host).
> 
> This may not be possible, but I thought I'd ask. 
> 
> Thanks,
> 
> David 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message --- I could be wrong, but ORGI_ variables are usually added when PHP is being used as CGI mode.

Amit
www.digitalamit.com

Kevin Williams wrote:
I have PHP 5.0.2 working in Apache 2.0.52 as a module, on WinXP SP2, and I'm trying to test coWiki (CVS-HEAD). I'm using Komodo 3.0.1 (eval) to debug it over the XDebug 2.0 beta1 debugger.

There is a point in the code which fails because $_SERVER['ORIG_SERVER_NAME'] is not defined. As a matter of fact, phpinfo() show none of the ORIG_ variables are defined. Is there a php.ini configuration option which might affect this, or is this a function of mod_php vs. CGI execution?

Kevin
(newbie - be gentle) ;)

--- End Message ---
--- Begin Message ---
I just started a project for which I need to do both database design and
some original programming work.  My client would like to draw up an
agreement that specifies what usage is permissable for the code I develop.
Apparently one of the staff people thought that if the program is very cool
(it had better be, but it will be a lot of work!) they could resell it, and
my client said she thought that was not right.

I'm doing this in PHP - so I'll be using some code snippets of my own, some
open source libraries, and doing some original development.  It would seem
to me that it's ok for my client to reuse some of my code, in the spirit of
open source?  But that it wouldn't be right to resell the whole product.

So my qustions are:
(1) How do you all define this
(2) Where can I find wording to say what I need that will protect my work.
(3) I want to include a confidentiality agreement stating that all data from
her DB will remain private. - need wording for that too!

Anne

--- End Message ---
--- Begin Message ---
> So my qustions are:
> (1) How do you all define this
> (2) Where can I find wording to say what I need that will protect my work.
> (3) I want to include a confidentiality agreement stating that all data
> from
> her DB will remain private. - need wording for that too!

Someone else will have to answer those questions for you, but I did have
some thoughts that might help.  

You could probably use a PHP compiler.  Release your compiled application
with an agreement that your customer signs.  You're basically licensing it
for their use under specific conditions which you both define and agree
upon.

Next, give them copies of code that you'd like to share with them after they
sign a second agreement that defines acceptable uses of the code.

Finally, come up with a third agreement that defines the scope of work that
you'll be doing for them and include things that define intellectual rights,
what work will shall be done, prices, etc..

You can probably do a search for legal contracts and agreements on the
Internet that include stuff on intellectual rights.  You could also probably
find copies of job proposals and agreements that has a lot of information
for you.

Good luck =)

-Ed

--- End Message ---
--- Begin Message ---
Hi,

Does anyone have or know where I can find a function reference for
MicroSoft Word as a COM object in PHP, other than the example in the PHP CHM
file and/or manual.

Kind Regards,
Dale

--- End Message ---

Reply via email to