RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
stat() > -Original Message- > From: Randy Johnson [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 4:09 PM > To: scott [gts]; php > Subject: RE: [PHP] forms and IP numbers > > > I would like to pull the date and time of the creation of a file via a php

RE: [PHP] forms and IP numbers

2001-07-13 Thread Randy Johnson
I would like to pull the date and time of the creation of a file via a php script and compare it to the current time. How do I do this? TIA Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
no offense, but that's a bad kludge for the problem. however, if you really want to do that, you could try checking $SERVER_NAME and $HTTP_REFERER and other enviornment variables like that... what would be easier (and better practise) to do is to verify that the incoming username is valid...

Re: [PHP] forms and IP numbers

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
This would be just as bad, as he could open up a socket faking a referer. What you really need are data integrity checks inside the script which posts to the message board on your server. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security