Show Pictures To Users
I have uploaded several pictures from my computer to the server. I know the file names and paths, I want to allow users to be able to see these pictures. How can I display them or better have a slide show of my pictures using ASP codes. I know there are many good JavaScript available. Is there a VBScript (ASP code) available for this?
View Replies
ADVERTISEMENT
I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.
What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.
View Replies
View Related
now I want to send a picture in my e-mails that are send using asp code
first I create the mail Object: Set objMail =
Server.CreateObject("CDONTS.NewMail")
After I fill a variable with the html code that will be the mail
txtMailBody = "<html>"
txtMailBody = txtMailBody & "<center>Hi <BR> This is a test"
txtMailBody = txtMailBody & "<center><img src='CommAd.jpg'>"
finally I send the mail using the following code:
objMail.Body = txtMailBody
objMail.Send
View Replies
View Related
Anybody want to make this easy for me and show me how to upload pictures using ASP?
Users enter information through a form and it will be sent to a database (including the image name), but I need to upload the image as well.
View Replies
View Related
I have a web page that displays properties for sale. The web page links to a database.
The page shows information in the database and the path to the picture.
The code is:
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>
the rsData("id")% gives the name of the picture file and appends .jpg to it.
When I browse the page on the local machine the page displays ok and the
graphics show up ok.
When I browse to the page at work the grpahics don't show.
Permissions on the folder 'everyone full control', web sharing is enable
for the site.
View Replies
View Related
This code displays all the pictures in a defined folder as thumbnails. That works fine. But I would like to have it roll over onto a new page after a certain number of thumbs have been displayed and a back forward message. Code:
View Replies
View Related
I'm new to ASP and a few querys
I have created my database in Access with the following fields
StockCode (Text Box, Primary Key)
Item (Memo)
Price (currency)
Picture (memo)
OnOffer (Yes/No)
and I know that access table cannot have a picture in it, only a access
form using OLE, but how do I get my asp page to display a picture for
every record? The picture would be a picture of the product with the
Stockcode as the filename - m001110.jpg?
View Replies
View Related
I have created a rtf document using java which also contains the image.I am including the images in Hexadecimal Form. I am able to view the document with images properly in word 2002. But same document if I open with word 2000, I am not able to view the images.I am including the images using following command
{pictwmetafile8picwNpichN
Hexadecimal data of picture
}
Where N is long integer used to specify height and width of image.Can any body tell me what is problem with this command. I am including JPEG, JPG, BMP,PNG images in hexadecimal.
View Replies
View Related
I am looking for code which can rotate pictures without refreshing the page. I want to read randomly selected 5 images from database and then keep on rotating them every 5 seconds.
View Replies
View Related
I have a site with galleries of pictures and I want to add a logo watermark on them. How can I do it with ASP?
View Replies
View Related
I have this page where I want to display 3 random pictures in a vertical table. Each picture represents a record in an Access database. The field "picname" holds the name of the picture (e.g. "pic1.jpg", "pic2.jpg", etc). Each record has a unique ID. How do I go about selecting these 3 records? I want the pictures to alternate everytime someone enters the page or refreshes it. I found a couple of javascript options, but they only choose the picture from within a folder, and I need to be able to link the pictures to each record.I don't know if I made myself clear enough.
View Replies
View Related
I have an upload facility which is working fine. uploads to a folder (photos) through aspsmartupload and database. Ive checked the folder, n database to see if the file is being uploaded and it is.
ITs just not being displayed properly on the site. ALl the pictures come up with a little white box with a red cross in it, in the top left had corner.. so its identidied as an image , but its not showing the actual image. .
View Replies
View Related
I'm looking for a script that lets me add certain images from a directory (from like a drop down menu) plus add text (through like a text field) to a html file which would be saved in a directory. So I could then go and open the html file and the new text would be there with the embedded images.
View Replies
View Related
Can anyone tell me the simplest easiest way to upload pictures to a directory. It's for a content management page - text boxes for new record information and a file browse form box for the picture
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 don't know a thing about asp, but I want people to be able to upload their picture to me.
I've tried various codes but none of them seem to be working. Is there some kind of program I need to get to enable it (if so, a free one?). Also, I want it to fit in with the rest of my form which is built in html as of now, but I'll switch it to asp once I get the code working. Here's the form.
View Replies
View Related
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
I have 3 tables
members, pubs, favepubs
favepubs contains
favepubID, UserID (from members), PubID (from Pubs)
I'd like to join all 3 and maybe count the users?!
basically i want to show in my list of pubs how many users like that pub
Example:
The Red Lion (4 members - click for more details)
The Royal Oak (2 members - Click for more details)
or
The Red Lion (Jarv, Test, Admin, Shelly)
View Replies
View Related
I'm hosting a couple of ASP applications on my server. How can I tell the number of users currently logged on, and can I get any details about them ?
View Replies
View Related
How do we have a track of users who have logged in? I want to have a table of record with usernames and the status(logged in or logged out).
Whenever the user logs in, the status shud indicate he is logged in and when he logs out the status shud change accordingly. Does anybody know how to do this???
View Replies
View Related
I am using asp codes to connect to my access database. But i have a query in mind. Will my database still work if more than 1 user is logon to edit the database records?
View Replies
View Related
is this a permissions issue that happened at the server side
When I go to one of the .asp pages it brings up the "malicious code" prompt,asking whether I should open or save the file.
How do I make it so it just executes the file?
View Replies
View Related
My database tables uses two users, namely dbo. and viss.
so in sql server 2005, every table has the following name structure:
dbo.members
viss.customers
etc
In source code, sql queries are used without adding usernames. Like,
INSERT INTO members
UPDATE customers
Now I get sql erros as 'invalid tablename members' to solve this I add username to query, like dbo.members. That would solve the problem, but is there an easier way to solve this? Because I'm working with a complicated application and it has allot of files, adjusting each query is an option but any other solution? Code:
View Replies
View Related
I have a database that is setup with a messages table... I have been asked to modify the following script to do the following...
Message ALL Users or Message All Admins or Message Individual Users (with the option to select multiple users - such as 2 or 3) or Message Individual Admins...
The Database is designed with a User table and each user is assigned a "Type" such as "admin" or "user" - can anyone look at the following and give me an idea how to implement this function?
It needs to be setup where the admins and users are seperated so its ok to have two Options boxes that display a users section and a admin section..
Here is the code:
View Replies
View Related
I have an intranet which all staff have access to. All staff can log in to the intranet to amend their own personal info. Currently staff have seperate passwords for logging on to their machines (ie ACL on network server) and logging on to the intranet.
Is it possible to have someone automatically logged in to the intranet based on their windows username and password for the domain?
Just wondering if anyone else has tried this. I think I saw this as an option in ASP.NET but my intranet is built using ASP.
View Replies
View Related
I want to create a page in ASP language which gives me information about
currently logged users. I thought to do it by this way: when somebody
will log in to page, there will be a value of this user id stored in the
table among the other fields in the form which are filling in. After
clicking on the button "Log off" the value of the user id will be
deleted from the MS SQL Server 2000 database. I would do it, but I don`t
know how to solve the problem when somebody will close the Internet
Explorer window by clicking "x". Then the procedure of deleting a value
of user id will not call, and this value will be still stored in the
database, so I will not have actual state of currently logged users.Maybe there is another possiblity to do it?
View Replies
View Related
I attempt to acceed to ASP files. I use IIS. In Netscape the error Too Many Users Connected HTTP 403.9 (defined in IIS).
View Replies
View Related
Does any one know how to detect if a user is using IE on a Mac so i can route them to another page.I have tried the following:Code:
strUA = Request.ServerVariables("HTTP_USER_AGENT")
But how do i parse this info to determine whether they are a MAC IE user ?
View Replies
View Related
is this possible? AD being active directory...
View Replies
View Related
I need to display information a list of Active users on a web site.I can do the count using the global.asa but need to display individual information about each "active user" without writing it all to a database and then pulling it out again.Info I need :
IP Address - Request.ServerVariables("REMOTE_HOST")
The page they are on - Request.ServerVariables("SCRIPT_NAME")
the page they were on - Request.ServerVariables("HTTP_REFERER")
Can I write this stuff into sessions and call them all out?
View Replies
View Related
I need to authenticate users to enter in a NTLM-protected virtual directory,but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a "usability" firm!). After searchingand searching, I finally found up with this solution to use ADSI to authenticate users transparently:
http://www.eggheadcafe.com/articles/20010126.asp
I tried the script and I am able to authenticate that the user exists with the correct password, but when I redirect the user to the virtual directory,the popup box is still popping up! I think what is happening is that I am not actually passing the username/password to the NT server.
Is anybody familiar with using ADSI for NT log in's?Am I on the righttrack?And if so, how do I actually do this so that the NT login boxdoesn't pop up?
View Replies
View Related
would it go something like: viewmember.asp?=ID
I want to make this a link to this users profile:
Code:
<%=(rsReply2.Fields.Item("rsCommentby").Value)%>
View Replies
View Related
I am trying to create a website for students where they have to log in before they can access any of the materials on the site. Therefore the login will be done on the homepage. Providing log in is successful, I then want to be able to track which student downloads which materials. I know how to deal with the login code but am not sure when I create the session variables to track the users. Is this done on the following page? Also do I need to use the global.asa file?
does the session on start event happen the minute the student arrives at the homepage or can I tell it to start once the students have logged in? any advice will be gladly received.
View Replies
View Related