Re: [PHP] pathinfo or other

2012-02-15 Thread Elbert F
SCRIPT_NAME is a server side path, try REQUEST_URI. This includes the query string but it's easy to remove. Elbert http://swiftlet.org On Thu, Feb 16, 2012 at 8:27 AM, Donovan Brooke wrote: > Hello, > > What is the best way to get the /somedir/ values in the request URI? > > I tried > $t_pathi

[PHP] pathinfo or other

2012-02-15 Thread Donovan Brooke
Hello, What is the best way to get the /somedir/ values in the request URI? I tried $t_pathinfo = $_SERVER['PATH_INFO']; but was given an error of undefined index. After looking at the docs, it appears the error derives from something I may have to do in the .ini file. However, is there a st

Re: [PHP] Re: MySQL and PHP weirdness - RESOLVED

2012-02-15 Thread Richard S. Crawford
This has been resolved. A previous programmer had snuck in a function that would convert the value of the "description" field to a date value if it contained the word "Date". This has been fixed. On Tue, Feb 14, 2012 at 5:44 PM, David Robley wrote: > Richard S. Crawford wrote: > > > Bear with m

Re: [PHP] Can php be configured to browse through a proxy?

2012-02-15 Thread Joan
Thanks for your answer, it's a pitty that a proxy cannot be specified via php.ini, but anyway. I must say that the information is distributed on many parts of the documentation: .- http://www.php.net/manual/en/context.http.php (for the parameters supported by the http/https context) You get there f