Images & Docs Storing

I have a wast databse of records, where there are so many Images assiociated with each record. I store the Image paths, record's primary key in the database and retrive them as and when required to display the records and the necessary images corresponding to the records. the image path as of now contains a relative path from the root directoy.

Problem:

The main problem is ..what happenes when the hard disk is full and if i add another harddisk.. and add images into that new hard disk. how will i be able to address the images?? as they are in a separate hard disk hence cannot be addressed relative to the web site's root directory..

How to secure images,Docs from anonymous preying Eyes?

View Replies


ADVERTISEMENT

Storing Image/docs Into Mssql

I need some advise and direction on the above issue. I am doing a site where a user are able to upload/download files (image/document). Currently i am storing the physical file on a directory and store the path and filename in mssql.

To retrive the file, i will just simply extract the path and filename to point to the file on the directory. Simple as that. Now i am having a problem when another user might upload a image/document with a same filename as a existing file. I can't replace the file or ask user to give a different filename when uploading to the directorty. So, i am thinking is it advisable to store the image/document in to MSSQL? If so, how do i do that?

View Replies View Related

Using/storing Images Via Mysql

Ok I looked around and read some articles about using a db to store images and stuff about having to save it as a blob. How exactly would you input it though? Is is the standard "insert" query?

Also, if I don't plan to use the image itself in the db (to reduce slow down) and store the path instead, would it still be easy to load it into a webpage as if it were to be in the db? Or should i just store it into the db?

View Replies View Related

Storing An 'article' With Text And Images

I need some advice/ideas on how I could do the following:

I want to store articles which contain both images and text - like a writeup of an event - kind of an image and text blog.

I want to store articles in a database probably - at the moment I use access databases.

Clearly I could have the text of my article in one field and store images (or links to them) in other fields and then display all the images at the end of the article but what I want is..

to be able to make it to have text then a few paragraphs down have a nice right aligned image with text to the left of it and then some more text etc etc so it looks like a static, layout planned article.

What would be the best way to go about this? Can this be done by storing in a database?

View Replies View Related

Storing Images In DB Or File Directory

I am working on a book selling website using ASP with an Access DB.
Basically i would like to have an image of each book in the DB to be displayed upon request in the website. So I guess what i would really like to know is

1. Can i store .jpg or .gif files in an Access DB?
2. Does it make sense to do this?
3. Would it be better to have some kind of pointer in the DB to a place in the file system where the image is stored? .......

View Replies View Related

Storing Images In SQL Server Storage And Retrieve

1) I need to build an admin page that allows me to browse to the file that I
want stored in SQL Server 2000 in an image field, have it uploaded to the
server, and then stored in the db. I see this done all the time, so I don't
think this part is too hard, but I'm not sure how to get the image into the
db.

2) I want to display the image within a web page, so I would want to pull
the image out of the db, place it on my web server in a certain location,
and then reference the file in the HTML. How do I do that?

View Replies View Related

Uploading Images And Storing File Name, Height And Width In Database

How can I accomplish the following:

I want to upload image files (jpg) into a sub-directory of a website root directory using a web interface allowing the user to browse their drive and select the jpg file to upload.

Also, is there a way to parse the information from the jpg file and insert the information into a SQL database table which would hold the file name, image height, and image width?

I'm new to handling binary files, so I'm not sure how to accomplish this?

View Replies View Related

Writing PDF Docs From ASP

how to write PDF documents from inside
of my ASP application. I understand that there are commerical APIs , SDKs that
I can use. eg. cutePDF.

View Replies View Related

Merge Pdf Docs

Can someone tell me if it is possible to perform merge operations on a pdf file.

My client wants a user to fill in an on screen form and then have the results merged into a pdf template?

View Replies View Related

Converting Word Docs To PDF

Here at work, we have 2 copies of our policies and procedures. We have a Word format, and a PDF format. The problem is that when a policy is changed (there is a commitee meeting every month), the Word doc file is updated, and then a different user has to convert it to PDF (We only have 2 licenses for Acrobat).

I would like to try to develop a solution, where the user updates the doc file, and then goes to a page on our intranet, where they check the boxes beside of the policy and click Convert, then it would convert the doc file to PDF. The policies are in a "public" folder, so the directory structure would be the same everytime. Are there are any tutorials or examples for converting docs to PDF?

View Replies View Related

Pass Protected Docs.

I have pass protected files within a directory adequately and included a function that ensures the http_referer is the secured folders index file so that I can be sure the file they are calling is opened up as an include within the index file.

My problem is what if it is a pdf or word doc or pp file. It is a bit of a training directory and they may use various forms of presentations. Now in cold fusion I can control the whole directory by implementing the application.cfm file but I know of no way in asp to do this.

View Replies View Related

Pictures In Word Docs

how to insert pictures into Word Documents using

Response.ContentType="application/MSWord" ?

Been trying this for ages, but can't seem to do it.

View Replies View Related

Word Docs Open Via Link

I have a page that links users to a Word document based on a value drawn from a database table. In other words, John Doe is linked to "./docs/<% = lastname%>.doc" ...

This works fine, but I'm wondering if there's a way to control whether the doc opens read-only? I know Office 2003 docs are supposed to open read-only automatically, but I find that I can edit these docs no problem.

View Replies View Related

Searching Word Docs For Strings

help with some VBScripting that would enable me to search thru Word documents (Word 2000 format) and return the filenames to use in a archive search on a legal website.?

View Replies View Related

Dynamically Create Html From Word Docs

I'm trying to figure out how to run a script on my server which will go over a few folders of Word documents, and create html pages out of them which I can then serve to my users. Preferably I want to do this without installing anything else on the server, hopefully it's achievable with a scripting language like VBscript/ASP?

I am used to web programming in PHP,Perl, Java, but for this I need to use ASP, on IIS. I've Googled & Yahooed and not come up with much.

View Replies View Related

Storing RSS/XML

I am using a customized version of the XML RSS Content Feed VBScript Class (available at:
XML RSS Content Feed VBScript Class to show an XML-feed on my web site. Since the web site are based on a CMS that uses an MS SQL - database, I will try to store the XML-feed in the database instead of just displaying it using a XML/RSS-parser.

I know Microsoft have several tools for this, but they seems to sofisticated and complicated for my use. I just wants an simple ASP-script that reads thought the XML-feed, and store the differnt news-items straight into my MS-SQL DB.

View Replies View Related

How To Resize All Images Sizes And Coordinates Of The Images On Resize Browser

My page have background image,on that image have more images and text. My problem is whenever resize browser that images are not resized and also not moved correct place .(i.e look not like before alignment).I want to do everything in dyanamic....

View Replies View Related

Storing Cookies

Anyone know of any special issues with storing cookies with ASP? I'm
trying this with two browsers: One is IE 6.0 with cookies set to
'prompt'. This has been working properly as any new site I goto seems
to prompt me to store their cookie. The other is Pocket IE on Pocket
PC 2002, with the cookies set to 'enabled'.

My problem is that the cookies dont seem to be being written with my
ASP. I dont get the prompt to store the cookie when I should. My
storage code looks like this:

Response.Cookies("AcctNbr")= nAcctNbr
Response.Cookies("MsgStart")= nMsgStart
Response.Cookies("MsgEnd")= nMsgEnd
Response.Cookies("AcctNbr").Expires= DateAdd("h", 15, Now)
Response.Cookies("MsgStart").Expires= DateAdd("h", 15, Now)
Response.Cookies("MsgEnd").Expires= DateAdd("h", 15, Now)

And the read code looks like this:

View Replies View Related

Storing Arrays

I have run into a unique issue, what I want to be able to do is store a collection or array into a database or xml file. The main reason for doing this, is I don't want to use Sessions as they are volatile to server hiccups or resets. I don't want to use cookies as they are insecure, but I will use one cookie to store a UniqueID to relate to the data in the database or XML file.Can anyone think of a way to store an array in Access, MySQL, or XML file?

View Replies View Related

Storing And Retrieving UTF-8

I'm writing a vbscript application that reads UTF-8 XML containing Chinese
characters and stores the data in MySql 4.0.x.
Does anybody have any experience in this area with regarding codepage and
character sets? Ideally I want the scripts to be able to handle Standard
European characters and Chinese characters as well.
Are there any special considerations for using MySql/ODBC and ADO to get and
put the data.

View Replies View Related

Storing Objects

I've read that you shouldn't store objects in Session variables.
I've read these reasons:
- The object takes up memory that may not be freed until the session times
out. Better to create the object only when you actually use it.
- Causes poor performance because the thread that created the object has to
service all requests for it.
Assuming I can live with the memory and performance implications (a big if,
but let's assume it for a minute), what other reasons are there?

View Replies View Related

Storing A Choice To Use

I have a page which reads the contents from a certain table. The displayed text is followed by a link which is also stored in that table. They can just click the link belonging to a certain newsitem and the page with that news will display. But, for every new item I make a new page. What I want is that the link every time opens the same newspage but with only the selected newsitem. Something like "SELECT description FROM tblNews Where ID= [the ID belonging to the link I pressed on the previous page]"

View Replies View Related

Storing .doc And .pdf In Database

Is anyone know how I can store Word Docs and PDF's in database, and how I can make link for visitor to download these files.

View Replies View Related

Password Storing

When I'm creating database driven asp applications, I store my constants,including my connection string to the database within an asp file calledconstants.asp. All constants are stored inside asp coding <% ... %> so people can't save the data through the web.

I've been told this is an insecure way of storing the connect string becuase my connect string would also store the username and password to connect to the db.what is the current standard for storing an connect string to a database for asp applications?

View Replies View Related

Storing Time In

developing a small application, user logs into a page, as soon as user logs into the page, the time(incl seconds) of the page opens has to store in database(time-in), and also the page closing time has to store in db (time-out).

once the time-in and time-out time is stored and it has to calculate the how much time user spend and the total time has to store in db?. i am using sql.

View Replies View Related

Storing Variables

I'm trying to store a filename to in a variable from aspfreeupload file. Once the file is uploaded I can't seem to fine the variable it's stored in so that I can store it in the database without typing the filename in manually.

View Replies View Related

Storing Information From URL

how to store information after the ? in the url in form fields. i.e. http://url/test.asp?User=Rob in Form Field UserName .

View Replies View Related

Storing Data

Code:
<%
Dim rsDB
Dim strSQL
Dim name
Dim price
Set rsDB = Server.CreateObject("ADODB.Recordset" )
strSQL = "SELECT ProductName, ProductPrice FROM Products WHERE ProductID=" & Request("ProductID" )
rsDB.Open strSQL, Application("strConn" )

' put fields into variables
name=rsDB("ProductName" )
price=rsDB("ProductPrice" )
%>
I am trying to store some data from my database (access) into some variables so that I don't have to keep on opening up the database everytime I want to display the data. Dont know what I am doing wrong but i keep getting an internal server error 500.

View Replies View Related

Storing Recordset

I am not too familiar with arrays or recordsets, but I am trying to store ids from database records into an array in an ASP file.

I opened the recordset object in the ASP file, and the stored procedure in the SQL Server pulls back ids from multiple records. I want to store these ids in an array. But I am not sure how to do it. The recordset now seems to be only giving me one id (the id of the last record only) when the stored procedure is made to give ids from multiple records.

View Replies View Related

Storing Href In Cookie

I am new to web design and ASP, I am developing a site which has a logon script, what I want to do is return a user to the location they were at after login. Some of the pages will have query-string information in the address bar so need capture that as well.

<script language="JavaScript">
x = window.location.href
document.cookie=x
</script>

Appears to do what I want as I can pick up the href out of the cookie after login and return user to page, prob is I don't seem to be able to include it in my server side scripting which is doing the login it falls over at the script tag.....

View Replies View Related

Storing Currency Symbols

I am trying to store currency symbols in my ms-sql database using an ASP script. But it just wouldnt save them or even submit the form. Has anyone done this before?

View Replies View Related

Storing An Image In Access

Is it possible for me to store an image gif,jpg in an access table and retrieve it in my ASP page. if yes how do i do that?

View Replies View Related

Storing Global Information

I'm developing an intranet and I would like for first time visitors (per session) to check a table's settings so that the intranet would act accordingly.

in tblIntranetSettings, I have a field called fldIntranetDown. This field holds a 0 or 1 value (0 meaning the Intranet is not down and 1 meaning that it is)

I would like for the supposed system to check this value and perform a function dependant on the value it finds. My thoughts were to use the Session_OnStart of the global.asa, but to my understanding that is only fired off as a new session is created (yes, this checks the value, but read on for a possible snafu)

Now, if I had a visitor who did this check, and it came up as 0, allowing them to peruse the intranet, and something came up where I changed that value to 1, thus closing the intranet, said user could still roam, as that the check SHOULDN'T be made on a per page request basis (that would be a hog, wouldn't it?)

So my question is, "How can I develop some kind of system where the database values are stored for all to reference without multiple hits on the DB and only updated (to be checked) when their values are changed?"

Please don't feel like you have to give the EXACT answer here. If you say something like "You'll need to look into XXX, that do what you want", then that is all I need (I like doing the research, I'm just stumped for an answer to HOW I can go about doing this)

I'm using ASP/VBScript on a WindowsXP/2K network with Access2K2/SQL2K DBs.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved