Hi,
We have a script for uploading podcasts. Unfortunately, everything I upload is posted with the date 1 day behind. The date is correct when uploading, but when I view the upload it is, as said, 1 day behind. I've spent the entire day working on this, no luck.
Any advice would be greatly appreciated. I believe the last two lines of the following (date and date_added) is where the problem lies.
Thanks.
$title = $_POST['title'];
$subtitle = addslashes($_POST['subtitle']);
if($_POST[delete]=="delete"){
$query = "DELETE from service where id = $_POST[id] LIMIT 1";
}else{
$query="UPDATE service SET
title = '$title',
series_id = '$_POST[title]',
service = '$_POST[service]',
speaker = '$_POST[speaker]',
date = UNIX_TIMESTAMP($_POST[date]),
date_added = UNIX_TIMESTAMP(NOW()),