[PHP] Calling DB2 Stored Procedures

2001-03-09 Thread Jens Kisters

Are there any problems calling DB2's stored procedures from PHP once the
connection to is set up?

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] includes slooooooow

2001-03-09 Thread Jens Kisters

Hi, i just finished my first really big project and when it went live
the servers just flipped out, 100% CPU Load.
Removing all includes and pasting all libraries together seemed to do
the trick, CPU went back to normal.

My Question:
What can i do to speed up includes, i hate working on a file with 45 KB
Sourcecode in it.
Not to speak of pasting the libs to every single Script that makes use
of them.

I tested on a system with the Zend Optimizer installed, the Servers
running the live application do not have the encoder, but i noticed the
lags caused by the includes on the test system too.

tks in advance!

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Classes and Kernel CPU Load?

2001-03-10 Thread Jens Kisters

I have Scripts that seem to cause imense Kernel (not user) CPU Load
under Solaris,
could this be caused by using classes?

I already removed use of md5() and crypt() from the scripts no change so
far.
What else could cause an immense increase in Kernel CPU Load?

tks
Jens
--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Oracle Fulltext indices?

2001-03-13 Thread Jens Kisters

Hi, everybody!

Does Oracle offer a feature similar to MySQL's Fulltext-index?

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Cannot destroy session cookie

2001-04-18 Thread Jens Kisters

Hi there,
i'm having a little trouble with cleaning up sessions.
I have a login page that sets a certain session variable that is used to
determine wether a user is logged on.
When the user has cookies turned on the application recognizes the
running session an resumes it, that also happens on the login-page,
i'd like to explicitly destroy the session before logging on, i tried
unsetting the session variable, destroying the session, unsetting the
session cookie, but nothing worked, the session is always continued with
the same SessionID.
What can i do to destroy the session?

tks
Jens

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Jens Kisters

> Why destroying it "before" a user logs in? Isn't it

In case the user did not log out properly, his session would still be marked
as valid & logged in

> better to start the session "after" a successful login?

starting works fine, restarting is the problem

> And then destroying the session when the user logs out.

You can't count on an explicit logout,
never rely on the users, they just don't act like you want them to ;)

cu
Jens
--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] getting sessions lifetime

2001-04-29 Thread Jens Kisters

Hi there!

Is there a way to determine the session timeout of the currents servers
PHP configuration, e.g. by reading values from the php.ini?

i want to manage the timeout of the session myself, no matter what the
server is set to, i want to try to hit a session page in a hidden frame
just before the session would time out so that there won't be a session
timeout.

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] MySQL fulltext indices and phrase search

2001-05-02 Thread Jens Kisters

Hi there, is there a possibility to use MySQL's MATCH ... AGAINST to
look for a string like "foo bar" ?

if i MATCH keyname AGAINST ('foo bar') i get resuts that match foo or
bar, but not both of them separated by a space.

My guess is that the organization of the index doesn't allow this kind
of search as it's based on single words , but maybe one of you has a
better idea than
to select the rows that contain both and hit those with LIKE '%foo bar%'

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP claims that class was defined twice

2001-05-20 Thread Jens Kisters

Hey there i noticed sometinh quite odd when trying to include a class
definition:

There are several classes in the project in question.
Every class resides i a separate file that gets included.

When i call the following method

 function mRenderPrintNav($client) {
  show_var("",get_declared_classes());//debugcode

include($this->pApp->pPath."/".$this->pApp->pCommonPath."/layernav.cls.php");
//include the class definition
  $menu=new Menu;
  $this->mRenderNavWalk($client,&$menu);
  $menu->printMenu();
 }

PHP complains

Fatal error: Cannot redeclare class menu in ..//_common/layernav.cls.php
on line 3

ok i started checking if i include the file twice, ich wrote some chars
before the first http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Finding linefeeds in Strings

2001-03-29 Thread Jens Kisters

String functions like explode, strpos or str_replace seem to fail when
asked to work with "\n".
What can i do to tokenize or explode a string by linefeeds?

i replaced "\n" by another expression and it seems to work, but i'm
curious if there's a mor elegant solution...


cu
Jens

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Problems benchmarking php Scripts

2001-08-21 Thread Jens Kisters

Hello together,

I have been trying to benchmark the backend scripting for a flash online
game, for this purpose i wrote another PHP Script that uses fopen to
make exactly the same requests the flash movie would make with the same
timing, and writes a log of the game session into a database.
I run this script from the shell of a linux box using the php CGI
binary, and start it for a couple of times,
but somehow i rarely get more than 66 of those benchmark scripts started
simultaneously, neither on one machine, nor on two machines together, so
i guessed it has sth to do with my apache confguration, i set
startservers and min and maxspare childs to a high value to prevent the
httpds from crashing when there are more than 20 to be started in very
short time and set maxrequests per child to 256, but none of these
changes seem to affect the total number of scripts i can run.
The mysql keeps spawning processes of itself and i can still connect to
the database when i get to the max of running benchmark scripts, so
there does not seem to be a limit of some kind there either.

Sometime i get to start a hundred scripts or more, but they disappear in
very short time.
i have the outputs pointed to /dev/null when putting the scripts into
the background (start with &), when i start a single one with output
there are no error messages displayed.

I also noticed when looking at the output of 'top' i see few httpd
processes crashing saying , this happens more rarely when i
heve enough httpds started before i start running the benchmark, but
some still crash, i can't find any messages in log files saying what
happened there.

The benchmark scripts should log errors if there was no response from
the server but i dont get any of those errors in the logs.

thanks in advance
Jens

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Simple Char Swapping in String crashes Webserver

2001-08-30 Thread Jens Kisters

Hey there i just managed something that i never accomplished beforei
kill a httpd process from PHP,
i run the following code



$enc is a string and has an even length

This silly lines of code make the apache child process crash, if i
change it to



it works well.
what the hell is happening here?

i run php 4.04pl1 as apache module under linux.

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Save As doesnt always work

2001-09-07 Thread Jens Kisters

Hello all,

i tried to make the browser save a file by setting headers

In this case the Browser (IE 5.5 W2K) just displays the content,

http request
T4 09/07 11:03:17 Server Data: GET http://iwonttell/
T4 09/07 11:03:17 Server   ausgabe/auswertung.php
HTTP/1.0{0D}{0A}Accept:
T4 09/07 11:03:17 Server   */*{0D}{0A}Accept-Language:
de{0D}{0A}Authoriza
T4 09/07 11:03:17 Server   tion: Basic
aWFdonteventhinkVtbTQy{0D}{0A}User-Ag
T4 09/07 11:03:17 Server   ent: Mozilla/4.0 (compatible; MSIE 5.5;
Windows
T4 09/07 11:03:17 ServerNT 5.0){0D}{0A}Host:
www.rtl.de{0D}{0A}Proxy-C
T4 09/07 11:03:17 Server   onnection: Keep-Alive{0D}{0A}{0D}{0A}

response
T4 09/07 11:03:18 Server Data: HTTP/1.1 200 OK{0D}{0A}Date: Fri, 07 Sep
2001 0
T4 09/07 11:03:18 Server   9:03:49 GMT{0D}{0A}Server: Apache/1.3.19
(Unix)
T4 09/07 11:03:18 ServerPHP/4.0.5{0D}{0A}X-Powered-By:
PHP/4.0.5{0D}
T4 09/07 11:03:18 Server   {0A}Content-Disposition: attachment;
filename=a
T4 09/07 11:03:18 Server
usgabe_2001-09-07{0D}{0A}Content-Description: S
T4 09/07 11:03:18 Server   pielerdaten IAA
Special{0D}{0A}Connection: clos
T4 09/07 11:03:18 Server   e{0D}{0A}Content-Type:
text/plain{0D}{0A}{0D}
T4 09/07 11:03:18 Server   {0A}2001-09-07;jens;auch;test{0A}

and in this case (other Web-Server) it works (same browser)

http request
T4 09/07 11:06:22 Server Data: GET
http://bigmama/projekte/rtl/formular/ausgab
T4 09/07 11:06:22 Server   e/auswertung.php HTTP/1.0{0D}{0A}Accept:
image/
T4 09/07 11:06:22 Server   gif, image/x-xbitmap, image/jpeg,
image/pjpeg,
T4 09/07 11:06:22 Server   application/vnd.ms-excel,
application/msword, a
T4 09/07 11:06:22 Server   pplication/vnd.ms-powerpoint,
*/*{0D}{0A}Accept
T4 09/07 11:06:22 Server   -Language: de{0D}{0A}Cookie:
mailCookie=jens%40
T4 09/07 11:06:22 Server   bigmama.rep{0D}{0A}User-Agent:
Mozilla/4.0 (com
T4 09/07 11:06:22 Server   patible; MSIE 5.5; Windows NT
5.0){0D}{0A}Host:
T4 09/07 11:06:22 Serverbigmama{0D}{0A}Proxy-Connection:
Keep-Alive
T4 09/07 11:06:22 Server   {0D}{0A}{0D}{0A}

response
T4 09/07 11:06:22 Server Data: HTTP/1.1 200 OK{0D}{0A}Date: Fri, 07 Sep
2001 0
T4 09/07 11:06:22 Server   9:06:22 GMT{0D}{0A}Server: Apache/1.3.14
(Unix)
T4 09/07 11:06:22 Server (SuSE/Linux) mod_throttle/3.0
mod_layout/1.0
T4 09/07 11:06:22 Server   mod_fastcgi/2.2.2 mod_ssl/2.7.1
OpenSSL/0.9.6 P
T4 09/07 11:06:22 Server   HP/4.0.4pl1{0D}{0A}X-Powered-By:
PHP/4.0.4pl1
T4 09/07 11:06:22 Server   {0D}{0A}Content-Disposition: attachment;
filena
T4 09/07 11:06:22 Server
me=ausgabe_2001-09-07{0D}{0A}Content-Descriptio
T4 09/07 11:06:22 Server   n: Spielerdaten IAA
Special{0D}{0A}Connection:
T4 09/07 11:06:22 Server   close{0D}{0A}Content-Type:
text/plain{0D}{0A}
T4 09/07 11:06:22 Server
{0D}{0A}2001-09-07;jens;test;test{0A}2001-09-07
T4 09/07 11:06:22 Server
;jens;test;test{0A}2001-09-07;jens;test;test
T4 09/07 11:06:22 Server   {0A}2001-09-07;jens;test;test{0A}

The only difference i see is htaccess authentication on the second
Server...
The PHP Code used to pipe the file through the browser is

 $file=fopen("ausgabe_".strftime("%Y-%m-%d",$time).".csv", "r");
 header("Content-type: text/plain");
 header("Content-Disposition: attachment;
filename="."ausgabe_".strftime("%Y-%m-%d",$time)."");
 header("Content-Description: Spielerdaten IAA Special");
 fpassthru($file);

Any ideas whats wrong here?

thanks in advance

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] when logic fails, PHP randomly skips execution of lines

2001-09-18 Thread Jens Kisters

Hello everbody,

I have noticed something quite strange,
i have a piece of code that looks like, i removed some of it to make it
readable:

there are no statements in the code that would cause the termination of the
method before reaching the last line, no return, die or whatever.


This thing is part of a object method, which is called repeatedly.

There absolutely NO way 'end' could be printed here without 'swp2' being
printed, right, but it does.
Also i have occurences of 'swap' without a matching 'end' or 'swp2', like
this:
(the garbage is the content of '$enc', removing it from the output causes
the error to dissappear)
-output-
Begin
swap:
0064277255621244332329528893584643078166114004540827;5>862126663:629;888;;58
664307819;fX$reJxre|"yuw%iVft$rhyuujlnnçm5wi(vkq#ch|ij&fj2
.25C18U8oej|kf!py~3364e\tj||whi(goxk07;2iYximee~%vo~2y82X:nebyif#qwuvwwg
swp2: ft$rhyuujlnnçm5wi(vkq#ch|ij&fj2
.25C18U8oej|kf!py~3364e\tj||whi(goxk07;2iYximee~%vo~2y82X:nebyif#qwuvwwg0064
277255621244332329528893584643078166114004540827;5>862126663:629;888;;586643
07819;fX$reJxre|"yuw%iV
end

Begin
swap:
0054716330009693653323102831238781328247354221531537080463:95@4734928:223572
1<2823<8\:nhig#gfM{vo#wsk
rk)qkGwvpdudkm#mgg(zmnvppemskhrgC!lxtj3F06H;xokwzj3z33N:|fi|xd7v28TBegin
swap:
0034211011257391046799446105509563315163822007167287673;775?=69<<91<;601553<
161375F8eqa"oe"ufd!sæItp{fny&nnwrr&uar%n~fnf1!3/6B92t2tv!keUvlio3g27k;senhQ)
omy{0e65e;brfxV%wzdv7g70i2ýrfoY%jrni
swp2:
!sæItp{fny&nnwrr&uar%n~fnf1!3/6B92t2tv!keUvlio3g27k;senhQ)omy{0e65e;brfxV%wz
dv7g70i2ýrfoY%jrni0034211011257391046799446105509563315163822007167287673;77
5?=69<<91<;601553<161375F8eqa"oe"ufd
end
Begin
swap:
00549629613229801512122201313670455389527981851464=:2:4997727A;:21981;306703
59349588`7mlmkvmF!pkk{lgv"g}|hg%sþf"pk
fhXexmeèqmf(nzc'ovJmyovzin|ukpk9B02G?qsuxtf1270gEnqwl34=5jK}f17=8vXzpmotn
swp2: pkk{lgv"g}|hg%sþf"pk
fhXexmeèqmf(nzc'ovJmyovzin|ukpk9B02G?qsuxtf1270gEnqwl34=5jK}f17=8vXzpmotn005
49629613229801512122201313670455389527981851464=:2:4997727A;:21981;306703593
49588`7mlmkvmF!
end
Begin
swap:
002471894193230257221322567045301134119648109371:9=1>6238:5:52136656>3457011
4;bNmtpmjlÿn5sL)rG"hiMxyjeohf"xgz rn#dnBueoftgvqdsnk5omTqfth
AnZjesh2#66H7erhruu#stj)z26@.9382qTwsqfkoöm5y22B6238:5:52136656>34570114;bNm
tpmjlÿn5sL)rG"hiMxyjeohf"xgz r
end
Begin
swap:
00547198053854516883507941428066511232699173281113A7>::84385:<7:0<>51<640:68
192521?3I9qnyN"ojlm)zcxupjm%ckl(qtRhv$o*"}qzu\15>6dYt|ujdznlpikxtx2581xPetv
n8782uLifn{0x38G=rvxmvdxg
swp2:
pjm%ckl(qtRhv$o*"}qzu\15>6dYt|ujdznlpikxtx2581xPetvn8782uLifn{0x38G=rvxmvdxg
00547198053854516883507941428066511232699173281113A7>::84385:<7:0<>51<640:68
192521?3I9qnyN"ojlm)zcxu
end-output-
Multiple cases of malfunction in this output,
After 2nd Begin: method was not executed properly, even though script
continued afterwards.
The next Blocks seem to miss either the \n before begin or the \n after end
in the fourth block, swap and end are displayed while swp2 is not

When i start to reduce the code by either removing $enc from the output or
deleting the loops that manipulate the string before, the echos come in the
right order and ammount...

What can i do, nothing crashed so i dont have a gdb backtrace for an bug
report.
I cant provide all the code, neither can i reduce the code without the error
do disappear

The problem occured on
PHP 4.04pl1 on Apache 1.3.x on Linux
PHP 4.04 on Apache 1.3.x on Linux
PHP 4.06 on Apache 1.3.x on W2K

thanks
Jens




[PHP] Generating UTF Files

2001-09-20 Thread Jens Kisters

Hello,

I was asked to generate files in UTF-8 Format, where can i find infos on
this?
Is it a multi-byte charset?
How do i use other charset in PHP? can i just switch to another charset and
then make $a="a"; where a is the UTF reprensentation of 'a'?
or will i have to mold bytes together myself using chr() ?

thanks
Jens


Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 0 28 21 - 9 78 56-20
Telefax: 0 28 21 - 9 78 56-77
Mobil: 0172 - 8 73 11 73
[EMAIL PROTECTED]
http://www.rosomm-partner.de




[PHP] PHP5 Session length changed

2006-09-08 Thread Jens Kisters
Hi,

we validate all incoming parameters and that includes checking if the
phpsession ID is only numbers and letters and is 32 Bytes long.
This worked for some PHP5 Servers but we just encountered an 5.1.2 that
issued sessionIDs that were 26 Bytes long.
I cant find any note about that in either of the PHP5 changelogs.

Question : What lengths are valid for PHP Sesssions is it possible to
encounter valid sessions with a length other than 26 and 32?

PHPinfo :

http://neu.karnevalservice.de/dbcTrade/phpinfo.php

thanks
Jens

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



[PHP] How does one build a big chat system?

2001-02-09 Thread Jens Kisters

The approaches i've so far using PHP is letting a script run (almost)
infinitely and refresh the output every 500ms or so, but this will
require a httpd-Process to run for every chatter, consuming several MB
per User.

Any other suggestions which will cause less server load?

I don't think that refreshing the page on the clientside is a very clean
solution, it really looks quite ugly.
--
Grüße aus dem schönen Kleve
Jens Kisters


+++ neue Anschrift +++

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Decoding E-Mails

2001-02-09 Thread Jens Kisters

We started to build an Online-Mailclient using PHP and dicovered that
there are quite a lot methods of encoding mails, does anyone have
classes to decode MIME / ... (what other common methods are there?)

It would be great to extract Header, plain text, formatted text and
maybe file attachments.
Any hints?

thanks in advance
Jens

--
Grüße aus dem schönen Kleve
Jens Kisters


+++ neue Anschrift +++

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How does one build a big chat system?

2001-02-09 Thread Jens Kisters

> Grab one of the many java IRC applets from http://freshmeat.net and run
> an irc server on your box. http wasn't designed for this type of thing.

I've seen a lot of Chatsites that run without Clientside Java, it can't be
such a weird approach,
I don't think the admins of the System the chat is going to be run on would
like an irc server on their machines.


--
Grüße aus dem schönen Kleve
Jens Kisters


+++ neue Anschrift +++

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]