Re: [PHP] Executing PHP

2007-10-26 Thread Stut
Philip Thompson wrote: On 10/25/07, Stut [EMAIL PROTECTED] wrote: Philip Thompson wrote: Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual

Re: [PHP] Executing PHP

2007-10-26 Thread Philip Thompson
On 10/25/07, Stut [EMAIL PROTECTED] wrote: Philip Thompson wrote: Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've

RE: [PHP] Executing PHP

2007-10-26 Thread Instruct ICC
:20 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Executing PHP Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual

[PHP] RE: [Ticket #29] [PHP] Executing PHP

2007-10-26 Thread Instruct ICC
What the hell is this? Is Charlie Schulz trying to get me to click on this link? Date: Fri, 26 Oct 2007 15:08:10 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Ticket #29] [PHP] Executing PHP Your ticket has been submitted. Please reply to this email (keeping the subject

Re: [PHP] Executing PHP

2007-10-26 Thread Philip Thompson
] Executing PHP Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b

RE: [PHP] Executing PHP

2007-10-26 Thread Instruct ICC
Well on Mac/Unix/Linux you could type ps at the terminal to see the path to the running processes or which php to see which one you would invoke. Maybe you can upgrade to a Mac? Parallels running Windows XP didn't show me such info in the Task Manager; sorry. Oh I wish! I am

Re: [PHP] RE: [Ticket #29] [PHP] Executing PHP

2007-10-26 Thread Daniel Brown
On 10/26/07, Instruct ICC [EMAIL PROTECTED] wrote: What the hell is this? Is Charlie Schulz trying to get me to click on this link? Date: Fri, 26 Oct 2007 15:08:10 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Ticket #29] [PHP] Executing PHP Your ticket has been

Re: [PHP] RE: [Ticket #29] [PHP] Executing PHP

2007-10-26 Thread Jim Lucas
Daniel Brown wrote: On 10/26/07, Instruct ICC [EMAIL PROTECTED] wrote: What the hell is this? Is Charlie Schulz trying to get me to click on this link? Date: Fri, 26 Oct 2007 15:08:10 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Ticket #29] [PHP] Executing PHP Your ticket

[PHP] Executing PHP

2007-10-25 Thread Philip Thompson
Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am

Re: [PHP] Executing PHP

2007-10-25 Thread Stut
Philip Thompson wrote: Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/c

[PHP] executing php script from sql field.

2004-06-18 Thread Chuck
Hello I am trying to get some php code that's in a mysql field to execute...all I can get it to do is print the php code as human readable... I'm trying somthing like this..: print $sql[data]; where data has something like this in it: Hello, this is ? print $name;? anyone have any

RE: [PHP] executing php script from sql field.

2004-06-18 Thread Jay Blanchard
[snip] Hello I am trying to get some php code that's in a mysql field to execute...all I can get it to do is print the php code as human readable... I'm trying somthing like this..: print $sql[data]; where data has something like this in it: Hello, this is ? print $name;? anyone have any

Re: [PHP] executing php scripts via cron

2004-05-19 Thread raditha dissanayake
Merlin wrote: Hi there, I am trying to run a php script via cron. Problem is, that it does not work if I include the whole path in crontab Currently it looks like: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/null does typing in php

[PHP] executing php scripts via cron

2004-05-18 Thread Merlin
Hi there, I am trying to run a php script via cron. Problem is, that it does not work if I include the whole path in crontab Currently it looks like: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/null Most likeley because the webserver root for the project is:

RE: [PHP] executing php scripts via cron

2004-05-18 Thread rich
I am trying to run a php script via cron. Problem is, that it does not work if I include the whole path in crontab Currently it looks like: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/null Most likeley because the webserver root for the project is:

Re: [PHP] executing php scripts via cron

2004-05-18 Thread Clifford W. Hansen
Merlin, 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/ null That looks right to me, have you tried executing the command with the full path? I have a couple of php scripts running as cron jobs and web scripts... Also try php -q scriptname -q is for quiet which

[PHP] executing PHP via cron

2004-05-18 Thread shawn_milochik
How about just using cron to call wget, and wget the URL of your page? Shawn ** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom

Re: [PHP] executing PHP via cron

2004-05-18 Thread Oliver Hankeln
[EMAIL PROTECTED] wrote: How about just using cron to call wget, and wget the URL of your page? It depends. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Executing PHP shell script in PHP

2004-04-06 Thread Brent Clark
Hi Does anyone know of how to execute a php shell script in a php file. Kind Regards Brent Clark

RE: [PHP] Executing PHP shell script in PHP

2004-04-06 Thread jon roig
: Tuesday, April 06, 2004 1:32 AM To: [EMAIL PROTECTED] Subject: [PHP] Executing PHP shell script in PHP Hi Does anyone know of how to execute a php shell script in a php file. Kind Regards Brent Clark --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http

Re: [PHP] Executing PHP code in a database

2003-03-08 Thread Ernest E Vogelsinger
At 06:15 08.03.2003, Leo Spalteholz said: [snip] I have a table that stores all the boxes that my website will display on the sides. So far the content is simply stored in a text field and then substituted for the box body. However this way I can't have

[PHP] Executing PHP code in a database

2003-03-07 Thread Leo Spalteholz
Hi, I have a table that stores all the boxes that my website will display on the sides. So far the content is simply stored in a text field and then substituted for the box body. However this way I can't have any php code in the boxes... What I thought I could do is have another field that

Re: [PHP] Executing PHP code in a database

2003-03-07 Thread Leo Spalteholz
On March 7, 2003 09:15 pm, Leo Spalteholz wrote: Hi, I have a table that stores all the boxes that my website will display on the sides. So far the content is simply stored in a text field and then substituted for the box body. However this way I can't have any php code in the boxes...

[PHP] executing php at shell level...

2002-08-21 Thread Kelly Meeks
Hi folks, Having a strange problem... I've got a php script named 'phptest' with the following code: #!/usr/bin/php -q ? var_dump($argv); ? I've set the permission on the file to 755, and am executing the file by typing: ./phptest var1 var2 var3 The only output I get is NULL. No matter what

[PHP] Executing PHP code throught a protected directory on IIS...

2002-05-17 Thread Brian McGarvie
I have restricted the IP Address etc through the directory security, if i goto: www.domain.com/thedir/ it does indeed give me the ip denied, howver if i goto a file within it if it's a basic html page it displayes it, similarly if it's a PHP script it also gets executed... (I know if I was using

[PHP] executing php as non apache-user

2002-04-04 Thread Patrick Moor
hello i was looking for a solution, to start my php scripts as the owner of the script. there's one way using SuEXEC and the cgi version of php ( using #!/usr/bin/php or similar ). but is there a way to do this using the apache-_module_ version of php? sort of an apache patch? thanks patrick

[PHP] Executing PHP stored in MySQL-database?

2001-05-24 Thread aquariuz
Hi, Is it possible to execute PHP stored in a MySQL-database? If so, how to do it? In the example below I store Hello world!BR in a database, and next I echo it. Hello world! is printed on the screen. But how to * store PHP-code in a database * and execute it? Any help would be appreciated.

Re: [PHP] Executing PHP stored in MySQL-database?

2001-05-24 Thread Pavel Jartsev
aquariuz wrote: Hi, Is it possible to execute PHP stored in a MySQL-database? If so, how to do it? In the example below I store Hello world!BR in a database, and next I echo it. Hello world! is printed on the screen. But how to * store PHP-code in a database * and execute it?