Server folder variable please
I am using Digital File Pro 2 and Datassist side by side on a single page.
Everything seems to be working ok, apart from the progress bar wich causes same ui error widely reported across this thread, however, that is not an issue for me at this time.
I have DFP creating dynamic folders and filenames based on the logged in users credentials, then the images are uploaded into the logged in users own folders, all fine.
However, my results page which loads after the record insert and image upload completes, is failing to display the images because the 'server directory' i'm saving to my sql table is capturing the whole root-path;
<img src="<?php echo $row_WADApropmaintbl['propImgPath']; ?>/<?php echo $row_WADApropmaintbl['propImgFileName']; ?>" alt="<?php echo $row_WADApropmaintbl['propImgName']; ?>" name="" />
This translates into;
<img src="/home/www/myweb.com<?php echo $row_WADApropmaintbl['propImgFileName']; ?>" alt="<?php echo $row_WADApropmaintbl['propImgName']; ?>" name="" />
When all i need is the folder;
<img src="/member_ref/<?php echo $row_WADApropmaintbl['propImgFileName']; ?>" alt="<?php echo $row_WADApropmaintbl['propImgName']; ?>" name="" />
Any ideas how i can replace the 'server directory' option with a folder name to apply in the Insert Record Wizard?
Thanks, Paul.