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

What is SAP Avatar ?
Hi All,

This G.Satish , my boss asked me to explore on SAP Avatar. I searced in internet

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

How to Handle more than one submit button in single form?
Hi
I have one PHP file which contains one Form. In this form there are two Submit type Buttons

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