php-windows Digest 22 Jan 2003 13:59:49 -0000 Issue 1549

Topics (messages 18020 through 18029):

removing special charaters from a string
        18020 by: Matt Babineau

Re: Who is foo & what is bar?
        18021 by: Woolsey, Fred
        18022 by: Woolsey, Fred
        18029 by: Piotr Pluciennik

Re: PHP on IIS4 problem
        18023 by: Sean Malloy
        18024 by: Frank M. Kromann

why php_mcrypt.dll can not work in php 4.3 on Win2K+iis
        18025 by: yuegong
        18028 by: Edin Kadribasic

expensive mysql hosting
        18026 by: krizz
        18027 by: Brian McGarvie

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 ---
I have a variable i am pulling from a url, but i want to make sure no
one can hack my pages using the sql url hack. Does anyone have a good
way to strip out any special characters? like: ',",;,:,/,.,&, etc...
 
Thanks,
Matt
--- End Message ---
--- Begin Message ---
I'm pretty certain it is one of those brilliant, sarcastic military acronymns like 
SNAFU (situation normal, all f@#$%d up), as alluded to by Mikey- however, I believe 
the correct meaning is f@#$%d up beyond all repair.  Witness the following 
hypothetical exchanges:
 
"So soldier, what's the sitrep?"
"SNAFU, sir..."
 
and
 
"How bad is it, soldier?"
"Well sir, I'm afraid it's FUBAR..."
 
Phonetically, FUBAR was simplified to FOOBAR, which allowed it to be parsed into FOO 
and BAR by standard software :-{)>
 
Cheers,
Fred Woolsey

        -----Original Message----- 
        From: Chris Kranz [mailto:[EMAIL PROTECTED]] 
        Sent: Tue 1/21/2003 8:35 AM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: RE: [PHP-WIN] Who is foo & what is bar?
        
        

        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
        
        
        
        
        --
        PHP Windows Mailing List (http://www.php.net/)
        To unsubscribe, visit: http://www.php.net/unsub.php
        
        

--- End Message ---
--- Begin Message ---
MC,
 
Whatever happened to good ole' x, y and z???
 
Anywho, I am quite certain of the military origin of "FUBAR" and "SNAFU", but leave it 
to softwarians to expropriate the former term, change the spelling to FOOBAR, then 
divide it into the now legendary FOO and BAR.  Who knows, maybe Grace Hopper  (of USN, 
FORTRAN, and ENIAC fame) first forked FOOBAR into FOO | BAR???
 
Cheers,
Fred Woolsey

        -----Original Message----- 
        From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] 
        Sent: Tue 1/21/2003 7:10 PM 
        To: Woolsey, Fred 
        Cc: 
        Subject: RE: [PHP-WIN] Who is foo & what is bar?
        
        


        I think a few of you are slightly off (or perhaps I am about to be).  I
        learned a while back that 'foo' and 'bar' are not just terms in
        programming, but in general science where variables are concerned.
        
        Suppose, for example, you are trying to define this awesome formula for
        perpetual motion, and in your research you have to explain a function to
        your colleagues.  In order to keep the level of confusion low, you would
        use the terms 'foo' and 'bar' to illustrate instances, variables,
        etcetera, and your audience would also understand that you are referring
        to such instances in a hypothetical manner, rather than realistically.
        
        In other words, if you mention 'foo' and 'bar' in a conversation, your
        listener would assume a hypothetical instance of whatever you subject
        may be.
        
        Or something to that effect...
        
        
        Matthew Clark
        Divergent Systems Incorporated
        
        -----Original Message-----
        From: Woolsey, Fred [mailto:[EMAIL PROTECTED]]
        Sent: Tuesday, January 21, 2003 5:59 PM
        To: [EMAIL PROTECTED]
        Subject: RE: [PHP-WIN] Who is foo & what is bar?
        
        I'm pretty certain it is one of those brilliant, sarcastic military
        acronymns like SNAFU (situation normal, all f@#$%d up), as alluded to by
        Mikey- however, I believe the correct meaning is f@#$%d up beyond all
        repair.  Witness the following hypothetical exchanges:
        
        "So soldier, what's the sitrep?"
        "SNAFU, sir..."
        
        and
        
        "How bad is it, soldier?"
        "Well sir, I'm afraid it's FUBAR..."
        
        Phonetically, FUBAR was simplified to FOOBAR, which allowed it to be
        parsed into FOO and BAR by standard software :-{)>
        
        Cheers,
        Fred Woolsey
        
                -----Original Message-----
                From: Chris Kranz [mailto:[EMAIL PROTECTED]]
                Sent: Tue 1/21/2003 8:35 AM
                To: [EMAIL PROTECTED]
                Cc:
                Subject: RE: [PHP-WIN] Who is foo & what is bar?
               
               
        
                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
               
               
               
               
                --
                PHP Windows Mailing List (http://www.php.net/)
                To unsubscribe, visit: http://www.php.net/unsub.php
               
               
        
        
        

--- End Message ---
--- Begin Message ---
Hmm.. :-))

but I'm afraid it's not only IT technology question
:-) If you've remember in "Saving Private Ryan" movie
this question apperars there a lot of times... "What
is foobar?" 
So, what the f**k is foobar? :-)

--- Uttam <[EMAIL PROTECTED]> wrote:
> 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
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
If you are usiong the PHP.EXE binary instead of the ISAPI module.

.php should be mapped to:

c:\php\php.exe "%1"

so IIS passes the document to PHP as an argument.

-----Original Message-----
From: Patrick Chemali [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 January 2003 7:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP on IIS4 problem


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 ---
Hi,

This is not true for php4. Both cgi and isapi versions can be mapped
without any extensions. You have to make sure it is the CGI binary you are
mapping to and not the CLI.

- Frank

> If you are usiong the PHP.EXE binary instead of the ISAPI module.
> 
> .php should be mapped to:
> 
> c:\php\php.exe "%1"
> 
> so IIS passes the document to PHP as an argument.
> 
> -----Original Message-----
> From: Patrick Chemali [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 21 January 2003 7:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP on IIS4 problem
> 
> 
> 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 ---
I download php 4.3.0 from php.net, zip file, more than 5M.
And my PHP dir is d:\php, the php.ini is also in this dir. I enabled gd2.dll and 
mcrypt.dll in php.ini , the browser display this message :
PHP Warning: Unknown(): Unable to load dynamic library 'd:\php\php_mcrypt.dll',
 
but the gd2.dll can work.

can anyone tell me why?

regards


--- End Message ---
--- Begin Message ---
You need newer module/.dlls available from:

http://ftp.proventum.net/pub/php/win32/misc/mcrypt/php-4.3-mcrypt.zi
p

Edin

----- Original Message -----
From: "yuegong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 6:09 AM
Subject: [PHP-WIN] why php_mcrypt.dll can not work in php 4.3 on
Win2K+iis


> I download php 4.3.0 from php.net, zip file, more than 5M.
> And my PHP dir is d:\php, the php.ini is also in this dir. I
enabled gd2.dll and mcrypt.dll in php.ini , the browser display this
message :
> PHP Warning: Unknown(): Unable to load dynamic library
'd:\php\php_mcrypt.dll',
>
> but the gd2.dll can work.
>
> can anyone tell me why?
>
> regards
>
>
>

--- End Message ---
--- Begin Message ---
I'd like ask what is the alternative of an mysql dbs in php. I mean in asp
they use mdb (aceess files). What can we use in php for a cheaper hosting?
If you have any documentations or tutorials on the net about it, it will
help much.

thanks,
krizz


--- End Message ---
--- Begin Message ---
PHP can be used with use virtually any i.e.:

MySQL, PostgreSQL, Microsoft Access, Oracle, Microsoft SQL Server, Sybase,
Informix, FoxPro, FrontBase, Interbase, DB2, ADO and ODBC.

This is not an exhaustive list it can support many others via ODBC, ADO etc
etc...

"Krizz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'd like ask what is the alternative of an mysql dbs in php. I mean in asp
> they use mdb (aceess files). What can we use in php for a cheaper hosting?
> If you have any documentations or tutorials on the net about it, it will
> help much.
>
> thanks,
> krizz
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.438 / Virus Database: 246 - Release Date: 07/01/03


--- End Message ---

Reply via email to