[PHP] stream filters (php5)

2005-02-06 Thread Tjerk Meesters
Hi all, This question is based on the given example at http://php.net/manual/en/function.stream-filter-register.php Does anyone have an example of how to implement stream filters that produce their output until all input has been read? For instance, a stream version of md5() which -on every

[PHP] installing php on 2 apache server

2005-02-06 Thread Stephane Parenton
Hi everyone, I've looked at google and the archive, but did not found an accurate answer, so here's my question (that is certainly common though...) I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want this apache to be the production apache server and i need to have another

Re: [PHP] installing php on 2 apache server

2005-02-06 Thread John Nichel
Stephane Parenton wrote: Hi everyone, I've looked at google and the archive, but did not found an accurate answer, so here's my question (that is certainly common though...) I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want this apache to be the production apache server and i

Re: [PHP] installing php on 2 apache server

2005-02-06 Thread Stephane Parenton
John Nichel wrote: Stephane Parenton wrote: Hi everyone, I've looked at google and the archive, but did not found an accurate answer, so here's my question (that is certainly common though...) I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want this apache to be the production

[PHP] [HAB] How to build a member area with PHP Sessions

2005-02-06 Thread OOzy Pal
Dears Can anyone direct me to a good tutorial on how to build a member area using php sessions? Thank you OOzy Regards, OOzy What is the purpose of life? - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'

Re: [PHP] installing php on 2 apache server

2005-02-06 Thread John Nichel
Stephane Parenton wrote: snip John Nichel wrote: Just install the second version of Apache in a different location (--prefix=/path/to/other/location), and run it on a different port (the listen directive in the httpd.conf) Well, this is ok to have 2 seperate httpd, but what i need, and that was

[PHP] Re: [HAB] How to build a member area with PHP Sessions

2005-02-06 Thread Jerry Kita
OOzy Pal wrote: Dears Can anyone direct me to a good tutorial on how to build a member area using php sessions? Thank you OOzy Regards, OOzy What is the purpose of life? - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' I'm

Re: [PHP] Where's xml in PHP5?

2005-02-06 Thread Yann Larrive
I am not shure but you may want to check if you have expath installed with your apache. The XML functions require expath, if you don't have bundled with Apache you can specify the path to it --with-expat-dir For more information on installation seehttp://ca3.php.net/manual/en/ref.xml.php

Re: [PHP] Problems with PHP and MySQL

2005-02-06 Thread Curt Zirzow
* Thus wrote Sarah: Fixed. It was a combination of the commandline version of PHP 503 not building by default, *and* my having to use the 'mysqli' interface as you suggested. The object interface to mysql works quite nicely. Just a note: if you do use the mysqli interface, it isn't

Re: [PHP] Where's xml in PHP5?

2005-02-06 Thread Curt Zirzow
* Thus wrote Brian V Bonini: Just compiled PHP5 usign --enable-xml (though I see it is supposed to be enabled by defaut however I'm getting 'call to undefined function' errors now. The problem exists in your configure line. './configure' '--enable-versioning'# most likely dont need this

Re: [PHP] RE: wait function

2005-02-06 Thread Curt Zirzow
* Thus wrote Alessandro Rosa: Yes, guys, SLEEP was what I was looking for. I took up the code I showed before from such a php site, but it did work on a linux server anyway. btw, both sleep and usleep will work accross different Operating Systems. Curt -- Quoth the Raven, Nevermore. --

Re: [PHP] Php Problem Parsing or so I think

2005-02-06 Thread Curt Zirzow
* Thus wrote Carinus Carelse: variables I get an error message in the browser Illegitimate format. I am including a copy of the link I click on to call the page below. I wonder if someone on the list can may be help me. Have I compiled PHP wrong or is the code itself wrong. Or is there a

[PHP] Control Structures

2005-02-06 Thread Wil
To PHP list: The following code is attempting to compare the salary to the four other pre-defined variables with if and else statements. So the final output should result in 4 different statements. What is the best way to do this? Following is the code... ?php $currentmax = 1049; $maximum1

Re: [PHP] Control Structures

2005-02-06 Thread John Holmes
Wil wrote: The following code is attempting to compare the salary to the four other pre-defined variables with if and else statements. So the final output should result in 4 different statements. [snip] if ($salary maximum1); { Take out the semi-colon in the above line and others like it. --

Re: [PHP] Control Structures

2005-02-06 Thread Marek Kilimajer
Wil wrote: To PHP list: The following code is attempting to compare the salary to the four other pre-defined variables with if and else statements. So the final output should result in 4 different statements. What is the best way to do this? Following is the code... ?php $currentmax = 1049;

[PHP] Public/Private Key Encryption

2005-02-06 Thread Daniel Bowett
Is there any way I can use public/private key encryption in php in a similar way to mcrypt. I have got php encrypting the data using gnugp but need to automate the decrytping element which is proving difficult because of the way the password is passed. -- PHP General Mailing List

Re: [PHP] Public/Private Key Encryption

2005-02-06 Thread Dan Trainor
Daniel Bowett wrote: Is there any way I can use public/private key encryption in php in a similar way to mcrypt. I have got php encrypting the data using gnugp but need to automate the decrytping element which is proving difficult because of the way the password is passed. While Daniel has

Re: [PHP] Public/Private Key Encryption

2005-02-06 Thread Stig Venaas
On Sun, Feb 06, 2005 at 09:23:30PM +, Daniel Bowett wrote: Is there any way I can use public/private key encryption in php in a similar way to mcrypt. I have got php encrypting the data using gnugp but need to automate the decrytping element which is proving difficult because of the

[PHP] Remote Procedure Call Failed

2005-02-06 Thread Alex Gemmell
Hello, I am building a login system for my website but I keep experiencing an error on a specific PHP page that I have never encountered before and it seems worryingly low-level! It says: The remote procedure call failed. And that's it! Nothing else is on the page. Sometimes I get a slightly

[PHP] Checking directory existance

2005-02-06 Thread Ashley M. Kirchner
Through ftp commands, how can I check whether a directory already exists before executing ftp_mkdir() ? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking directory existance

2005-02-06 Thread Dan Trainor
Ashley M. Kirchner wrote: Through ftp commands, how can I check whether a directory already exists before executing ftp_mkdir() ? Thanks! Ashley - Try using: if (!ftp_chdir($ftpc,$ftproot.$srcrela)) Thanks -dant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: