CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 File upload path in database

Print topic Send  topic

Author Message
Janka
Posted: 08/15/2003, 6:00 AM

I am using CCS 2.1

How to set path in database where files are.
I have temp directory and files are uploaded there.
But in database it only recording file name which cause different url to file.

Janka
Rian
Posted: 08/16/2003, 10:12 PM

Hi Janka,

Put a "Image Link" in your page that use the database (column) as the image source.

Switch to HTML view....

Image link will look something like
<a class="NoMarksDataLink" href="{ImageLink_Src}">{ImageLink}</a>

Now add the correct path into the HTML for your site and save the page
<a class="NoMarksDataLink" href="/test_site/images/uploaded/{ImageLink_Src}">{ImageLink}</a>

Rian :)
Janka
Posted: 08/17/2003, 9:26 AM

Problem is there that I i have grid form where users can see files.
When somebody wants to download it then moving to different page and telling that directory listing is denied but I want that for user another window appears which allows to download.

By the Way for images it even easier. You don't need to go to the code:
Go to the format>src and there you can write a correct path for example:
temp/{ImageLink1_Src}
and it works.

Janka:(

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.