REPLY: 2:221/360 5dcaf0f0   
   MSGID: 1:3634/12.73 5dd835e4   
   PID: GED+LNX 1.1.5-b20180707   
   CHRS: CP437 2   
   TZUTC: -0500   
   TID: hpt/lnx 1.9.0-cur 17-02-17   
    On 2019 Nov 12 19:50:46, you wrote to me:   
      
    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?   
      
    AA> php can be executed directly.   
      
   i know :)   
      
    AA> I don't need to call it within html.   
      
   i didn't say you did but if you expect a browser to properly render the output,   
    it should be in proper html format ;)   
      
    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...   
      
    AA> What do you mean "do not output it at all"? How would I see the result   
    AA> otherwise?   
      
   i'm saying that if you want to keep your server's directory layout secret to   
   prevent possible hacking access and fore-knowledge of your setup, do not output   
    the path of the file...   
      
    AA> I just want to produce a report of "last modified" dates of files in   
    AA> specific directories. And if that works, have the script email the output   
    AA> on a schedule. But the above is a first step.   
      
   then why be messing with looking at the output in a browser?   
      
    AA> How would this would be a security risk?   
      
   because it would publish the path to those with possibly nefearious desires...   
      
   )\/(ark   
      
   Once men turned their thinking over to machines in the hope that this would set   
    them free. But that only permitted other men with machines to enslave them.   
   ... Kindly observe the mistletoe on my coattails as I depart... D. Drum   
   ---   
    * Origin: (1:3634/12.73)   
   SEEN-BY: 1/123 15/2 57/0 90/1 103/705 153/250 757 203/0 220/70 221/0   
   SEEN-BY: 227/114 229/354 426 616 1014 240/5832 249/206 317 400 250/3   
   SEEN-BY: 267/800 280/464 5003 292/854 310/31 317/3 322/757 342/200   
   SEEN-BY: 396/45 423/120 712/848 770/0 1 100 330 340 772/0 1 210 500   
   SEEN-BY: 2452/250   
   PATH: 3634/12 153/7715 250 770/1 280/464 229/426   
      
|