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 have downloaded a Image Upload componet and incorporated it into my existing code. It is working great. My issue is that I cannot call a field from another table in SQL. On insert.htm, I can do this:
ptrack = Clng(Request.QueryString("tracknumber")) And I can get the tracking number of the specific client.
If I try to do this in insert.asp, it doesn't work. I have read other posts regarding this and I still cant get it to work. Like I mentioned before, it is a tracknumber, so its a numeric. Code:
Does anyone how to get the url in e.g. http://localhost/dev/a/test.asp?id=1 (so I get test.asp). I've tried <% request.ServerVariables("URL") %>but it returns/dev/a/test.asp, so far I've also heard to use InstrRev, but I don't know how to use it.
I am trying to make it so that after a user logs in once I store their UserName and Password in cookies on the browser but I am having no luck getting the to pull back after they have been written. My login page looks like this Code: <card id="Login" title="Login Page"> <p> Welcome to the J.C. Evans WAP Site<br/><br/> UserName:<br/><input type="text" name="strUserName" emptyok="false" value="<% Request.Cookies("cksUserName")%>"/><br/> Password:<br/><input type="password" name="strPassword" emptyok="false" value="<% Request.Cookies("cksPassword")%>"/><br/> <do type="accept" label="Login"> <go href="login.asp" method="post"> <postfield name="strUserName" value="$strUserName" /> <postfield name="strPassword" value="$strPassword" /> </go> </do> </p> </card>
I'm trying to make a simple Feedback Form using that CDONTS thing I read about (in that "How to use CDONTS" thread). Every works like it should until I try to step it up a little and get the information from a Form... Code:
How do i request data from an iframe during a POST .I have an ASP page with a dynamic iFrame in it and need to be able to request.form data from the iFrame's form.
I have an asp form page that has alot of textboxes on it and are displayed in a looped table, meaning that the number of fields submitted will vary each and every time the form is submitted.
I do not know how to pick up these fields on my submit page. Normally I would just use request.form("fieldname") but since i dont know how many fields will be submitted, its hard to bring in the field values that way.
there is only 1 field on my form but there could be alot of that 1 field because of the loop. I managed to name each field txtEmail1, txtEmail2, etc... Code:
I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:
That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?
I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?
Why does the error below occur whenever the statement Request.BinaryRead Request.TotalBytes) is executed for uploads larger than 100K? I thought the 100K limit applied only to Request.Form. This does not occur with smaller uploads. This is running on an IIS 6 server with full FP2002 extensions.
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...
when the asp page is Request("txtName").i can use "testpage.aspx?txtName=User1" to post the value.but when i use Request.Form("txtName").i cannot use that method,what can i do to solve that problem.(as i cannot modifty the request.form syntax but i need to post data to that web page, is there any method so that i can pass that parameter?)
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"?
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 am developing site in asp where I need to call a url at every interval. Is there a way to automate this. I want to call the url every 15 or 30 mins.Cureently I have written a asp script tp call it using
Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1") objWinHttp.Open "GET",URL objWinHttp.Send ' Send it. strResponse3 = objWinHttp.ResponseText ' Get the response string from the object.
But it is not schedule..I can call it only when I rum the asp script. So is there any way I can schedule this url call for every 15/30 minutes. Also forgot to mention : the site does not have that much traffic that I can add it in index page...there may be a user visiting the site in 5 hours time or within next 5 mins or for next 2 days there may be no visitor.
I have a form which shows all Records from a database eg. select * from sometable
the user inputs criteria in a form on the sam page and submits it. i need to see if the form has been submited. and the way to do it is to see if i have 'Request.form(somefield)' and then refrase the sql into something like
select *from table where something=this and somethingelse=this my problem is that i have to check every form field to see if it has been set(not empty).Is there a way to see this without checking every form field?
I created a ASP which has a form as well. The form has a list box.On the click of the submit button I wanted to just display the contents selected from the list box.
When in the VB script part I say dataString = Request("Data_List"), (where Data_List is the list box id) it gives me an error message saying "Object Required. Request"
I tried it with the text box also. It gave me the same message.
I have use many request already but this time i really don't know how. Here is my problem, I use Request("var1") to request the form that i have submit it and it always nothing. but when I use Request.form to show all, it appear all include that variable too. And the web server is IIS 6.0 with windows 2003.