home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 26 
 August Abolins to mark lewis 
 need php help 
 12 Nov 19 19:50:47 
 
MSGID: 2:221/360 5dcaf0f0
REPLY: 1:3634/12.73 5dca84f7
PID: Pineapple/OS2 1.3 20191018
TID: GE/2 1.2
CHRS: UTF-8 2
TZUTC: 0200
 On 2019 Nov 12 03:58:20, you wrote to All:

  AA> I type it in at the root site address:

  AA>    http:// /what-time-changed-php.php

  AA>  ..but this is coming up with a blank display.

  AA> What am I doing wrong?

 ml> invalid or no html? have you looked at the resulting page's
 ml> source in your browser?

php can be executed directly.  I don't need to call it within html.

Meanwhile, after adjusting the script without the "if.." and thus forcing an
output, I would get, the output:

	Last modified: December 31 1969 19:00:00.

 ..which is php-speak for "file not found".

 :(


 ml> also, for security reasons, you'd be better off to have
 ml> $filename contain only the file's name... put the path in
 ml> another one and do not output it at all... then connect the two
 ml> when needed...

What do you mean "do not output it at all"?  How would I see the result
otherwise?

I just want to produce a report of "last modified" dates of files in specific
directories. And if that works, have the script email the output on a
schedule. But the above is a first step.

How would this would be a security risk?

 ..AA

--- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 
hunderbird/60.9.1
 * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360)
SEEN-BY: 1/123 15/2 90/1 103/705 203/0 221/0 1 6 242 360 227/114 229/354
SEEN-BY: 229/426 616 1014 230/0 240/5832 249/206 317 400 280/464 5003
SEEN-BY: 292/854 310/31 317/3 322/757 342/200 396/45 423/120 712/848
SEEN-BY: 770/1 2452/250
PATH: 221/360 1 280/464 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca