sanjdhiman
Programmer
I have a quick problem
when uploading a file im trying to use the userfile_name attribute for the name of the file that im uploading to be idsplayed like a previw of the file
so im putting in the img tag the following
<img src=php/agents/$userfile_name height=200 width=200>
ok so its taking the director yfine BUT
if the filename has spaces it only takes the first bit of the file name
e.g. water lillies.jpg
becomes water.jpg
is there away round this do i do something with the vriable userfile_name
thanks in advance
sanj
when uploading a file im trying to use the userfile_name attribute for the name of the file that im uploading to be idsplayed like a previw of the file
so im putting in the img tag the following
<img src=php/agents/$userfile_name height=200 width=200>
ok so its taking the director yfine BUT
if the filename has spaces it only takes the first bit of the file name
e.g. water lillies.jpg
becomes water.jpg
is there away round this do i do something with the vriable userfile_name
thanks in advance
sanj