Forums

PHP

This topic is locked

help with dynamic file rename

Posted 06 Jun 2004 07:58:08
1
has voted
06 Jun 2004 07:58:08 dan zucker posted:
does anyone have any tips for using the rename files using a dynamic field? I want all images uploaded to be named "user id_photo.jpg" The pure php upload and the rename keep causing parse errors. no dynamic renaming seems to work???? Am using dwmx 2004. Thanks much for all help in advance.....

Replies

Replied 06 Jun 2004 17:44:04
06 Jun 2004 17:44:04 dan zucker replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
does anyone have any tips for using the rename files using a dynamic field? I want all images uploaded to be named "user id_photo.jpg" The pure php upload and the rename keep causing parse errors. no dynamic renaming seems to work???? Am using dwmx 2004. Thanks much for all help in advance.....
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
$ruf-&gt;renameMask = "$row_Recordset1['ID']_##name##.##ext##";

Reply to this topic