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:

Did you know?Explore Trending and Topic pages for more stories like this.
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

How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

Multiple WHILE loops help
Hi there. I'm writing an application that is pulling and displaying results for real estate listing

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

Database/Table Collation
What is the Database, and table collations used for? i don't understand what there used for since co

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

MS Exchange 2007 integration with ECC 6.0
Hello Experts,
We have ECC 6.0 and MS Exchange 2007. We need to integrate ECC 6 and MS Excha

background color imagefill
Hello

I would like to ask you why I see this square in red color just in my local xampp insta

Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

gettext translates ALWAYS?
I'm using gettext with the new version of XAMPP (5.3.0) on Windows Seven RTM (build 7600)
gettext

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