Re: [PHP] sessions (version 5.1 to 5.2 )

2007-10-28 Thread Robert Cummings
On Mon, 2007-10-29 at 11:15 +0800, Fritz Kuhlman wrote: > Dear PHP gurus, > > I moved to PHP from asp around version 4.something. When i tried using > sessions on my site, they just wouldn't work. No error messages, just > wouldn't work. There was a session ID generated, but if i tried > > $

[PHP] sessions (version 5.1 to 5.2 )

2007-10-28 Thread Fritz Kuhlman
Dear PHP gurus, I moved to PHP from asp around version 4.something. When i tried using sessions on my site, they just wouldn't work. No error messages, just wouldn't work. There was a session ID generated, but if i tried $_SESSION['test'] = "somedata"; check session value on

Re: [PHP] cant send mail

2007-10-28 Thread Crayon Shin Chan
On Friday 26 October 2007, Diana wrote: > The problem is I am the mail server administrator also. Fire the mailserver administrator and employ a better one? -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newline

2007-10-28 Thread heavyccasey
I use echo 'Blah blah blah blah blah.'; On 10/28/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On 10/28/07, magoo <[EMAIL PROTECTED]> wrote: > > > > Hi NG! > > > > I have switched to using single quotes, and found out that newline (\n) > > only > > works in double quotes. It looks kind of stupi

Re: [PHP] SPL

2007-10-28 Thread Børge Holen
On Sunday 28 October 2007 15:37:21 Nathan Nobbe wrote: > i suppose this is what youre looking for ? > you can tailor it to your needs of course :) > > $it = new RecursiveDirectoryIterator('.'); > $isFirstDir = true; > $fileList = array(); > $dynfile = fopen('sortedFiles', 'w+'); > $theRecursiveIte

Re: [PHP] using `php' in the name of software

2007-10-28 Thread Jochem Maas
Andrew O. Shadoura wrote: > Hello. > > Jochem Maas wrote: > >> you should ask this on [EMAIL PROTECTED] but if you ask me you >> should just call the extension netcdf e.g. it's full name would be "the >> php netcdf extension". the 'php-' is superfluous no? > > The extension itself named `netcdf'

Re: [PHP] using `php' in the name of software

2007-10-28 Thread Andrew O. Shadoura
Hello. Jochem Maas wrote: > you should ask this on [EMAIL PROTECTED] but if you ask me you > should just call the extension netcdf e.g. it's full name would be "the > php netcdf extension". the 'php-' is superfluous no? The extension itself named `netcdf', but a package name, svn project name, a

Re: [PHP] using `php' in the name of software

2007-10-28 Thread Jochem Maas
Andrew O. Shadoura wrote: > Hello. > > I'm developing an extension for PHP to support netCDF format (a special > format > for multidimensional scientific data). It is non-commercial open source > project. At http://www.php.net/license/3_01.txt it is said that I cannot name > my extension php-n

Re: [PHP] Newline

2007-10-28 Thread Nathan Nobbe
On 10/28/07, magoo <[EMAIL PROTECTED]> wrote: > > Hi NG! > > I have switched to using single quotes, and found out that newline (\n) > only > works in double quotes. It looks kind of stupid using 'someString'."\n"; > and > it`s kind of inconsistent using double quotes for some lines like > "someStr

Re: [PHP] SPL

2007-10-28 Thread Nathan Nobbe
i suppose this is what youre looking for ? you can tailor it to your needs of course :) isDir()){ /// drop the name of the directory into the results fwrite($dynfile, 'Directory: ' . (string) $path . PHP_EOL); if($isFirstDir) { // just update t

[PHP] using `php' in the name of software

2007-10-28 Thread Andrew O. Shadoura
Hello. I'm developing an extension for PHP to support netCDF format (a special format for multidimensional scientific data). It is non-commercial open source project. At http://www.php.net/license/3_01.txt it is said that I cannot name my extension php-netcdf unless you permit. So, I'm asking y

[PHP] Newline

2007-10-28 Thread magoo
Hi NG! I have switched to using single quotes, and found out that newline (\n) only works in double quotes. It looks kind of stupid using 'someString'."\n"; and it`s kind of inconsistent using double quotes for some lines like "someString\n";. What`s the best way to get a consitent code? --

Re: [PHP] SPL

2007-10-28 Thread Børge Holen
On Sunday 28 October 2007 07:27:53 you wrote: > Børge Holen wrote: > > I found this code at php.net witch needs very little modifications and > > can do so much, but I can't figure out how to make it read alphabeticly > > as mentioned > > > > $it = new RecursiveDirectoryIterator($_GET['

Re: [PHP] SPL

2007-10-28 Thread Børge Holen
On Sunday 28 October 2007 02:57:13 Jochem Maas wrote: > Børge Holen wrote: > > On Sunday 28 October 2007 01:32:15 you wrote: > >> On 10/27/07, Børge Holen <[EMAIL PROTECTED]> wrote: > >>> I'm currently using RecursiveDirectoryIterator and > >>> RecursiveIteratorIterator. > >>> I'm using fwrite to w