[PHP] strategies for multilanguage sites

2006-05-14 Thread D_C
hi list - am wondering what approaches people take for multilanguage sites? were working on a CMS system and need to have the UI / links show up in many languages and be easily localizable by people. we're using smarty, so one approach is to use smarty config files and then smarty tags for all t

[PHP] x-platform encryption libs?

2006-05-09 Thread D_C
I am getting weird results with blowfish being different across platforms. mcrypt requires me to recompile the windows binary are there any other solutions out there for x-platform encrypt/decrypt? tx! /dc -- ___ David "DC" Collier [E

Re: [PHP] blowfish result varies local > server

2006-05-08 Thread D_C
regarding this blowfish result varies local > server richard - tx for your comment below. Could it be likely that a unix and a windows system would give different results on blowfish, even using the same PHP code? someone else mentioned mcrypt might be a better option... This isn't really a

[PHP] blowfish result varies local > server

2006-05-08 Thread D_C
hi - just wondering if anyone knows the answer to this. i have an item being blowfish encrypted... with the same key, but on my local and remote machines it gives a different result... any ideas on this? we're both running simliar (5.x) versions of PHP + the blowfish is an external (PEAR) libra

[PHP] sorting object props

2005-06-17 Thread D_C
is there a way to sort the properties of an object by their name, much like sort works on arrays? i am getting back an object from a database query and want to list the resulting items in alpha order by field name... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] trustudio - eclipse IDE + CVS

2005-03-27 Thread D_C
I am using the trustudio IDE (an eclipse plugin basically) it has a really nice feature where it will give popups for argument list for your functions. however, when i am using a project from CVS rather than the local file system, this breaks, and i get an error "The resource is

[PHP] isset

2005-02-15 Thread D_C
I often use this type of construct $cmd = $_POST['cmd']; if ($cmd == null) { // do default but this throws a notice if the ['cmd'] index is not defined. ugly. using if (isset($_POST['cmd'] ) { $cmd = $_POST['cmd']; } seems lengthy. is there a way around this? i tried using $cmd = @ $_POS

[PHP] inheriting from non similar types?

2005-02-12 Thread D_C
Hiya - I want to create a class that inherits from a database object. eg I have my own "user" Class, with general methods that do calculations etc. However, it also reflects a table of the database, eg "age, location". I want some methods called on the object to be handled by my class, but other

[PHP] errors not reported

2005-02-09 Thread D_C
Hiya - My parse errors have disappeared from my development environment. Now whenever php cannot run a page, it just stops with a blank page in the browser and no clues. Running the same code on another server will give a "fatal error class not found" etc type output to the browser. Can someone h