Hi there ;-)
Is there a way to trigger a remote PHP script from a Windows XP machine
(with boardutils)?
--
Freundliche Grüße,
Franz Marksteiner 11 1651
On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
<fr**************@gmail.comwrote:
Chuck Anderson wrote:
>Franz Marksteiner wrote:
>>re************@googlemail.com wrote:
On Feb 4, 7:42 pm, "Franz Marksteiner" <franzmarkstei...@gmail.com> wrote:
Hi there ;-) > Is there a way to trigger a remote PHP script from a Windows XP machine (with boardutils)?
Boardutils is my expression for "no third party" ;-) 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"
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 ;-)
Hmm, outside the previously indicated 'boardutils', but offcourse this
will work a lot easier.
--
Rik Wasmus
Rik Wasmus wrote:
On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
<fr**************@gmail.comwrote:
>Chuck Anderson wrote:
>>Franz Marksteiner wrote: re************@googlemail.com wrote:
On Feb 4, 7:42 pm, "Franz Marksteiner" <franzmarkstei...@gmail.comwrote: > >Hi there ;-) >> >Is there a way to trigger a remote PHP script from a Windows XP >machine (with boardutils)?
Boardutils is my expression for "no third party" ;-)
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"
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 ;-)
Hmm, outside the previously indicated 'boardutils', but offcourse this
will work a lot easier.
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
On Feb 5, 8:33*pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rik Wasmus wrote:
On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
<franzmarkstei...@gmail.comwrote:
Chuck Anderson wrote: Franz Marksteiner wrote: reports.rev...@googlemail.com wrote:
>>>On Feb 4, 7:42 pm, "Franz Marksteiner" <franzmarkstei...@gmail.comwrote:
>>>>Hi there ;-)
>>>>Is there a way to trigger a remote PHP script from a Windows XP machine (with boardutils)?
>>Boardutils is my expression for "no third party" ;-)
>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"
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 ;-)
Hmm, outside the previously indicated 'boardutils', but offcourse this
will work a lot easier.
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 -
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.
Rob wrote:
On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
>Rik Wasmus wrote:
>>On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner <franzmarkstei...@gmail.comwrote: Chuck Anderson wrote: Franz Marksteiner wrote: >reports.rev...@googlemail.com wrote:
>>>>>>On Feb 4, 7:42 pm, "Franz Marksteiner" >><franzmarkstei...@gmail.comwrote:
>>>>>>>Hi there ;-)
>>>>>>>Is there a way to trigger a remote PHP script from a Windows XP >>>machine (with boardutils)?
>>>>>Boardutils is my expression for "no third party" ;-)
>>>>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"
>>>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 ;-)
>>Hmm, outside the previously indicated 'boardutils', but offcourse this will work a lot easier.
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 -
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.
Am I getting this right? I can just copy the php.exe to my systemdir, and
interprete PHP without installing anything?
--
Freundliche Grüße,
Franz Marksteiner
On Feb 6, 12:31 pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rob wrote:
On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rik Wasmus wrote: On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner <franzmarkstei...@gmail.comwrote: Chuck Anderson wrote: Franz Marksteiner wrote: reports.rev...@googlemail.com wrote:
>>>>>On Feb 4, 7:42 pm, "Franz Marksteiner" ><franzmarkstei...@gmail.comwrote:
>>>>>>Hi there ;-)
>>>>>>Is there a way to trigger a remote PHP script from a Windows XP >>machine (with boardutils)?
>>>>Boardutils is my expression for "no third party" ;-)
>>>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"
>>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 ;-)
>Hmm, outside the previously indicated 'boardutils', but offcourse this will work a lot easier.
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 -
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.
Am I getting this right? I can just copy the php.exe to my systemdir, and
interprete PHP without installing anything?
--
Freundliche Grüße,
Franz Marksteiner
You can use it without web interface but only commandline. However you
can use an embedable web server which does not need installation =>
shttpd.sourceforge.net ;)
best regards..
Betikci Boris wrote:
>>
>>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.
Am I getting this right? I can just copy the php.exe to my systemdir, and interprete PHP without installing anything?
You can use it without web interface but only commandline. However you
can use an embedable web server which does not need installation =>
shttpd.sourceforge.net ;)
Mhm, I gotta try that out. That would be way more powerful than curl.exe
indeed.
Thanks for the hints to ya`ll ;-)
--
Freundliche Grüße,
Franz Marksteiner
On Feb 6, 10:31*am, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rob wrote:
On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rik Wasmus wrote: On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner <franzmarkstei...@gmail.comwrote: Chuck Anderson wrote: Franz Marksteiner wrote: reports.rev...@googlemail.com wrote:
>>>>>On Feb 4, 7:42 pm, "Franz Marksteiner" ><franzmarkstei...@gmail.comwrote:
>>>>>>Hi there ;-)
>>>>>>Is there a way to trigger a remote PHP script from a Windows XP >>machine (with boardutils)?
>>>>Boardutils is my expression for "no third party" ;-)
>>>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"
>>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 ;-)
>Hmm, outside the previously indicated 'boardutils', but offcourse this will work a lot easier.
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 -
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.
Am I getting this right? I can just copy the php.exe to my systemdir, and
interprete PHP without installing anything?
--
Freundliche Grüße,
Franz Marksteiner- Hide quoted text -
- Show quoted text -
Yes!!
Rob wrote:
>Am I getting this right? I can just copy the php.exe to my systemdir, and interprete PHP without installing anything?
Yes!!
I gotta correct this a little:
PHP is not as comfortable as a common commandlinetool, since I`ve
experienced that it still needs lots of libs.
So just copying the EXE won`t do.
But putting the whole PHP folder under "C:\Program Files" is just as easy.
With the only difference that you now have to include the exact path, when
calling php.exe from the commandline.
But still: This offers way more possibilities to the user, and the power of
php.exe overweighs the disadvantage of providing the path to the EXE...
--
Freundliche Grüße,
Franz Marksteiner
On Feb 6, 2:02*pm, "Franz Marksteiner" <franzmarkstei...@gmail.com>
wrote:
Rob wrote:
Am I getting this right? I can just copy the php.exe to my
systemdir, and interprete PHP without installing anything?
Yes!!
I gotta correct this a little:
PHP is not as comfortable as a common commandlinetool, since I`ve
experienced that it still needs lots of libs.
So just copying the EXE won`t do.
But putting the whole PHP folder under "C:\Program Files" is just as easy.
With the only difference that you now have to include the exact path, when
calling php.exe from the commandline.
But still: This offers way more possibilities to the user, and the power of
php.exe overweighs the disadvantage of providing the path to the EXE...
--
Freundliche Grüße,
Franz Marksteiner
Apologies Frank - you are correct in that if you need to use any of
the compiled libraries, e.g. GD, then you would also need the
appropriate DLL's, as well as PHP.INI of course
Rob.
AnrDaemon wrote:
Greetings, Franz Marksteiner.
In reply to Your message dated Wednesday, February 6, 2008, 17:02:13,
>>>Am I getting this right? I can just copy the php.exe to my systemdir, and interprete PHP without installing anything?
Yes!!
>I gotta correct this a little: PHP is not as comfortable as a common commandlinetool, since I`ve experienced that it still needs lots of libs. So just copying the EXE won`t do.
>But putting the whole PHP folder under "C:\Program Files" is just as easy. With the only difference that you now have to include the exact path, when calling php.exe from the commandline.
>But still: This offers way more possibilities to the user, and the power of php.exe overweighs the disadvantage of providing the path to the EXE...
What the point of providing the full path if You can just run PHP
script as is? I'm using attached batch file to properly install PHP
after reinstalling Windows.
I do not want to install PHP, but can live with the ZIP version.
--
Freundliche Grüße,
Franz Marksteiner
Greetings, Franz Marksteiner.
In reply to Your message dated Monday, February 11, 2008, 17:16:38,
>>>>Am I getting this right? I can just copy the php.exe to my systemdir, and interprete PHP without installing anything?
Yes!!
>>I gotta correct this a little: PHP is not as comfortable as a common commandlinetool, since I`ve experienced that it still needs lots of libs. So just copying the EXE won`t do.
>>But putting the whole PHP folder under "C:\Program Files" is just as easy. With the only difference that you now have to include the exact path, when calling php.exe from the commandline.
>>But still: This offers way more possibilities to the user, and the power of php.exe overweighs the disadvantage of providing the path to the EXE...
What the point of providing the full path if You can just run PHP script as is? I'm using attached batch file to properly install PHP after reinstalling Windows.
I do not want to install PHP, but can live with the ZIP version.
What You mean by "installing" PHP?
For me it is starting that batch file once. "Fire and forget" (c)
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: hokieghal99 |
last post by:
What are the specific steps that one should take to make a python script
that works on a Linux x86 machine also work on a Windows x86 machine?
I am using os, re and string in the script. How do...
|
by: dpackwood |
last post by:
Hello,
I have two different scripts that do pretty much the same thing. The main
perl script is on Windows. It runs and in the middle of it, it then calls
out another perl script that then...
|
by: jonezy |
last post by:
my test server is win2k server, the script works fine, loads the movie,
allows user selection etc. however when i access the same script on my
remote server none of the requesting files load. the...
|
by: Patrick |
last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can
1) Either set under IIS Manager-> Any specific Virtual Directory->
Configuration->Options->ASP Script timeout for all pages...
|
by: Benny |
last post by:
Dear All,
I need to send a set of Emails from my application (reminders) each month
1st. Is there anyway in ASP scripts to trigger an event to run
automatically? I have no dedicated server, so...
|
by: aundro |
last post by:
Hello,
I've been looking on the web for a solution to this problem:
I create a set of checkboxes, and 2 buttons:
- one is labeled "All"
- the other is labeled "None"
Clicking "All" is...
|
by: Jordan |
last post by:
How would I go about launching an MSI file from my computer. Say the path was (@"C:\\dog.msi"). Basically, when a user clicks a button saying install, then it will go and run the .msi file with the...
|
by: sunilsn |
last post by:
Hi,
I am newbie to perl, I hope you guys will help me resolve the challenge I am facing.
I have a unix shell script on one UNIX machine say A, and a batch file on windows machine say B. Now I want...
|
by: nimad |
last post by:
Hello,
I would like to modify the content of the location bar (address bar)
using JavaScript. Suppose I am at
http://localhost/WebTests/TestEvent.aspx
The followig line:
window.location =...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |