Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Ilia A.
On September 7, 2002 10:37 am, Mats Lindh wrote: > - [EMAIL PROTECTED]% (Marcus Börger): > > But according to your example i think google prohibts accessing their > > search engine etc. through software... > > A bit off-topic; but google has its own "Web API" for developers > wanting to access goo

Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Mats Lindh
- [EMAIL PROTECTED]% (Marcus Börger): > But according to your example i think google prohibts accessing their > search engine etc. through software... A bit off-topic; but google has its own "Web API" for developers wanting to access google-results: http://www.google.com/apis/ -- mats -- PH

Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Markus Fischer
On Sat, Sep 07, 2002 at 12:00:35PM +0100, Wez Furlong wrote : > On 09/07/02, "Markus Fischer" <[EMAIL PROTECTED]> wrote: > > +1 > > Afaik this was already brought up. > > I'm +1 on the principle. > > > Maybe some ini entry like > > php.user_agent (or whatever fits best) > > +1

Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Wez Furlong
On 09/07/02, "Markus Fischer" <[EMAIL PROTECTED]> wrote: > +1 > Afaik this was already brought up. I'm +1 on the principle. > Maybe some ini entry like > php.user_agent (or whatever fits best) +1 on this, but also note that the not-yet-documented-enough stream context is intende

Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Marcus Börger
At 09:49 07.09.2002, Ilia A. wrote: >Current implementation of fopen() and any other built in functions that allow >opening of Urls, always sends a User-Agent: PHP/PHP_VERSION header when >sending the request, which cannot be disabled by the user. >Afaik this header is entirely optional and in som

Re: [PHP-DEV] fopen() & User-Agent

2002-09-07 Thread Markus Fischer
+1 Afaik this was already brought up. Maybe someini entry like php.user_agent (or whatever fits best) which is of type string: ini_set("php.user_agent", "Tawnee Stone Virus"); and can be disabled with: ini_set("php.user_agent", ""); I.e. spec

Re: [PHP-DEV] fopen(); question

2002-05-23 Thread Stig S. Bakken
On Thu, 2002-05-23 at 14:24, Jose Jeria wrote: > I am new to PHP and I have a simple question about fopen > > For example: > $tmp = fopen("testfile.txt", "r"); > > If the file is not found i get an error. ("No such file or directory") > So there is no point in checking for this like this: > > i

Re: [PHP-DEV] fopen with https support ?

2002-03-12 Thread Wez Furlong
Andrey, I have a patch waiting to commit against the current CVS; I've been holding off while waiting for the branch for the next release and now I'm waiting for the new build system to settle down a little. Since the patch touches most corners of PHP, it will need a bit of "testing in"; I think

Re: [PHP-DEV] fopen

2001-03-06 Thread Myke Corredera
In fopen is there a way to get the file info like Mod Date, Size of File I am trying to mimic the look of a Apache Index listing , if that helps -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-DEV] fopen() changes, please review this patch

2001-01-12 Thread Boian Bonev
hi, only one thing - insted of two empty lines it sounds (at least to me) that a false value or a single empty line will be ok. there cannot be empty line in header. i haven't time to look at the patch, sorry. b. - Original Message - From: "Stig Venaas" <[EMAIL PROTECTED]> To: <[EMAIL