On Thu, 27 Oct 2011, Tedd Sperling wrote:
You answered a question I wasn't prepared to ask, which was How can php
scripts be executed when their execute permissions aren't set?
Because as far as the system is concerned, the thing which is being
executed is either PHP itself or something in
On Oct 28, 2011, at 7:19 AM, Geoff Shang wrote:
On Thu, 27 Oct 2011, Tedd Sperling wrote:
You answered a question I wasn't prepared to ask, which was How can php
scripts be executed when their execute permissions aren't set?
Because as far as the system is concerned, the thing which is
On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 19:44, Tedd Sperling tedd.sperl...@gmail.com wrote:
One of the things I'm trying to understand is a php script can execute a
shell command, right? Is there a way via permissions to prevent that -- or
-- does that
On Fri, Oct 28, 2011 at 11:01, Tedd Sperling tedd.sperl...@gmail.com wrote:
But does having execute permissions set on a script affect the scripts
ability to run shell commands?
Negative. It won't inherit permissions, though one might expect
that to make sense.
For example, if I have a
On Oct 28, 2011, at 11:07 AM, Daniel Brown wrote:
On Fri, Oct 28, 2011 at 11:01, Tedd Sperling tedd.sperl...@gmail.com wrote:
But does having execute permissions set on a script affect the scripts
ability to run shell commands?
Negative. It won't inherit permissions, though one might
On 28 Oct 2011 at 16:01, Tedd Sperling tedd.sperl...@gmail.com wrote:
On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
But does having execute permissions set on a script affect the scripts ability
to run shell commands?
No, as Dan has said. But if you have a file called wiggy, containing
On Thu, 2011-10-27 at 14:41 -0600, Larry Martell wrote:
On Thu, Oct 27, 2011 at 2:26 PM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
Hi gang:
Another question -- in the context of file permissions (rwx) is the execute
permission limited to shell commands -- Or -- is there more?
On Oct 27, 2011, at 4:51 PM, Ashley Sheridan wrote:
Yes, I just ran a quick test PHP script without any execute permissions set
at all, only rw-rw-r-- and it ran just fine, suggesting it is just an
argument as Larry said.
I don't think Apache needs execute permissions set on PHP files or
On Thu, Oct 27, 2011 at 18:15, Tedd Sperling tedd.sperl...@gmail.com wrote:
Ash:
You answered a question I wasn't prepared to ask, which was How can php
scripts be executed when their execute permissions aren't set?
That question begged the question of What does execute mean?
It means
On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 18:15, Tedd Sperling tedd.sperl...@gmail.com wrote:
Ash:
You answered a question I wasn't prepared to ask, which was How can php
scripts be executed when their execute permissions aren't set?
That question begged
On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 18:15, Tedd Sperling tedd.sperl...@gmail.com wrote:
That question begged the question of What does execute mean?
It means execute. Not to be confused with what others are
mentioning here, which is read and
On Thu, Oct 27, 2011 at 19:44, Tedd Sperling tedd.sperl...@gmail.com wrote:
One of the things I'm trying to understand is a php script can execute a
shell command, right? Is there a way via permissions to prevent that -- or --
does that even have anything to do with it? That's where I'm
On Jun 12, 2011, at 1:46 PM, techloop wrote:
I have a simple code that override some env vars but i need it to
run before
any other php code on every php execution.
Have you looked at http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file
?
--
PHP General Mailing List
On 12 Jun 2011, at 19:46, techloop techloop...@gmail.com wrote:
Hi all,
I have a simple code that override some env vars but i need it to run before
any other php code on every php execution.
I would like to avoid any change of all php code (even if its only to
include the include
On Tue, 2010-10-19 at 18:50 +0530, Ferdi wrote:
Hi List,
I have a php page that updates data from one database to another when it is
run.
My query is, how can I trigger the execution of this update page from
another php / javascript without the calling page having to wait for the
update
What about simply having the script trip a flag that another background
script checks every 60 seconds or so?
Once a minutes a background script checks to see if it needs to preform any
tasks.
When a user hits a certain page it does an ajax request to trip this flag
and immediately returns.
The
A simple AJAX script would do the trick, no? Or does the script which
was triggered by JS get aborted if that page is unloaded?
If javascript is unavailable you could trigger it through the img tag like so:
img width='0' height='0' src=updater.php alt= /
Again, not sure if it will keep running
Ferdi schrieb:
Hi List,
I have a php page that updates data from one database to another when it is
run.
My query is, how can I trigger the execution of this update page from
another php / javascript without the calling page having to wait for the
update page to finish?
Basically, I think the
-Original Message-
From: Sebastian Detert [mailto:php-maill...@elygor.de]
Sent: Tuesday, October 19, 2010 6:51 AM
To: Ferdi; PHP General
Subject: Re: [PHP] Execute a php page and don't wait for it to finish
Ferdi schrieb:
Hi List,
I have a php page that updates data from one
have you tried using a profiler like xdebug? or may be it is not a php
issue at all..
i find https://addons.mozilla.org/en-US/firefox/addon/1843 to be
helpful in these situations
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/10/2010 9:07 PM, Kristijan Marin wrote:
Hi,
I'm experiencing very slow performance of my php scripts ... At first and
for a long time I thought it was Oracle
fault cause I didn't use binding (I rewrote the code ), but the performance
is still bad.
So I tested my sql statement and did
R B wrote:
Hello.
I have two scripts in php that reads a .swf or .flv movie file, like this:
SCRIPT # 1
?php
$movie = movie.swf;
readfile($movie);
?
SCRIPT # 2
?php
$movie = movie.flv;
readfile($movie);
?
The script # 1 with the .swf file works fine: the video is executed with
R B wrote:
Hello.
I have two scripts in php that reads a .swf or .flv movie file, like this:
SCRIPT # 1
?php
$movie = movie.swf;
readfile($movie);
?
SCRIPT # 2
?php
$movie = movie.flv;
readfile($movie);
?
The script # 1 with the .swf file works fine: the video is executed with
There's a tutorial here:
http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two
(have not tested it myself). The php code is available for download
from that page as well.
And the video there is awesome!
The narrator sounds like the one in my video:
2009/2/13 Dan Shirah mrsqua...@gmail.com:
Use the system() command, and enclose both your command and its
parameters in a pair of single quotes, as:
system('mycmd -a alfa -b bravo');
Paul
--
Paul M. Foster
Using both exec() and system() I am getting the error: Unable to fork
This
Yannick Mortier wrote:
2009/2/13 Dan Shirah mrsqua...@gmail.com:
Using both exec() and system() I am getting the error: Unable to fork
This sounds to me like it is an restriction on the server that doesn't
allow php to fork so it could start another process.
Maybe you should ask your
Hi,
I've had a lot of problems with shell_exec too. Mostly it was permissions or
environment variables not being set. i dont know if there is a way to set
environment variables in the php.ini but if not you can set them with
shell_exec as well, at least on unix it works. You can simply
On Sun, 2009-02-15 at 00:16 +1300, German Geek wrote:
Hi,
I've had a lot of problems with shell_exec too. Mostly it was permissions or
environment variables not being set. i dont know if there is a way to set
environment variables in the php.ini but if not you can set them with
shell_exec
On Fri, Feb 13, 2009 at 02:30:38PM -0500, Dan Shirah wrote:
Hello all,
Can someone point me in the right direction?
I'm trying to call an EXE from PHP and pass it two variables.
I looked at the exec() command and I see that this can call the executable,
but I don't see that it can pass
Use the system() command, and enclose both your command and its
parameters in a pair of single quotes, as:
system('mycmd -a alfa -b bravo');
Paul
--
Paul M. Foster
Using both exec() and system() I am getting the error: Unable to fork
On Tue, Jul 1, 2008 at 1:17 PM, Matt palermo [EMAIL PROTECTED] wrote:
My PHP is running as a user with limited rights. I'd like to execute a
command line as a different user. I'm trying to delete a file and the PHP
user doesn't have access to do this. I know the username and password for
On Tue, Jul 1, 2008 at 1:17 PM, Matt palermo [EMAIL PROTECTED] wrote:
My PHP is running as a user with limited rights. I'd like to execute a
command line as a different user. I'm trying to delete a file and the PHP
user doesn't have access to do this. I know the username and password for
On Thu, Jun 5, 2008 at 12:34 PM, Ryan S [EMAIL PROTECTED] wrote:
Hey,
its easier to start with code and then explain:
$t_array[]='chr(rand(97,122))';
echo $t_array[0];
The above code outputs
chr(rand(97,122))
How can i execute that above code from the array instead of displaying it?
Well, you're missing a semi-colin after the exec() statement, and the echo.
If it wasn't the syntax error, make sure the program exists with file_exists();
- Craige
On Sat, May 3, 2008 at 11:28 PM, [EMAIL PROTECTED] wrote:
Hi all
I try write a code to execute service in my server from
On 5/3/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all
I try write a code to execute service in my server from web browser
I write next
/var/www/html/squidup.html
Should it be... squidup.php?
?
exec ('/usr/bin/squid/sbin/squid')
echo Squid UP
?
but, don't work from
On Thu, April 20, 2006 2:23 am, Peter Lauri wrote:
1.Fill out form and click submit
2.Script validates data
3.Data is being sent to external source via Web Service
4.A file is being downloaded (redirects to files location)
The problem is that #3 is taking around 15 seconds to
jobs DS!
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 2:57 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Execute script and redirect
On Thu, April 20, 2006 2:23 am, Peter Lauri wrote:
1.Fill out form and click
On Thu, April 20, 2006 3:42 am, Peter Lauri wrote:
That was a smart solution. However, my client have not given me access
to
the MySQL database at this stage (just doing a small side project of
the
clients web site). If you could not take advantage of database and
cron job,
what would you
Nelson Carreira wrote:
James E Hicks III wrote:
Nelson Carreira wrote:
Yes, I've tried using both absolute and relative paths.
The system output is 0 when I execute, for example, nvram show
from the php. From what I know this output means success. Although
there's no output on php.
Nelson Carreira wrote:
Hello,
I'm quite new to PHP language and although I got into it pretty fast I'm
having some trouble executing system commands using php. I'm using
thttpd-php_2.21b-2_mipsel in a Linksys router and I can only execute
system commands like ls and cd from the PHP. I tried
On Tue, March 29, 2005 10:38 am, Dipesh Khakhkhar said:
--
1) $output = shell_exec('..\phpunit.bat C:\Run.php');
echo $output;
Change shell_exec to exec, and use the extra parameters to get back ERROR
MESSAGES and ERROR
shell_exec()
Tom
Khan wrote:
Hello,
I have a shell script for ading users to LDAP. It looks like this:
#!/bin/bash
MUID=userlogin
FULLNAME=First Last
LASTNAME=Last
DOMAIN=example.org
SERVER=qmail.example.org
PASS=userpass
cat .ldif.tmp.$MUID EOF
dn: uid=$MUID,ou=accounts,dc=example,dc=org
cn:
Tom wrote:
shell_exec()
yes, I have try that but nothing happenes. here is my code. Is this correct?
?php
shell_exec('/test/acct.sh');
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Khan wrote:
Tom wrote:
shell_exec()
yes, I have try that but nothing happenes. here is my code. Is this
correct?
?php
shell_exec('/test/acct.sh');
?
looks fine to me, except that I tend to run a check to make sure that it
has run ok, like
$myReturn = shell_exec('/test/acct.sh');
or
if
On Tuesday 18 January 2005 18:59, Tom wrote:
Khan wrote:
Tom wrote:
shell_exec()
yes, I have try that but nothing happenes. here is my code. Is this
correct?
?php
shell_exec('/test/acct.sh');
?
Note that shell_exec() expects a filesystem path and not your webserver's
document
On Thu, 17 Jun 2004 11:59:45 +0530, narender [EMAIL PROTECTED] wrote:
I want to start the execution of a script in the background at the time of user
login. In the script there is infinite loop which is checking something after every
10 seconds and if it get true value the it open a popup
Sure... You can write a small php script that uses PHP's imap or pop
functions to monitor any email address. (Check out
http://us3.php.net/manual/en/ref.imap.php for details.) Once that's
written, just schedule it as a task using the windows scheduler or cron
in unix/linux.
-- jon
Sorry, for delayed reply, but anyway thanks for your help and your sugestions to check
the cron log, after read the tutorial and do some actions (trial and error) for a
days, finally i found i know it what's going on, the tutorial say that there is two
way to run php script with cron :
1. First
: rudi [EMAIL PROTECTED]
To: Jason Wong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 7:29 AM
Subject: Re: [PHP] execute php script with crontab
Ok, thanks i will check it first. soon i will send mail about it.
Jason Wong [EMAIL PROTECTED] wrote:On Monday 19 January 2004
On Monday 19 January 2004 21:14, Developer wrote:
Could I add a question regarding the cron command?
If you automatically run a php script through the cron command is timeout
taken under account or does it run through the command line which is
faster (and timeout is not taken under account?)
On Sun, 2004-01-18 at 23:01, rudi wrote:
Hi There,
I am a new be in php programming ussually i using php under windows, but now i am
migrate to linux.
I have php script to write time (testcron.php owner apache chmod 775) into file
testcron.txt(owner apache chmod 775), and i want this
On Monday 19 January 2004 12:01, rudi wrote:
01 * * * * root run-parts /usr/bin/php /var/www/html/cron/testcron.php
I believe 'run-parts' takes a directory as argument. Try:
1 * * * * root /usr/bin/php /var/www/html/cron/testcron.php
Also if you have:
#!/usr/bin/php
as the first line in
Ok, thanks i will check it first. soon i will send mail about it.
Jason Wong [EMAIL PROTECTED] wrote:On Monday 19 January 2004 12:01, rudi wrote:
01 * * * * root run-parts /usr/bin/php /var/www/html/cron/testcron.php
I believe 'run-parts' takes a directory as argument. Try:
1 * * * * root
See www.php.net/passthru
Karam Chand wrote:
Hello
I have got an app wherein you need to pass a name as
the first parameter and it will output that is cout
a registraion code for my app based on the name.
I would like to give a web based interface wherein a
user can give his name on the form
Bas wrote:
How do i execute a program and leave it running and while it is running the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
Oh, ohmanual
http://www.php.net/manual/en/ref.exec.php
--
By-Tor.com
It's all
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bas wrote:
How do i execute a program and leave it running and while it is running
the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
Oh,
Bas wrote:
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bas wrote:
How do i execute a program and leave it running and while it is running
the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
Oh,
- Original Message -
If you start a program using this function and want to leave it running
in
the background, you have to make sure that the output of that program is
redirected to a file or some other output stream or else PHP will hang
until
the execution of the program ends.
apur kurub ver.1 wrote:
dear all
i will execute background process like
$program
is there posible in php to process that statement? and return to php
immediately;
http://www.php.net/system
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
[snip]
Is there a way to execute a command line php script from a browser by,
say
clicking a button and then having the browser let go and let the script
run
independet of the browser? Hope I explained that correctly.
[/snip]
You could invoke the CLI using an exec() http://www.php.net/exec
HTH!
On 22-Jun-2003 Mattia wrote:
How to execute a command capturing the stanndard error, in addition to
standard output? example:
echo system('/bin/rm ...');
I need to know when this command fails, and when it fails, i need to
know why. Any hints?
_Mattia_
$cmd='/bin/rm foo';
Probably you should look over here for info about suexec
http://httpd.apache.org/docs/suexec.html, or check the 'sudo' man pages...
With that you could gain root privilages..
-Oorspronkelijk bericht-
Van: vijaypatel [mailto:[EMAIL PROTECTED]
Verzonden: maandag 9 juni 2003 6:06
Aan: [EMAIL
Hi,
Wednesday, February 5, 2003, 11:49:35 PM, you wrote:
MB Hi,
MB I was looking on PHP manual but didn't find anything about it.
MB How can I execute a script all days at the same time? I kno i must have
MB access to the CRON of the system, but don't know what function should I use
MB to make
Hi Miguel,
You can use cron to execute the CGI or CLI version of PHP against your
PHP script, for example /usr/local/bin/php example.php, simply create a
cron entry that will execute at the desired time. If you need
information on the crontab format do a man crontab or search google for
cron
If you have PHP compiled as cgi then you can run something like:
php /path/to/my/script.php
or if you can request the page via your website with something like:
lynx -dump http://your site.com/yourscript.php
Also if you want to know how to use cron, try typing man cron in your
shell
Hope this
Thx all for the help
Problem solved
Miguel
Jason Sheets [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Miguel,
You can use cron to execute the CGI or CLI version of PHP against your
PHP script, for example /usr/local/bin/php example.php, simply create a
Use sudo (man sudo)
Mantas Kriauciunas wrote:
Hey!
What I want to do is, There is user that logs into the channel. And I
need to make script to change his password. How do I execute shell
command: passwd ? or what should I do to change that password?
Thanks!
mNTKz
--
PHP General Mailing
The error you get does not have to do with that note,
but rather that code of yours has many other issues
such as:
a) The syntax is incorrect
print a b c d; // bad
print a b \ c \ d; // good
print a b ' c ' d; // good
print 'a b c d'; // good
...
Unfortunately no, because the calculator is a Windows application that
runs on your local desktop and cannot be seen by your web-based users.
If you need your customers to use a calculator through their browsers,
you're probably looking for a Javascript calculator. Take a look at this
as an
Hi Bruno,
Can anyone tell me if I can execute windows calculator
trought a PHP script on a web page to allow customers
to check final prices?!
Not on my Linux box you can't. You might find it tricky on my Dad's Mac as
well.
There's more to the web than Windows (thankfully). If you must do
I found it.
I used header(Location: http://www.yoursite.com/images/stat.gif;);
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
David Otton [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Thu, 11 Jul 2002 22:01:03 +1000, you wrote:
You need to output the
On Thu, 11 Jul 2002 21:00:36 +1000, you wrote:
How do I output a static image through a php script?
it had something to do with headers but I can't remember exactly what.
You need to output the correct content-type header for the image (eg
image/gif), take it's size and output it as
There was a much simpler way. It just said the location of the file.
I could use your method but the other one was much simpler.
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
David Otton [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Thu, 11 Jul 2002
On Thu, 11 Jul 2002 22:01:03 +1000, you wrote:
You need to output the correct content-type header for the image (eg
image/gif), take it's size and output it as content-length, and
suppress error reporting. Then output the image data.
There was a much simpler way. It just said the location of
Yes,
However, you need to add the .html file extension to the php parser so that
it parses the .html file.
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002
This idea sounds very appealing, but remember that PHP will then parse
every HTML file. Make certain this won't result in a performance hit.
Miles Thompson
At 03:43 PM 3/12/2002 -0500, Hunter, Ray wrote:
Yes,
However, you need to add the .html file extension to the php parser so that
it
If you only have a web account you can download the .htaccess file from
your home directory and add the following lines. Whether this will work
or not may depend on your host.
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
-Original Message-
From: Lic.
If you are running apache, open httpd.conf and search for .php (the line
where it specifies what types of files are PHP files)... Simply add
.html to the list.
John
-Original Message-
From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 3:41 PM
It seems I didn't read the descrition of 'exec()' good enough when I read it
the first time :(
Now it works, thank you
From: Krzysztof Kocjan [EMAIL PROTECTED]
To: Stefan Rusterholz [EMAIL PROTECTED]
See exec() and system functions in PHP
Krzysztof
Stefan Rusterholz wrote:
Hi
For some
You could always add an include() for every page under the /go directory.
Simplest way that I can think of.
- Original Message -
From: Enrique Vadillo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 07, 2001 12:09 PM
Subject: [PHP] execute a script on access to a
?
Enrique-
From: Jason Bell [EMAIL PROTECTED]
To: Enrique Vadillo [EMAIL PROTECTED], PHP Users
[EMAIL PROTECTED]
Subject: Re: [PHP] execute a script on access to a directory
Date: Fri, 7 Sep 2001 12:12:58 -0700
You could always add an include() for every page under the /go directory.
Simplest way
do you mean perl?!?
- Original Message -
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 1:04 AM
Subject: [PHP] Execute a PHP script from unix (crontab)
Hi.
How can I execute a php script from the unix?
like pearl it's (pearl
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 1:04 AM
Subject: [PHP] Execute a PHP script from unix (crontab)
How can I execute a php script from the unix?
like perl it's (perl file), but in unix we don't have
a executable of php,
Hi
First get your PHP script working correctly...;-)
The use crontab to run lynx (as a browser that runs the PHP script for you).
Here's an example crontab line (works for me) that even gets lynx to
handle an .htaccess protected_dir ;-):
5 5 * * * /usr/local/bin/lynx -dump -nolog
, 2001 9:30 PM
Subject: Re: [PHP] Execute a PHP script from unix (crontab)
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 1:04 AM
Subject: [PHP] Execute a PHP script from unix (crontab)
How can I execute a php script from the unix
]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 9:30 PM
Subject: Re: [PHP] Execute a PHP script from unix (crontab)
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 1:04 AM
Subject: [PHP] Execute a PHP script from unix (crontab
I have php files which run on various VirtualHost's and there is suexec on
those VirtualHosts, however, when I look at the user/group which PHP runs
under it always seems to be the main web user (nobody, www, or whatever we
set it to). Is there any way for PHP to be able to execute as the
the way i have solved this is to have another column of data_type.
switch ($data_type) {
case php:
exec($data);
break;
case html:
include($data);
break;
}
mike
on 7/31/01 3:24 PM, Kyle at [EMAIL PROTECTED] wrote:
For example I have in a database:
simply call it using file:
?php
file('http://www.xyz.com/scripts/sending.php');
?
[EMAIL PROTECTED] wrote:
Hi
I have a little scripting problem with php.I want to execute an extern URL with my
php file.But this url must be execute invisible.So how should i make this ?
Here is an
[EMAIL PROTECTED] wrote:
Does anyone know if there is a way to execute a shell command in a php
script? I am trying to execute the following:
/usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q
10 -w
[EMAIL PROTECTED]
If you're running an Apache module version of PHP,
I use a package called sudo which allows you to give limited root rights to the
user that your webserver is running as. Using this I'm able to add/delete a user
from a PHP script and also change passwords using poppassd.
http://www.courtesan.com/sudo/
Chris
[EMAIL PROTECTED] wrote:
Hi,
91 matches
Mail list logo