Re: [PHP] creating a PHP wrapper script?

2010-04-25 Thread Danilo Moncastro Sabbagh
Even tho most of the servers uses 1.1 they have compliant configurations. or at least they should. things like mod_gzip and deflate are usually only used if the request is 1.1 to be honest.. if i understood you correctly the curl solution or even a wrapper for another downloader like wget or

Re: [PHP] creating a PHP wrapper script?

2010-04-25 Thread Nathan Rixham
Peter Lind wrote: > php.net/curl should be able to do what you want. +1 > file_get_contents with a proper stream context should also work (have > a look at functions like http://dk.php.net/manual/en/context.http.php > ) very important to note that file_get_contents uses HTTP 1.0 not 1.1 by defau

Re: [PHP] creating a PHP wrapper script?

2010-04-23 Thread Peter Lind
php.net/curl should be able to do what you want. file_get_contents with a proper stream context should also work (have a look at functions like http://dk.php.net/manual/en/context.http.php ) Regards Peter On 23 April 2010 17:18, Robert P. J. Day wrote: > >  i'm sure this isn't hard to do, but i

[PHP] creating a PHP wrapper script?

2010-04-23 Thread Robert P. J. Day
i'm sure this isn't hard to do, but i'm having end-of-week brain cramps. just now, i installed a PHP package that lets me download thumbnails of image files stored on a server -- the URL to generate and download a thumbnail is, say: http://server/d1/d2/thumbnail.php?fileID=whatever&arg1=val1&a

[PHP] Beginner at writting a PHP Wrapper for C++ libraries

2009-06-11 Thread Eric A. Boney
I am just beginning my foray into writing my own wrapper for a C++ library that maintained by someone else. I have ordered Sara Golemon's book "Extending and Embedding PHP" which should arrive in the next week or so, but until then I had a couple of questions that I was hoping might be able to b

[PHP] wrapper

2004-10-20 Thread Stanislav Kuhn
Hi everybody, i'm trying open url by fopen or file_get_content but always receive error message failed to open stream: no suitable wrapper could be found i know only about one php variable has to be set allow_url_fopen = On and it is. I run it on two different servers on first it works there is ph

[PHP] PHP wrapper around binary CGI app

2002-11-06 Thread gap
I have a binary (non-modifiable) CGI program that does form processing. It gets form data by HTTP POST and outputs the results to Apache. Is there any way to make a PHP wrapper around the program, so that the form data will be submitted to my script, which in turn will send the data to the

[PHP] php-wrapper

2001-07-24 Thread Brian Allen
I am looking for a php wrapper similar to cgiwrap. I have seen pair.net's php-cgiwrap, but where can I download this script or at least another one with the same functionality? Brian Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] wrapper (simple questions)

2001-03-01 Thread Gustavo Vieira Goncalves Coelho Rios
Is there any way to have process started by a php script wrapped by a similar suexec utility (like in apache)? Plans to support such a funcionality? When? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED