BetaONE will rise again!


Reply
  #1  
Old 6th May 03, 07:05 AM
cappaberra
 
Posts: n/a
A little background and continuation of my "dos user automated input" thread... I'm trying to write a php script to launch VNC (i'm using TightVNC) via my webserver (duh). So far I know that I need to launch "WinVNC.exe" as a windows user (ie. the shell i want to vnc into) and not the "console", which it seems to do automatically if the shell_exec statement works at all. So, this is where "runas" comes into play. The VB script (the first link) works perfectly within windows, however, when I try to execute the following php command, it doesn't launch the desired program (I hardwired user/pass/cmd into the script already):

shell_exec ("cmd /c wscript script.vbs");

it just seems like php executions are not all that they say they are. i've been trying to figure this out for the past four to five hours, with no luck. I've played around with many different combinations of syntax for the command, but nothing seems to get it working. Is there a dos version of VNC I could launch instead? I looked through the php manual at the user comments.. no help. i've searched google groups and the web... no help. So, I turn here, and maybe another forum or two.. I might go on irc at some point as well... Any help would be appreciated.

thanks,
cappaberra
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update # 1 for MCE 2005 protecteur Windows XP Media Center Edition 2005 3 26th Oct 04 12:45 PM
Get more dancers for mce 2005 protecteur Windows XP Media Center Edition 2005 1 24th Oct 04 02:30 PM
Superw2k.iso - Windows 2000 Super Cd Now Available! khauyeung Windows Media (WMP 10, DX 9...) 25 27th Jul 02 02:51 PM
Speed up system. greasemonkey Hardware Support 6 6th Nov 01 07:32 PM


All times are GMT +1. The time now is 11:37 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.