Re: [PHP] PHP with JAVA support

2001-06-27 Thread Andrzej Swedrzynski
On Tue, 19 Jun 2001, Robert Vetter wrote: > Hello, > > I'm trying to run PHP with Java support and don't get it to work. First > I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to > the PHP.ini file: > > [Java] > java.home=/usr/local/jdk1.2.2 > >java.class.path=/usr/local/li

[PHP] Vanishing files.

2001-05-04 Thread Andrzej Swedrzynski
Hello! Recently I wrote a php script which handle file uploads. I took an example from manual (and added some text fields) and every­ thing seemed to work. After I called move_uploaded_file( $userfile, $destination ) the file appeared in correct place. But after a few minutes the

Re: [PHP] Vanishing files.

2001-05-05 Thread Andrzej Swedrzynski
On Sat, 5 May 2001, Yasuo Ohgaki wrote: > Could we take a look at your code? Of course. Shall I send whole application or this snippet will do? // How the form is specified // Some other form elements... // Some other form elements... // After the

Re: [PHP] "Free" Database Design Program

2001-05-05 Thread Andrzej Swedrzynski
On Sat, 5 May 2001, Augusto Cesar Castoldi wrote: > But I need a program that I can document my database and even the script. > The "relationships" of tables, the primary keys. The very limited capability of drawing ERD (Entity Relationship Diagram) in Chen notation can be found in dia (BTW

Re: [PHP] Vanishing files.

2001-05-05 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Yasuo Ohgaki wrote: > Since I don't use "register_globals=on", this might not be the problem what you > have. [snip] > Your code is using $userfile as scaler value. Could it be the problem? > (Just "echo $userfile". Isn't it array?) No, it's string, I've checked it. I compl

Re: [PHP] class (not class instance) variables

2001-05-05 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Steven Haryanto wrote: > Am I correct that PHP does not support class variables? That is, > variables that belong to a class and not copied into every object. > I need to put several arrays for information about a class, and I > do not want to bloat every object with this data

Re: [PHP] Vanishing files.

2001-05-05 Thread Andrzej Swedrzynski
Hello! I want to apologize for wasting your time. Recently I wrote about vanishing files uploaded to php script. It was my fault. Since I use rsync to send scripts to server it simply automatically dele­ ted all files uploaded using php script which where stored in one of the subdirectories. Onc

Re: [PHP] "Free" Database Design Program

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Alexander Skwar wrote: [dia] > Compared to ERWin, this is indeed *VERY* limited - but maybe I was just > unsuccessful, but eg. how can you define keys in an entity in dia? Just open attribute's properties window (double click on attribu­ te) and you have checkbox there. Is

[PHP] PHP as apache module and security.

2001-05-06 Thread Andrzej Swedrzynski
Hello! Recently someone asked how to ensure that no one will read pas­ sword from php file. The only response I noticed was to create group and add apache user (often nobody) to that group. I consi­ dered this and I can not see what would stop other users from writing php script (run

Re: [PHP] PHP as apache module and security.

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Estelle Martin wrote: > What do you think about the following configuration: > 1) safe-mode on : this ensures that a php script can read only files that > are owned by the same Unix user on the machine; then just check that people > having a right to use php and mysql on your

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, John Vanderbeck wrote: > I am a fan of UltraEdit. It has syntax highlighting and is a good all > purpose powerful editor. What I really like though is the ability to Open > >From and Save To FTP sites. This speeds up my work considerably. And sends plain password over the

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Bjorn Sodergren wrote: [UltraEdit] > > And sends plain password over the network. Thanks. > And how does this differ from any other ftp client ? Does not differ. But I use ssh/scp for everything and with vim I can send my file to its destination with a single keystroke.

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, John Vanderbeck wrote: > But isn't VIM a *nix only tool? No. Quote from vim's web page: VIM runs on many operating systems: AmigaOS, AtariMiNT, BeOS, DOS, MacOS, MachTen, OS/2, RiscOS, VMS, and Windows (95/98/NT4/NT5/2000) and, of course, on UNIX in a lot of flavours: