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

Best way to check for end of a record and send it back to the first record
I'm hoping someone can help me out and explain the best way to accomplish this.

What I'm doin

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

check how many commas the variable containing the query has between [i]select[/i
Hi...

iv made an sql table that contains id number - name of sql query and an sql query.
T

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

filesize problem
i use ubuntu 9.10 and i have mountet a folder from an windows

/mount/FOLDER
/mount/FOLDER/

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