|
|
#10 (permalink) | |
|
Surpass Fan
On a golden path...
Joined in Nov 2003
432 posts
Gave thanks: 0
Thanked 0 times
|
Quote:
As far as someone viewing the file, do you mean the actual contents or the output of the script if it is ran? If you're concerned about the output, just write it so it has no visible output, since it's going to update a database. |
|
|
|
|
|
|
#11 (permalink) | |
|
Surpass Fan
Comfy Contributor
Joined in Apr 2004
Lives in Canada
Hosted on Pipe
141 posts
Gave thanks: 4
Thanked 3 times
|
Quote:
|
|
|
|
|
|
|
#13 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Apr 2004
Lives in Canada
Hosted on Pipe
141 posts
Gave thanks: 4
Thanked 3 times
|
Thanks every one, I have tested a cron job and it worked, now I just got to wait until next sunday to see if it really works! :reddance:
|
|
|
|
|
|
#15 (permalink) |
|
Registered User
Comfy Contributor
Joined in Mar 2004
Lives in Herts, UK
Hosted on Webdev & SH108
111 posts
Gave thanks: 0
Thanked 0 times
|
If you want a script in the public_html directory, and you run it through lynx (there are reasons, which I can't remember... heh), you can always just check whether $_SERVER["REMOTE_ADDR"] == $_SERVER["HOST_ADDR"]
I think that should work... |
|
|
|
|
|
#16 (permalink) | |
|
Marketing Maven
Surpass Staff
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
|
Quote:
:miam2: |
|
|
|
|