Help with syntax


Posted on 16th Feb 2014 07:03 pm by admin

Hi all!

The $bridge variable is not getting passed while it is contained in the line below:

Maybe I don't have the right brackets around it? I want the result to say Bridge1
I think it's because its a WshShell command. Any ideas?




$bridge = 1;

if ($refresh == 1)

{

$WshShell = new COM("WScript.Shell");
$WshShell->Run('"C:Program FilesApache Software FoundationApache2.2htdocsaastraputty.exe" -load "Bridge$bridge" -l root -pw password -m "C:Program FilesApache Software FoundationApache2.2htdocsaastralist-56201.sh"');

sleep(2);

}

No comments posted yet

Your Answer:

Login to answer
274 Like 8 Dislike
Previous forums Next forums
Other forums

The repetition structure: the while statement not working
New programming student, have assignment as follows:
A restaurant has 4 lunch combos for custom

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

UPLOAD IMAGES NOT WORKING!
Hi there i have a upload script in which it uploads the picture to a folder than creates two thumbna

SAP Treasury - Commodities
We are running SAP ECC 6.0 with Treasury Activated.
EA-FIN is also activated (SFW5).

disabling a button server-side then re-enabling client-side breaks button postback
I have a tabbed container and a button (not in the container) on a page. If the first tab is selecte

mysql timestamp manipulation
How could I use a timestamp (e.g 2009-10-30 13:20:35 ), and with php find out if it is:

from

Variable passed to each() is not an array or object
Hi,

This is a email a friend type of form, and it isn't working anymore.

<?

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

Printing issues with xMII 11.5
For some reason, we have one report (and only one) that is giving us fits when trying to print. The

Better Method of a Member Cloud
I assume most people know how tag clouds work, where the tags most used are bigger and the least use

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash