Jump to content

Recommended Posts

Posted (edited)

Hi.

I want to execute php-script from autoit.

What is the fastest way to execute php-script?

I tried _IENavigate, but the start of internet explorer takes time, is there

an easier way to start from dos-prompt or any other way?

>_<

Edited by jorgeng
Posted

Hi there,

You might find it best to have a look at the HTTP UDFs an the like- I assume you want to open the remote PHP script. Otherwise you will need to maybe check out this.

Cheers,

Brett

Posted

Hi there,

You might find it best to have a look at the HTTP UDFs an the like- I assume you want to open the remote PHP script. Otherwise you will need to maybe check out this.

Cheers,

Brett

I have xampp installed with php, apache, so the php-file is on my own pc.

I want to execute the php-file from autoit-script.

I tried the example:

php my_script.php

from dos-prompt but it wouldn't execute.

>_<

Posted

Is the server running?

Can you access it from localhost in your browser?

yes, it's so i run my php-script, writing localhost in ie8, then my php-script name + enter.

>_<

Posted

Executing a php script and displaying the results of the script in a browser are two different things.

Executing the script with no output would be as simple as InetGet("http://localhost/script.php"), otherwise you can use the IE functions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...