Can You Read An "unknown" # Of Pics From A Folder?
Ok my boss wants to know if there is a way to display an unknown # of pics from folder onto a web page ASP using VBScript or JavaScript... doesn't really matter.
You don't know the names of the pics or how many are in the folder just that you want to display all the pictures in the folder...
The codes below have some prob.It works well when the link as shown with the highlighted green is click as it passes the id to file.asp to show the pic in a new window.I now want it to show it in the same window itself.I mean i dun have to click the link to show the picture.It just will show the pic as shown in highlighted red.But all it comes out is the binary form. Code:
If you go to www.AstraAccounts.co.uk and click on any of the nav panel folders on the left you may find that the images don't appear (white box with red cross) for the tree-view items within these folders. Yet if you right-click on any of these non-displaying images and go Show Picture then these pics show without probs and will work for the rest of the session.It only seems to be happening on IE 6 and intermittently at that. Is it because I use ASP pages, although this particular nav bar is a standard html page?Is it a recognised problem in IE 6? Is there a way round it, ie via HTML code or a Microsoft patch?
I have a set of code for displaying information from the database. However now i can only view text with no pics... what can i add in order to see pics together with the text and what data type should i put for the pics in the database? Code:
made a page which should display one pic after another automatically as tho to say its generated from the database... not working tho i have included some sample code as well in a txt file.
Basically I have created a small ASP site that allows a user to upload their own pics via ASPupload so that they can be used on their site. I use a very simple form with a INPUT file box to allow them to browse, select and upload the picture. I then use ASPupload to save the file, get the file params and then store these details in an Access DB as I can page through data far more easily using a DB over a FileSysObj.
This works fine, but a number of users that use this site want to be able to upload a large number of pics en masse. At this point, my knowledge of problems to do with this are as follows:
a) ASPupload together with the trigger-happy ISP that I'm using means that a total upload size at one time is really only about 800KB - 900KB at best before the ISP triggers their script time out. Code:
how to extract a pic from ms access database.I used simple codes found online but it only gives me the binary codes not the pic itself.Wondering if anyone could help.I have already put the picture in the database.Now is extracting it.
I run my applications perfectly, can make changes to my database, but I cannot upload Documents or Pictures Etc.Etc.I was able to with my Windows ME OS. I now run Windows 2000.
I've got a site with an index page that has been set up to show my latest blog posts from the /blog.html page. From time to time (more frequent than I'd like) when I update my blog, I get the following error:
msxml3.dll error '8007000e'
Not enough storage is available to complete this operation.
/RecentPosts.asp, line 16
I've been told that this has something to do with my hosting company (godaddy) having a problem, but that seems odd to me. Can anyone here give me any ideas? Let me know if you need the URL and I'll post it here as well.
i am doing a list of links for a modular website, i was useing a loop to make a form for the links and link description so that i could have as menny as i liked and called the text box link<%= no%and description<%=no%and no goes up each time the loop happens.
my problem is that i dont know how to display them on the next page. how do i request link(X)? i have been looking at this problem for hours can someone help?
I have an asp application running with the charset set to windows-1252.Recently, my customer complained about some unknown characters(rectangulars) appeared on the screen.
Later I found out from database that the unknown characters are supposed to be coma (,). I then tried to set the charset in all pages to UTF-8 but it did not solve the problem. I have a problem debuging since my testing machine does not have this problem.Is there a possibility that font selection such as sans-serif can cause this problem?
I need to create a script that will collect any variables sent by a form.
Reason: A company that I work for wants to have a script that they can pretty much send any HTML form to that will send them an email with the results. So if they make a new form with different form fields next week, they can point it to the same script.
Is there anything in ASP that can "Just collect Anything/Everything" that is sent from the form?
I have admins who create reports with titles that my code then creates a field with that title in another databse. The admins also apply permissions to staff whether they can see that report or not.
My problem is my code doesn't know the name of these new fields, is there any way in ASP to interegate the access field names in a record set?
I have been writing a photoalbum in ASP and I am trying to receive an undetermined amount of files.
A more detailed explanation:
The client side (Javascript) generates a new file upload box as soon as the file in the first box is selected...the name of the file upload boxes is bestand[] so that the input is received in an array.
Now I am trying to receive all the files with ASP and store them on the server....
I have a form that is dynamically generated since it is populated with values retrieved from a database. The form can of course also be submitted, which is where I run into some problems.
Since I never know in advance what the length of the form (or for that matter what the different elements' names and values) will be I don't know how to write the code in "receive.asp" to retrieve all values from the form correctly without excess use of "request.....".
I shouldn't have to write requests for every single potential element name that is stored in the DB. Please note that the form can sometimes also contain radio buttons and check boxes, even though they are not present in this short example Code:
I have a database driven (ms access) website which runs fine on my computer (win 2000 iis6). However, on uploading, some pages am receiving the following error
"An Unknown script error occured while processing your request."
Could some help m figure out to strip an unknown range of characters in a path between the first "/" and "/" found in a folder path somewhere on my site. Code:
Does anyone know of an asp script, online somewhere, that I can use to find out the permissions of a folder? My ISP says these folders have full permissions, but my programs say "permission denied". I don't know if it is the programming, or if the folder don't really have the right permissions.
I have a folder with about 40 swf training movies. I want to loop through the folder and display the titles of the movies and make them links.I just need help getting pointed in the right direction to make this happen.
I am wriging a web application which cosists of a main directory with all the main code, and a subdirectory with the administration features. althogh the two locations will share configuration resources, I need to protect the admin folder from unauthorised access. I know that in apache their is some kind of authentication (I think it is used through an ".htaccess" command or someting) and I'm wanting to do a similar thing in ASP.
I have a script which allows a user to upload and delete files from the server.Is it possible (and if so how) to do a check to see if the folder is empty (ie if the last file in a particular folder is deleted by a user) and if it is empty, delete the folder?