filemtime retrieving incorrect date

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
pootergeist
New php-forum User
New php-forum User
Posts: 191
Joined: Wed Jan 29, 2003 7:11 am
Location: UK
Contact:

Post by pootergeist » Fri Apr 11, 2003 12:49 am

$file=basename($upz5In0001.txt);

why the $ in there?

if you want to concatenate a var-text string use quotes

basename($upz.'51n0001.txt');

either way - Dec 31 '69 is effectively zero as a unixtimestamp (or minus one to be exact - though nixtime doesn't natively use negatives)

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests