exec access denied

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

fourleggedostrich
New php-forum User
New php-forum User
Posts: 4
Joined: Wed Nov 26, 2003 12:59 am

exec access denied

Postby fourleggedostrich » Mon Dec 01, 2003 2:12 am

I'm trying to do:

Code: Select all

<? EXEC   (  "net send myPC this is a test"  ); ?>

and I keep getting Access Denied errors. I have set the permissions for both net.exe and cmd.exe to include execute permission for IUSER_MYPC.

I am using a Win2000 server with IIS and PHP4.3.4

Any Ideas?

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

EXECUTE

Postby ruturajv » Mon Dec 01, 2003 11:50 pm

hello,

please check in your IIS Configuration... that the directory in which you are running the script... has execute permissions...

fourleggedostrich
New php-forum User
New php-forum User
Posts: 4
Joined: Wed Nov 26, 2003 12:59 am

Postby fourleggedostrich » Tue Dec 02, 2003 1:18 am

It does.

sigix
php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Postby sigix » Tue Dec 02, 2003 5:42 am

-does the user logged in (executing the command ) have permissions
-check the permissions for the your server too


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot], landi and 2 guests

cron