[PHP] creating files with same user id than the script?

2002-03-29 Thread Kai Schaetzl
One of our customers installed a CMS application scripted in PHP and it creates a lot of new files. These are all getting created under the userid of nobody (the webserver's id) instead of the user's id (the scrip's id) which makes it somewhat difficult to run the application in safemode becau

Re: [PHP] what's "undefined index" ?

2002-03-26 Thread Kai Schaetzl
Your message of Tue, 26 Mar 2002 11:46:28 +1100: > Undefined offset- numeric index doesn't exist > Haven't seen one of these yet, but thanks for the "warning" ;-) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://i

Re: [PHP] what's "undefined index" ?

2002-03-25 Thread Kai Schaetzl
Your message of Mon, 25 Mar 2002 09:39:06 -0700: > The error message refers to the "KundeRemark" in $val["KundeRemark"], not > "$KundeRemark" which you are trying to assign the result to. The former is > (if it existed) an index, the latter is a variable. > Oh, yeah, I see. Stupid me. Thanks!

Re: [PHP] getenv and ISAPI: solution?

2002-03-25 Thread Kai Schaetzl
_VARS) do exactly the same tricks for GET variables ? > if(count($HTTP_GET_VARS)) > > On Mon, 25 Mar 2002, Kai Schaetzl wrote: > > > I transferred an application from Linux/Apache to .NET/IIS6 and it > > appeared to be working fine, first. A bit later I found that it > >

[PHP] getenv and ISAPI: solution?

2002-03-25 Thread Kai Schaetzl
I transferred an application from Linux/Apache to .NET/IIS6 and it appeared to be working fine, first. A bit later I found that it wouldn't switch to most functions derived from a GET variable. The reason being that $query seems to be empty, so it always defaults to this action: $query = gete

Re: [PHP] what's "undefined index" ?

2002-03-25 Thread Kai Schaetzl
Your message of Mon, 25 Mar 2002 11:35:57 +1100: > "undefined variable" is when you try to use a variable before you set it, eg > $foobar > "undefined index" is when you try to reference an array index before you set > it, eg $foobar[10] > Hi, thank you both for the explanation. It's clear why I

Re: [PHP] Image Displayed From Database

2002-03-25 Thread Kai Schaetzl
> Also when I right-click and > choose "Save As" it only lets me save as a bmp. Again, it displays fine, I > would just like to make it work like a real image. > Clear your IE cache (TIF (Temporary Internet Files)). If that doesn't help, follow Miguel's advice. Kai -- Kai Schätzl, Berlin, Ge

[PHP] what's "undefined index" ?

2002-03-24 Thread Kai Schaetzl
When I enable display of warnings I get an "undefined index" warning instead of an "undefined variable" for some variables. Why and what's the difference? Warning: Undefined index: KundeRemark in C:\Server\www\conadmin\admin-beta\lib\kunden_functions.inc on line 138 Warning: Undefined variab

[PHP] safemode access to /usr/local/lib/php ?

2002-03-20 Thread Kai Schaetzl
If I enable safemode I get an error each time a function in the PHP repository is used, something like: access for the file with UID xxx is not allowed to /usr/local/lib/php/PEAR.php with UID 0 It's clear why this happens but it doesn't make any sense to shut off access to this directory. Obv

Re: [PHP] The future of PHP

2001-08-23 Thread Kai Schaetzl
> JSP is the wave of the future > As was said two years ago about Java. Does anybody still know about Java? ;-) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://ie5.de & http://msie.winware.org ClubWin - Help for Wind

[PHP] --enable-memory-limit - What does it do?

2001-08-19 Thread Kai Schaetzl
Well, there's no explanation for it in the manual and I didn't find any by searching all relevant archives with deja. So, what does it EXACTLY do when I compile it in and are there configuration options for it? (f.i. the amount of memory to limit to ;-) Kai -- Kai Schätzl, Berlin, Germany G