Security Using A Random Picture
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.)
View Replies
ADVERTISEMENT
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.
<%
limit=3
redim link(limit)
redim image (limit)
link(1)="xxx"
image(1)="image1.jpg"
link(2)="xxx"
image(2)="image2.jpg"
link(3)="xxx"
image(3)="image3.jpg"
randomize
random=int(rnd*limit)+1
%>
<center>
<a href="<%= link(random) %>">
<img src="<%= image(random) %>" border="0"></a>
View Replies
View Related
I just wanted to know whats the best way to generate 50 or say X amount of number at random without having to repeat any of the previous number...
so far I've the following:
[VBS]<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
function RandomNumber()
dim theRandom
Randomize
'RandomNumber = Int((upperbound - lowerbound + 1) * Rnd + lowerbound)
theRandom= Int((99 - (0) + 1) * Rnd + (0))
if (theRandom<10) then theRandom = "0" & theRandom
RandomNumber = theRandom
end function
%>[/VBS]
and then I've this in the body of HTML doc: Code:
View Replies
View Related
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:
View Replies
View Related
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?
View Replies
View Related
How to change the blank place on the site when hasn't got the picture in database?
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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"
View Replies
View Related
i m making a web page for which i need to show picture of each record, on web page, pictures are in access database
View Replies
View Related
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:
View Replies
View Related
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?
View Replies
View Related
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?
Any Ideas?
View Replies
View Related
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.
View Replies
View Related
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
View Replies
View Related
how to develop a form where we can enter text and also paste a picture?how can we take unlimited matter in a text box?wat data type should we use?
View Replies
View Related
how to upload images and store it in a server folder or database.
View Replies
View Related
i found that OLE won't work. any alternative?
View Replies
View Related
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
%>
View Replies
View Related
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?
View Replies
View Related
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:
View Replies
View Related
When I load an asp-page I want to rotate a picture in the page and display it at a given angle. The angle is read from a table in a sql-server.
I have the angle, but can't find any way to rotate the picture. Angle is given from 0-360 degrees.
View Replies
View Related
I have a list of thumbnails that I display in RightFrame. If you click on one, it will open the large picture in LeftFrame. I hate frames.
How can I do this without using frames with JavaScript? I know it's probably a lot to code.
View Replies
View Related
is this the correct way to display picture?
response.write("<img src="a.jpg">")
View Replies
View Related
I am trying to send email with Jmail component i am attaching a picture with it and its not working and giving me an error which is as follows
jmail.SMTPMail error '8000ffff' Cannot open file C:InetPubDevSecureBelord
hino_small.jpg ....
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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...
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
How can I download a picture from server to my local computer via ASP programming?
View Replies
View Related
I need a script that when i am uploading a picture to my site, it inserts a text in the picture. Like, apears in the picture Copyrigths chicosoft.
View Replies
View Related