Software602 Home . products . download . support . register . how to buy . . view cart . . . contact us . . . .
Software602 Home . . . . . .
. .
.
.
Software602 Login
E-mail:
Password:
forgot?
.
Support Home .
.
User Forum .
.
Knowledge Base .
.
Submit Ticket .
.
View My Tickets .
.
. .
.
602LAN SUITE 2004 User Forumforum home | rss | search | terms of use
BackBack to 602LAN SUITE 2004 Forum
Add New TopicAdd New Topic
Post ReplyPost Reply
executing remote scripts (php etc)
  Posted by  Testuser Testpass  on Tuesday, September 05, 2006 at 3:57:35 AM (EST)
Hi,

I'd like to execute a batch file via webserver, but I don't know how to set it up correctly

In mapped applications I have created record for .bat
Extension (e.g. ".php"): .bat
Path to EXE file: C:\WINDOWS\system32\cmd.exe /c %1
Environment variables: (empty)

I don't have a clue how to pass the script name to the exe, %1 does not work - what is the replacement for the "current" script

And one another question - how do I set up interpretting php scripts? I have same problem as above, php should be executed with \php\php.exe -f whatever.php, but how do I tell to lansuite where to pass the script name (i.e."whatever.php" when I access http://lansuite/whatever.php)

Thank you for reply,
Jan.
  Posted by Robert Smith  on Tuesday, September 05, 2006 at 10:40:32 AM (EST)
PHP knowledge base topic is here:

https://secure.software602.com/kb/view.aspx?articleID=635
BackBack to 602LAN SUITE 2004 Forum
Add New TopicAdd New Topic
Post ReplyPost Reply
.
. . .
.
  © 2009 Software602, Inc. All rights reserved.