Welcome Guest, Not a member yet? Register   Sign In
file exist check failing
#6

[eluser]bhakti.thakkar[/eluser]
hello,
its via HTTP

in config.php i have defined Uploadfiles_url as
$config['UploadFiles_url'] = "http://IP_ADDRESS/UPLOADFOLDER/";


<?
foreach($query->result() as $row):
$source=$this->config->item('UploadFiles_url')."PDF_files/";

?>
<td><a >AttachedFile_VC?&gt;" target="_blank">&lt;?=$row->AttachedFile_VC;?&gt; </a></td>

Hope its clear

* [href="&lt;?=$source.$row->AttachedFile_VC" ]


and many files do get opened by the above method. but i dont want to display page not found error for those files which now do not reside on the specified path any more

Thanks


Messages In This Thread
file exist check failing - by El Forum - 02-23-2009, 04:13 AM
file exist check failing - by El Forum - 02-23-2009, 05:06 AM
file exist check failing - by El Forum - 02-23-2009, 05:16 AM
file exist check failing - by El Forum - 02-23-2009, 05:25 AM
file exist check failing - by El Forum - 02-23-2009, 05:28 AM
file exist check failing - by El Forum - 02-23-2009, 06:11 AM
file exist check failing - by El Forum - 02-23-2009, 06:17 AM
file exist check failing - by El Forum - 02-23-2009, 06:31 AM
file exist check failing - by El Forum - 02-23-2009, 07:00 AM
file exist check failing - by El Forum - 02-23-2009, 10:20 PM
file exist check failing - by El Forum - 02-23-2009, 10:35 PM
file exist check failing - by El Forum - 02-23-2009, 11:20 PM
file exist check failing - by El Forum - 02-24-2009, 05:36 AM
file exist check failing - by El Forum - 02-24-2009, 06:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB