Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > Too late for that, too.. in addition to providing web hosting for > hundreds of sites, we are also a web development company and have 2 > major websites out there using extended php 4.1 features. > > We need STD_DES, and it appears that PHP 4.1 has switche

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > It's too late for that. And I don't believe that the system's crypt() > function just magically changed at exactly the same time we upgraded to > PHP 4.1 According to the crypt() man page, crypt() can use four methods of encryption: CRYPT_STD_DES - Sta

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > Is there any way to force PHP 4.1's crypt to generate crypt's with > 2-letter salts? We've written some apps that do things the hack way -- > if (crypt($pass,substr($pass,0,2)) == $cryptpass) -- and changing all of > them to work the extended way is a real

Re: [PHP] Hiding URL address

2001-12-27 Thread Patrik Wallstrom
On Thu, 27 Dec 2001, Matias Banzas wrote: > Hiow can i do 2 hide the real Filename / Url of a file? > Ive seen it donde in lots of places... > i need this 2 show some images and hide the real Location of them > Anyone can help me? Create a php script that reads the file and feeds it to the user.

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Patrik Wallstrom
On Wed, 28 Nov 2001, Kurt Lieber wrote: > > I'll hold off, but people will still try stuff like that. I'm not trying > > to tell ya what to do, but I've found it best never to put files with > > release-names in their primary download spots, regardless of how hidden > > they may seem, until your

Re: [PHP] Questions about php.ini

2001-11-02 Thread Patrik Wallstrom
On Fri, 2 Nov 2001, jennyw wrote: > I've signed up with a dedicated Web host that has PHP installed. The weird > thing is that there is no php.ini anywhere. Is the file optional? Everything > seems to be behaving okay. > > I have several Web sites that I'm setting up. Is it possible to use > diff

Re: [PHP] Potential bug?

2001-08-04 Thread Patrik Wallstrom
ce problem, but otherwise this is a feature of a default installation of apache. Turn off MultiViews for the directories with this problem (or globally in httpd.conf). http://httpd.apache.org/docs/mod/mod_negotiation.html -- patrik wallstrom | f o o d f i g h t tel: +46-8-6188428

Re: [PHP] Adding elements to an array

2001-07-17 Thread Patrik Wallstrom
nfo on arrays from the php docs: http://php.net/manual/en/language.types.array.php -- patrik wallstrom | f o o d f i g h t tel: +46-8-6188428 | s t o c k h o l m gsm: +46-708405080 | - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] Can anyone explain what this does?

2001-07-15 Thread Patrik Wallstrom
sing, and you are referencing the objects variable $file with $this->file. For more on classes and objects, read here: http://php.net/manual/en/language.oop.php -- patrik wallstrom | f o o d f i g h t tel: +46-8-6188428 | s t o c k h o l m gsm: +46-708405080 | - - - - -

RE: [PHP] Uptime script?

2001-05-16 Thread Patrik Wallstrom
WinNT? For Linux it is easy, just read the /proc/uptime file: $uptimevalues = file("/proc/uptime"); The first value from /proc/uptime is the uptime, the second is the idle time for the cpu. NT is harder. I don't know anything about that. -- patrik wallstrom | f o o d f i

[PHP] optimizing mysql with php

2001-02-08 Thread Patrik Wallstrom
ehind this setting? Are there any other Apache/PHP-related settings I should think about? -- patrik wallstrom | system design tel: +46-8-7298810 | sonox.com gsm: +46-708405080 | - - - - - - - - - fax: +46-859820060 | a division of new media distribution --