本文介绍了从Windows XP计算机触发PHP脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好;-)


有没有办法从Windows XP机器触发远程PHP脚本

(带有boardutils)?


-

FreundlicheGrü?e,

Franz Marksteiner

Hi there ;-)

Is there a way to trigger a remote PHP script from a Windows XP machine
(with boardutils)?

--
Freundliche Grü?e,
Franz Marksteiner

推荐答案


只需在命令行中使用curl。

在这里获取卷曲的Win32版本:




在Windows任务计划程序中:文件 - 新建计划任务 - 运行:
" c:/path_to/curl.exe ........。php


Just use curl from the command line.

Get the Win32 version of curl here:
http://curl.haxx.se/
or
http://curl.freemirror.de/

In Windows Task Scheduler: File -New Scheduled Task - Run:
"c:/path_to/curl.exe http://......... .php"



非常感谢你!这正是我所寻找的。

URL并没有让我对安全感到自信,但我们会看到;-)


THANK YOU SO MUCH! This is just what I was looking for.
The URL doesn`t make me feel to confident about safety, but we`ll see ;-)



嗯,在之前指出的''boardutils'之外,但是当然这个

将更容易工作。

-

Rik Wasmus

Hmm, outside the previously indicated ''boardutils'', but offcourse this
will work a lot easier.
--
Rik Wasmus



非常感谢你!这正是我所寻找的。
URL并没有让我对安全感到自信,但我们会看到;-)


THANK YOU SO MUCH! This is just what I was looking for.
The URL doesn`t make me feel to confident about safety, but we`ll
see ;-)



嗯,在之前指出的''boardutils'之外,但是这个

将会更容易。


Hmm, outside the previously indicated ''boardutils'', but offcourse this
will work a lot easier.



你是对的。有两点;-)

这个CMD工具真的很棒。将此复制到我的系统目录将从现在开始将

属于我的操作系统安装例程。


-

FreundlicheGrü? e,

Franz Marksteiner

You`re right. With both points ;-)
This CMD tool is really great. Copying this to my system directory will
belong to my OS install routine from now on.

--
Freundliche Grü?e,
Franz Marksteiner




你是对的。有两点;-)

这个CMD工具真的很棒。将此复制到我的系统目录将从现在开始将

属于我的操作系统安装例程。


-

FreundlicheGrü? e,

Franz Marksteiner-隐藏引用文字 -


- 显示引用文字 -


You`re right. With both points ;-)
This CMD tool is really great. Copying this to my system directory will
belong to my OS install routine from now on.

--
Freundliche Grü?e,
Franz Marksteiner- Hide quoted text -

- Show quoted text -



正如Rik所说,将PHP.EXE复制到windows目录与复制CURL.EXE的

相同。您不需要Web服务器或其他任何东西从命令行或调度程序运行

PHP。


它具有更多优势比CURL强大。


Rob。

As Rik said, copying PHP.EXE to your windows directory is the same as
copying CURL.EXE. You don''t need a web server or anything else to run
PHP from the command line or Scheduler.

It has the advantage of being much more powerful than CURL.

Rob.


这篇关于从Windows XP计算机触发PHP脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 18:14