Answered
Insert/Update File Path difficulty
I am trying to Insert into a VARCHAR field a file path as
text that I can then transform into a hyperlink. This is held on an
intranet site and I need the complete physical path within the
network (not just on the server). I do NOT want to upload the file
to a server folder.
ie: \\Mainserver\intranet\Referencefiles\Quote.xls
or
\\SomeoneelsesPC\temp\test.doc
I have put in a file input section
<input name="FILEREF" type="file" id="FILEREF" size="70">
and set the input behaviour to include the value as text.
GetSQLValueString($HTTP_POST_VARS['FILEREF'], "text"));
When I go to update or insert, it does not appear to be entering any value. This is part of a bigger insert/update statement and everything alse seems to work fine but this part doesn't.
What am I doing wrong?
ie: \\Mainserver\intranet\Referencefiles\Quote.xls
or
\\SomeoneelsesPC\temp\test.doc
I have put in a file input section
<input name="FILEREF" type="file" id="FILEREF" size="70">
and set the input behaviour to include the value as text.
GetSQLValueString($HTTP_POST_VARS['FILEREF'], "text"));
When I go to update or insert, it does not appear to be entering any value. This is part of a bigger insert/update statement and everything alse seems to work fine but this part doesn't.
What am I doing wrong?
