i have created one of them login pages that creates a random image of numbers and letters. all works very well.
but i have made 1 gif for each letter or number. and the are as so///// so A is A.gif
the problem is that a computer can read the source code and will see the code as the image names.
I was thinking i would like to break the numbeer apart and have a list as in A = F.gif etc........... anyone with ideas? here is the code i have.
dim randnum
randnum = RndStringGen(5,1,2)
For intWriteDigitLoopCount = 1 to Len(randnum)
'Display the IMAGE
Response.Write("<img src=""images/")
Response.Write(Mid(randnum, intWriteDigitLoopCount, 1) & ".gif""")
Next
it is from a script i found, but it had many problems and dident work, and for some reason it passed the whole secret code in a hidden field to be matched with the textbox.
On a website that I deal with there is a simple feedback like form that is submitted to an email via a FrontPage extension. Suddenly this form has started being submitted with spurious information and random links which suggests to me that some script is f**king with it.
To spoof-proof this form I want to implement one of those Image Verification things (type the 4 letters you see in the image). Does anyone have any useful links/tuts for this?
I'm writing is an image verification (those things that display an image of some squiggly numbers and you have to type them in to verify you're not a bot).
I've got 9 images in an "images" folder labeled 1.gif, 2.gif, ... , 9.gif. So far my ASP page looks like this:
I have plenty of mails which seems OK or validated but does not real mail actually.
like ****@***.***
On some web sites, you enter your email and submit it. After submitting you get a mail which has a link stating that it should be clicked in order to complete the registration.
- login page (login.asp) has a form - users will enter certain information - submits form - calls login.asp verifies if user exists - then redirects to accounts.asp
problem: - everytime i try to run login.asp it always jumps to the verification part, i havent entered any infos yet. how to solve the problem?
i'm using this code to protect a page from a person who has not logged in. Can i add a Response.Redirect to it that if the person comes up with the unauthorized message?
Code:
<% If Session("userid")="" Then Response.Write("You are not authorized to use this page.") Response.END End If %>
i'm using some javascript to check that a radio button has been checked on an asp page. Its causing errors. The file is below. Any ideas what is wrong? Code:
I am working on an upload mechanism. The upload works, however, the question rise that if there's an update on a document, we want to keep the first document that the user uploaded, and rename the second upload as long as it contains the same name.
For example the document name: Low Levels of Oxygen in High Altitudes.doc
If there was some other changes to the document, the same document will be uploaded. But we want the file to be rename when verification of existing file occurs.
If Response.Form("filename") = vbCompare(rs("filename") ) Then rs("filename1") = rs("filename" & "rev1") ???
Basically, if the file already exist, rename the document from:
Low Levels of Oxygen in High Altitudes.doc
to:
Low Levels of Oxygen in High Altitudes_REV1.doc
My question is how can I make this happened? I know it will probably involve a DOWHILE LOOP of some kind.
This is the code I already have working with the first upload. My concern would be the ones after: .....
I need to add form code verification on my registration page. On google, I came across this ASPjpeg component. I just wanted to ask if it's the right stuff. Is there any better way of doing it please inform.
I just logged onto Google sitemaps to check since I haven't logged on for a few weeks and I noticed a few new features.
One of these is a verification process and I tried to verify my site by following the instructions but I was then shown a message below...
"We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header."
I was then sent to this page (3rd paragraph from the bottom) https://www.google.com/webmasters/si...ileconfigerror
It reads as follows: ------------------ We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
this configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.
Please modify your web server configuration to return a status of 404 in the header of 404 pages. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status
What I would like to know is how I could set the status, whats the correct way to write this in the header of the 404 error page I made?
I have a screwy client who is requesting the following of me. He wants me to put a form on his web site for visitors to submit a url to be used as a link back to their site. This url will be placed on his site's "Links" page.
Furthermore, when they submit the form, my client wants a means by which the following can be verified. Please read carefully.The placement of a link on my clients site is contingent on the placement of a link on the visitors site. Therefore, when the form is submitted, I need to physically go to their site and verify that there is a link back to my clients page. If so, and only if so, the url submitted will be come an active link on my client's site.
I’m wanting to know if there is a free what to do an extensive email verification through Asp? Like an MX Lookup and DNS check, without looking up from an external server?
We get a lot of invalid emails and I would like to check if the email or if the domain exists before submitting the form.
point me to some resources about Email Auto Verification. I'm using ASP.What my system is doing is after the user sign up, my system need to send an email automatically back to the user's email. The user only can login after he receives that email from our system. This is to make sure the email he keys in is valid.
how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.
example to check assume test@domain.com is not a real email, abc@domain.com is real email how do u check it.
I have a client who has had a ASP site with an Access database for several years. It stores information for the used cars on his lot. I have stored text in the database that points to the location of the image for each record. Each record will have a thumb image that is supposed to display in a list of vehicles available then the user can select an item from this list and a new page displays with the information and the regular size image. So far everything has worked fine exept for the display of the images which are stored in a separate directory called veh-photos. All I get are image place holders. I am using Dreamweaver 2004 and and Access 2000 for the database.
1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page.
2.This '.tif' type image can be shown better with 'Kodak Image Control'.
3.To have this 'Kodak Image Control' on my code page I just add it's ..ocx to tool box and then drag it from 'Toolbox' to the page.
4.Now after dropping this control to the code it's type is getting changed to 'object' instead of type 'ImgEdit'(and I think this is the reason I don't get correct result).
5.On one button's 'Onclick' event I'm calling a javascript function with which I'm setting a 'Path'and'Display' property of a control.
6.And want to show a image at location -- '..MFTDRCMF919685173-62.tif' which get shown in new browser window but could not get shown in that particular control. That means the path is correct, then what is the problem?
For better understanding of problem I'm pasting a following code which I've tried up till now...... .................................................. <%@ Language=VBScript %> <% OPTION EXPLICIT %>
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<SCRIPT LANGUAGE=javascript> <!-- function showpic() { var path; path = document.frmtif.path.value; alert(path); document.frmtif.ImgEdit1.Image =path; document.frmtif.ImgEdit1.Display; window.parent.self.open(path); }
I am creating a dynamic ASP VBScript page, which gets data from an Access database.
In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database.
I think what I am trying to get to is the following:
If file exists (using URL from database to get location of image file) then display image using the url from the database as the image source else display default image - hardcoded in program endif
I have had a go and come up with the attached but I get an error with my if statement...
I'm working on a project where I'm suppose to upload a image to a server. The uploading works fine but when I want to change the image I uploaded to another image I can't get the filepath of the old image to show in my "filefiled"....is it possible to set a "value" where I can retrieve a filepath in a form if the input type is "file"?
This worked fine for enlarging my images until i put it onto a secure server, anyone know how i can fix it ??? just comes up with the standard box with a red cross in it .. and the url when i click image properties says: http://url/images/<%=request.querystring( which is only part of the code)
I'm looking for a simple way to merge an image into another image.What i have is a screenshot uploader, and i want to make it so that when they upload the SS, the script will automatically merge a small copyright type image onto the bottom right of the picture.
I need to verify if images exist and all I have are the URLs to the images,therefore using the FSO is out of the question.
Is there an easy way to check http://www.thisdomain.com/images/03245.jpg and see if it exists.If not,I'd like to show an "image not available" graphic instead.
I am looking to store images within my database. I would like to be able to store the paths, within my tables so that I can set a pointer to the externally stored image, that I can pull my image from and place on an asp.net page. How would i go around doing this, is it as simple as taking the file directory and commiting it to my table?
What I need to do is to get the id of an image and set it to a variable that I can use throughout the page. What I'm trying to do is see how many images I have on a page, place there id values into an array and then based on their ID values call the function to change the image.
See i have the same image being generated on some rows that are brought into a database. They a named with a number after each ie:image1 image2 and so on but because I have other elements it would take too long to check through them all.
I have a website I am working on that I did not create. It is ASP and SQL based. There is a content management system created using ASP and saving in the SQL server database. A user can enter a news article into a big text box/area, and choose to add an image. The text and image are stored in the database via ASP and pulled out to the website via ASP.
The image shows up in the website to the top left of the article. I need to make it so the user can enter an image where their cursor is in the paragraph (like a word document) and have it also show up there on the website. Any ideas?