Reply to Date Auto-Update on Save Dreamweaver/PHP

Your name:

Reply:


Posted by mbyrd1332 on 04/05/06 00:50

Just wondering if any of you knew of a way to trap the <!-- #BeginDate
format:Am1 -->April 4, 2006<!-- #EndDate --> (Dreamweaver's
Auto-Update-on-Save Date Code) into a PHP variable and still have the
Date update on save? Or really any way to have a variable with the
updated date stored when the file is saved is what i'm looking for,
this just seemed like a possible solution.

Something to the effect of:

<?php
$saved_date = '<!-- #BeginDate format:Am1 -->April 4, 2006<!-- #EndDate
-->';
?>

or

<?php
$saved_date = ' ?> <!-- #BeginDate format:Am1 -->April 4, 2006<!--
#EndDate --> <?php ';
?>

But Dreamweaver skips over the code when it's embedded in the php in
the first example, and the second i'm sure would cause a compile error.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация