php-windows Digest 21 Jan 2003 23:16:15 -0000 Issue 1548

Topics (messages 18010 through 18019):

PHP on IIS4 problem
        18010 by: Patrick Chemali
        18011 by: J.Veenhuijsen
        18012 by: Veselina Jecheva
        18013 by: Chris Kranz

Who is foo & what is bar?
        18014 by: Uttam
        18015 by: Mikey
        18016 by: Chris Kranz
        18017 by: Svensson, B.A.T. (HKG)
        18018 by: Svensson, B.A.T. (HKG)

PHP.ini directive override
        18019 by: Paul Menard

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 ---
Hello,
I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
until I get the chance to setup a Linux box. I used the window binary from
php.net with installer PHP 4.3.0 installer (CGI)
The installation ran smoothly. and I checked for permissions although I am
not on NTFS .
The IIS renders php files as regular html without executing the code
enclosed within the <?php ?> tags

I also ran c:\php\php.exe -i and it rendered indeed the proper html document
without any errors.
Under the IIS Manager >> properties >>WWWService>>Home Directory>>App
Mappings

.php is already associated with c:\php\php.exe  with all verbs option and
script checked

It just won't work !!
any help is greatly appreciated
thanks in advance

PC
--- End Message ---
--- Begin Message --- In my configuration .php and .php4 is mapped to c:\WINNT\System32\php4isapi.dll

And this works.

Jochem

Patrick Chemali wrote:
Hello,
I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
until I get the chance to setup a Linux box. I used the window binary from
php.net with installer PHP 4.3.0 installer (CGI)
The installation ran smoothly. and I checked for permissions although I am
not on NTFS .
The IIS renders php files as regular html without executing the code
enclosed within the <?php ?> tags

I also ran c:\php\php.exe -i and it rendered indeed the proper html document
without any errors.
Under the IIS Manager >> properties >>WWWService>>Home Directory>>App
Mappings

.php is already associated with c:\php\php.exe  with all verbs option and
script checked

It just won't work !!
any help is greatly appreciated
thanks in advance

PC


--- End Message ---
--- Begin Message ---
There is a file install.txt in php directory, you have to read it and
follow the instructions. Probably you have to tune up some directories in
php.ini manually.
Veselina

At 10:13 1/21/03 +0200, Patrick Chemali wrote:
>Hello,
>I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
>until I get the chance to setup a Linux box. I used the window binary from
>php.net with installer PHP 4.3.0 installer (CGI)
>The installation ran smoothly. and I checked for permissions although I am
>not on NTFS .
>The IIS renders php files as regular html without executing the code
>enclosed within the <?php ?> tags
>
>I also ran c:\php\php.exe -i and it rendered indeed the proper html document
>without any errors.
>Under the IIS Manager >> properties >>WWWService>>Home Directory>>App
>Mappings
>
>.php is already associated with c:\php\php.exe  with all verbs option and
>script checked
>
>It just won't work !!
>any help is greatly appreciated
>thanks in advance
>
>PC
>

--- End Message ---
--- Begin Message ---
Also check that your browsing to the files across http://localhost and
not file://c:/www/blah.php



chris kranz
fatcuban.com


-----Original Message-----
From: Veselina Jecheva [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 9:11 AM
To: Patrick Chemali; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP on IIS4 problem

There is a file install.txt in php directory, you have to read it and
follow the instructions. Probably you have to tune up some directories
in
php.ini manually.
Veselina

At 10:13 1/21/03 +0200, Patrick Chemali wrote:
>Hello,
>I am newbie to PHP and have been trying to install PHP on my local W2k
IIS4
>until I get the chance to setup a Linux box. I used the window binary
from
>php.net with installer PHP 4.3.0 installer (CGI)
>The installation ran smoothly. and I checked for permissions although I
am
>not on NTFS .
>The IIS renders php files as regular html without executing the code
>enclosed within the <?php ?> tags
>
>I also ran c:\php\php.exe -i and it rendered indeed the proper html
document
>without any errors.
>Under the IIS Manager >> properties >>WWWService>>Home Directory>>App
>Mappings
>
>.php is already associated with c:\php\php.exe  with all verbs option
and
>script checked
>
>It just won't work !!
>any help is greatly appreciated
>thanks in advance
>
>PC
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
In many code examples in PHP documention (& others also), I have seen
authors referring to variables 'foo' & 'bar', but I have yet not discovered
the origin of these names.  I am sure there must be dozens of others who
have the curiosity to find how the use of these names started.

Can anyone quench the curiosities please?

regards,

--- End Message ---
--- Begin Message ---
Just my opinion, but I think it comes from the acronym FUBAR - f@cked up
beyond all recognition...

Mikey

> -----Original Message-----
> From: Uttam [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2003 13:29
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Who is foo & what is bar?
>
>
> In many code examples in PHP documention (& others also), I have seen
> authors referring to variables 'foo' & 'bar', but I have yet not
> discovered
> the origin of these names.  I am sure there must be dozens of others who
> have the curiosity to find how the use of these names started.
>
> Can anyone quench the curiosities please?
>
> regards,
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


--- End Message ---
--- Begin Message ---
Hehe!!!

It's one of those classic terms that spans across many languages and
dates back quite a long time. Whenever I pickup a programming book,
somewhere in there, you'll find the infamous foo and bar...

chris kranz
fatcuban.com


-----Original Message-----
From: Mikey [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 1:32 PM
To: Uttam; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Who is foo & what is bar?

Just my opinion, but I think it comes from the acronym FUBAR - f@cked up
beyond all recognition...

Mikey

> -----Original Message-----
> From: Uttam [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2003 13:29
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Who is foo & what is bar?
>
>
> In many code examples in PHP documention (& others also), I have seen
> authors referring to variables 'foo' & 'bar', but I have yet not
> discovered
> the origin of these names.  I am sure there must be dozens of others
who
> have the curiosity to find how the use of these names started.
>
> Can anyone quench the curiosities please?
>
> regards,
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
 > Just my opinion, but I think it comes from the acronym FUBAR - f@cked up
> beyond all recognition...
> 
> Mikey
> 
> > -----Original Message-----
> > From: Uttam [mailto:[EMAIL PROTECTED]]
> > Sent: 21 January 2003 13:29
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Who is foo & what is bar?
> >
> >
> > In many code examples in PHP documention (& others also), I have seen
> > authors referring to variables 'foo' & 'bar', but I have yet not
> > discovered
> > the origin of these names.  I am sure there must be dozens of others who
> > have the curiosity to find how the use of these names started.
> >
> > Can anyone quench the curiosities please?
> >
> > regards,
> >

QUOTE:

"The etymology of foobar is possibly (probably) not
derived from 'fubar'. It may even be the other direction.
Certainly in this (from 'hacker' culture) context its use
is not at all related to fubar."

REF:    http://c2.com/cgi/wiki?FooBar


"In CS/hacker circles, foobar (and others) are known as
MetasyntacticVariables. The use of such for examples and
communication has be obvious to many people, over time
convergence was somewhat achieved to the first few
being: foo, bar, baz, foobar/quux, quuux,..."

REF:    http://c2.com/cgi/wiki?FooBar



ETYMOLOGY:

1. interj. Term of disgust. 2. [very common] Used very
generally as a sample name for absolutely anything, esp.
 programs and files (esp. scratch files). 3. First on the
 standard list of metasyntactic variables used in syntax
 examples. See also bar, baz, qux, quux, corge, grault,
 garply, waldo, fred, plugh, xyzzy, thud. 

When `foo' is used in connection with `bar' it has
 generally traced to the WWII-era Army slang acronym 
FUBAR (`Fucked Up Beyond All Repair' or `Fucked Up
 Beyond All Recognition'), later modified to foobar.
 Early versions of the Jargon File interpreted this
 change as a post-war bowdlerization, but it it now
 seems more likely that FUBAR was itself a derivative
 of `foo' perhaps influenced by German `furchtbar'
 (terrible) - `foobar' may actually have been the
original form. 

For, it seems, the word `foo' itself had an immediate prewar
history in comic strips and cartoons. The earliest documented
uses were in the "Smokey Stover" comic strip published from
about 1930 to about 1952. Bill Holman, the author of the strip,
filled it with odd jokes and personal contrivances, including
other nonsense phrases such as "Notary Sojac" and "1506 nix nix".
The word "foo" frequently appeared on license plates of cars, in
nonsense sayings in the background of some frames (such as
"He who foos last foos best" or "Many smoke but foo men chew"),
and Holman had Smokey say "Where there's foo, there's fire". 

According to the Warner Brothers Cartoon Companion Holman
claimed to have found the word "foo" on the bottom of a
Chinese figurine. Thiss plausible; Chinese statuettes often
have apotropaic inscriptions, and this one was almost certainly
the Mandarin Chinese word `fu' (sometimes transliterated `foo'),
which can mean "happiness" or "prosperity" when spoken with the
rising tone (the lion-dog guardians flanking the steps of many
Chinese restaurants are properly called "fu dogs"). English
speakers' reception of Holman's `foo' nonsense word was undoubtedly
influenced by Yiddish `feh' and English `fooey' and `fool'. 


THE REST CAN BE READ AT:

        http://www.tuxedo.org/~esr/jargon/html/entry/foo.html


--- End Message ---
--- Begin Message ---
IT actually exist an RFC about the etymology of Foo:

        http://www.ietf.org/rfc/rfc3092.txt
--- End Message ---
--- Begin Message ---
Question about overriding some PHP.ini parameters. 

Since the security folks will not allow direct FTP
from a user to an external system I put up a PHP page
that will allow a user to authenticate and select from
a list the external system they would like to connect
to. Got the idea from a PHP project called 'WebFTP'.
This will allow the users to download their file.
Problem come in 2 of the PHP.ini directives. One is
the script execution timeout and the other is the
definition of the upload_tmp_dir. 

Can either or both of these be overridden for this
script? I have other scripts on this server so I don't
want to change the global script execution timeout
higher than 30 seconds. But for this FTP page I want
it to be something like 90 seconds. Basically the FTP
page needs to retrieve the file from the remote server
and store it onto a local temp folders then initiate
the POST back to the user's browser that will cause
the save as popup box. This download from the remote
site seems to timeout a lot. 

Any help or ideas?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---

Reply via email to