Reply to uploading images

Your name:

Reply:


Posted by David on 01/09/07 23:54

HI,

Ive created a script which uploads an image to a folder whilst adding
the info to a db. This works fine.

but when Ive created a script to edit this entry in the db it seems to
cutoff a lot of the characters of the filename.

for example.

the file as it appears in the file field is
F:\webserver\images\16466.gif

but when I look into the db entry it only says 'F' Which I asume is
the first character of the file path.

here is the query ive used.

$query="UPDATE categories SET catname='$ud_catname',
image='{$ud_image["name"]}' WHERE catid='$ud_catid'";

Thanks in advance

david.

[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

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