Am developing a website, thats only allows user with permission to acces certain file.
What I have is a webpage that list all different projects available. When a user clicks on a project, he is asked to enter username and password.
If succesful the user is then taken to a webpage displaying all files available to download for that particular project. Note: All the files asssociated with particular project are in necessary folder. So project London, has a folder called london with all its files in that folder.
How do I get all the files displayed on the webpage for that particular project?
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but no use. This is working fine on win2k IE6.Here is the html file I am using to display the tif file.
Annoying problem on a server with IIS 5. [We have other IIS 5 that show asp files just fine. I'm at a loss. ]
I can open htm, html, gif, jpg, all files except asp files. The message when opening an asp file is:
"The page cannot be found... blah blah blah HTTP 404 - File not found"
I've looked everywhere. Permissions are okay with IUSR and security since we can browse other files. The asp files in question are NOT marked Hidden...
What can I do to make it render the asp files? Ideas?
I have 2 include files on my page which are both navigation bars. When i view my pages in IE they look fine and everything is in the correct place, however the problem is that when i look at the pages in design view in Dreamweaver i can only see my first include file. the rest of the page is not displayed so makes designing hard as i cant really see what i am doing until i view my page in IE.
WHY IS IT DOING THIS???????????????? Or is this meant to happen, i have never used include files before, but im assuming this shouldnt happen?
I want to create a webpage which will list all the files in particular folder and hyperlink to them to allow users to view the grpahics online without having to send each file to them by email.
I got the following code but gives me a VBScript error. I have created a folder called files under the home directory of this website and have added the name of the folder
<%@ LANGUAGE=VBScript %> <% Dim ofs,of Dim fi set ofs = createobject("Scripting.FileSystemObject") set of = ofs.getFolder("files") ' blieve this is the problem For Each fi In of Response.Write("<a href='" + fi.Name + "'>" + fi.Name + "<br>") Next fi %>
Microsoft VBScript compilation error '800a0401' Expected end of statement
I have a folder on the server with several thousand image files in it. I am using the following code to retrieve the image names associated with a given MLS number (this is for a real estate web site): Code:
I am using aspload to allow users to upload three files - 2 pics and a word doc. The files have standard names but I want the user to define the name of the folder.
Is there and efficient way to make sure that the user does not choose illegal characters for folder names? I am doing a series of replaces at the moment.
I have some files located in a file server and managed by a SQL database from a web based interface using ASP + VBSCRIPT technology. I need to automatically copy those files to a web folder.
I know this is not an ASP question but it is a Vbscript question and thats why i post it here. It goes like this. I've been making a treeview in dhtml recently for an intranet. Now i was wondering if it would be possible to make this treeview on the fly with vbscript.
My page is pure html so no asp and should give me the content of the folder in wich the html page is located as well as all subfolders. I know microsoft script page has an example of vbscriptcode that can do this(the enumerating part), but for some unknown reason it doesnt seem to work.
Is there anyone out there who knows how to do this or has done so. (ps i know i can do it with iframes without the treeview, but i would like to make it nice and clean. So html and vbscript seem better).
I need to create a script that deletes all pdf files in a folder that are over 1 day old. I know I need to use the file system object and datediff but can't for the life of me work it out. I am a bit of a newb when it comes to more complicated asp .
Does anyone have a script that does this or know of a tutorial that will teach me how to do it?
I need a ASP script that can automically populate what ever files are inside a folder and list them on a page so to be able to download them? Is there such a file?
how to automatically "include" all .asp files from a folder? Say I have an ASP page and there's a folder with 3 documents in it: /myfolder/file1.asp, /myfolder/file2.asp, /myfolder/file3.asp.
In my ASP page I want to automatically create server-side includes for all files in that folder so that if I ever add /myfolder/file4.asp, it'll automatically be included in whatever ASP page I have calling this function.
what I need is is when a visitor comes to the site, I need it to check the host name. if "www.hometowndigest.com" is the host, then check a folder named "something" and if the folder does not exsist, create folder "www" and then copy folder "temp" and its contents.
If the folder "www" is there, look in it, check to see if the files in folder "temp" are in there, if not, copy the files that are not from folder "temp" into folder "www". Code:
Can anybody help me with displaying two xml content in a asp page. i want it to be shown with collape and expand feature (with those + and - feature when an xml file is opened in explorer).
i tried having html frames but i am not able to add menu in the same html page. right now i have menu and two text boxes to display this xml content. i want to use something else instead of text boxes to display xml in indented form. i thought i could use browser component in asp page but it doesnt work.
I have an active-x control on my asp that loads a wmv video file.But i have a problem viewing the video until i have download the whole video on the active-x control.
Is there a way to see a portion of the video without complete download?
I make a intranet Project For a Company.In that Project i make some reminders that can send each other users.When the Reminder come it should be alert like yahoo or Msn means Reminder should be show right side of the Taskbar and it's come like fade.
i have just uploaded the new files to a website i have rebuilt. I have refreshed IIS and restarted the website but the new files are not showing through on directories that existed before eg subscribe etc. The new directories that didnt exist before work fine but would the internet connection in our office be caching previous pages that are no longer there and trying to access them?
I'm really trying to make this work. I have a dbtabel with following fields.
ID PlayerID Date Point
I want to show each players point like this "1,2,5,6,4,8,9", but i want the script to first add up which player who has the most points, and then list them in order of wich player who has the most points...
1,3,5,6,4,5,9 2,1,1,3,2,3,6 2,5,6,4,1,1,0
Each row is each PlayerID's row. Is this possible.
my problem is The updates on my asp files are not reflected in the browser. Till recently everything was working fine.
Today I installed new updates on my windows 2000. After all the cached asp contents are appearing and the updates are not getting refreshed. I dont know if this is becoz of the updates on my OS.
I had a file addfield.asp. It was working fine, I made some changes and they worked. But after that my updates are not reflected. If I rename the file to addfield1.asp. I am getting the desired results. Again if I change the contents of this file, they are not appearing.
why some of my graphics wouldn't be showing up? I'm using css and everything looks fine in dreamweaver until I upload it then half my graphics are not visible on the page but they are there because I can still click on them, I just cant see them. Any reasons?
I inherited a database driven site, which displays events pulled directly from an access 2000 database. when these events are edited in the admin system, or when a new record is added (again via the admin system), the record will no longer show up as being editable on the choose_event.asp page. I checked the database, and the changes are being made.
ok so I wrote a template based CMS.... A small company requires a website, they come to my site www.mutedesigns.co.uk/sbs and choose a template, pay, register, edit ther details and pages and then view their site simple and it all works yay! Code:
I'm working on a Intranet, and found this code to list the contents of a directory. However, the only directory I've been able to show is the dir where the script itself is (Inetpub/Scripts).
How can I redirect to a directory somewhere else on the network ? Code:
I have a table called 'players2005' with fields of 'player' and 'pdob' The 'pbod' is a DATE realted to the players date of birth.
Using ASP how can I call the access database to show members that date of birth is today. I have the rest of the script but just nedd a SQL statement Code:
I've been working on a page at work, which has been fine, yet when ive come to try it at home, i load the page (the page loads fine) but i see all the code etc that was hidden before.
example what i see at the top of the page:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%<% OPTION EXPLICIT %<% 'dim oCdoMsg, oCdoConfg, st
but i see tons more than that, basically all the code to the next %>
I'm using AbsolutePage to show the results of my recordset in different pages; of course if there is a lot of data, it's gonna show all the links (for example 100 pages, 100 links) So I want to do something like this:
pag. 1 2 3 4 ... 97 98 99 100
and of course without showing "..." if there are less than 4 pages.
I have a Golf leaderboard based on points given to each player after each match. That works fin, but is it possible to show everys players record after his or hers name. At the time it looks like this.