Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Fraser MacKenzie
Acthually, it stands for Personal Home Page Frasre On Tue, 23 Jan 2001, Alexander Wagner wrote: > Brian White wrote: > > 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' > > > > I frankly don't beleive that "PHP" started life as a recursively > > defined acronym - I remember re

Re: [PHP] Profanity Filter

2001-01-20 Thread Fraser MacKenzie
What you could do is have a bad word and a reallybadword list. Wank could be a bad word and if it didn't appear along (ie. whitespace on either side, or in plural) then it is ok. In really bad word, say F*ck, then it couldn't appear at all...( ie. f*ckville would be invalid). It would mean a se

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-20 Thread Fraser MacKenzie
WAHO! It works! Thanks Alex!! Fraser On Fri, 19 Jan 2001, Alex Akilov wrote: > Fraser, > > Yes, you must set your LD_LIBRARY_PATH prior to running ldd. In a terminal, > export > >LD_LIBRARY_PATH=/home/local/java/jdk1.2.2/jre/lib/i386:/home/local/java/jdk1.2.2/jre/lib/i386/class

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Fraser MacKenzie
/lib/ld-linux.so.2 (0x8000) Now: libhpi.so is located in: ./green_threads/libhpi.so ./native_threads/libhpi.so and libjvm.so is located in: ./classic/libjvm.so Perhaps I have to set them up in my LD_LIBRARY_PATH for my current shell? Fraser On Fri, 19 Jan 2001, Alex Akilov wrote: > F

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Fraser MacKenzie
hen I actually specify the full path, and change the green_threads to native_threads I get the same error. This is driving me nuts. I appreciate all the help Alex and I hope my madness is helping somebody else out there. Fraser On Fri, 19 Jan 2001, Alex Akilov wrote: > Fraser MacKenzie wrote: >

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-19 Thread Fraser MacKenzie
Ok. I have done what you said, but I am now getting: Fatal error: Unable to load Java Library /home/local/java/jdk1.2.2/jre/lib/i386/libjava.so, error: libhpi.so: cannot open shared object file: No such file or directory in /home/rondaks_portal/httpd/docs/k2test/index.php3 on line 34 Fraser

Re: [PHP] Problem with PHP using Java Classes

2001-01-18 Thread Fraser MacKenzie
Thanks. I will try this. Fraser On Thu, 18 Jan 2001, Alex Akilov wrote: > Fraser, > > >>extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386 > > Change the above to only list the directory that contains the > libphp_java.so. > The jdk

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-18 Thread Fraser MacKenzie
Ok. Alex, here it is: [java] java.class.path=/home/local/src/php-4.0.4/ext/java/php_java.jar:/home/local/java/jdk1.2.2/jre/lib:/home/local/java/jdk1.2.2/jre/bin java.home=/home/local/java/jdk1.2.2/bin:/home/local/java/jdk1.2.2/jre/bin java.library.path=/home/local/src/php-4.0.4/ext/java:/home/lo

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-11 Thread Fraser MacKenzie
I can get you past this part, but I cannot get you past the: unable to instantiate non-existant class: java error. It is driving me bloody nuts. I have tried 3..count em...3 different JDKs now. It has taken up way more of my time than I would have liked... Fraser On Thu, 11 Jan 2001, Eduard