Re: [PHP] preg_replace() ??

2002-03-01 Thread DL Neil
Monty, Is preg_replace() the best PHP command to use for parsing custom codes in text retrieved from a database (e.g., turning [link= ] into a href= )? It is conventional wisdom that the PCRE functions are faster than their EREG cousins. However because/if you can guarantee that your

[PHP] Fixing the PHP security hole

2002-03-01 Thread Websitecd
How do I install the 406 patch? http://wwwmsnbccom/news/717347asp?0si=- Regards, Joseph A Bannon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Re: ImageMagick and Convert In Php

2002-03-01 Thread Nicke
I have exactly the same problem! Anyone who can help? /nicke Rick [EMAIL PROTECTED] wrote in message news:003701c1bb50$bda0e2e0$[EMAIL PROTECTED]; Hello All, Ok , I am about to loose my mind... this list is my last option i think :) this is what i have tried : system(convert -pen black -draw

[PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Here's the scenario masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get anotherfileinc Simple (I hope) What I'd like to know though

[PHP] File Copy

2002-03-01 Thread Andy Delcambre
I am a complete php newbie but i have a quick question I was wondering if there is a way to copy a file from a remote site to your local server? I want to grab a picture off of a site and store it locally to be displayed later Thanks alot, Andy -- PHP General Mailing List

[PHP] Re: File Copy

2002-03-01 Thread Henrik Hansen
[EMAIL PROTECTED] (Andy Delcambre) wrote: I am a complete php newbie but i have a quick question. I was wondering if there is a way to copy a file from a remote site to your local server? I want to grab a picture off of a site and store it locally to be displayed later. Thanks alot,

[PHP] ImageMagick and Convert In PHP

2002-03-01 Thread Nicke
I have exactly the same problem! Anyone who can help? /nicke Rick [EMAIL PROTECTED] wrote in message news:003701c1bb50$bda0e2e0$[EMAIL PROTECTED]; Hello All, Ok , I am about to loose my mind... this list is my last option i think :) this is what i have tried : system(convert -pen black -draw

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Jason Wong
On Friday 01 March 2002 17:12, [EMAIL PROTECTED] wrote: How do I install the 4.0.6 patch? http://www.msnbc.com/news/717347.asp?0si=- Depends on how you originally installed your PHP. Was it from RPM? Or source? Or whatever? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* It

Re: [PHP] PDF creation with PDF-LIB samples?

2002-03-01 Thread Jason Wong
On Friday 01 March 2002 13:37, Andras Kende wrote: Hello, Trying to create some pdf documents on the fly with php and mysql.. I search the web but not yet found any easy way to do this... Did you try google?: pdf php Tried Yaps but it requires ghostscript which didnt install on a

Re: [PHP] PDF creation with PDF-LIB samples?

2002-03-01 Thread Henrik Hansen
[EMAIL PROTECTED] (Jason Wong) wrote: On Friday 01 March 2002 13:37, Andras Kende wrote: Hello, Trying to create some pdf documents on the fly with php and mysql.. I search the web but not yet found any easy way to do this... Did you try google?: pdf php Tried Yaps but it

Re: [PHP] ImageMagick and Convert In PHP

2002-03-01 Thread Andrey Hristov
Hi, I had problem with ImageMagick's identify. When trying to use with a shell command in PHP big problems! Why. Trace of identify showed that it wants to create a temporary file in the directory where the scripts is but the apache/php runs under nobody:nobody but the web directories are owned

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Websitecd
Depends on how you originally installed your PHP Was it from RPM? Or source? Or whatever? It was the source Should I just re-install the whole thing? Regards, Joseph A Bannon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Javascript question...

2002-03-01 Thread Philip Jeffs
Hi, I know this is a PHP list but i thought someone might be able to help me out. I was looking at the Levi's website the other day and i noticed a cool script on there for opening pop-ups. They have managed to get rid of the usual window borders altogether and it looks really good. They

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Girish Nath
Hi Unpack and copy the patch diff to the php4.0.6/main source directory, then use : patch rfc1867.c rfc1867.c.diff-4.0.6 then the usual configure, make, make install. Regards Girish -- www.girishnath.co.uk - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

RE: [PHP] Javascript question...

2002-03-01 Thread Sven Jacobs
script function openpopup(){ var popurl=url winpops=window.open(popurl,Solution,width=500,height=400,) } //openpopup() /script input type=submit value=Escalations onClick=openpopup() Kind Regards Sven -Original Message- From:

[PHP] PHP 4.1.2 - apache 1.3.20 - irix 6.5, build problem

2002-03-01 Thread Blazej Piotrowski
When i try to build php with mySql and apxs configuration goes ok but on make install I get this: 118# make Making all in Zend /bin/sh /libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I -I -I/main -D_XPG_IV -DIRIX -DMOD_SSL=208104 -D USE_HSREGEX -DEAPI -DUSE_EXPAT -I/TSRM -g -O2

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
Hi Nick, masterfile.inc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfile.inc); in index.php I include masterfile.inc and thus get anotherfile.inc. What I'd like to know though is, is it possible to have the include line in masterfile.inc specify a

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get anotherfileinc What I'd like to know though is, is

Re: [PHP] include() and paths

2002-03-01 Thread Nick Winfield
On Fri, 1 Mar 2002, Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared masterfileinc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfileinc); in indexphp I include masterfileinc and thus get

[PHP] PHP and Apache Win32

2002-03-01 Thread Gordon Bergström
Greetings Got a, I think, pretty easy question if you know of it Running Apache with PHP I always get a 500 Error page when I try to access the php file I have run phpexe -i and it all looks good I am running php as a DSO under Apache In Apache errorlog there is a line that say [Fri Mar 01

[PHP] Building secure authentification with sessions

2002-03-01 Thread Andy
Hi there, I did recently read an article about security Now I absolutly see the need of recoding my authentification procedure on a community site There are questions I hoped some of you guys can answer 1 Is storing sensitive data like permission level secure in session variables? 2 What

[PHP] Pros/Cons over PHP_SELF vs script

2002-03-01 Thread Team GotFusion
I am on the Gotfusion.com team, formerly Team NetObjects. We are a group of technical professionals providing assistance to web developers who use NetObjects Fusion. Given the many requests wanting to know how to incorporate PHP into NOF, We are currently writing a PHP /mySQL tutorial in

Re: [PHP] include() and paths

2002-03-01 Thread DL Neil
and Nick Wilson opined in what could be seen to be an arrogant fashion... * and then DL Neil declared masterfile.inc lives in /var/www/includes/ and contains this line: include(/var/www/includes/anotherfile.inc); in index.php I include masterfile.inc and thus get anotherfile.inc.

Re: [PHP] the date90 fucntions gone haywire!

2002-03-01 Thread Georgie Casey
the time stamp i'm giving its perfect! i echoed some already and there's no problem. i'm using the code: $time = date(d-m-y, $timestamp); the £timestamp i'm feeding its is perfect, with the year first, then month, date, etc... Dl Neil [EMAIL PROTECTED] wrote in message

[PHP] URL cloaking?

2002-03-01 Thread Daniel Alsén
Hi, my webhost offers wildcard dns for subdomains. However - the subdomains only redirects from sub.domain.com to domain.com/sub. I want to cloak the url to remain sub.domain.com. Is there any easy way to do that with a php-snipplet? Regards # Daniel Alsén| www.mindbash.com # # [EMAIL

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread PHP Tester
I'm having the same question, How do I install the 4.0.6 patch? I installed PHP from the RPM. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; On Friday 01 March 2002 17:12, [EMAIL PROTECTED] wrote: How do I install the 4.0.6 patch?

[PHP] PHP Patch 4.0.6

2002-03-01 Thread PHP Tester
I went to phpnet and I downloaded the patch for php 406 and after I extract the file I got a file called rfc1867cdiff-406 when I try to execute it, it opens a text editor and show me the source code, I have to compile this file? If so which compiler I have to use? Thanks -- PHP General

[PHP] Fixing the PHP security hole

2002-03-01 Thread PHP Tester
How do I install the 406 patch? I installed PHP from the RPM -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Global Variable Change

2002-03-01 Thread Thomas Brodkorb
Hi folks, small problem with globals: I would like to set a variable global called Language This seems to be not a really problem, but it is Indexphp: ?php { session_start(); if (!session_is_registered('Language')) { session_register('Language'); $Language = 1031; } ? But

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Jason Wong
On Friday 01 March 2002 22:40, PHP Tester wrote: I'm having the same question, How do I install the 4.0.6 patch? I installed PHP from the RPM. If you're using RH Linux then they have already put out an update. Check on their website (or run up2date). -- Jason Wong - Gremlins Associates

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread PHP Tester
Actually I'm using Linux-Mandrake 8.1. I should be able to run the red hat patch over my mandrake distribution? Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; On Friday 01 March 2002 22:40, PHP Tester wrote: I'm having the same question, How do I install the 4.0.6

[PHP] problems with replacing line breaks

2002-03-01 Thread Tom Kincaid
I'm trying to replace line breaks with html code and am having problems For single lines preg_replace(/\n/,br,$text) or ereg_replace(\n,br,$text) adds the br but doesn't remove the line break While preg_replace(/\n\n/,p,$text) doesn't find any double line breaks, even though they're there Why

[PHP] user input in HTML

2002-03-01 Thread Erik Price
I was hoping to solicit an opinion: There are some text areas where HTML-savvy users could choose to embolden their text or emphasize it by using HTML. But if I use htmlspecialchars() or htmlentities(), then this is not possible, even though it makes my site safer by eliminating any

RE: [PHP] Re: Does anybody have code for this?

2002-03-01 Thread Demitrious S. Kelly
function scramble($string) { $count2++; while ( $count2 != strlen($string) ) { $bad=1; while ( $bad == 1 ) { $rand=rand(0, (strlen($string) - 1)); if ( $used[$rand] != 1 ) {

RE: [PHP] session/cookies

2002-03-01 Thread Johnson, Kirk
Start by adding a session_start() to the 2nd file, then see what happens. Kirk Hi again, I am doing a simple example of cookies and my server seems to get frozen. Basically, what I do is: file01.php: ? session_start(); seession_register(sess_var); sess_var = Hello; ?

Re: [PHP] preg_replace() ??

2002-03-01 Thread Erik Price
On Thursday, February 28, 2002, at 10:33 PM, Monty wrote: Is preg_replace() the best PHP command to use for parsing custom codes in text retrieved from a database (e.g., turning [link= ] into a href= )? Use preg only if you need the power of regexes. If you are just looking to

Re: [PHP] problems with replacing line breaks

2002-03-01 Thread Tyler Longren
why don't you just use the nl2br() function? Tyler - Original Message - From: Tom Kincaid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 9:11 AM Subject: [PHP] problems with replacing line breaks I'm trying to replace line breaks with html code and am having

[PHP] Active Directory

2002-03-01 Thread Sven Jacobs
Hey All Does anybody have any idea how to authenticate agains a Active Directory Server with PHP ? And if sow : -- How does it work -- What do I need to install -- Some sample code would be nice :-) Kind Regards Sven

[PHP] Re: problems with replacing line breaks

2002-03-01 Thread Julio Nobrega Trabalhando
Have you tried nl2br()? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Tom Kincaid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; I'm trying to

[PHP] PHP/MySQL/Row Locking

2002-03-01 Thread Aaron Gould
I have MySQL Max 4.0.1-2 alpha installed on my server. I am using the PHP PEAR DB interface to access it. The version of PHP is the latest, 4.1.2. My question is -- how do I implement the locking of rows through PEAR? I am aiming to support transactions in my application. From what I

Re: [PHP] patching a lower version.

2002-03-01 Thread Jason Wong
On Friday 01 March 2002 22:19, you wrote: I went to php.net and I downloaded the patch for php 4.06 and after I extract the file I got a file called rfc1867.c.diff-4.0.6 when I try to execute it, it opens a text editor and show me the source code, . I have to compile this file?

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Jason Wong
On Friday 01 March 2002 23:01, PHP Tester wrote: Actually I'm using Linux-Mandrake 8.1. I should be able to run the red hat patch over my mandrake distribution? You can try :) But I would rather use MDK's own update (MDKSA-2002:017) -- Jason Wong - Gremlins Associates - www.gremlins.com.hk

Re: [PHP] How to get the URL into a var?

2002-03-01 Thread Moriyoshi Koizumi
Hi, have you tried this one? $dir = dirname( $HTTP_SERVER_VARS['PHP_SELF'] ); Moriyoshi Koizumi Andy [EMAIL PROTECTED] wrote: Hi there, I am trying to find out which dir the user is browsing. How can I get the URL into a var? I tryed path_info, but it only returns the filename.

Re: [PHP] Pros/Cons over PHP_SELF vs script

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 07:44 AM, Team GotFusion wrote: What are the pros and cons of using PHP_SELF over a calling script when manipulating data in a form? Development books show either or both with no preference given. What is considered good form over bad? What is technically

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Gaylen Fraley
Just for my own edification and understanding, do you (technically) have to do the configure since you haven't changed the configuration? Girish Nath [EMAIL PROTECTED] wrote in message 002901c1c115$c4608b60$0a0a@AERIS..">news:002901c1c115$c4608b60$0a0a@AERIS..; Hi Unpack and copy the

Re: [PHP] preg_replace() ??

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 10:34 AM, Erik Price wrote: On Thursday, February 28, 2002, at 10:33 PM, Monty wrote: Is preg_replace() the best PHP command to use for parsing custom codes in text retrieved from a database (e.g., turning [link= ] into a href= )? Use preg only if you

Re: [PHP] Help me!!!Can I use PHP to send SMS message???

2002-03-01 Thread LaserJetter
If you had a suitable cable, phone and controlling software, You could send the SMS using the mobile phone. Not sure how you interface with external apps from PHP though. Frank Hertogs [EMAIL PROTECTED] wrote in message

[PHP] passing array of variables in a query string

2002-03-01 Thread Diana Castillo
I was wondering if someone could help me with this: what I need to know is how to pick up an array of variables from a query string such as: http://wwwarchiprocom/testphp?state=ABstate=BC If I use $state, I get only the last one -- PHP General Mailing List (http://wwwphpnet/) To

[PHP] empty() texarea

2002-03-01 Thread John Fulton
I can't seem to get empty() to check if someone has left a textarea unanswered in an online form with code like the following: textarea rows=8 cols=50 name=open_why_good_consult ?echo $open_why_good_consult? /textarea if(empty($open_why_good_consult)) { print Please fill in why you

Re: [PHP] empty() texarea

2002-03-01 Thread Andrey Hristov
When register_globals is on try this: if ($open_why_good_consult){ } Regards, Andrey - Original Message - From: John Fulton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 6:45 PM Subject: [PHP] empty() texarea I can't seem to get empty() to check if someone

Re: [PHP] passing array of variables in a query string

2002-03-01 Thread Andrey Hristov
It is in the TODO list of PHP. The behaviour will be changed in such a case. You can get the string from $QUERY_STRING explode it with $ar=explode('',$QUERY_STRING); and some other small things to get all stuff with same name in an array Regards, Andrey - Original Message - From: Diana

[PHP] get the median from an array of integers

2002-03-01 Thread Erik Price
What is the best way to get the median value from an array of integers? I have a very long form, which is essentially the same mini-form (group of fields) repeated a number of times with different names (simple though, I use a 'for' loop to give each field a number that corresponds to which

Re: [PHP] PHP and Apache Win32

2002-03-01 Thread [EMAIL PROTECTED]
Yes, you have got a few thing mixed up, to be exact DSO and CGI The DSO module containing the PHP engine is loaded into Apache, and therefore it doesn't the CGI version (phpexe) anymore So 'ScriptAlias' is only needed for CGI installations, and you don't need the 'Directory' part either All

Re: [PHP] empty() texarea

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 11:45 AM, John Fulton wrote: I can't seem to get empty() to check if someone has left a textarea unanswered in an online form with code like the following: textarea rows=8 cols=50 name=open_why_good_consult ?echo $open_why_good_consult? /textarea In cases

[PHP] trouble with telnet.

2002-03-01 Thread Sean Kennedy
Hello, I telneted to my web server and I would like to see if they have MySQL. Is there a certain sentence I type to see if they have MySQL? Thank you, -Sean

Re: [PHP] empty() texarea

2002-03-01 Thread Andrey Hristov
Hi Erik, I think that you look for array_count_values(). Regards, Andrey - Original Message - From: Erik Price [EMAIL PROTECTED] To: John Fulton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 6:58 PM Subject: Re: [PHP] empty() texarea On Friday, March 1,

Re: [PHP] trouble with telnet.

2002-03-01 Thread Andrey Hristov
locate mysqld whereis mysql Regards, Andrey - Original Message - From: Sean Kennedy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 7:05 PM Subject: [PHP] trouble with telnet. Hello, I telneted to my web server and I would like to see if they have MySQL. Is there

RE: [PHP] trouble with telnet.

2002-03-01 Thread Vlad Kulchitski
Actually there's a nice bash command: $ which mysql that is supposed to show you the folder where binary is I mean my understanding is if there's 'mysql' binary that means mysql is installed alternatively you can do this also: $ find / mysql*// what this one will do is it will start

RE: [PHP] passing array of variables in a query string

2002-03-01 Thread Kevin Stone
To form an array of values in the GET string append brackets to the end of each variable name... http://www.archipro.com/test.php?state[]=ABstate[]=BC for($i=0; $icount($state); $i++) { echo $state . br; } Result: AB BC Hope this helps. :) -Kevin -Original Message- From:

[PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Sean Kennedy
Hello, When I type in 'whereis mysql' it says 'mysql:' so what does that mean? -Sean

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Nick Winfield declared I didn't catch the first part of this thread (rampant deletion ahoy) so please excuse if I am talking nadgers The way I see it, if you are calling includes/requires from within other includes, the path is that

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared RTFM the four pages from http://wwwphpnet/manual/en/functionrequirephp; There's quite a bit of advice/experience in the user annotations! Please don't RTFM me, that's the first place I went I didn't find

RE: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Hunter, Ray
It did not find it with your classpath... Try using locate or slocate, this should find it... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Sean Kennedy [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Andrey Hristov
I think - no mysql is available what did locate mysql returned? Regards, Andrey - Original Message - From: Sean Kennedy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 7:27 PM Subject: [PHP] hmm.. more trouble with telnet. Hello, When I type in 'whereis mysql'

Re: [PHP] user input in HTML

2002-03-01 Thread bvr
Use strip_tags() http://wwwphpnet/manual/en/functionstrip-tagsphp Erik Price wrote: I was hoping to solicit an opinion: -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] mysql and telnet.

2002-03-01 Thread Sean Kennedy
Hello, Thanks for the advice... But now I need to know what all this means: /home/chiliasp/odbc/direct/locale/en_US/LC_MESSAGES/ivmysql15.po /home/sites/home/web/CFIDE/administrator/datasources/drivers/myodbc_mysql.cfm /home/sites/home/web/CFIDE/administrator/datasources/drivers/mysql.cfm

Re: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Jeff Sheltren
How about just typing 'mysql' (without the quotes) if it is on the system and in a directory which is in your path (it should be if your host knows what they're doing), then that will connect to mysql for you If that doesn't work, then you can either try using 'find' (type 'man find') for

Re: [PHP] mysql and telnet.

2002-03-01 Thread Andrey Hristov
.cfm are ColdFusion files(like .php or .pl) Regards, Andrey - Original Message - From: Sean Kennedy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 7:36 PM Subject: [PHP] mysql and telnet. Hello, Thanks for the advice... But now I need to know what all this

[PHP] RE: Andrey this is for you.

2002-03-01 Thread Sean Kennedy
hello, locate mysql returned this: /home/chiliasp/odbc/direct/locale/en_US/LC_MESSAGES/ivmysql15.po /home/sites/home/web/CFIDE/administrator/datasources/drivers/myodbc_mysql.cfm /home/sites/home/web/CFIDE/administrator/datasources/drivers/mysql.cfm

[PHP] PHP and Java

2002-03-01 Thread Proyecto de Grado
I have Java1.2 , php4.1.1 and apache 1.3.22, sun solaris7 I did compile php with-java 1) Java section in php.ini [Java] java.home = /usr/java1.2 java.class.path = /usr/local/lib/php/php_java.jar java.library=/usr/java1.2/jre/lib/sparc/libjvm.so java.library.path =

RE: [PHP] PHP and Java

2002-03-01 Thread Hunter, Ray
Is the libphp_java.so located in your apache libexec directory? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Java I have

[PHP] Tank you very much for all

2002-03-01 Thread Michele Salerno
I unsubscribe the mailing list, i haven't help in mailing-list. I'haven't response the my post... Cancello la sottoscrizione perché vedo che non ho risposte da nessuno, e solitamente faccio iscrizioni per imparare e non solo per dare. Pensavo che qui avrei trovato pace, ma solo perché non

[PHP] Re: hmm.. more trouble with telnet.

2002-03-01 Thread J Smith
It means bash can't find the file called mysql If it could, it would show you a path to the file, like $ whereis mysql mysql: /usr/bin/mysql If your server has locate or slocate, try them instead (This assumes they have an up to date locate database If not, you may have to run updatedb, if

RE: [PHP] RE: Andrey this is for you.

2002-03-01 Thread Demitrious S. Kelly
Type: find / -name mysql -type f 2 /dev/null if you see something like /usr/local/bin/mysql then you do (that dosent mean that the demon is running, but the client is at least installed... to see if you have the daemon installed find / -name safe_mysqld -type f 2 /dev/null and to see if

RE: [PHP] PHP and Java

2002-03-01 Thread Proyecto de Grado
no, it isn't. it is in usr/local/lib/php/modules Is the libphp_java.so located in your apache libexec directory? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:49 AM To:

RE: [PHP] PHP and Java

2002-03-01 Thread Hunter, Ray
If you are running this on apache then it needs to be in the libexec directory of apache where it looks for the *.so modules that are to be loaded. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: [PHP] mysql and telnet.

2002-03-01 Thread bvr
What do you want to know? Is my ISP offering mysql ? Is it available to me ? Is it installed on this particular server ? WHAT? If you would like to use MySQL, you should have *access* to a mysql server If you don't know a username and password, you probably haven't And as you say it, you

[PHP] Re: get the median from an array of integers

2002-03-01 Thread Daniel Grace
The web page features ten listboxes, each of which contains the same options Let's say that you can choose A, B, C, D, or E from each listbox Submit the form, run some code to figure out which was most-frequently selected, and then display that value on the next page That's all I really

Re: [PHP] PHP and Java

2002-03-01 Thread Richard Fox
From my experience getting Java to run w/ PHP and Apache on RedHat 70, you can try setting the LD_LIBRARY_PATH environment variable ( without which my Java would not run) set to the location of libjavaso, libjvmso, and php_javajar, in my case (without line feeds)

[PHP] echo array and integrate two forms

2002-03-01 Thread Andrea Caldwell
Hope this doesn't sound too lame from the newbie I have a form, code shown here that has input fields for each row I'd like to do two things: 1) Change the REALNAME field to just echo the row not have an input field (I've tried to do this it just echoes my code back to me) 2) Integrate a

[PHP] inspiration needed on problem s

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I'm all out of inspiration in finding an elegant solution to a little problem, hope you guys can lend a hand :-) I have a form thats values are object properties The object is carried in the current session As a result my reset button won't

[PHP] Has anybody used whizhost?

2002-03-01 Thread Leif K-Brooks
I'm thinking of switching my website t whizhost (http://hizhostcom/) It has more features than my current host, and is a dollar a month less Has anybody ever used them? Please tell me if they were good or not -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit:

[PHP] RE PHP

2002-03-01 Thread Proyecto de Grado
I used LD_LIBRARYPATH=/usr/local/lib:/usr/java1.2/jre/lib/sparc:/usr/local/lib/php/modules but the problems 1) PHP Warning: Unable to load dynamic library './libphp_java.so' - ld.so.1: /usr/ local/apache/bin/httpd: fatal: ./libphp_java.so: open failed: No such file or directory in

[PHP] mod_rewrite

2002-03-01 Thread Adrian Murphy
I'm building a website buider app and I'm giving users a url of the form username.mysite.com but I want to redirect all url's that end with mysite.com to a script and query the db based on username.I've learned that I need to use mod_rewrite for this.The documentation suggests that this will

[PHP] compile php with GD2

2002-03-01 Thread Hendrik
hi there, i tried to compile php with GD2 support and the following configure line: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=/usr/lib --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr

Re: [PHP] inspiration needed on problem s

2002-03-01 Thread Steven Walker
Nick, If I understand the problem correctly, the form reset button doesn't work when the form is prefilled with POST data. To overcome this, I created reset button of type='submit' value='Reset'. When loading the form page I test to see if submit=='Reset' or 'Submit'. If it equals 'Reset', then

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
I used LD_LIBRARYPATH=/usr/local/lib:/usr/java1.2/jre/lib/sparc:/usr/local/lib/php/modules but the problems 1) PHP Warning: Unable to load dynamic library './libphp_java.so' - ld.so.1: /usr/ local/apache/bin/httpd: fatal: ./libphp_java.so: open failed: No such file or directory in

Re: [PHP] PHP and Java

2002-03-01 Thread Richard Fox
Minor point, but you do mean LD_LIBRARY_PATH, not LD_LIBRARYPATH right? Also, set [Java] extension = libphp_javaso extension_dir = (pathname to libphp_javaso) Rich -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] posting data with curl

2002-03-01 Thread wm
is there a way using curl or another way to post data to a script, but then to actually be tranferred to that page? (of course i mean without a submit buttonan auto post sort of thing) using curl the script seems to wait for return data and doesn't give control to the url that the data was passed

[PHP] Re: posting data with curl

2002-03-01 Thread Julio Nobrega Trabalhando
Submit the data to the action= url of the form, not to the form's page. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Wm [EMAIL PROTECTED] wrote in message

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
the var is LD_LIBRARY_PATH ok! [Java] javahome=/usr/java12 javaclasspath=/usr/local/lib/php/php_javajar:/usr/java12/srcjar javalibrarypath=/usr/local/lib/php/extensions/no-debug-non-zts-20010901:/usr/java12/jre/lib/sparc javalibrary=/usr/java12/jre/lib/sparc/libjavaso

RE: [PHP] Re: PHP and Java

2002-03-01 Thread Hunter, Ray
What needs to be done here: You need to have the libphp_java.so in the libexec directory of apache so that it can load the module. Your error 2 is because the module is not loaded. Fix the 1 problem and the second will go away. Plus, I would run Tomcat and have that handle of all your java

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
the var is LD_LIBRARY_PATH ok! [Java] javahome=/usr/java12 javaclasspath=/usr/local/lib/php/php_javajar:/usr/java12/srcjar javalibrarypath=/usr/local/lib/php/extensions/no-debug-non-zts-20010901:/usr/java12/jre/lib/sparc javalibrary=/usr/java12/jre/lib/sparc/libjavaso

[PHP] Unofficial Cobalt PHP 4.1.2 PKG available

2002-03-01 Thread Andres Petralli
Hi Everyone, I was urged to compile a new php 4.1.2. module to fix that security bug in earlier versions for our Cobalt RaQ servers. I made a nice *.pkg file which everyone can get on ftp://ftp.cobalthosting.ch/pub/optional/RaQ3-PHP-4.1.2-1.pkg should anyone be interested in it. legal

Re: Re: [PHP] compile php with GD2

2002-03-01 Thread Hendrik
hi again, well sorry about that, it worked when i changed it to: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-imap

[PHP] Non printable page

2002-03-01 Thread Diana Castillo
Is there any way tomake a page that cannot be printed?? -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP] Re: get the median from an array of integers

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 02:28 PM, Jason Wong wrote: On Saturday 02 March 2002 02:03, Daniel Grace wrote: As for the median value, there's a relatively easy way to do this in PHP: I think Erik has gotten his terms mixed. He wants the most-chosen value, which is the mode and not

Re: [PHP] Non printable page

2002-03-01 Thread Scott St. John
Black background, white text used to work :) On Fri, 1 Mar 2002, Diana Castillo wrote: Is there any way tomake a page that cannot be printed?? -- -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP] Non printable page

2002-03-01 Thread Lars Torben Wilson
Diana Castillo writes: Is there any way tomake a page that cannot be printed?? No. If you display data on my machine I can do anything with it, since it must exist on my machine in some form in order to be displayed. -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com

Re: [PHP] passing array of variables in a query string

2002-03-01 Thread Richard Baskett
If you have control over the query string, just name your variable 'state[]' and then when it is passed through the query string as: http://www.archipro.com/test.php?state[]=ABstate[]=BC PHP will see that it is an array and will parse it as such and you can access the variables as an array.

  1   2   >