[PHP-WIN] IRC & SOCKETS

2003-10-07 Thread Paulo Nunes
I am trying to implement a chat to my page. Using reloading is out of the
question.
I was indicated this technology, iFrame, wich i am liking (does anyone knows
better?).
But my problem is: how do i manage that everyone sees what user X just wrote
and sent? I was checking socket functions, but i am a litle lost in here.
Could anyone help me?
Thanks a lot!!!

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



[PHP-WIN] Re: IRC & SOCKETS

2003-10-07 Thread Rahman Haqparast
use a temporary table in a mySQL database.

"Paulo Nunes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to implement a chat to my page. Using reloading is out of the
> question.
> I was indicated this technology, iFrame, wich i am liking (does anyone
knows
> better?).
> But my problem is: how do i manage that everyone sees what user X just
wrote
> and sent? I was checking socket functions, but i am a litle lost in here.
> Could anyone help me?
> Thanks a lot!!!

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



[PHP-WIN] Problem with special characters

2003-10-07 Thread ojje johansson
Anyone having ide why special characters suddenly doesnt work on my apache 
(on win2k). I wont return letter like "'e" and swedish characters öåä from 
mssql 2000. It worked before but after i have unistalled zonealarm and run 
windows update, and installed win 2000 server client tool's php wont 
recognize those characters right. The characters im talking about is stored 
on a windows 2000 server (on win 2000), see function downbelow. Can the 
windows update change the unicode on the webserver?

Here is a function that is used to store the special characters:

function changeCharSweToDb($string){
$string = ereg_replace ("å", "†", $string);
$string = ereg_replace ('ä', '„', $string);
$string = ereg_replace ('ö', '”', $string);
$string = ereg_replace ("Å", "", $string);
$string = ereg_replace ("Ä", "Ž", $string);
$string = ereg_replace ("Ö", "™", $string);
$string = str_replace ('"', '"', $string);
return $string;
}
Any ideas?
/orjan

_
Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP-WIN] Every 1008th character is missing???

2003-10-07 Thread Disko_kex
I tried with 4.3.2 and 4.3.3 and its not working, but with php 5 is
working, but then I cant get my mysql to work with php 5.  What server
are you using? And ideas why some characters is missing?



-Original Message-
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] 
Sent: den 6 oktober 2003 15:56
To: Disko_kex; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Every 1008th character is missing???

I just tried it on my server with both PHP 4.3.2 and 4.3.3 and I got the
last 5.  The only thing I changed was the email address to send to.

Charles

-Original Message-
From: Disko_kex [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Every 1008th character is missing???


Why is every 1008th character missing when Im tring to send an email?
 
mail("[EMAIL PROTECTED]", "test","
123456789012345678901234567890123456789012345678901234567890123456789012
345678901234567890123456789012345678901234567890123456789123456789012345
678901234567890123456789012345678901234567890123456789012345678901234567
890123456789012345678901234567890123456789123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012
345678901234567890123456789123456789012345678901234567890123456789012345
678901234567890123456789012345678901234567890123456789012345678901234567
890123456789123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789123
456789012345678901234567890123456789012345678901234567890123456789012345
678901234567890123456789012345678901234567890123456789123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789123456789012345678901234567890123
456789012345678901234567890123456789012345678901234567890123456789012345
", "From: Redaktionen <[EMAIL PROTECTED]>\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html; charset=iso-8859-1\r\n"
."Reply-To: [EMAIL PROTECTED]"
."X-Mailer: PHP/" . phpversion());
 
 
The last "5" is missing. Im tring to send newletters to my customers
thru HTML formated emils, and because 1008th character is missing the
source gets pretty fuckt up.
 
Anyone got any ideas what I should do??

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



RE: [PHP-WIN] Every 1008th character is missing???

2003-10-07 Thread Disko_kex
Yes I did that, I noticed that "!" appered after some chars. But I still
don't have a clue about the missing chars. :/



-Original Message-
From: Andrei Popovici [mailto:[EMAIL PROTECTED] 
Sent: den 7 oktober 2003 15:15
To: Disko_kex
Subject: Re: [PHP-WIN] Every 1008th character is missing???

Try adding an "\r\n" at the end of every line  of HTML code.
I had the same problem and that worked for me.

- Original Message -
From: "Disko_kex" <[EMAIL PROTECTED]>
To: "'Charles P. Killmer'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 1:46 PM
Subject: RE: [PHP-WIN] Every 1008th character is missing???


> I tried with 4.3.2 and 4.3.3 and its not working, but with php 5 is
> working, but then I cant get my mysql to work with php 5.  What server
> are you using? And ideas why some characters is missing?
>
>
>
> -Original Message-
> From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
> Sent: den 6 oktober 2003 15:56
> To: Disko_kex; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Every 1008th character is missing???
>
> I just tried it on my server with both PHP 4.3.2 and 4.3.3 and I got
the
> last 5.  The only thing I changed was the email address to send to.
>
> Charles
>
> -Original Message-
> From: Disko_kex [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 06, 2003 8:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Every 1008th character is missing???
>
>
> Why is every 1008th character missing when Im tring to send an email?
>
> mail("[EMAIL PROTECTED]", "test","
>
123456789012345678901234567890123456789012345678901234567890123456789012
>
345678901234567890123456789012345678901234567890123456789123456789012345
>
678901234567890123456789012345678901234567890123456789012345678901234567
>
890123456789012345678901234567890123456789123456789012345678901234567890
>
123456789012345678901234567890123456789012345678901234567890123456789012
>
345678901234567890123456789123456789012345678901234567890123456789012345
>
678901234567890123456789012345678901234567890123456789012345678901234567
>
890123456789123456789012345678901234567890123456789012345678901234567890
>
123456789012345678901234567890123456789012345678901234567890123456789123
>
456789012345678901234567890123456789012345678901234567890123456789012345
>
678901234567890123456789012345678901234567890123456789123456789012345678
>
901234567890123456789012345678901234567890123456789012345678901234567890
>
123456789012345678901234567890123456789123456789012345678901234567890123
>
456789012345678901234567890123456789012345678901234567890123456789012345
> ", "From: Redaktionen <[EMAIL PROTECTED]>\r\n"
> ."MIME-Version: 1.0\r\n"
> ."Content-type: text/html; charset=iso-8859-1\r\n"
> ."Reply-To: [EMAIL PROTECTED]"
> ."X-Mailer: PHP/" . phpversion());
>
>
> The last "5" is missing. Im tring to send newletters to my customers
> thru HTML formated emils, and because 1008th character is missing the
> source gets pretty fuckt up.
>
> Anyone got any ideas what I should do??
>
> --
> 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



RE: [PHP-WIN] Re: timeout question

2003-10-07 Thread Disko_kex
I had that problem too. 

set_time_limit = 0 ; in php.ini

and 

Timeout 0 # in httpd.conf


// jocke



-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED] 
Sent: den 7 oktober 2003 06:55
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: timeout question

see in php.ini

max_execution_time = 30 ; Maximum execution time of each script, in 
seconds

or

set_time_limit (PHP 3, PHP 4 )

limit the maximum execution time

void set_time_limit (int seconds)

Set the number of seconds a script is allowed to run. If this is 
reached, the script returns a fatal error.
The default limit is 30 seconds or, if it exists, the max_execution_time

value defined in the configuration
file. If seconds is set to zero, no time limit is imposed.
When called, set_time_limit() restarts the timeout counter from zero. In

other words, if the timeout is
the default 30 seconds, and 25 seconds into script execution a call such

as set_time_limit(20) is made,
the script will run for a total of 45 seconds before timing out.
Note that set_time_limit() has no effect when PHP is running in safe 
mode. There is no workaround
other than turning off safe mode or changing the time limit in the 
configuration file.

Jochem


David Coleman wrote:
> I have a PHP page that for some reason is taking an ungodly long time
to
> execute.  I suspect that this is simply b/c I'm running Apache 1.3 /
> MySQL 4.013-nt, PHP 4, Zend studio 3.0, and MySQL GUI on a 266 MhZ
win2K
> server.  (Yes people, I know I'm choking the poor thing, but I can't
> afford a new server right now.)
>  
> My question to the group is:
>  
> Does anyone know how I can increase my timeouts on page generation?
> Halfway through the rowset, the page stops generating and returns to
the
> browser cut off at whatever point the server (apache, PHP or MySQL, I
> dunno which) gave up and decided the page was taking too long.  It
seems
> to be a 90 second html response timeout imbedded somewhere in my
> configuration, but I have no idea where to look to change this value
to
> unlimited, or maybe to 600 seconds or something more reasonable for
the
> hideous rowsets that my project is dealing with.
>  
> I don't know if this is a PHP question, but I'm trying PHP, Apache,
and
> MySQL in case there is a cursor timeout or something.
>  
> Anyone feel like sharing some nifty tricks to help me tweak my
> performance?  I don't care if the page takes 10 hours to generate, I'm
> on a local secure network and I want my connections open that long.
> (I'd also like to know if there's any tricks to not using cursors and
> loading re-usable recordset-style objects into mysql_result variables,
> so I don't have to hit the db every time I want to re-use a loaded
> rowset.  But let's get my pages to finish generating first.
>  
> :-)
>  
> Thanks a bunch everyone!
>  
> Dave Coleman
> Software Engineer
> TeraByte Software Solutions LLC
> [EMAIL PROTECTED]
>  
>  
>  
> Thanx everyone,
> Dave
>  
> 

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



RE: [PHP-WIN] Every 1008th character is missing???

2003-10-07 Thread Svensson, B.A.T. (HKG)
Was the e-mail address shortened by 5 chars?


On Tue, 2003-10-07 at 13:46, Disko_kex wrote:
> I tried with 4.3.2 and 4.3.3 and its not working, but with php 5 is
> working, but then I cant get my mysql to work with php 5.  What server
> are you using? And ideas why some characters is missing?
> 
> 
> 
> -Original Message-
> From: Charles P. Killmer [mailto:[EMAIL PROTECTED] 
> Sent: den 6 oktober 2003 15:56
> To: Disko_kex; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Every 1008th character is missing???
> 
> I just tried it on my server with both PHP 4.3.2 and 4.3.3 and I got the
> last 5.  The only thing I changed was the email address to send to.
> 
> Charles
> 
> -Original Message-
> From: Disko_kex [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 06, 2003 8:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Every 1008th character is missing???
> 
> 
> Why is every 1008th character missing when Im tring to send an email?
>  
> mail("[EMAIL PROTECTED]", "test","
> 123456789012345678901234567890123456789012345678901234567890123456789012
> 345678901234567890123456789012345678901234567890123456789123456789012345
> 678901234567890123456789012345678901234567890123456789012345678901234567
> 890123456789012345678901234567890123456789123456789012345678901234567890
> 123456789012345678901234567890123456789012345678901234567890123456789012
> 345678901234567890123456789123456789012345678901234567890123456789012345
> 678901234567890123456789012345678901234567890123456789012345678901234567
> 890123456789123456789012345678901234567890123456789012345678901234567890
> 123456789012345678901234567890123456789012345678901234567890123456789123
> 456789012345678901234567890123456789012345678901234567890123456789012345
> 678901234567890123456789012345678901234567890123456789123456789012345678
> 901234567890123456789012345678901234567890123456789012345678901234567890
> 123456789012345678901234567890123456789123456789012345678901234567890123
> 456789012345678901234567890123456789012345678901234567890123456789012345
> ", "From: Redaktionen <[EMAIL PROTECTED]>\r\n"
> ."MIME-Version: 1.0\r\n"
> ."Content-type: text/html; charset=iso-8859-1\r\n"
> ."Reply-To: [EMAIL PROTECTED]"
> ."X-Mailer: PHP/" . phpversion());
>  
> 
> The last "5" is missing. Im tring to send newletters to my customers
> thru HTML formated emils, and because 1008th character is missing the
> source gets pretty fuckt up.
>  
> Anyone got any ideas what I should do??
> 
> -- 
> 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



RE: [PHP-WIN] Every 1008th character is missing???

2003-10-07 Thread Charles P. Killmer
No it was lengthened by 12 characters.  And I checked and the email did
contain 1008 characters.  So it didn't miss any in my test.

-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 07, 2003 8:49 AM
To: Disko_kex
Cc: Charles P. Killmer; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Every 1008th character is missing???


Was the e-mail address shortened by 5 chars?


On Tue, 2003-10-07 at 13:46, Disko_kex wrote:
> I tried with 4.3.2 and 4.3.3 and its not working, but with php 5 is 
> working, but then I cant get my mysql to work with php 5.  What server

> are you using? And ideas why some characters is missing?
> 
> 
> 
> -Original Message-
> From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
> Sent: den 6 oktober 2003 15:56
> To: Disko_kex; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Every 1008th character is missing???
> 
> I just tried it on my server with both PHP 4.3.2 and 4.3.3 and I got 
> the last 5.  The only thing I changed was the email address to send 
> to.
> 
> Charles
> 
> -Original Message-
> From: Disko_kex [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 06, 2003 8:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Every 1008th character is missing???
> 
> 
> Why is every 1008th character missing when Im tring to send an email?
>  
> mail("[EMAIL PROTECTED]", "test"," 
> 1234567890123456789012345678901234567890123456789012345678901234567890
> 12
>
345678901234567890123456789012345678901234567890123456789123456789012345
>
678901234567890123456789012345678901234567890123456789012345678901234567
>
890123456789012345678901234567890123456789123456789012345678901234567890
>
123456789012345678901234567890123456789012345678901234567890123456789012
>
345678901234567890123456789123456789012345678901234567890123456789012345
>
678901234567890123456789012345678901234567890123456789012345678901234567
>
890123456789123456789012345678901234567890123456789012345678901234567890
>
123456789012345678901234567890123456789012345678901234567890123456789123
>
456789012345678901234567890123456789012345678901234567890123456789012345
>
678901234567890123456789012345678901234567890123456789123456789012345678
>
901234567890123456789012345678901234567890123456789012345678901234567890
>
123456789012345678901234567890123456789123456789012345678901234567890123
>
456789012345678901234567890123456789012345678901234567890123456789012345
> ", "From: Redaktionen <[EMAIL PROTECTED]>\r\n"
> ."MIME-Version: 1.0\r\n"
> ."Content-type: text/html; charset=iso-8859-1\r\n"
> ."Reply-To: [EMAIL PROTECTED]"
> ."X-Mailer: PHP/" . phpversion());
>  
> 
> The last "5" is missing. Im tring to send newletters to my customers 
> thru HTML formated emils, and because 1008th character is missing the 
> source gets pretty fuckt up.
>  
> Anyone got any ideas what I should do??
> 
> --
> 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-WIN] Session Managment

2003-10-07 Thread Kevin
I have setup a php page to use mysql and PHP's session handling. The logon
page displays just fine but when I try and log into the page IE give me the
page can not be displayed. I have the session.save_handler set to files and
the session save path set to C:\tmp. Any ideas what I am doing wrong?


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



[PHP-WIN] Re: Session Managment

2003-10-07 Thread Rahman Haqparast
Does your C:\tmp exist?

"Kevin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have setup a php page to use mysql and PHP's session handling. The logon
> page displays just fine but when I try and log into the page IE give me
the
> page can not be displayed. I have the session.save_handler set to files
and
> the session save path set to C:\tmp. Any ideas what I am doing wrong?
>

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



php-windows Digest 7 Oct 2003 17:47:02 -0000 Issue 1945

2003-10-07 Thread php-windows-digest-help

php-windows Digest 7 Oct 2003 17:47:02 - Issue 1945

Topics (messages 21705 through 21716):

Re: timeout question
21705 by: J.Veenhuijsen
21712 by: Disko_kex

Re: Problem with my PHPNuke Site
21706 by: Wolfgang Schneider

IRC & SOCKETS
21707 by: Paulo Nunes
21708 by: Rahman Haqparast

Problem with special characters
21709 by: ojje johansson

Re: Every 1008th character is missing???
21710 by: Disko_kex
21711 by: Disko_kex
21713 by: Svensson, B.A.T. (HKG)
21714 by: Charles P. Killmer

Session Managment
21715 by: Kevin
21716 by: Rahman Haqparast

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 ---
see in php.ini

max_execution_time = 30 ; Maximum execution time of each script, in 
seconds

or

set_time_limit (PHP 3, PHP 4 )

limit the maximum execution time

void set_time_limit (int seconds)

Set the number of seconds a script is allowed to run. If this is 
reached, the script returns a fatal error.
The default limit is 30 seconds or, if it exists, the max_execution_time 
value defined in the configuration
file. If seconds is set to zero, no time limit is imposed.
When called, set_time_limit() restarts the timeout counter from zero. In 
other words, if the timeout is
the default 30 seconds, and 25 seconds into script execution a call such 
as set_time_limit(20) is made,
the script will run for a total of 45 seconds before timing out.
Note that set_time_limit() has no effect when PHP is running in safe 
mode. There is no workaround
other than turning off safe mode or changing the time limit in the 
configuration file.

Jochem

David Coleman wrote:
I have a PHP page that for some reason is taking an ungodly long time to
execute.  I suspect that this is simply b/c I’m running Apache 1.3 /
MySQL 4.013-nt, PHP 4, Zend studio 3.0, and MySQL GUI on a 266 MhZ win2K
server.  (Yes people, I know I’m choking the poor thing, but I can’t
afford a new server right now.)
 
My question to the group is:
 
Does anyone know how I can increase my timeouts on page generation?
Halfway through the rowset, the page stops generating and returns to the
browser cut off at whatever point the server (apache, PHP or MySQL, I
dunno which) gave up and decided the page was taking too long.  It seems
to be a 90 second html response timeout imbedded somewhere in my
configuration, but I have no idea where to look to change this value to
unlimited, or maybe to 600 seconds or something more reasonable for the
hideous rowsets that my project is dealing with.
 
I don’t know if this is a PHP question, but I’m trying PHP, Apache, and
MySQL in case there is a cursor timeout or something…
 
Anyone feel like sharing some nifty tricks to help me tweak my
performance?  I don’t care if the page takes 10 hours to generate, I’m
on a local secure network and I want my connections open that long.
(I’d also like to know if there’s any tricks to not using cursors and
loading re-usable recordset-style objects into mysql_result variables,
so I don’t have to hit the db every time I want to re-use a loaded
rowset.  But let’s get my pages to finish generating first.
 
:-)
 
Thanks a bunch everyone!
 
Dave Coleman
Software Engineer
TeraByte Software Solutions LLC
[EMAIL PROTECTED]
 
 
 
Thanx everyone,
Dave
 

--- End Message ---
--- Begin Message ---
I had that problem too. 

set_time_limit = 0 ; in php.ini

and 

Timeout 0 # in httpd.conf


// jocke



-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED] 
Sent: den 7 oktober 2003 06:55
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: timeout question

see in php.ini

max_execution_time = 30 ; Maximum execution time of each script, in 
seconds

or

set_time_limit (PHP 3, PHP 4 )

limit the maximum execution time

void set_time_limit (int seconds)

Set the number of seconds a script is allowed to run. If this is 
reached, the script returns a fatal error.
The default limit is 30 seconds or, if it exists, the max_execution_time

value defined in the configuration
file. If seconds is set to zero, no time limit is imposed.
When called, set_time_limit() restarts the timeout counter from zero. In

other words, if the timeout is
the default 30 seconds, and 25 seconds into script execution a call such

as set_time_limit(20) is made,
the script will run for a total of 45 seconds before timing out.
Note that set_time_limit() has no effect when PHP is running in safe 
mode. There is no workaround
other than turning off safe mode or changing the time limit in the 
configuration file.

Jochem


David Coleman wrote:
> I have a PHP page that for some reason is taking an ungodly long time
to
> execute.  I suspect that this is simply b/c I'm running Apache 1.3 /
> MySQL 4

[PHP-WIN] Error 404 problem

2003-10-07 Thread Rahman Haqparast
Hi.
I have this funny problem. I recieve Error 404 (page not found) when I call
the php files in a newly created folder. I have set my IIS so I can browse
my web folders. It shows the newly created folder but when I click on the
files in the folder, I recieve Error 404. I use php 4.3.2 and my OS is
Win2000 SP4 and my web server is IIS 5. Can anyone help me?

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



[PHP-WIN] Win XP, Apache1.3.28, php 4.3.3; php files won't run

2003-10-07 Thread Occ Shop
Hello all,
 I'm having a problem gertting my php files to run. Apache 1.3.28 runs
fine with no errors.  php.exe -i at the command prompt displays html so I'm
guessing that's okay as well.  php 4.3.3 is set-up correctly.
 When i make a call to http://localhost/index.php which has:
 

My browsers prompts me to save the file or open and specifiy which program
to open the file with.  Maybe my security settings are to high.  I'm hoping
someone out there has had this problem and can share a possible solution.

Thanks
Sincerely
Inez

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



[PHP-WIN] Re: Win XP, Apache1.3.28, php 4.3.3; php files won't run

2003-10-07 Thread Shadow
Go here: http://www.digitalamit.com/?DA=89ce4fe3aff0c02a99a796c3ba994482
Shadow

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



[PHP-WIN] Re: Error 404 problem

2003-10-07 Thread Shadow
What are the directory permissions?
Shadow

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



[PHP-WIN] Re: Session Managment

2003-10-07 Thread Kevin
Yes it does. Now only because the script is using mysql to store the session
info does it not work.


"Rahman Haqparast" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does your C:\tmp exist?
>
> "Kevin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have setup a php page to use mysql and PHP's session handling. The
logon
> > page displays just fine but when I try and log into the page IE give me
> the
> > page can not be displayed. I have the session.save_handler set to files
> and
> > the session save path set to C:\tmp. Any ideas what I am doing wrong?
> >

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



[PHP-WIN] Re: Error 404 problem

2003-10-07 Thread Rahman Haqparast
Thanks a lot Shadow. I haven't checked the NTFS Permissons. Those Files
didn't have permission for everyone access. Thank you again.

"Shadow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What are the directory permissions?
> Shadow

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



[PHP-WIN] Re: Win XP, Apache1.3.28, php 4.3.3; php files won't run

2003-10-07 Thread Dennis Große-Venhaus
I know that problem but I can't remind me where i solute it.

Probably prepare the php.ini and change the document root or input the
AddType-Commands in httpd.conf. Those Things I've done at this
problem. Perhaps it helps you

  cya Dennis

-
All errors are intended and are only or people who need a smile
-
.::[ Visit Ani-Coding v 1.0 ]::.
>>> http://www.saiyajin-fire.de/ <<<

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



[PHP-WIN] Form question

2003-10-07 Thread Gerardo Rojas
A bit off-topic.  How do we submit a form on an onChange event of a drop-down list box.


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]



Re: [PHP-WIN] Form question

2003-10-07 Thread Ignatius Reilly

To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 8:57 PM
Subject: [PHP-WIN] Form question


A bit off-topic.  How do we submit a form on an onChange event of a
drop-down list box.


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]

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



[PHP-WIN] HTML Printing problem.

2003-10-07 Thread php coder
Issue:
HTML files are to large to print from the browser. We are creating reports 
that are ++5 mg in size. This is a real problem for the browser. We are on a 
network and can print directly from the server but this means we must 
convert the html to some printer friendly format. We are using many new 
standards such as 

Any help with a solution?

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com

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


[PHP-WIN] PHP Connection to OLAP

2003-10-07 Thread Blake Skullerud
Hi,

I am fairly new to PHP and so far it has been above my expectations. A
co-worker and I are trying to implement MSSQL Analysis Manager. We have
begun building data cubes but I have not been able to find any
documentation on how to connect to the cubes using MDX. Should I be able
to connect in the same fashion we connect to SQL tables and stored
procedures? If you can send some resources or info my way it would be
greatly appreciated!

Thanks

Blake Skullerud
Information Analyst
Information & Technology Services
Grossmont Union High School District
P 619.644.8258
www.GUHSD.net

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



Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
Hi,

if I can suggest you to do some pagination on your reports, then after printing
each page, next page will be automatically loaded and printed and so on until
report will be printed. Reloading and printing of each page should be done with
client side programt, such like javascript...

This metod will produce several html pages smaller and easier to handle for the
browser.

HTH, let me know
Piotr

php coder wrote:

> Issue:
> HTML files are to large to print from the browser. We are creating reports
> that are ++5 mg in size. This is a real problem for the browser. We are on a
> network and can print directly from the server but this means we must
> convert the html to some printer friendly format. We are using many new
> standards such as  on each page of a printed document. These seem to cause problems with most
> conversions that we have seen.
>
> Any help with a solution?
>
> _
> Instant message with integrated webcam using MSN Messenger 6.0. Try it now
> FREE!  http://msnmessenger-download.com
>
> --
> 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



Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread php coder
We have tried this method but it has a lot of problems. One is that you have 
to hit print everytime a new page is printed. You can do some active x 
programming to get around this but then your just talking IE. Another 
problem is that you have to count lines to keep your headers straight. The 
great thing about html is that you can define your headers to look right on 
the screen (only showing once) and in your document (showing on every page) 
with little code. The draw back of html is that there is no effient way to 
print large files.

JAVA comes with a html parser that you can use to send files to the printer. 
Is there something like this in php?


From: Piotr Pluciennik <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] HTML Printing problem.
Date: Tue, 07 Oct 2003 22:54:02 +0200
Hi,

if I can suggest you to do some pagination on your reports, then after 
printing
each page, next page will be automatically loaded and printed and so on 
until
report will be printed. Reloading and printing of each page should be done 
with
client side programt, such like javascript...

This metod will produce several html pages smaller and easier to handle for 
the
browser.

HTH, let me know
Piotr
php coder wrote:

> Issue:
> HTML files are to large to print from the browser. We are creating 
reports
> that are ++5 mg in size. This is a real problem for the browser. We are 
on a
> network and can print directly from the server but this means we must
> convert the html to some printer friendly format. We are using many new
> standards such as 
> on each page of a printed document. These seem to cause problems with 
most
> conversions that we have seen.
>
> Any help with a solution?
>
> _
> Instant message with integrated webcam using MSN Messenger 6.0. Try it 
now
> FREE!  http://msnmessenger-download.com
>
> --
> 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
_
Instant message in style with MSN Messenger 6.0. Download it now FREE!  
http://msnmessenger-download.com

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


Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
In java it works on client side. html is parsed in client computer, then is send
to client printer. php is server side, so, I'm afraid it has no such option like
html parser you've mentioned.
Html can be very big and will be correct, the problem is the way browser parse
it and resources it needs... for sure such problem exist in IE, I don't know if
mozilla or opera use different algorithm and can  browse your reports with
little bit less pain.

Piotr

php coder wrote:

> We have tried this method but it has a lot of problems. One is that you have
> to hit print everytime a new page is printed. You can do some active x
> programming to get around this but then your just talking IE. Another
> problem is that you have to count lines to keep your headers straight. The
> great thing about html is that you can define your headers to look right on
> the screen (only showing once) and in your document (showing on every page)
> with little code. The draw back of html is that there is no effient way to
> print large files.
>
> JAVA comes with a html parser that you can use to send files to the printer.
> Is there something like this in php?
>
> >From: Piotr Pluciennik <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] HTML Printing problem.
> >Date: Tue, 07 Oct 2003 22:54:02 +0200
> >
> >Hi,
> >
> >if I can suggest you to do some pagination on your reports, then after
> >printing
> >each page, next page will be automatically loaded and printed and so on
> >until
> >report will be printed. Reloading and printing of each page should be done
> >with
> >client side programt, such like javascript...
> >
> >This metod will produce several html pages smaller and easier to handle for
> >the
> >browser.
> >
> >HTH, let me know
> >Piotr
> >
> >php coder wrote:
> >
> > > Issue:
> > > HTML files are to large to print from the browser. We are creating
> >reports
> > > that are ++5 mg in size. This is a real problem for the browser. We are
> >on a
> > > network and can print directly from the server but this means we must
> > > convert the html to some printer friendly format. We are using many new
> > > standards such as  >tags
> > > on each page of a printed document. These seem to cause problems with
> >most
> > > conversions that we have seen.
> > >
> > > Any help with a solution?
> > >
> > > _
> > > Instant message with integrated webcam using MSN Messenger 6.0. Try it
> >now
> > > FREE!  http://msnmessenger-download.com
> > >
> > > --
> > > 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
> >
>
> _
> Instant message in style with MSN Messenger 6.0. Download it now FREE!
> http://msnmessenger-download.com
>
> --
> 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-WIN] php - iis6 mail problems?

2003-10-07 Thread speeves
Hi!

I have iis6 running on win2003 and have php 4.3.3 installed.  I have had 
no problems with my install, except for mail() functions.  I am not 
getting an error, but I am not connecting to the smtp server on the 
localhost...

Anyone else seeing this?

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


Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
Try to consider different format of data, just like pdf, which will be correctly
opened in client browser and will be also well formatted for printer and easy to
print, with just one click for all of pages.

HTH
Piotr

php coder wrote:

> We have tried this method but it has a lot of problems. One is that you have
> to hit print everytime a new page is printed. You can do some active x
> programming to get around this but then your just talking IE. Another
> problem is that you have to count lines to keep your headers straight. The
> great thing about html is that you can define your headers to look right on
> the screen (only showing once) and in your document (showing on every page)
> with little code. The draw back of html is that there is no effient way to
> print large files.
>
> JAVA comes with a html parser that you can use to send files to the printer.
> Is there something like this in php?
>
> >From: Piotr Pluciennik <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] HTML Printing problem.
> >Date: Tue, 07 Oct 2003 22:54:02 +0200
> >
> >Hi,
> >
> >if I can suggest you to do some pagination on your reports, then after
> >printing
> >each page, next page will be automatically loaded and printed and so on
> >until
> >report will be printed. Reloading and printing of each page should be done
> >with
> >client side programt, such like javascript...
> >
> >This metod will produce several html pages smaller and easier to handle for
> >the
> >browser.
> >
> >HTH, let me know
> >Piotr
> >
> >php coder wrote:
> >
> > > Issue:
> > > HTML files are to large to print from the browser. We are creating
> >reports
> > > that are ++5 mg in size. This is a real problem for the browser. We are
> >on a
> > > network and can print directly from the server but this means we must
> > > convert the html to some printer friendly format. We are using many new
> > > standards such as  >tags
> > > on each page of a printed document. These seem to cause problems with
> >most
> > > conversions that we have seen.
> > >
> > > Any help with a solution?
> > >
> > > _
> > > Instant message with integrated webcam using MSN Messenger 6.0. Try it
> >now
> > > FREE!  http://msnmessenger-download.com
> > >
> > > --
> > > 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
> >
>
> _
> Instant message in style with MSN Messenger 6.0. Download it now FREE!
> http://msnmessenger-download.com
>
> --
> 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



Re: [PHP-WIN] php - iis6 mail problems?

2003-10-07 Thread speeves
speeves wrote:

Hi!

I have iis6 running on win2003 and have php 4.3.3 installed.  I have 
had no problems with my install, except for mail() functions.  I am 
not getting an error, but I am not connecting to the smtp server on 
the localhost...

Anyone else seeing this?

speeves
cws
BTW, I have php.ini configured correctly...

SMTP = localhost
sendmail_from = correct_user
I have also tried the installer and the zip file...  Man, I am outta 
ideas... :(

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


[PHP-WIN] Re: php - iis6 mail problems?

2003-10-07 Thread Manuel Lemos
Hello,

On 10/07/2003 06:22 PM, Speeves wrote:
I have iis6 running on win2003 and have php 4.3.3 installed.  I have had 
no problems with my install, except for mail() functions.  I am not 
getting an error, but I am not connecting to the smtp server on the 
localhost...

Anyone else seeing this?
You probably need to authenticate and the mail() function does not 
support authentication.

In that case you may want to try this class that comes with a wrapper 
function named smtp_mail() that emulates the mail() function but lets 
you set the authentication credentials:

http://www.phpclasses.org/mimemessage

You also need this:

http://www.phpclasses.org/smtpclass

--

Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-WIN] PHP Graph

2003-10-07 Thread Rinku Shivnani
Can any of you help me in making graph for numeric data for an 
application in PHP. Can any of you send me some samples for the 
same.

Regards,



Re: [PHP-WIN] PHP Graph

2003-10-07 Thread Ignatius Reilly
Investigate Jpgraph. Fantastic package.
http://www.aditus.nu/jpgraph/

Ignatius
_
- Original Message - 
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 7:47 AM
Subject: [PHP-WIN] PHP Graph


> Can any of you help me in making graph for numeric data for an 
> application in PHP. Can any of you send me some samples for the 
> same.
> 
> Regards,
> 
> 

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



php-windows Digest 8 Oct 2003 06:01:16 -0000 Issue 1946

2003-10-07 Thread php-windows-digest-help

php-windows Digest 8 Oct 2003 06:01:16 - Issue 1946

Topics (messages 21717 through 21736):

Error 404 problem
21717 by: Rahman Haqparast
21720 by: Shadow
21722 by: Rahman Haqparast

Win XP, Apache1.3.28, php 4.3.3; php files won't run
21718 by: Occ Shop
21719 by: Shadow
21723 by: Dennis Große-Venhaus

Re: Session Managment
21721 by: Kevin

Form question
21724 by: Gerardo Rojas
21725 by: Ignatius Reilly

HTML Printing problem.
21726 by: php coder
21728 by: Piotr Pluciennik
21729 by: php coder
21730 by: Piotr Pluciennik
21732 by: Piotr Pluciennik

PHP Connection to OLAP
21727 by: Blake Skullerud

php - iis6 mail problems?
21731 by: speeves
21733 by: speeves
21734 by: Manuel Lemos

PHP Graph
21735 by: Rinku Shivnani
21736 by: Ignatius Reilly

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 ---
Hi.
I have this funny problem. I recieve Error 404 (page not found) when I call
the php files in a newly created folder. I have set my IIS so I can browse
my web folders. It shows the newly created folder but when I click on the
files in the folder, I recieve Error 404. I use php 4.3.2 and my OS is
Win2000 SP4 and my web server is IIS 5. Can anyone help me?
--- End Message ---
--- Begin Message ---
What are the directory permissions?
Shadow
--- End Message ---
--- Begin Message ---
Thanks a lot Shadow. I haven't checked the NTFS Permissons. Those Files
didn't have permission for everyone access. Thank you again.

"Shadow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What are the directory permissions?
> Shadow
--- End Message ---
--- Begin Message ---
Hello all,
 I'm having a problem gertting my php files to run. Apache 1.3.28 runs
fine with no errors.  php.exe -i at the command prompt displays html so I'm
guessing that's okay as well.  php 4.3.3 is set-up correctly.
 When i make a call to http://localhost/index.php which has:
 

My browsers prompts me to save the file or open and specifiy which program
to open the file with.  Maybe my security settings are to high.  I'm hoping
someone out there has had this problem and can share a possible solution.

Thanks
Sincerely
Inez
--- End Message ---
--- Begin Message ---
Go here: http://www.digitalamit.com/?DA=89ce4fe3aff0c02a99a796c3ba994482
Shadow
--- End Message ---
--- Begin Message ---
I know that problem but I can't remind me where i solute it.

Probably prepare the php.ini and change the document root or input the
AddType-Commands in httpd.conf. Those Things I've done at this
problem. Perhaps it helps you

  cya Dennis

-
All errors are intended and are only or people who need a smile
-
.::[ Visit Ani-Coding v 1.0 ]::.
>>> http://www.saiyajin-fire.de/ <<<
--- End Message ---
--- Begin Message ---
Yes it does. Now only because the script is using mysql to store the session
info does it not work.


"Rahman Haqparast" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does your C:\tmp exist?
>
> "Kevin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have setup a php page to use mysql and PHP's session handling. The
logon
> > page displays just fine but when I try and log into the page IE give me
> the
> > page can not be displayed. I have the session.save_handler set to files
> and
> > the session save path set to C:\tmp. Any ideas what I am doing wrong?
> >
--- End Message ---
--- Begin Message ---
A bit off-topic.  How do we submit a form on an onChange event of a drop-down list box.


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---

To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 8:57 PM
Subject: [PHP-WIN] Form question


A bit off-topic.  How do we submit a form on an onChange event of a
drop-down list box.


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Issue:
HTML files are to large to print from the browser. We are creating reports 
that are ++5 mg in size. This is a real problem for the browser. We are on a 
network and can print directly from the server but this means we must 
convert the html to some printer friendly format. We are using many new 
standards such as 

Any help with a solution?

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com
--- End Message ---
--- Begin Message ---
Hi,

if I can suggest you to do some pagination on your reports, then after printing
each page