[PHP-WIN] Session + IIS

2002-05-07 Thread Maurice
Hi, I'm having some troubles with sessions and PHP 4.1.2 in IIS 5 under WinNT. I'm using the standard session functions from php. $cookie_params = session_get_cookie_params(); session_set_cookie_params($cookie_params["lifetime"],dirname($SCRIPT_NAME)); session_start(); session_register("g_sessi

Re: [PHP-WIN] Can you use file() and rtrim() together

2002-05-07 Thread blulagoon
Sadly what Olivier suggests below doesn't work and generates the following error message .. Warning: Array to string conversion in d:\program files\apache group\apache\htdocs\..\products.php on line 10 It seems that rtrim is converting the array created by @file into a string. What I

[PHP-WIN] stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread toby z
ok ... im lost .. i've been working on my site i've xp & iis 5 & php 4.1.2 now the server that im going to launch my site on is unix based .. which i think works with apache alone ... now i guess im stuck . what do i do now .. convert all my hard work to unix and apa

php-windows Digest 7 May 2002 13:28:28 -0000 Issue 1132

2002-05-07 Thread php-windows-digest-help
php-windows Digest 7 May 2002 13:28:28 - Issue 1132 Topics (messages 13581 through 13590): Re: Shutting down Apache on Windows 13581 by: Brad Thomas Re: Download monitor 13582 by: Webmaster results over multiple pages 13583 by: RS Herhuth 13584 by: Hugh Bot

Re: [PHP-WIN] stuck between operating systems & web servers ! ! !!

2002-05-07 Thread Rasmus Lerdorf
What are you doing that is Windows-specific? On Tue, 7 May 2002, [iso-8859-1] toby z wrote: > > ok ... im lost .. > > i've been working on my site i've xp & iis 5 & > php 4.1.2 > now the server that im going to launch my site on is > unix based .. which i think works with > apache a

Re: [PHP-WIN] stuck between operating systems & web servers ! ! !!

2002-05-07 Thread Scott St. John
Unless you are doing COM or something Windows specific you should have little trouble. On Tue, 7 May 2002, toby z wrote: > > ok ... im lost .. > > i've been working on my site i've xp & iis 5 & > php 4.1.2 > now the server that im going to launch my site on is > unix based .. w

[PHP-WIN] Re: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread blulagoon
I don't think you should have to change any of the php or html. Frontpage extensions, asp etc. could be a problem. Blu. Toby z wrote: > ok ... im lost .. > > i've been working on my site i've xp & iis 5 & > php 4.1.2 > now the server that im going to launch my site on is > unix based .

[PHP-WIN] RE: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread Brinkman, Theodore
I'm not an expert, so somebody correct me if I'm wrong, but... Assuming the site is running a recent enough version of PHP so you aren't using any features newer than it, the only things you should have to change would probably be path related. - Theo -Original Message- From: to

[PHP-WIN] Re: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread Webmaster
Ok I will show you the way ! Go next pothole to the right, second tree left... somewere there is a computer store :) Webmaster "Toby z" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > ok ... im lost .. > > i've been working on my site i've xp & ii

Re: [PHP-WIN] RE: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread George Pitcher
Having just gone through the process of moving a php site from Win 2K to Linux, the thing that caught me out was case sensitivity but it only took about 30 minutes to sort out (40 pages). George in Edinburgh - Original Message - From: "Brinkman, Theodore" <[EMAIL PROTECTED]> To: "php hlp

[PHP-WIN] MySQL Query from PHP - CPU Cost?

2002-05-07 Thread Matt Babineau
Is there a way to get the cost in cpu cycles or the milliseconds it takes to process a query and output that statistic in PHP? Or maybe the processing time of the whole page? Matt Babineau Freelance Internet Developer - e: [EMAI

Re: [PHP-WIN] Can you use file() and rtrim() together

2002-05-07 Thread blulagoon
A big thank you to Stuart who contributed . $myArray = @file('text_file'); foreach ($myArray as $key=>$val) { $myArray[$key] = rtrim($val, "\n"); } I can now go and play with my asfunction:myfunction param1|param2 which is what was being screwed by the line feeds. Blu. -- PHP Window

RE: [PHP-WIN] stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread Svensson, B.A.T. (HKG)
> now i guess im stuck . what do i do now .. > convert all my hard work to unix and apache > i believe i will have to change every single line of > code i've coded ... or what > & if i have to is there an easier way about it > ... > > guyz i'll appreciate any wor

RE: [PHP-WIN] MySQL Query from PHP - CPU Cost?

2002-05-07 Thread Svensson, B.A.T. (HKG)
> Is there a way to get the cost in cpu cycles or the milliseconds it > takes to process a query and output that statistic in PHP? Or maybe the > processing time of the whole page? The most naive approach is the brute force test: Run the query and count the time it toke to execute it. However thi

Re: [PHP-WIN] RE: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread olinux
This may help you - Domain Migration to a Unix Server http://www.webmasterbase.com/article/557 olinux --- "Brinkman, Theodore" <[EMAIL PROTECTED]> wrote: > I'm not an expert, so somebody correct me if I'm > wrong, but... > > Assuming the site is running a recent enough version > of PHP so you

RE: [PHP-WIN] MySQL Query from PHP - CPU Cost?

2002-05-07 Thread Robin Bolton
well I'm not sure how you would acomplish the first two tasks, but you can at least get an accurate feel for how long a page (or section of code) takes to execute. There are several timer classes available, the one I use is called Deathead's Timer, wich you can download from: http://www.phpclasse