[PHP] Re: class const versus define

2008-09-23 Thread Carlos Medina
Richard Lynch schrieb: Is there any reason why the logic behind define() couldn't be pushed down to class const? Code like this is kinda fugly: //It's okay here, but not in a class? define('CACHE_DIR_LONG', CONFIG_ROOT_PATH . '/cache/'); class Cache { const CACHE_DIR = '/dev/shm/cache/';

Re: [PHP] Using Static Class Variables to Access Globally

2008-09-23 Thread Ryan Panning
Nathan Nobbe wrote: in many cases, people like to drive client code through methods, which, given the current set of language features in php, could be reason to favor a singleton w/ __get() & __set() methods defined. you still have the same 'global' scope, except that the data doesnt have to be

[PHP] The Data Literacy Test

2008-09-23 Thread Shelley
The Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test -- With best regards, Shelley Shyan http://www.phparch.cn

Re: [PHP] Using Static Class Variables to Access Globally

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 7:03 PM, Ryan Panning <[EMAIL PROTECTED]> wrote: > The typical way to access a variable or instance from inside a > function/method is to either declare it a global variable or pass it as a > argument. Is there any reason why someone shouldn't use static class > variables t

[PHP] class const versus define

2008-09-23 Thread Richard Lynch
Is there any reason why the logic behind define() couldn't be pushed down to class const? Code like this is kinda fugly: //It's okay here, but not in a class? define('CACHE_DIR_LONG', CONFIG_ROOT_PATH . '/cache/'); class Cache { const CACHE_DIR = '/dev/shm/cache/'; const CACHE_TTL = 300; //

RE: [PHP] Using Static Class Variables to Access Globally

2008-09-23 Thread Richard Lynch
> -Original Message- > From: Ryan Panning [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2008 8:03 PM > To: php-general@lists.php.net > Subject: [PHP] Using Static Class Variables to Access Globally > > The typical way to access a variable or instance from inside a > function/meth

[PHP] Using Static Class Variables to Access Globally

2008-09-23 Thread Ryan Panning
The typical way to access a variable or instance from inside a function/method is to either declare it a global variable or pass it as a argument. Is there any reason why someone shouldn't use static class variables to do this? Ex: do_something(); } foo_bar(); ?> Crude example but imagine th

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Ross McKay
On Tue, 23 Sep 2008 19:48:12 +0200, Per Jessen wrote: >Simcha Younger wrote: > >> I often put a number of empty lines at the end of a script since I >> enjoy editing with the script higher up on the screen, and very few >> editors allow you to scroll the last lines of the program above the >> bott

RE: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread Richard Lynch
> > when the file isn't in a streaming server you have buffering to > contend > > with; odds are it won't play the file till it's completely downloaded > > [regardless of autoplay/autostart] > > I am not sure if it is a buffering problem or not. I am baffled as I > can play from opening a file file

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 5:25 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > I generate my data access objects too. It goes against my better > judgment, but performance wins out in this specific situation. > getting off the point of the thread (i could care less :D), but have you seen the model ta

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 7:20 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 4:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >> >> Active Record sucks :P > > i prefer code generation to runtime introspection, but runtime > introspection+code generation, well thats a compromise

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 4:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > Active Record sucks :P > i prefer code generation to runtime introspection, but runtime introspection+code generation, well thats a compromise i can live w/ ;) -nathan

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 4:25 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > ... now had 'self' been late (statically) bound ... no I won't go there, we > get > 'static' very soon now :-P and lets not forget the __*Static() magic method suite we're getting too :) -nathan

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread hce
On Wed, Sep 24, 2008 at 1:03 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Ashley Sheridan wrote: >> >> On Tue, 2008-09-23 at 21:23 +1000, hce wrote: >>> >>> Hi Ashley, >>> >>> The object tag is indeed working. It does not automatically play >>> audio.mp3 from my home web server, but it does autom

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 6:25 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Nathan Nobbe schreef: >> >> On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: >> >>> Eric Butera wrote: On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> >>> >>> wrote: >

Re: [PHP] $this->value VS $value

2008-09-23 Thread Jochem Maas
Nathan Nobbe schreef: On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: Eric Butera wrote: On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: (using $this->foo or MyClass::$foo for static properties). also self:: Actually within a class, I

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread hce
On Wed, Sep 24, 2008 at 12:53 AM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > On Tue, 2008-09-23 at 21:23 +1000, hce wrote: >> Hi Ashley, >> >> The object tag is indeed working. It does not automatically play >> audio.mp3 from my home web server, but it does automatically play if I >> add an audio

RE: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Per Jessen
Simcha Younger wrote: > I often put a number of empty lines at the end of a script since I > enjoy editing with the script higher up on the screen, and very few > editors allow you to scroll the last lines of the program above the > bottom of the screen. (Crimson Editor is the only one I have foun

Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread uaca man
Just for closure: so many year believing that $value and $this->value was the same!!! Tks everyone for the quick answer :) Ângelo 2008/9/23 Colin Guthrie <[EMAIL PROTECTED]>: > Nathan Rixham wrote: >> >> yeah that's right; add in one more line and the reason why is apparent.. > > Well I think "i

[PHP] Re: $this->value VS $value

2008-09-23 Thread Colin Guthrie
Nathan Rixham wrote: yeah that's right; add in one more line and the reason why is apparent.. Well I think "is apparent" is a bit strong considering e.g. C++ syntax where syntax is equally valid but the semantics are different. So to answer the OPs question, yes this is different in PHP comp

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: > > Eric Butera wrote: > > On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> > wrote: > > > >> (using $this->foo or MyClass::$foo for static properties). > >> > > > > also self:: > > > > > Actually within a

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 12:28 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2008-09-23 at 14:37 +0100, Michal Sokolowski wrote: >> Hi, >> >> First time I've seen code without closing tag is when I've read about Zend >> Framework and bellow is what they say about it. >> >> "For files that

Re: [PHP] $this->value VS $value

2008-09-23 Thread Micah Gersten
Eric Butera wrote: > On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> (using $this->foo or MyClass::$foo for static properties). >> > > also self:: > > Actually within a class, I think you must self:: before a static property or something shows up in the err

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > (using $this->foo or MyClass::$foo for static properties). also self:: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Robert Cummings
On Tue, 2008-09-23 at 14:37 +0100, Michal Sokolowski wrote: > Hi, > > First time I've seen code without closing tag is when I've read about Zend > Framework and bellow is what they say about it. > > "For files that contain only PHP code, the closing tag ("?>") is never > permitted. It is not requ

Re: [PHP] $this->value VS $value

2008-09-23 Thread Jochem Maas
uaca man schreef: Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, howeve

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Jochem Maas
Jason Pruim schreef: On Sep 23, 2008, at 9:27 AM, Jochem Maas wrote: Martin Zvarík schreef: Hi, I have seen some projects where people start with opening tag but they DON'T close it with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? 2) What if you would

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 9:55 AM, uaca man <[EMAIL PROTECTED]> wrote: > Hello to all my fellow members of the PHP community. > > As a personal rule i always use $this in front of class members, but i > always knew from others programing languages and i guess I just > thought it was same in PHP that

Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread Jim Lucas
uaca man wrote: > Yes, it is not the same. Should it be the same? > > 2008/9/23 Nathan Rixham <[EMAIL PROTECTED]>: >> uaca man wrote: >>> Hello to all my fellow members of the PHP community. >>> >>> As a personal rule i always use $this in front of class members, but i >>> always knew from others

Re: [PHP] Re: $this->value VS $value

2008-09-23 Thread uaca man
Yes, it is not the same. Should it be the same? 2008/9/23 Nathan Rixham <[EMAIL PROTECTED]>: > uaca man wrote: >> >> Hello to all my fellow members of the PHP community. >> >> As a personal rule i always use $this in front of class members, but i >> always knew from others programing languages and

[PHP] Re: $this->value VS $value

2008-09-23 Thread Nathan Rixham
uaca man wrote: Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, however

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Jason
At 16:24 23/09/2008, you wrote: > We have done limited testing here, but it may be that only the PHP server > requires the 2005 (ODBC driver) components. Could be worth investigating. Hey - if it gets me back to developing apps and away from working with database libraries and abstractions, I'm

[PHP] $this->value VS $value

2008-09-23 Thread uaca man
Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, however in the code bellow

Re: [PHP] Just testing IGNORE!!!

2008-09-23 Thread Ashley Sheridan
Ignored ;) On Tue, 2008-09-23 at 12:45 -0300, uaca man wrote: Ash www.ashleysheridan.co.uk

[PHP] Just testing IGNORE!!!

2008-09-23 Thread uaca man

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread tedd
At 2:32 PM +0200 9/23/08, Martin Zvarík wrote: Hi, I have seen some projects where people start with opening tag with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? 2) What if you would not close any 100% PHP files? 3) What's the reason of making an empty

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 11:06 AM, Jason <[EMAIL PROTECTED]> wrote: > At 15:49 23/09/2008, you wrote: >> >> On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote: >> > At 15:05 23/09/2008, you wrote: >> > >> > [snip] >> > >> >> So, I'm left wondering what that leaves. Is there anything c

RE: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Simcha Younger
> -Original Message- > From: Martin Zvarík [mailto:[EMAIL PROTECTED] > > 3) What's the reason of making an empty space after ?> > I've also seen this in some projects. > I often put a number of empty lines at the end of a script since I enjoy editing with the script higher up on the sc

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 11:02 AM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > If you're running an old version of MS SQL Server then I really would > suggest moving to MySQL if you're able. I had huge problems at work with > an older version of the MSSQL software, as it was missing really basic >

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Jason
At 15:49 23/09/2008, you wrote: On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote: > At 15:05 23/09/2008, you wrote: > > [snip] > >> So, I'm left wondering what that leaves. Is there anything currently >> available that could be considered stable for a production >> environment, s

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread Nathan Rixham
Ashley Sheridan wrote: On Tue, 2008-09-23 at 21:23 +1000, hce wrote: Hi Ashley, The object tag is indeed working. It does not automatically play audio.mp3 from my home web server, but it does automatically play if I add an audio source value from a streaming server. Can you make it work to play

Re: [PHP] Executing shell command?

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 14:43 +0100, Stut wrote: > On 23 Sep 2008, at 14:27, Jas wrote: > > Ok I am having problems with a command I would like to execute > > through PHP. > > > > I have tried simple backtick operators on the command, passthru, > > exec, system all with the same results of 0 retu

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 10:49 -0400, Andrew Ballard wrote: > On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote: > > At 15:05 23/09/2008, you wrote: > > > > [snip] > > > >> So, I'm left wondering what that leaves. Is there anything currently > >> available that could be considered stab

Re: [PHP] Re: PHP and SQL Server

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 10:43 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Andrew Ballard wrote: > [snip] >> >> 4K limit on TEXTSIZE > > [/snip] > > As far as I was aware this was a PHP thing that can be changed in your > php.ini [mssql.textlimit and mssql.textsize] > We have, and it affects the

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 21:23 +1000, hce wrote: > Hi Ashley, > > The object tag is indeed working. It does not automatically play > audio.mp3 from my home web server, but it does automatically play if I > add an audio source value from a streaming server. Can you make it > work to play the audio aut

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Andrew Ballard
On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote: > At 15:05 23/09/2008, you wrote: > > [snip] > >> So, I'm left wondering what that leaves. Is there anything currently >> available that could be considered stable for a production >> environment, supports parameterized queries and

[PHP] Re: PHP and SQL Server

2008-09-23 Thread Nathan Rixham
Andrew Ballard wrote: [snip] 4K limit on TEXTSIZE [/snip] As far as I was aware this was a PHP thing that can be changed in your php.ini [mssql.textlimit and mssql.textsize] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and SQL Server

2008-09-23 Thread Jason
At 15:05 23/09/2008, you wrote: [snip] So, I'm left wondering what that leaves. Is there anything currently available that could be considered stable for a production environment, supports parameterized queries and is not slated to be mothballed in the near future? Have you considered the MS

[PHP] PHP and SQL Server

2008-09-23 Thread Andrew Ballard
I know most of you probably use *nix servers with MySQL or PostgreSQL, but for anyone using PHP on Windows servers with SQL Server, I'm curious what core PHP library you are using. We used to use the basic MSSQL library, but it seems like that is on its way out based on the notes in the manual. Fur

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Jason Pruim
On Sep 23, 2008, at 9:27 AM, Jochem Maas wrote: Martin Zvarík schreef: Hi, I have seen some projects where people start with opening tag but they DON'T close it with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? 2) What if you would not close any 100% PHP

Re: [PHP] Executing shell command?

2008-09-23 Thread Stut
On 23 Sep 2008, at 14:27, Jas wrote: Ok I am having problems with a command I would like to execute through PHP. I have tried simple backtick operators on the command, passthru, exec, system all with the same results of 0 return code. Here is an example of the command I am attempting to ex

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Michal Sokolowski
Hi, First time I've seen code without closing tag is when I've read about Zend Framework and bellow is what they say about it. "For files that contain only PHP code, the closing tag ("?>") is never permitted. It is not required by PHP, and omitting it prevents the accidental injection of trailing

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 8:32 AM, Martin Zvarík <[EMAIL PROTECTED]> wrote: > Hi, > I have seen some projects where people start with opening tag DON'T close it with ?> > This is especially the case of CONFIG.php files... > > 1) What's the reason of that? > > 2) What if you would not close any 100%

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Jochem Maas
Martin Zvarík schreef: Hi, I have seen some projects where people start with opening tag they DON'T close it with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? 2) What if you would not close any 100% PHP files? I second what Robbert and Richard said, ac

[PHP] Executing shell command?

2008-09-23 Thread Jas
Ok I am having problems with a command I would like to execute through PHP. I have tried simple backtick operators on the command, passthru, exec, system all with the same results of 0 return code. Here is an example of the command I am attempting to execute if someone could provide me with s

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Richard Heyes
> I have seen some projects where people start with opening tag DON'T close it with ?> > This is especially the case of CONFIG.php files... > > 1) What's the reason of that? One reason is if it's a library file for example, trailing white space would be considered as output, which typically you w

Re: [PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Stut
On 23 Sep 2008, at 13:32, Martin Zvarík wrote: I have seen some projects where people start with opening tag but they DON'T close it with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? Closing the PHP tag is implicit at the end of a file to avoid extra un

[PHP] PHP tags - any reasons to close ?>

2008-09-23 Thread Martin Zvarík
Hi, I have seen some projects where people start with opening tag they DON'T close it with ?> This is especially the case of CONFIG.php files... 1) What's the reason of that? 2) What if you would not close any 100% PHP files? 3) What's the reason of making an empty space after ?> I've also see

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-23 Thread hce
Hi Ashley, The object tag is indeed working. It does not automatically play audio.mp3 from my home web server, but it does automatically play if I add an audio source value from a streaming server. Can you make it work to play the audio automatically from a normal web server not streaming server?

Re: [PHP] Re: Reading a Word document from PHP

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 10:55 +0200, Grzegorz Kurtyka wrote: > Ashley Sheridan wrote: > > > Hi All, > > > > I recently asked a question regarding reading a PDF with PHP. I've tried > > Zend_pdf, but all this is able to give me is the number of pages in a > > PDF, and cannot extract the text from th

[PHP] Re: Reading a Word document from PHP

2008-09-23 Thread Grzegorz Kurtyka
Ashley Sheridan wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. I've tried > Zend_pdf, but all this is able to give me is the number of pages in a > PDF, and cannot extract the text from the PDF files I have. I thought > I'd try a different method, and try to ex

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Lupus Michaelis
Robert Cummings a écrit : If it were me... and I REALLY needed to do this... I'd probably start look into how to make Open Office do a command line conversion of word documents to plain text. If you're on Debian, seek for the openoffice.org-headless package ;) -- Mickaël Wolff aka Lupus Mic

Re: [PHP] Scope of the variables around PHP class

2008-09-23 Thread clive
Define a class function and pass the array via this function or pass it via the classes constructor. VamVan wrote: Hello Guys, I have a problem here. I hope you can help me resolving it. Please see the code below array.php has $array1 = ('hello'=>'heelo',) require_once('array.php'); class

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Robert Cummings
On Tue, 2008-09-23 at 08:40 +0100, Ashley Sheridan wrote: > > Unfortunately I'm stuck trying to extract text from a Word document or a > PDF file because she doesn't know how to make a CSV in Excel, despite me > showing her how to do it. She kept trying to upload a PDF to the site > and wondered wh

Re: [PHP] was [PHP] Re: render html

2008-09-23 Thread Lupus Michaelis
Nathan Rixham a écrit : is an interesting one; and very rarely used Maybe because it isn't part of the normalized W3C markup languages ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 08:51 +0200, clive wrote: > Hi I know the new microsoft docx format is an xml document, so you could > probably use the xml parser with that. > > Any chance you can get them to use a rtf file instead of a word file to > convert to pdf, rtf is mostly readable text with some

Re[4]: [PHP] ANSI to ISO-8859-2

2008-09-23 Thread Bc. Radek Krejca
Hi, this is working but I would like better solution: function Decode_String($text) { $from = Array("Á", "á", "Č", "č", "Ď", "ď", "É", "é", "Ě", "ě", "Í", "í", "Ň", "ň", "Ó", "ó", "Ř", "ř","Š", "š", "Ť", "ť", "Ú", "ú", "Ů", "ů", "Ý", "ý", "Ž", "ž"); $to = Array("Á", "á", "Č", "č", "Ď", "ď", "

Re: [PHP] Re: Encrypt database table

2008-09-23 Thread Thodoris
[EMAIL PROTECTED] wrote: Hi, What methods do you guys use to keep a mysql table encryped, or well atleast a major part of it. Security is very important and I want to use a public and private key. Is GPG the only safe way? It's hell of an overhead using GPG on every col, even a very short s