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
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-
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
$_
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
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,
>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
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
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
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
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
10 matches
Mail list logo