Menu

#7 Execute Command / Command Line

open
nobody
None
5
2003-04-01
2003-04-01
Mathias
No

Hi,

Execute Command only works if you press the button.
Every time I write into the field I press Enter and it
doesn't execute the command.

I fixed that with the following changes to index.php

Line 112:
if($HTTP_POST_VARS['commandForm'] ||
$HTTP_GET_VARS['commandForm'] ||
($HTTP_POST_VARS['commandExecute'] ||
$HTTP_GET_VARS['commandExecute']) ||
$HTTP_POST_VARS['commandToExecute'])

Line 128:
if(($HTTP_POST_VARS['commandExecute'] ||
$HTTP_GET_VARS['commandExecute']) ||
$HTTP_POST_VARS['commandToExecute']) {

I deleted those surrounding brackets
from "commandToExecute".

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.