Jump to content
Sign in to follow this  
jorgeng

PHP sending data

Recommended Posts

jorgeng

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

Share this post


Link to post
Share on other sites
BrettF

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

Share this post


Link to post
Share on other sites
jorgeng

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.

>_<

Share this post


Link to post
Share on other sites
BrettF
jorgeng

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.

>_<

Share this post


Link to post
Share on other sites
weaponx

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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×