Re: [PHP] PhpMailer vs Pear:Mail

2005-11-28 Thread Richard Heyes
Cabbar Duzayak wrote: Could you please tell which one you recommend in terms of stability/speed and share your experience in terms of these 2? Ooo, that would have to be PEAR::Mail... -- Richard Heyes http://www.phpguru.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] SQL Password() function

2005-11-28 Thread David Grant
Ahmed Saad wrote: On 11/26/05, Yaswanth Narvaneni [EMAIL PROTECTED] wrote: I 'dont' want to use something like select * from table where table.passwd=password($passwd); (IIRC. they broke backward compatibility in version 5).. 4.1 :( Cheers, David Grant -- PHP General Mailing List

[PHP] Two version of PHP in single server

2005-11-28 Thread J.F.Kishor
Hi, I have a query, can we run two versions of PHP in linux 7.2 server. I want to use PHP 4.x for one application and PHP 5.1.0 for another application in the same server. Do I need to do some configuration changes to set the php path.

Re: [PHP] Web based editor

2005-11-28 Thread Lester Caine
Greg Donald wrote: I've tried lots of javascript wysiwyg editors. Tiny MCE is my pick. Fast and very customizable. The cleanup functionality works great with non-techies who like to draft stuff in MS Word first. We have ended up with it as the html option for bitweaver and it seems to

[PHP] Advice Needed for Klorofil Open Source PHP Platform

2005-11-28 Thread Reza Iqbal
Hi, I would like to give information about a new open source project named as Klorofil Collaboration Project (http://www.klorofil.org). As a new open source project, we will need many advice in order to make it success. Currently, in Klorofil Collaboration Project, we develop Klorofil Platform.

Re: [PHP] Advice Needed for Klorofil Open Source PHP Platform

2005-11-28 Thread Ahmed Saad
On 11/28/05, Reza Iqbal [EMAIL PROTECTED] wrote: As a new open source project, we will need many advice in order to make it success. ah an open source project with encoded source code?! how come? -ahmed

Re: [PHP] Can't execute external program

2005-11-28 Thread Ahmed Saad
On 11/21/05, Voip tech [EMAIL PROTECTED] wrote: ?php exec(/var/www/html/myprog -E 123456789098.dat sample1.txt sample1.new); ? use ? system (/var/www/html/myprog -E 123456789098.dat sample1.txt sample1.new, $return_val); ? and check $return_val? -ahmed

[PHP] Language check

2005-11-28 Thread Khorosh Irani
Hello I want to sure that all the character of a posted string is in my language(persian for example).What should I do? Thanks

Re: [PHP] Language check

2005-11-28 Thread Jochem Maas
Khorosh Irani wrote: Hello I want to sure that all the character of a posted string is in my language(persian for example).What should I do? a few alternatives: 1. read through each posted string manually. 2. hire a persian monkey to do that for you. (monkeys are cheaper ;-) 3. google around

Re: [PHP] Two version of PHP in single server

2005-11-28 Thread John Nichel
J.F.Kishor wrote: Hi, I have a query, can we run two versions of PHP in linux 7.2 server. I want to use PHP 4.x for one application and PHP 5.1.0 for another application in the same server. Do I need to do some configuration changes to set

RE: [PHP] Adding links to HTML for a CMS

2005-11-28 Thread Jay Blanchard
[snip] I am trying to create my own CMS. To being with I want to let users edit anything within a p tag. I want to have a menu to the left and display the webpage in the rest of the page, and for each set of p tags I want the user to be able to click on the link to edit that paragraph. My

[PHP] PHP6, UTF strlen

2005-11-28 Thread Jared Williams
Hi, Just been looking over some code, and saw if (strlen($data) !== file_put_contents($filename, $data)) where $data is UTF8, so wondering if this is going to break in PHP6, if so what should be the equivalent code? Jared -- PHP General Mailing

RE: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jay Blanchard
[snip] Just been looking over some code, and saw if (strlen($data) !== file_put_contents($filename, $data)) where $data is UTF8, so wondering if this is going to break in PHP6, if so what should be the equivalent code? [/snip] PHP6? -- PHP General Mailing

Re: [PHP] PHP6, UTF strlen

2005-11-28 Thread Richard Davey
Hi Jared, Monday, November 28, 2005, 4:04:29 PM, you wrote: Just been looking over some code, and saw if (strlen($data) !== file_put_contents($filename, $data)) where $data is UTF8, so wondering if this is going to break in PHP6, if so what

Re: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jochem Maas
Jared Williams wrote: Hi, Just been looking over some code, and saw if (strlen($data) !== file_put_contents($filename, $data)) where $data is UTF8, so wondering if this is going to break in PHP6, if so what should be the equivalent code? that

RE: [PHP] PhpMailer vs Pear:Mail

2005-11-28 Thread Mark Steudel
Would you mind elaborating on why? -Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED] Sent: Monday, November 28, 2005 12:53 AM To: Cabbar Duzayak Cc: php-general@lists.php.net Subject: Re: [PHP] PhpMailer vs Pear:Mail Cabbar Duzayak wrote: Could you please tell which

Re: [PHP] PhpMailer vs Pear:Mail

2005-11-28 Thread David Grant
*cough* http://pear.php.net/package/Mail *cough* Mark Steudel wrote: Would you mind elaborating on why? -Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED] Sent: Monday, November 28, 2005 12:53 AM To: Cabbar Duzayak Cc: php-general@lists.php.net Subject: Re:

RE: [PHP] Adding links to HTML for a CMS

2005-11-28 Thread Mark Steudel
Store each paragraph text in a database Table 1 = tblPage id Name 1 Welcome Page 2 About Page Table 2 = Content id pageid content 1 1 This is some content in a paragraph 2 1 This is some more content 3 1 This is

RE: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jared Williams
Jared Williams wrote: Hi, Just been looking over some code, and saw if (strlen($data) !== file_put_contents($filename, $data)) where $data is UTF8, so wondering if this is going to break in PHP6, if so what should be the equivalent code? that

Re: [PHP] Two version of PHP in single server

2005-11-28 Thread Curt Zirzow
On Mon, Nov 28, 2005 at 12:07:02PM +0530, J.F.Kishor wrote: Hi, I have a query, can we run two versions of PHP in linux 7.2 server. I want to use PHP 4.x for one application and PHP 5.1.0 for another application in the same server. Do I need to do

[PHP] Database problem?

2005-11-28 Thread William Stokes
Hello, This page works on a operator hosted production server but not my own test server. I have no idea what's causing this and I REALLY need some help or ideas what to check. This is the browsers address line: http://localhost/index.php?team=F10a I have this in my page and it doesn't work:

RE: [PHP] Database problem?

2005-11-28 Thread Jay Blanchard
[snip] http://localhost/index.php?team=F10a I have this in my page and it doesn't work: $sql = select jouk_nimi from x_jun_jouk where jouk_id='$team' ; $kysely = mysql_query($sql); $tulos = mysql_fetch_row($kysely); $jouk_nimi = $tulos[0]; $jouk_nimi -variable will be empty. This works

Re: [PHP] Database problem?

2005-11-28 Thread Curt Zirzow
On Mon, Nov 28, 2005 at 08:37:36PM +0200, William Stokes wrote: ... I have this in my page and it doesn't work: $sql = select jouk_nimi from x_jun_jouk where jouk_id='$team' ; $kysely = mysql_query($sql); $tulos = mysql_fetch_row($kysely); $jouk_nimi = $tulos[0]; $jouk_nimi -variable will

Re: [PHP] Database problem?

2005-11-28 Thread William Stokes
OK. Where can I change the register_globals setting? Thanks for the fast replies. -Will Jay Blanchard [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] [snip] http://localhost/index.php?team=F10a I have this in my page and it doesn't work: $sql = select jouk_nimi from x_jun_jouk

RE: [PHP] Database problem?

2005-11-28 Thread Jay Blanchard
[snip] OK. Where can I change the register_globals setting? [/snip] In the php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database problem?

2005-11-28 Thread John Nichel
William Stokes wrote: OK. Where can I change the register_globals setting? snip In the php.ini and/or in a .htaccess (if you're using Apache, and that Apache server is configured to allow such changes in a .htaccess). However, let me be the fist to suggest that you leave register_globals

Re: [PHP] Database problem?

2005-11-28 Thread William Stokes
Damn! It Worked. Thanks :) Jay Blanchard [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] [snip] OK. Where can I change the register_globals setting? [/snip] In the php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Database problem?

2005-11-28 Thread Jim Moseby
This page works on a operator hosted production server but not my own test server. I have no idea what's causing this and I REALLY need some help or ideas what to check. This is the browsers address line: http://localhost/index.php?team=F10a I have this in my page and it doesn't

RE: [PHP] Database problem?

2005-11-28 Thread Jim Moseby
Damn! It Worked. Thanks :) Even so, John's excellent advice should still be taken. You should not generally code with a dependence on register_globals, for reasons you have just seen. JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: PhpMailer vs Pear:Mail

2005-11-28 Thread Petr Smith
Cabbar Duzayak wrote: Could you please tell which one you recommend in terms of stability/speed and share your experience in terms of these 2? Thanks... I tried all and ended with http://www.phpguru.org/static/htmlMimeMail5.html fast, stable, usable. Petr -- PHP General Mailing List

[PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
Greetings I'm having some trouble on a members online script. I use a php script to track member login to avoid multiple logins on different ips etc. When a logged member closes the browser window I can't delete the table entry because I will not have access to some sort of Session_OnEnd action

[PHP] Re: help avoid multiple login

2005-11-28 Thread Matt Monaco
Create an object with the functionality of your choosing, in the destructor perform your cleanup operations. mail.pmpa [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings I'm having some trouble on a members online script. I use a php script to track member login to avoid

[PHP] Problem with Frames and Sessions

2005-11-28 Thread Shaun
Hi, I have a frameset with a left column and a main column. I have a login script with a form in the left column. When I log in I get a menu in the left column which targets to the main column. My problem is that when I click on links in the left column nothing appears in the main frame,

RE: [PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
-Mensagem original- De: Matt Monaco [mailto:[EMAIL PROTECTED] Enviada: terça-feira, 29 de Novembro de 2005 0:02 Para: php-general@lists.php.net Assunto: [PHP] help avoid multiple login Create an object with the functionality of your choosing, in the destructor perform your cleanup

RE: [PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
De: Matt Monaco [mailto:[EMAIL PROTECTED] Create an object with the functionality of your choosing, in the destructor perform your cleanup operations. The problem is I don't know when a member closes the browser window. If I knew that i would automatically logout that member. Thanks. -- PHP

Re: [PHP] help avoid multiple login

2005-11-28 Thread Matt Monaco
If you store your login object in a session, when the browser window is closed the object will automatically be destroyed, thus calling the destructor. In response to the message you send directly to me, you would create a file called Login.class.php and at the top of each page include the

[PHP] Re: Can't use secure file wrappers - Windows

2005-11-28 Thread Chuck Anderson
James Benson wrote: Could use the xampp package or just the openssl php from it, http://www.apachefriends.org/en/xampp.html Chuck Anderson wrote: [I've had this posted in the php.windows group for a few days, but I got no replies there.] I have been plugging away at this for some

[PHP] php link question

2005-11-28 Thread Ron Zimmerman
I need a function that links immediately to a different page - without waiting for the user to click on anything. I'm not sure if link() does that or some other function. Thanks, Ron Z -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php link question

2005-11-28 Thread Robert Cummings
On Tue, 2005-11-29 at 00:28, Ron Zimmerman wrote: I need a function that links immediately to a different page - without waiting for the user to click on anything. I'm not sure if link() does that or some other function. header() in PHP: header( 'Location:

Re: [PHP] php link question

2005-11-28 Thread jonathan
not totally sure what you're asking but look at header (location: ) On Nov 28, 2005, at 9:28 PM, Ron Zimmerman wrote: I need a function that links immediately to a different page - without waiting for the user to click on anything. I'm not sure if link() does that or some other

Re: [PHP] Two version of PHP in single server

2005-11-28 Thread J.F.Kishor
Hi, Thanks...! Even the second is server-parsed not cgi Some more suggestions are welcomed, so we can succeed in experimentation of Two version of PHP in same server. i haven't tried this since php3/4, but it used to be that you could install them both (as server

[PHP] R: [PHP] Problem with Frames and Sessions

2005-11-28 Thread Sebastian \En3pY\ Zdrojewski
Change the logon script. The cookies of each frame are loaded separately, so if you want the session to be active in all the frames, at least once you got to reload them. The easiest way, I think, is to change the logon script: put it on a main page and once the user is logged in, create the

Re: [PHP] Database problem?

2005-11-28 Thread William Stokes
You should not generally code with a dependence on register_globals OK. I have to consider that. Apparently the, ISP's production server has this setting on. Don't know why... -Will Jim Moseby [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] Damn! It Worked. Thanks :) Even so,