Re: [PHP] mysql_query blocking

2009-06-27 Thread Phpster
On Jun 27, 2009, at 7:17 PM, Daniel Kolbo wrote: Phpster wrote: Bastien Sent from my iPod On Jun 27, 2009, at 4:13 PM, Daniel Kolbo wrote: Ashley Sheridan wrote: On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: Ashley Sheridan wrote: On Sat, 2009-06-27 at 15:15 -0400, Daniel

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
...though phpinfo seems to work fine without this handler. ioan...@btinternet.com wrote: php now also works with Apache, I think I was missing from httpd.conf within : AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps John -- PHP General Maili

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
Solved: In Windows 'Explorer' in Vista, set User permissions for the htdocs - go to htdocs folder within the Apache folders, right click, Properties, Security, Edit, select your name as User, allow Full Control, Modify etc. Now open the files you created like test.php or index1.html and save t

Re: [PHP] why is this shell_exec() failing to execute my shell to create a symlink?

2009-06-27 Thread Jonathan Tapicer
Make sure that: - The user executing the script (apache I presume) has execute permissions on ls and ln binaries. - The user executing the script has write persmissions on the directory you are trying to write, and read permissions where you do ls. - This will probably help: put the full binary pa

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Phpster wrote: > > > Bastien > > Sent from my iPod > > On Jun 27, 2009, at 4:13 PM, Daniel Kolbo wrote: > >> Ashley Sheridan wrote: >>> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: Ashley Sheridan wrote: > On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: >> Hello,

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Bastien Koert wrote: > Why issue/do a lock at all? Shouldn't need a large lock at read > > bastien > > On Saturday, June 27, 2009, Daniel Kolbo wrote: >> Ashley Sheridan wrote: >>> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: Ashley Sheridan wrote: > On Sat, 2009-06-27 at 15:1

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Tom Worster wrote: > On 6/27/09 3:15 PM, "Daniel Kolbo" wrote: > >> When a MySQL table is locked a php call of mysql_query() that requires >> that table will hang as the request blocks at the MySQL server until the >> table is unlocked. Is there a way to stop a mysql_query from hanging >> (by se

Re: [PHP] mysql_query blocking

2009-06-27 Thread Phpster
Bastien Sent from my iPod On Jun 27, 2009, at 4:13 PM, Daniel Kolbo wrote: Ashley Sheridan wrote: On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: Ashley Sheridan wrote: On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: Hello, When a MySQL table is locked a php call of mysql

Re: [PHP] mysql_query blocking

2009-06-27 Thread Bastien Koert
On Saturday, June 27, 2009, Bastien Koert wrote: > Why issue/do a lock at all? Shouldn't need a large lock at read > > bastien > > On Saturday, June 27, 2009, Daniel Kolbo wrote >> Ashley Sheridan wrote: >>> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: Ashley Sheridan wrote: >>

Re: [PHP] mysql_query blocking

2009-06-27 Thread Bastien Koert
Why issue/do a lock at all? Shouldn't need a large lock at read bastien On Saturday, June 27, 2009, Daniel Kolbo wrote: > Ashley Sheridan wrote: >> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: >>> Ashley Sheridan wrote: On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: >

[PHP] symLink Test also failing. (then is it a permissions issue? - also see my previous post about shell_exec failing)

2009-06-27 Thread Govinda
and in this test, $symLinkTest seems to be returning false, every time. $symLinkTarget='testDir/amex_cid.gif'; $SymLinkNew='testDir/myccGOV.gif'; $symLinkTest=symlink($symLinkTarget, $SymLinkNew); echo "symLinkTest="; echo var_dump($symLinkTest); -- retu

Re: [PHP] mysql_query blocking

2009-06-27 Thread Tom Worster
On 6/27/09 3:15 PM, "Daniel Kolbo" wrote: > When a MySQL table is locked a php call of mysql_query() that requires > that table will hang as the request blocks at the MySQL server until the > table is unlocked. Is there a way to stop a mysql_query from hanging > (by setting a time limit)? would

[PHP] why is this shell_exec() failing to execute my shell to create a symlink?

2009-06-27 Thread Govinda
this code: $testOutput"; echo "testOutput2:$testOutput2firstCMD= $firstCMD"; echo "firstOutput:$firstOutputsecondCMD= $secondCMD"; echo "secondOutput:$secondOutputthirdCMD= $thirdCMD"; ?> is not producing the symlink that I think it should. (?!?) (neither in the dir/ where th

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Ashley Sheridan wrote: > On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: >> Ashley Sheridan wrote: >>> On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: Hello, When a MySQL table is locked a php call of mysql_query() that requires that table will hang as the request

Re: [PHP] mysql_query blocking

2009-06-27 Thread Ashley Sheridan
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: > Ashley Sheridan wrote: > > On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: > >> Hello, > >> > >> When a MySQL table is locked a php call of mysql_query() that requires > >> that table will hang as the request blocks at the MySQL server

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Ashley Sheridan wrote: > On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: >> Hello, >> >> When a MySQL table is locked a php call of mysql_query() that requires >> that table will hang as the request blocks at the MySQL server until the >> table is unlocked. Is there a way to stop a mysql_qu

Re: [PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Daniel Kolbo wrote: > Hello, > > When a MySQL table is locked a php call of mysql_query() that requires > that table will hang as the request blocks at the MySQL server until the > table is unlocked. Is there a way to stop a mysql_query from hanging > (by setting a time limit)? > > The php.ini

Re: [PHP] mysql_query blocking

2009-06-27 Thread Ashley Sheridan
On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: > Hello, > > When a MySQL table is locked a php call of mysql_query() that requires > that table will hang as the request blocks at the MySQL server until the > table is unlocked. Is there a way to stop a mysql_query from hanging > (by settin

[PHP] mysql_query blocking

2009-06-27 Thread Daniel Kolbo
Hello, When a MySQL table is locked a php call of mysql_query() that requires that table will hang as the request blocks at the MySQL server until the table is unlocked. Is there a way to stop a mysql_query from hanging (by setting a time limit)? The php.ini directive max_execution_time does not

Re: [PHP] fixing new lines from in an email?

2009-06-27 Thread tedd
At 11:27 AM -0500 6/26/09, Adam Williams wrote: I have staff fill out a form that contains a with their problem description and emailed to me when they click submit. Staff will press enter in the text area, but I'm having problems converting the \r\n into a new line in the email that is sent

Re: [PHP] information feed

2009-06-27 Thread Bastien Koert
On Sat, Jun 27, 2009 at 10:28 AM, Ashley Sheridan wrote: > On Sat, 2009-06-27 at 15:21 +0200, madunix wrote: >> I am running several web servers (Linux/Apache/PHP/MySQL) with  alot of >> statistical data, I got multiple request from different providers >> they asked us to implement a mechanism thro

Re: [PHP] information feed

2009-06-27 Thread Ashley Sheridan
On Sat, 2009-06-27 at 15:21 +0200, madunix wrote: > I am running several web servers (Linux/Apache/PHP/MySQL) with alot of > statistical data, I got multiple request from different providers > they asked us to implement a mechanism through which the data can be > shared with them. at the moment we

[PHP] information feed

2009-06-27 Thread madunix
I am running several web servers (Linux/Apache/PHP/MySQL) with alot of statistical data, I got multiple request from different providers they asked us to implement a mechanism through which the data can be shared with them. at the moment we don't have a direct data feed service. I would like to kn

Re: [PHP] PHP doesn't see php.ini

2009-06-27 Thread Tir
Problem is solved. I should have added path to PHP root directory to PATH environment variable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php