Hello,
DerRaphael!!!
Thank you for your time.
DerRaphael wrote:
hi benny - a webspider utility is definitly not what u need.
a webspider, captchures a current state of a webpage such
as ahk.com whatever - and will only run from ur computer
when this one is powered on.
I kind of suspected that the webspider was not the way to go,
because, as you said, its actions were dependant on whether or
not my computer was on. The one who gave me this suggestion
on yahoo.answers obviously didn’t get my point in the question.
DerRaphael wrote:
what u definitly need is a deeper understanding how things
work. i dont mean to offend.
Sure. I am just a newbie, so I am just learning. (Of course I am
not offended.)
DerRaphael wrote:
the so called free-hosting companies give u space that u can
use to make ur data accessible. under no circumstances will
ur stuff be executed unless it is a hard safetychecked php
script which will run within several limits (perl, and asp also
possible, but kinda rare)
To tell you the truth, I’ve already become quite excited about
the idea of solving this task by the way of writing some script.
I think I will start from asp-script way. I know it will take time
to learn, but why not? Plus, I do have free time these days, so
why not try learning something?!
Here I found a snippet of asp script, which looks to be relevant
to what I am trying to accomplish (below is a quote from
here):
******************************************************↓
This function is used to grab an HTML page using Microsoft's
XMLHTTP component , using this component you can grab any
page off the internet . Here is the code for this example:<%
Function GrabPage(strURL)
Dim objXML
Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.Open "GET" , strURL , False ,"",""
objXML.Send
If Err.Number = 0 Then
If objXML.Status = 200 then
GrabPage = objXML.ResponseText
Else
GrabPage = "Incorrect URL"
End if
Else
GrabPage = Err.Description
End If
Set objXML = Nothing
End Function
%>And you call the GrabPage Function like this:<%= GrabPage("http://www.expertsforge.com")******************************************************↑What do you think about it?
DerRaphael wrote:
... a phpscript is a so called webservice script, with the purpose
of generating htmlsites, which would otherwise be to many to take
care of
On another forum I was given one more way, which also seems
to be the way to solve my problem. When I took the first look at
it, I thought that that supporter was also suggesting something
dependable on my computer being powered, but he later insisted
it was not. Here is the quote of my communication with him:
******************************************************↓
///////////////////////////////////////
get this:
http://www.interlog.com/~tcharron/wg...3_1-binary.zip
create a batch file: testsite.bat
echo --------------- >>logfile.txt
date >>logfile.txt
time >>logfile.txt
echo --------------- >>logfile.txt
wget http://www.yoururl.com >>logfile.txt
put it in windows scheduler to run every 20 minutes
///////////////////////////////////////
I still have some questions:
1)
“get this:
http://www.interlog.com/~tcharron/wg...3_1-binary.zip”
I have downloaded this zip file from your link and unzipped it.
To tell you the truth, I don’t know how I should proceed next.
I thought there would be something like “install” file, but
there isn’t one. So, I guess, nothing needs to be installed
here, right?
2)
“create a batch file: testsite.bat”
How do I create this batch file? Is it like I have to create a
common Notepad file and then change its extension from .txt
to .bat? And where do I place it after creating it? Into the
same folder where all the other unzipped files are?
3)
“put it in windows scheduler to run every 20 minutes”
Please explain to me how to do that?
4) Lastly, the most important question: after I have fully
followed on your instructions, will I be able to turn off my
computer and be sure that the desired task is still
being carried out? I am afraid what you are suggesting is
simply creating a task on my computer that will be carried
out by itself every time I turn on my computer. That would
mean I would have to keep my computer on all the time,
otherwise, if I turn it off, the task process will also stop. Am
I correct? If yes, then this is not what I really want. Perhaps,
what I need is a web-page-html-periodically-copying script
that I could somehow place on some remote windows server
that would run my script all the time regardless of whether
my computer is on or off.
///////////////////////////////////////
1. all you need the is wget.exe file.
2. you can use notepad and simply save the file as .bat
it has to be in the same directory where wget.exe is
3. start > control panel > scheduled tasks
4. you place this script on a server you have access to, and
it will check the url and place the output in logfile.txt in the
same directory. SOME MACHINE has to be up all the time for
the task to be carried out, there is no way around that.
///////////////////////////////////////
******************************************************↑
So, what do you think about his proposed way?