Re: [PHP] imagerotate - lossless?

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 12:20, CSN wrote: > Anybody know if imagerotate does lossless rotation on > jpeg's? I don't know :) but maybe you can try this: Rotate an image 360°, save it under a different name, then examine it. (filesize, quality, etc.) - E - -- PHP General Mailing List (http://ww

Re: [PHP] Protecting database passwords

2004-06-30 Thread Curt Zirzow
* Thus wrote - Edwin -: > On Thursday 01 July 2004 02:17, Chris W. Parker wrote: > > Red Wingate > > > > on Wednesday, June 30, 2004 9:33 AM said: > > > Hashing ... but i guess he wants to protected the > > > password needed to access the DB not a PW stored in the > >

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread John W. Holmes
- Edwin - wrote: I guess it's more on the underlying library. (i.e. Sablotron vs libxslt) Yeah, I guess that's what I meant; the "XSLT extension" versus the "XSL extension" which basically comes down to the libraries powering them. Anyone have any recommendations which one would be better to use

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 13:56, Curt Zirzow wrote: > * Thus wrote John W. Holmes: > > Curt Zirzow wrote: > > > > Thanks for the explanation Curt. I'll do my best to > > educate! :) > > > > >As far as XSLT and XSL, the one is prefered over the > > > other. > > > > What do you mean by this? XSLT is p

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 08:25, Chris W. Parker wrote: > [EMAIL PROTECTED] > > on Wednesday, June 30, 2004 4:15 PM said: > > How can I use a password hash to log on to a database > > server (or for any other login for that matter)? > > i apologize. i completely misund

Re: [PHP] Web live radio

2004-06-30 Thread ascll
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PHP is probably not the sbest technology for streaming content. Take a > look at shoutcast or icecast or some other product like that which are > custom made for this purpose. SHOUTcast vs Icecast, which one is bet

Re: [PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 06:42, Red Wingate wrote: > yep, as i said it was displayed correctly everywhere > expect in the forms oh i might mention - Mozilla worked > well but IE destroyed the data (only in textareas) Just an idea... How about doing something like this: Retrieve data from the db(u

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 02:17, Chris W. Parker wrote: > Red Wingate > > on Wednesday, June 30, 2004 9:33 AM said: > > Hashing ... but i guess he wants to protected the > > password needed to access the DB not a PW stored in the > > DB. > > you probably understand thi

Re: [PHP] What do I need in order to do the following with php.

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 01:38, [EMAIL PROTECTED] wrote: > I want to make sure I'm correct in doing something. What > do I need in order to perform the following: > > - > Send an XML message to "something" at a website, have it > load a database with the message, an

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
Hi, On Wednesday 30 June 2004 09:58, Bob Hockney wrote: > Hi there, > > I wrote a php script that accesses a database, and I am > wondering about securing the password to the database. I > could prompt the user for the password every session, but > I don't necessarily want the user to have the pa

Re: [PHP] suexec in php

2004-06-30 Thread Binay
you can execute system commands from within PHP using either system() , (Bexec() or passthru(). (B (BLook at these functions and m sure will solve ur problem. (B (Bthanks (BBinay (B (B- Original Message - (BFrom: "Syed Ghouse" <[EMAIL PROTECTED]> (BTo: "php mailinglists" <[EMAIL P

Re: [PHP] sql statement help needed

2004-06-30 Thread Binay
- Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 01, 2004 3:33 AM Subject: [PHP] sql statement help needed > hello, > > i've had to change some of my tables to accomodate some greater > flexibility in the application that use

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Justin Patrin
YES. You need to set the safe_mode_exec_dir path to be some path without binaries. Such as: /etc, although that's a bad example. Make a directory with only root write access and point that config option to it. On Wed, 30 Jun 2004 22:31:27 -0400, robert mena <[EMAIL PROTECTED]> wrote: > > Marek, J

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread Curt Zirzow
* Thus wrote John W. Holmes: > Curt Zirzow wrote: > > Thanks for the explanation Curt. I'll do my best to educate! :) > > >As far as XSLT and XSL, the one is prefered over the other. > > What do you mean by this? XSLT is preferred over XSL? Any reasons why > you can point me to? Thanks again.

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread John W. Holmes
Curt Zirzow wrote: Thanks for the explanation Curt. I'll do my best to educate! :) As far as XSLT and XSL, the one is prefered over the other. What do you mean by this? XSLT is preferred over XSL? Any reasons why you can point me to? Thanks again. -- ---John Holmes... Amazon Wishlist: www.amazon.

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread Curt Zirzow
* Thus wrote John W. Holmes: > Can anyone explain the purpose of PECL to me besides what it says on the > web page (http://pecl.php.net)? PECL provides a way to keep a repository of all the extensions that are built for php, while keeping the core php clean. So basically its a code seperation. >

Re: [PHP] MATCH ... AS relevancy FROM

2004-06-30 Thread John W. Holmes
John Taylor-Johnston wrote: David> http://dev.mysql.com/doc/mysql/en/Fulltext_Boolean.html David> Quote: David> They do not automatically sort rows in order of decreasing relevance. David> You can see this from the preceding query result: The row with the highest relevance is David> the one that c

[PHP] MATCH ... AS relevancy FROM

2004-06-30 Thread John Taylor-Johnston
David> http://dev.mysql.com/doc/mysql/en/Fulltext_Boolean.html David> Quote: David> They do not automatically sort rows in order of decreasing relevance. David> You can see this from the preceding query result: The row with the highest relevance is David> the one that contains ``MySQL'' twice, but

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread Curt Zirzow
* Thus wrote Curt Zirzow: > * Thus wrote John W. Holmes: > > Red Wingate wrote: > > > > Sorry I've been absent from the list for a while guys and gals. Now I > > see what I've been missing!! :) > > And well missed :) You're absense not what you've been missing :D Curt -- First, let me assure

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: > > -Original Message- > > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > > > > You can install it with the pear utility: > > > > pear install apc > > I tried, no luck: > batt3# pear install apc > downloading APC-2.0.4.tgz ... > Starting to download APC-2.0.

[PHP] imagerotate - lossless?

2004-06-30 Thread CSN
Anybody know if imagerotate does lossless rotation on jpeg's? CSN __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 10:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Problem with pspell module > > * Thus wrote Shannon Werb: > > > -Original Message- > > > From: Shannon Werb [mailto:[EMAIL PROT

[PHP] Is that a PECL in your pants?

2004-06-30 Thread John W. Holmes
Can anyone explain the purpose of PECL to me besides what it says on the web page (http://pecl.php.net)? For instance, the XSLT extension has been moved to PECL, but the experimental XSL functions are included by default with PHP5. This would lead me to favor the XSL functions over the XSLT fun

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
I found phpize... It is complaining about aclocal I edited to find aclocal in /usr/local/share Now I get /usr/local/bin/phpize: /usr/local/share/aclocal: permission denied Do I need to run phpize? Regards, Shannon > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sen

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 10:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Problem with pspell module > > * Thus wrote Shannon Werb: > > > -Original Message- > > > From: Shannon Werb [mailto:[EMAIL PROT

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: > > -Original Message- > > From: Shannon Werb [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 30, 2004 9:27 PM > > To: 'Curt Zirzow'; [EMAIL PROTECTED] > > Subject: RE: [PHP] Problem with pspell module > > > > > > (gdb) > > > > > > Disable php accelerator a

[PHP] > Problems with php_domxml and his xslt support (output settings not used)

2004-06-30 Thread Weyert de Boer
Hi I am using the domxml php extension for transforming XSLT, only I have the problem that it doesnt take some of my settings into acocunt. For example when I set ident="yes" it doesn't ident the output, and when I enabled the "omit-xml-declaration"-attribute this declaration is this availabe, w

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
Marek, Justin, am I doing something wrong with the setup because I saw the logs and a redeye.php was used to system("perl -") and was not supposed to. On Thu, 01 Jul 2004 00:32:07 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > Justin Patrin wrote --- napísal:: > > On Wed, 30 Jun 2004

[PHP] > Problems with php_domxml and his xslt support (output settings not used)

2004-06-30 Thread Weyert de Boer
Hi I am using the domxml php extension for transforming XSLT, only I have the problem that it doesnt take some of my settings into acocunt. For example when I set ident="yes" it doesn't ident the output, and when I enabled the "omit-xml-declaration"-attribute this declaration is this availabe, w

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message- > From: Shannon Werb [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 9:27 PM > To: 'Curt Zirzow'; [EMAIL PROTECTED] > Subject: RE: [PHP] Problem with pspell module > > > > (gdb) > > > > Disable php accelerator and see if it happens. You'll most > likely n

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> > (gdb) > > Disable php accelerator and see if it happens. You'll most > likely need to reinstall php accelerator. > > > SHIT, that did it... I didn't disable it in php.ini like I had thought, but once I did everything is fine... So why is this causing it? To re-install it maybe I just need

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
I disabled it, still happened... But as soon as I remove the --with-pspell from the php configure it works fine. So are you saying I should try and reinstall php-accelerator after I build with pspell enabled? Regards, Shannon > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROT

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: > Following is my backtrace, I found how to do it at: > http://bugs.php.net/bugs-generating-backtrace.php > > BACKTRACE: > (gdb) bt > #0 0x0 in ?? () > #1 0x28519319 in _init () >from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so > #2 0x28524595 in _fini ()

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Following is my backtrace, I found how to do it at: http://bugs.php.net/bugs-generating-backtrace.php BACKTRACE: batt3# gdb /usr/local/apache/bin/httpd /usr/local/apache/httpd.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General

RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Curt, how do I do this? I have the httpd.core that apache produced, how should I send it in? Regards, Shannon > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 8:10 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Problem with pspell modu

Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb: > Hi all, I filed a PHP bug related to others I found online, but thought I > would throw it by the list also... > You can find the bug at: > http://bugs.php.net/bug.php?id=28967 You're going to need to get some sort of backtrace, either from the core dump or ran intera

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread Curt Zirzow
* Thus wrote John W. Holmes: > Red Wingate wrote: > > Sorry I've been absent from the list for a while guys and gals. Now I > see what I've been missing!! :) And well missed :) I can't always come up with those nifty code tricks like you do :D Curt -- First, let me assure you that this is not

Re: [PHP] Regular Expression Help

2004-06-30 Thread Curt Zirzow
* Thus wrote Pablo Gosse: > > Here's the working regular expresssion: > > /^[a-zA-Z0-9\(\)]{1}[ a-zA-Z0-9\(\)_\,\.\-\'\"]{1,999}$/ for starters, that doesn't give me a warning at all. also, all those escapes arn't needed: $reg = '/^[a-zA-Z0-9()]{1}[ a-zA-Z0-9()_,.\'"-]{1,999}$/'; The ' is o

Re: [PHP] Is PEAR worth the effort?

2004-06-30 Thread Curt Zirzow
* Thus wrote Will Merrell: > I don't mean to start a flame war here, but I have been working in PHP for a > while now and am about to start a more extensive aplication. Some of the > PEAR modules look good and I just wanted to hear what the collected wisdom > out here thinks about it. Since '97 i'

Re: [PHP] Earliest PHP/FI

2004-06-30 Thread Curt Zirzow
* Thus wrote Jeff Loiselle: > Does anyone know where I would be able to find the earliest version of > PHP/FI or PHP possible? I am looking for the earliest possible version > for academic reasons. You can checkout php/fi from the cvs http://cvs.php.net/phpfi/ Curt -- First, let me assure y

Re: [PHP] install/config error - please help

2004-06-30 Thread Curt Zirzow
* Thus wrote Nguyen, Long P (Mission Systems): > I tried what you suggested and got the following: > > [EMAIL PROTECTED] root]# "main(){return(0);}" > test.c > -bash: main(){return(0);}: command not found You missed the 'echo'.. bash$ echo "main(){return(0);}" > test.c Curt -- First, let me

RE: [PHP] Protecting database passwords

2004-06-30 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, June 30, 2004 4:15 PM said: > How can I use a password hash to log on to a database server (or for > any other login for that matter)? i apologize. i completely misunderstood your original post. in which case, i can think of only two

RE: [PHP] Protecting database passwords

2004-06-30 Thread zeus
> argh. just make the file readable by root and the user that runs > apache/php and you're done. Which unfortunately is installation specific. I.e., if I am distributing a program and want to install a file which the user modifies to contain the passwords, I have to direct the user to manually

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread John W. Holmes
Red Wingate wrote: nobody ( and especialy not me ) would have offended you, if you wouldn't have flamed someone for creating a new thread by replying to another. Your E-Mail client breaks the Threads just like he did which makes reading the threads a pita. Replying to an existing thread to create a

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Marek Kilimajer
Justin Patrin wrote --- napísal:: On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: robert mena wrote --- napísal:: Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something like ServerAdmin [EMAIL PROTECTED] DocumentRoot /

RE: [PHP] Messages to List Being Truncated

2004-06-30 Thread Chris W. Parker
Red Wingate on Wednesday, June 30, 2004 3:21 PM said: > I would recommend you to either use some kind of Newsgroup software or > just try another e-mail client ( eg thunderbird ) ok. i'll see what i can do. chris. -- PHP General Mailing List (http://www.php.net/

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Marek Kilimajer
robert mena wrote --- napísal:: Marek, but the program was executed using a system call from a php script. - rt And that's what I mean. Every fopen call (almost) in the php binary is wrapped around the safe mode checks. But once you leave the php binary, or even load a php module that does not us

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Red Wingate
Thats just what he said :p Robert Mena wrote: Marek, but the program was executed using a system call from a php script. - rt On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: robert mena wrote --- napísal:: Hi, I host a few virtual domains in apache 2 and use php. The

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread Red Wingate
Buddy, nobody ( and especialy not me ) would have offended you, if you wouldn't have flamed someone for creating a new thread by replying to another. Your E-Mail client breaks the Threads just like he did which makes reading the threads a pita. It was stated more then once that replying useing any

[PHP] sql statement help needed

2004-06-30 Thread Chris W. Parker
hello, i've had to change some of my tables to accomodate some greater flexibility in the application that uses it and because of this i need to go through and update all the records. i've done one table by hand and it had about 100 records and took about 20 minutes. but this next table has about

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread Red Wingate
Usually it should be \\\ to get a \ ... now lets take a look at your regexp /^[a-zA-Z0-9\(\)]{1}[ a-zA-Z0-9\(\)_\,\.\-\'\"]{1,999}$/ ^[a-zA-Z0-9()] should work, as ( and ) only needs to be escaped when not within an []-block (cannot recall the name right now) [- a-zA-Z0-9(),.'\"\\\_]{1,999}$ s

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Justin Patrin
On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > robert mena wrote --- napísal:: > > Hi, > > > > I host a few virtual domains in apache 2 and use php. > > > > The virtual domain is something like > > > > > > ServerAdmin [EMAIL PROTECTED] > > Docum

RE: [PHP] Messages to List Being Truncated

2004-06-30 Thread Chris W. Parker
Red Wingate on Wednesday, June 30, 2004 2:50 PM said: > the first one was truncated but the second one was complete. Btw thx > Chris for opening up yet another thread that could have been avoided > if your client was configured correctly. oh woe is me! if only i had

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
Marek, but the program was executed using a system call from a php script. - rt On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > robert mena wrote --- napísal:: > > > Hi, > > > > I host a few virtual domains in apache 2 and use php. > > > > The virtual domain

RE: [PHP] Messages to List Being Truncated

2004-06-30 Thread Pablo Gosse
> the first one was truncated but the second one was complete. Btw thx > Chris for opening up yet another thread that could have been avoided > if your client was configured correctly. This is strange. At any rate, I've put the message in an html page on our server. http://www.unbc.ca/regexp

Re: [PHP] safe mode/open basedir not working ?

2004-06-30 Thread Marek Kilimajer
robert mena wrote --- napísal:: Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something like ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html/domain.com ServerName www.domain.com ErrorLog logs/domain.com-error_log

Re: [PHP] Messages to List Being Truncated

2004-06-30 Thread Red Wingate
the first one was truncated but the second one was complete. Btw thx Chris for opening up yet another thread that could have been avoided if your client was configured correctly. -- red Chris W. Parker wrote: Pablo Gosse on Wednesday, June 30, 2004 2:29 PM said: Hi

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Red Wingate
yep, as i said it was displayed correctly everywhere expect in the forms oh i might mention - Mozilla worked well but IE destroyed the data (only in textareas) Torsten Roehr wrote: "Red Wingate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [] Hi Red, I'm actually working on a pro

[PHP] safe mode/open basedir not working ?

2004-06-30 Thread robert mena
Hi, I host a few virtual domains in apache 2 and use php. The virtual domain is something like ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/html/domain.com ServerName www.domain.com ErrorLog logs/domain.com-error_log CustomLog logs/domain.com

RE: [PHP] Messages to List Being Truncated

2004-06-30 Thread Chris W. Parker
Pablo Gosse on Wednesday, June 30, 2004 2:29 PM said: > Hi folks. I've just attempted to twice post a message, and for some > reason it's being truncated somewhere between my Sent Items folder and > when it appears on the list. > > Has anyone had similar problems.

[PHP] Messages to List Being Truncated

2004-06-30 Thread Pablo Gosse
Hi folks. I've just attempted to twice post a message, and for some reason it's being truncated somewhere between my Sent Items folder and when it appears on the list. Has anyone had similar problems. Anyone have any idea what could be causing it? Cheers and TIA. Pablo -- PHP General Mailing

[PHP] Regular Expression Help

2004-06-30 Thread Pablo Gosse
Howdy folks. Sorry for the message which just showed up truncated. It's complete in my sent mail, but appeared truncated on the list. Full message is below. TIA for all help. Hi folks. I'm having a little bit of a stupid moment with a regular expression which I'm hoping someone can lend a hand

RE: [PHP] xslt_create

2004-06-30 Thread Pierre
It's the same , too bad thanks anyway Pierre -Message d'origine- De : eoghan [mailto:[EMAIL PROTECTED] Envoyé : mercredi 30 juin 2004 22:17 À : Pierre Objet : Re: [PHP] xslt_create take this line out of your xml and see what happens Pierre wrote: > Thanks for the link :) > In cas

RE: [PHP] Protecting database passwords

2004-06-30 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, June 30, 2004 2:11 PM said: >> Hashing ... but i guess he wants to protected the password >> needed to access the DB not a PW stored in the DB. > > Yes, this is what I am concerned about, access to the file by local > users on the ser

Re: [PHP] Protecting database passwords

2004-06-30 Thread Justin Patrin
You pretty much have to run the webserver / script as a certain user and give only that use read permissions to the file. On Wed, 30 Jun 2004 14:11:04 -0700 (GMT-07:00), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hashing ... but i guess he wants to protected the password > > needed to

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Torsten Roehr
"Red Wingate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [] > > Hi Red, > > > > I'm actually working on a project as well at the moment that uses utf8 data > > in MySQL. All chars should be OK when output with utf8_decode(). Do the > > chars only look wrong within textarea or

Re: [PHP] Protecting database passwords

2004-06-30 Thread zeus
> Hashing ... but i guess he wants to protected the password > needed to access the DB not a PW stored in the DB. Yes, this is what I am concerned about, access to the file by local users on the server. Hashes won't help me. -Bob -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Red Wingate
[] Hi Red, I'm actually working on a project as well at the moment that uses utf8 data in MySQL. All chars should be OK when output with utf8_decode(). Do the chars only look wrong within textarea or also outside of form elements? [] Actually everything ( expect one language ... i guess it

Re: [PHP] Is PEAR worth the effort?

2004-06-30 Thread Torsten Roehr
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 30 Jun 2004 15:21:36 -0400, Will Merrell <[EMAIL PROTECTED]> wrote: > > > > I don't mean to start a flame war here, but I have been working in PHP for a > > while now and am about to start a more extensive aplicat

[PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread Torsten Roehr
"Red Wingate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [...] > > Can't you use utf8_decode() to display the utf8 encoded data? > [...] > > The displayed data worked out fine for some languages but others didn't > and even simple german chars like äöü won't show up correctly wit

[PHP] Regular Expression Help

2004-06-30 Thread Pablo Gosse
Hi folks. I'm having a little bit of a stupid moment with a regular expression which I'm hoping someone can lend a hand with. The regular expression I have right now matches strings between 2 and 1000 characters in length that start with one of the following characters: a-z A-Z 0-9 ( ) and wher

RE: [PHP] xslt_create

2004-06-30 Thread Pierre
Thanks for the link :) In case of this is my .xml John Smith 25 Internet English Visual Basic And my .xsl http://www.w3.org/1999/XSL/Transform";>

Re: [PHP] xslt_create

2004-06-30 Thread eoghan
thats really difficult to say without seeing the xsl and xml. theres a very good xsl list over at mulberrytech.com too if you need specific xsl help http://www.mulberrytech.com/xsl/xsl-list/index.html Pierre wrote: Yes it's ok thanks to all :) But now I have a little problem : my page is all whi

Re: [PHP] How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Marek Kilimajer
Scott Fletcher wrote --- napísal:: In one of the reply to the original posting I made, someone say that htmlentities() would work and upon submission, the PHP's $_REQUEST, $_POST, $_GET would get the apostrophe somehow. (The conversion somewhere would change it back) the somewhere is in the br

RE: [PHP] xslt_create

2004-06-30 Thread Pierre
Yes it's ok thanks to all :) But now I have a little problem : my page is all white This is my code : $xml='frm2004.xml'; $xsl='style1.xsl'; $xslt=xslt_create(); $resultat=xslt_process($xslt,$xml,$xsl); xslt_free($xslt); echo $resultat; what's wrong ? please Pierre -Message d'origine

RE: [PHP] xslt_create

2004-06-30 Thread Ray Hunter
On Wed, 2004-06-30 at 14:36, Pierre wrote: > Ok so I must recompile php with this option but I can't is there any php > class easy to use that can do this ? If you are on a linux box and have php installed via rpm you might be able to get a php-xslt rpm that you can use. If on windows you can down

Re: [PHP] xslt_create

2004-06-30 Thread eoghan
on windows? linux? Pierre wrote: Ok so I must recompile php with this option but I can't is there any php class easy to use that can do this ? Pierre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] xslt_create

2004-06-30 Thread Pierre
Ok so I must recompile php with this option but I can't is there any php class easy to use that can do this ? Pierre -Message d'origine- De : Ray Hunter [mailto:[EMAIL PROTECTED] Envoyé : mercredi 30 juin 2004 21:34 À : php-general Objet : Re: [PHP] xslt_create On Wed, 2004-06-30 at 14

Re: [PHP] xslt_create

2004-06-30 Thread Ray Hunter
On Wed, 2004-06-30 at 14:30, Pierre wrote: > Hi all > Please when i'm trying to use the xslt_create() function php says indefined > function but this is in my phpinfo() > XML Support active > XML Namespace Support active > EXPAT Version 1.95.6 > Any idea please ? You need xslt support en

[PHP] xslt_create

2004-06-30 Thread Pierre
Hi all Please when i'm trying to use the xslt_create() function php says indefined function but this is in my phpinfo() XML Support active XML Namespace Support active EXPAT Version 1.95.6 Any idea please ? Pierre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Hi all, I filed a PHP bug related to others I found online, but thought I would throw it by the list also... You can find the bug at: http://bugs.php.net/bug.php?id=28967 [30 Jun 5:40am CEST] shannon at swerb dot com Description: Hi there, sorry, but I am running out of ideas here.

Re: [PHP] problem with embeded objects and reference

2004-06-30 Thread Red Wingate
better don't blame the other pal :-) http://screens.erisx.de/reply.gif -- red Red Wingate wrote: so, why don't you reply correctly? :p Chris W. Parker wrote: Vincent DUPONT on Wednesday, June 30, 2004 1:05 PM said: Hi, hi. could anyone help on this 'by reference'

Re: [PHP] problem with embeded objects and reference

2004-06-30 Thread Red Wingate
so, why don't you reply correctly? :p Chris W. Parker wrote: Vincent DUPONT on Wednesday, June 30, 2004 1:05 PM said: Hi, hi. could anyone help on this 'by reference' problem. when starting a new thread please do not just reply to an ongoing thread and change the

[PHP] Re: problem with embeded objects and reference

2004-06-30 Thread Red Wingate
Lill example: [...] $child1->setproperty("first");//displayed $main->setChild($child1); $child1->setproperty("second"); //NOT DISPLAYED [...] $child1 is passed to $main with property 'first'. Later on you update $child1, but not $main->child, as they are not the same objects ( equal but not same ).

RE: [PHP] problem with embeded objects and reference

2004-06-30 Thread Chris W. Parker
Vincent DUPONT on Wednesday, June 30, 2004 1:05 PM said: > Hi, hi. > could anyone help on this 'by reference' problem. when starting a new thread please do not just reply to an ongoing thread and change the subject. please start a new email. your fellow list mem

[PHP] Re: problem with embeded objects and reference

2004-06-30 Thread Red Wingate
Not sure over here, but isn't it $main->setChild(&$child1); Vincent Dupont wrote: Hi, could anyone help on this 'by reference' problem. I have 2 classes. The main class as a child class. The child class has properties (array) I would like to be able to manipulate the child's properties even after t

[PHP] problem with embeded objects and reference

2004-06-30 Thread Vincent DUPONT
Hi, could anyone help on this 'by reference' problem. I have 2 classes. The main class as a child class. The child class has properties (array) I would like to be able to manipulate the child's properties even after the child has been inserted into the main class. Does this make sense? I can do

RE: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Chris W. Parker
Scott Fletcher on Wednesday, June 30, 2004 12:42 PM said: > Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm > using PHP 4.3.1 read the page again bro. :) http://us4.php.net/mysql_escape_string chris. -- PHP General Mailing List (http://

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Justin Patrin
On Wed, 30 Jun 2004 15:41:42 -0400, Scott Fletcher <[EMAIL PROTECTED]> wrote: > > Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using > PHP 4.3.1 I know that it's not. Where are you seeing that? According to the manual: http://us3.php.net/manual/en/function.mysql-escap

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Red Wingate
[...] Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using PHP 4.3.1 [...] *mo* - wrong [quote] mysql_escape_string (PHP 4 >= 4.0.3, PHP 5) [/quote] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Scott Fletcher
Bummer, mysql_escape_string() is available only in PHP 5 and up. I'm using PHP 4.3.1 "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Justin Patrin <[EMAIL PROTECTED]> wrote: > > You also shouldn't need addslashes when putting it in. quoteSmart() in > > PEAR

Re: [PHP] How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Scott Fletcher
In one of the reply to the original posting I made, someone say that htmlentities() would work and upon submission, the PHP's $_REQUEST, $_POST, $_GET would get the apostrophe somehow. (The conversion somewhere would change it back) "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[

RE: [PHP] Is PEAR worth the effort?

2004-06-30 Thread Dennis Seavers
It's hard to say whether it's worth the effort for you; it depends on what your going to do, both for your current project and future ones. However, in general, I believe the effort you put into learning PEAR is negligible compared to the yield. I don't think PEAR is a flash in the pan. > [Orig

RE: [PHP] Is PEAR worth the effort?

2004-06-30 Thread Vincent DUPONT
it does REALLY worth it! Install is easy, download only thoses packages you need, extendable, stable... The doc is sometimes a bit poor, but the basic are always easy Vincent -Original Message- From: Will Merrell [mailto:[EMAIL PROTECTED] Sent: mercredi 30 juin 2004 21:22 To: [EMAIL PROT

Re: [PHP] Is PEAR worth the effort?

2004-06-30 Thread Justin Patrin
On Wed, 30 Jun 2004 15:21:36 -0400, Will Merrell <[EMAIL PROTECTED]> wrote: > > I don't mean to start a flame war here, but I have been working in PHP for a > while now and am about to start a more extensive aplication. Some of the > PEAR modules look good and I just wanted to hear what the collec

[PHP] Is PEAR worth the effort?

2004-06-30 Thread Will Merrell
I don't mean to start a flame war here, but I have been working in PHP for a while now and am about to start a more extensive aplication. Some of the PEAR modules look good and I just wanted to hear what the collected wisdom out here thinks about it. When I try to read the installation instruction

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Chris Shiflett
--- Justin Patrin <[EMAIL PROTECTED]> wrote: > You also shouldn't need addslashes when putting it in. quoteSmart() in > PEAR::DB is a *much* better option. That's great for those who use PEAR::DB, but it's not very safe to argue against addslashes() based on what's in a specific PEAR module. I wo

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread John W. Holmes
Joel Kitching wrote: s... when you pull the data *out* of the database the \ will not exist and you therefore do not need to perform stripslashes(). I tried using addslashes() on the string in the query, and then SELECTing it, and the slashes are included. Does mysql_escape_string() not do th

Re: [PHP] How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > I'm using data that goes from the HTML textbox to PHP to MYSQL to > PHP to HTML textbox. The only trouble I have is to escape the > apostrophe character when it is put into the HTML textbox by PHP > (from MySQL). > > --snip-- > echo ""; > --snip--

Re: [PHP] Re: Earliest PHP/FI

2004-06-30 Thread Marek Kilimajer
Red Wingate wrote --- napísal:: maybe take a look here : http://museum.php.net/ otherwise do some research using google. Jeff Loiselle wrote: Does anyone know where I would be able to find the earliest version of PHP/FI or PHP possible? I am looking for the earliest possible version for academic

  1   2   >