[PHP] path_info in fastcgi setting

2008-03-09 Thread Ian M. Evans
Greetings all. Making the transition to PHP 5.2.5 operating as FastCGI through Nginx. Seem to be having a bit o' weirdness with path_info. Under Apache and the PHP module: a) test.php path_info is blank b) test.php/ppp path_info=/ppp Under PHP FastCGI: c) test.php path_info is test.php d) test

[PHP] Deprecated configure options

2008-03-07 Thread Ian M. Evans
Was just upgrading to 5.2.5 and used the same configure line as I used for 5.2.0. Got the following notice: "Notice: Following unknown configure options were used: --enable-pic --with-dom --with-png --with-xml --enable-track-vars --enable-trans-sid --enable-yp --enable-mbstr-enc-trans --enable-

RE: [PHP] getting an array out of the POST array

2004-08-17 Thread Ian M. Evans
Thanks, that worked. So I understand this better did this ($_POST[firstname][$key] = trim($_POST[firstname][$key]);) not work because the variable to the left of the '=' was no longer POSTed? Original Message Remove $_POST from $_POST[firstname][$key], $_POST[middlename][$key] and $_

[PHP] getting an array out of the POST array

2004-08-17 Thread Ian M. Evans
One day I need to take a vacation with a big pot of coffee and study arrays. They're my downfall. We're moving to a new server and finally have a recent version of PHP. We have a page on the site for captioning the photos with the names of the subjects. After the form is posted, the script would

[PHP] dealing with accents in your databases (or to entity or not to entity...)

2003-02-03 Thread Ian M. Evans
This hasn't come up too much yet in one of the databases on my site, but as I get closer to starting a big project, I thought I'd get an idea of how the rest of you handle this. How do you handle accented words and other problematic symbols on your database-driven sites? If you need to store one,

RE: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ian M. Evans
>return strtr($string, "SOZsozY... Just curious why the search starts with unaccented "SOZsozY"? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ian M. Evans
Ernest E. Vogelsinger suggested: >$chars_in = array('Á',''á','É','é'); // you get it >$chars_out = array('A','a','E','e'); // this too >preg_replace($chars_in, $chars_out, $string_to_parse); I initially got a 'no ending delimiter' error but after adding /'s to the $chars_in it was just what the

RE: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ian M. Evans
Rene: Thanks for the response. I guess I wasn't too clear in my original post. I'm not looking to turn an accented letter into its numeric equivalent, I'm looking to strip the accent so that Renée Zellweger becomes Renee Zellweger. Any thoughts there? -- PHP General Mailing List (http://www.ph

[PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-17 Thread Ian M. Evans
Does anyone have a quick PHP function for converting accented characters to their non-accented forms? It would really help a lot with Amazon searches, etc. For example something that can turn: Renée Zellweger into Renee Zellweger Along that same vein, turning Renée Zellweger into Renee Zellwege

[PHP] HTTP_IF_MODIFIED_SINCE

2002-12-31 Thread Ian M. Evans
Are there any settings I need to change in order to get the HTTP_IF_MODIFIED_SINCE variable set when applicable? I saw some threads on google about session_cache_limiter() but even after following that, I still don't get access to the HTTP_IF_MODIFIED_SINCE variable when revisiting a page with the