[PHP] JPGraph new GanttBar ... bar caption on left, right side

2013-04-09 Thread Meli Marco
Hello, I would like to know how to print captions (normally used for percentage completion) on the left (start date) and right (end date) side of the bar, instead just on the right. Below the method for bar creation: $planbar = new GanttBar ($c,'', $aData[PLANSTART][$y], $aData[PLANENDE][$y], ( ch

Re: [PHP] JPGraph new GanttBar ... bar caption on left, right side

2013-04-09 Thread Stuart Dallas
On 9 Apr 2013, at 11:23, "Meli Marco" wrote: > Hello, > I would like to know how to print captions (normally used for percentage > completion) on the left (start date) and right (end date) side of the > bar, instead just on the right. > Below the method for bar creation: > $planbar = new GanttBa

[PHP] Lasting syntax error when there's none

2013-04-09 Thread frzng
Hi everyone, I have some weird problem with PHP compiler or something of this sort of things. We have some PHP files which are generated during the first request to the site. These files are normally executed via PHP then. For some reason PHP thinks that they contain syntax errors (verified usi

Re: [PHP] Lasting syntax error when there's none

2013-04-09 Thread Stephen
You first step is to check the log files. No matter how sure we are that there is no syntax error, always start with the logs. It could be a file permission problem. Stephen On 13-04-09 11:00 AM, fr...@me.com wrote: Hi everyone, I have some weird problem with PHP compiler or something of t

[PHP] htaccess question

2013-04-09 Thread Al
I know it's not a php question, but I can't readily find the answer elsewhere. I want to make this directive universal. Put htaccess file on any host in any folder. This works RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^(.*)$ https://www.foo.org/bar/$1 [R=301,L] #Here the

Re: [PHP] htaccess question

2013-04-09 Thread Daniel Brown
On Tue, Apr 9, 2013 at 2:07 PM, Al wrote: > I know it's not a php question, but I can't readily find the answer > elsewhere. > > I want to make this directive universal. Put htaccess file on any host in > any folder. > > This works > RewriteEngine On > > RewriteCond %{SERVER_PORT} !=443 > > Rewrit

[PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Hi -- - Strange problem. One of my applications was just moved to a new server. The new server has php configured to blacklist some functions (using "disable_functions="). One of the "banned" functions is exec(). The error log is reporting "shell_exec() has been disabled for security reasons" --

Re: [PHP] Lasting syntax error when there's none

2013-04-09 Thread Marco Behnke
Am 09.04.2013 17:00, schrieb fr...@me.com: Hi everyone, I have some weird problem with PHP compiler or something of this sort of things. We have some PHP files which are generated during the first request to the site. These files are normally executed via PHP then. For some reason PHP think

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Daniel Brown
On Tue, Apr 9, 2013 at 3:11 PM, Ken Kixmoeller wrote: > Hi -- - > > Strange problem. One of my applications was just moved to a new server. The > new server has php configured to blacklist some functions (using > "disable_functions="). One of the "banned" functions is exec(). > > The error log is

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Matijn Woudt
On Tue, Apr 9, 2013 at 9:11 PM, Ken Kixmoeller wrote: > Hi -- - > > Strange problem. One of my applications was just moved to a new server. The > new server has php configured to blacklist some functions (using > "disable_functions="). One of the "banned" functions is exec(). > > The error log is

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Thanks, Daniel - -- I do use passthru() -- in an entirely different part of the application (a place where it runs a mysqldump to do a manual backup). Of course, I have millions of backticks delimiting SQL fields and tables. The error log is reporting specifically shell_exec(). Would a stray back

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes -- Thanks Matjen and Daniel --- There *was* a stray backtick in there. Weird that we haven't run into it before. Testing now. On Tue, Apr 9, 2013 at 2:41 PM, Matijn Woudt wrote: > > > > On Tue, Apr 9, 2013 at 9:11 PM, Ken Kixmoeller wrote: > >> Hi -- - >> >> Strange problem. One of my app

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes --- it worked. Thank you so very much. I had searched the heck out of this to no avail. This is why I think developer communities are so great -- always someone smarter than me (not that it is a high bar ) and willing to help. On Tue, Apr 9, 2013 at 3:05 PM, Ken Kixmoeller wrote: > Yes -

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread El Ale...
you probe command system()? 2013/4/9 Ken Kixmoeller > Yes --- it worked. Thank you so very much. I had searched the heck out of > this to no avail. > > This is why I think developer communities are so great -- always someone > smarter than me (not that it is a high bar ) and willing to help. >

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes, but no further need. Problem solved. On Tue, Apr 9, 2013 at 4:06 PM, El Ale... wrote: > you probe command system()? > > > > 2013/4/9 Ken Kixmoeller > >> Yes --- it worked. Thank you so very much. I had searched the heck out of >> this to no avail. >> >> This is why I think developer commu

Re: [PHP] Lasting syntax error when there's none

2013-04-09 Thread Filip Zrůst
Hi Stephen, I looked there before but I’ve increased debug level after you suggestion and there’s still nothing helpful I guess. But just to be sure: Reverse proxy (“load balancer”): - error log: nothing - access log: > 192.168.60.2 - - [09/Apr/2013:15:25:08 −0700] "GET /offer/create HTTP/1.1"