I'ld like to know how it is possible to create (in asp) a random picture which will contain figures and letters. I want to use it when a client confirm his inscription on my site (just like when one sign in yahoo mail.)
However, what I want to do is include a request.querystring("ID"), so that IF an ID is defined, eg ID=3, , it will display the relevant (not random) information. I've tried this every way I can think and get type mismatches, etc etc. It's probably really simple but I can't see it.
We have the need to have a random token (a 16 char alphanumeric field) to be used as the key for one of our SQL tables. I have created a random token generator, however after only 3 months in production, it appears that we had an instance where a token that already existed in the tables was created. There are 3810 records currently in the database so it isn't like there are billions of records there.
I contacted an old college buddy of mine who is a mathematician, and he claims, assuming that random really does mean random, that the chances of getting a duplicate token are 1 in 79.5 septillion (79,500,000,000,000,000,000,000,000).
So my conclusion is that this was either a complete freak of nature occurance, or my random generator isn't really all that random. Here is the code behind how I am generating this: Code:
I am trying to generate a random number. I am using randomize and then rnd to return a decimal number between 100 and 120. This will give me a longitude. I am doing something similar to generate a latitude.
I created this on a page which refreshs every minute. I put these points into a map and they are showing up in groups of straight lines. Since rnd is time based will refreshing every 60 seconds return similar numbers?
does anyone know any script I can use to achieve the following:
I have several pictures (many hundreds) that I would like to display on my homepage - a new one each day. I have tried several scripts but many of them only allow for 7 images (one for each day of the week) or one for every day in a month.
Are there any scripts that will just accept a long list of images and display the next one on the list until it gets to the end and begins again?
I have seen on many websites the use of some sort of program to generate a random character string distorted and warped with lines making the resulting graphic ideally only human readable.
The theory is to prevent automated login programs.
I don't know what they call this type of component so I really don't know how to google it. Do you know any source for this type of thing?
i describe just my hole problem in the title I want to uploade a picture from a computer in to an access database on server, and even know, that I have to use "FiletoField" but don't know, how have I use this? and didn't see any example codes, which I understood. I use for my codes "aspsmartupload"
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example. I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
I need to add a ppicture to my Database.. The table is accessed through ASP Recordset but having troubles trying to insert an individual picture to each record?
Has anoyone ever tried to create an asp page that displays images that either displays them as a slideshow or on a long webpage?
I have an html page that displays my pictures, but as there are many of them which are large and my bandwidth is restricted I want to download them and display them one at a time. Currently it the client tries to download them all at the same time, or four at a time. This slows down the downloads to an unbearable rate.
Is there a component that allows you detect when an image has been downloaded and then allow a trigger to start downloading the next one?
i would like to know where i could find a picture viewer that has a data base and shows thumbnails and when a user clicks on it the picture opens up bigger for the user.
Currently I have a webpage that pulls information from a database. The records are all true/false. Right now I just use the response.write function to display my recordset.
I am looking to do the following, but am unsure how too:
If recordset = ("true") then display check.jpg <----- I am unsure on how to display a .jpg end if
if recordset = ("false") then display x.jpg <----- I am unsure on how to display a .jpg end if
I want to display a picture if there is no information in the record, if the record contains info I wish to display that information. The code so far: Code:
<% If rsdvd("stock") = "" then Response.Write ('" & <img src="images/out.gif"> & "') Response.End ELSE Response.Write (rsdvd("stock")) END IF %>
I wanna do an ASP page , which will find out the Image size of a link. lets say someone gives a link to an Image. just for example, I want to get the Image Size (Height and Width) How to do that?
I have a piece of javacode that i found that is a hit counter. At the momment when i run the page i see a small box with the red cross-picture can't be found. Does anybody know how i can add a picture to this piece of code please? Code:
I have some problem .now if my database is ms access and if i save myaddress(picture) and if i take this value from database and print this path using response.write method then i getting picture on asp page.but my querry is how can i save picture in access database and how can i retrieve that picture from database and print it on asp pages.
I have this page/form in asp that connects to my ms access database that I would like to have it either a) upload a picture or b) display the picture if one's already uploaded. I'm looking for direction on this and have no idea where to begin or even what's what. Can I upload a picture into the database?
I have developed an asp dynamic picture gallery, which reads the contents of the folder on the server & if they are pictures, display their thumbnails in the html table, on clicking any thumnail, you 'll get the big picture.
I didn't use any database in it, while I did it with File System Object of ASP, is it a right approach to develope. Because we are showing the contents of our web directory of server to the end user. or some server can create trouble for us while reading content from server hard disc...
The platform is Win03, Access and SQL is available, along with all the normal image components (aspjeg, etc..).
I have searched and I could spend several days looking for something. I was hoping to get some recommendations based on experience. I would like to stay under 100 if I was to purchase something.
Goals: Autothumbnail for the viewer.
Let the user manage their gallery Admin area for uploading, categorizing, captions, and deleting.
Did anyone know how to delete the picture in certain folder please.using the asp code to delete that picture/image i know the name of picture and folder where the picture are store.
I am creating an ASP based web application and I am having something wierd happen only in IE. I have attached two zip files with the contents of the site. Just unzip both of them to the same directory. I couldn't combine them in 1 zip file due to the 100KB limit.
From the main page, when you click on the "People" link to the right the bottom link/picture disappears. However, if you hit the refresh button after that, it will reappear.