reply soon ..please plase .how to show doc file |
[eluser]Narkboy[/eluser]
The URL helper function site_url() produces a link based on your config settings: site_url is added at the begining - http://example.com/ index page is added - index.php then the params you specify: 'controller/example' to produce: http://example.com/index.php/controller/example You do not want to use site_url because you are NOT pointing to a CI handled resource. You're pointing direct to a file. You need: Code: <a href="<?php echo $pata.'/'.$naam; ?>">Link Text</a> Now - assuming that: $pata = "/hr/resume/" $naam = "abc.doc" You'll get an output like: Code: <a href="/hr/resume/abc.doc">Link Text</a> You should not try to create a link starting with a drive letter. Don't do it. It's a very very bad idea. Also, more work. /B |
Messages In This Thread |
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 01:43 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 01:54 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:01 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:08 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:15 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:30 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:35 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:41 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 02:55 AM
reply soon ..please plase .how to show doc file - by El Forum - 10-22-2010, 05:49 AM
|