I'm developing a website for a software company. They want to publish news, tip/tricks and other articles on company's news section. I would like to get advice on how to name the individual article files? (There will be 1000s of them) . how to let the user query it? (i.e. news/index.asp?articleID=234544 or what?). I preffered a standard way to do all this. Pointer to any sample or tutorial on this.
I'm fresh out of the box when it comes to .asp, I've basically had a website thrown at me with the instruction "make that work". So, I have been given a cd with a site on it that I know works, (albeit on a different server) and I have uploaded it to my 1and1 server. I have been given the registered url, but dont know where to point it within the servers directory structure....which looks like this;
URL
I'm ok with HTML and some JAVA but all this ASP leaves me behind.
I want to create a Expandable and Collapsible Directory Structure Tree. So that it looks at a folder from a path i give it and shows all directories and files underneath it.
This sub directories needs to be expandable and collapsable and when i click on on of the options it will bring a select box up by the side of this giving options. ie edit page.is this clear?
if(if something in search field){ do all this } else{ display all because first time run } As you see when People first run the program i wish for all books to be displayed which is taking place in the else{ } because the searchfield is undefined! however if then people click search with nothing in the search field i dont want all books to show but an error as they are searching for nothing. See where the above would trigger and show all.
its also important people can press "return" to submit as well and clicking the button so seeing if the the button is undefined is not an option! as if return is pressed it dont value the button being pressed. What are my options ?
I've been trying to update the web-site for the local orphanage (www.bedaya.org.my) via FP2002. This whole project started on my humble Win98 and FP2000, then I've upgraded to an XP and FP2002. Without reading any on-line docs, I've simply reloaded the website from HD (via C:Inetpubxxx) into FP2002. It seemed OK.
Did various changes, and tried to update the web-site version (via 'Publish web'), and kaBoom! My shared borders (top, left and bottom) all now contain the page's text! So now there are 4 main text repeated, thrice in the borders, and once where it should be.
I thought maybe FP2002 did a terrible job at merging the navigational structure (NS), so I tried 'publishing' EVERYTHING all over again and asked it to 'overwrite' the existing NS. Took well over 4 hours on a slow 56Kconnection, and the result was the same.
We are devloping an b2b site that is in eglish. the site is working for about a year till now and we have decided to add a new local arabic version. it was developed using asp and sql and we have some kind big dbase.
1- the site offer products and services that are stored in the dbase. the user will switch between languages and should find all information in the choosen language. that means the dbase will contain 2 versions of the data with the same id so we display the inofrmation related to the language.
2- the layout will be in both languages. keep in mind that we almost have more than 1000 file of codes so any changes or enhancement should be minimum. 3-i am posting right now to find out the best way to make the work time minimum for now and future
here is the options i have in mind
1- create a folder for arabic and copy all files in it then modify them 2- add the language to the same files and choose between them by passing parameter then use the code for the paramter i am looking for the best way to create the arabic version and any comments are welcome.
I'm trying to create an input screen that allows users to create a hierarchical structure as the one below, but have no clue where to start or how to construct it. Code:
I have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid." This happens with all the attributes I have tried, including TelephoneNumber . Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
im brand new to ASP and all but at school they want a webpage and they wont support PHP which is what i know so i need to figure out how to show everything under a directory then if sub folders have them link to that folder
I would like to do something like this: <!--#include file="C:dbutilsdbConfig.asp"-->
Where the directory C:dbutils is OUTSIDE of the web directory and not accessible by a client web browser. The reason I would like to do this is in case somehow ASP processing gets turned off in IIS. Since "dbConfig.asp" contains a username/password for the database, I don't want this file to somehow get sent back to a client browser as plain text. Two questions: 1) is it possible to use an include file that is outside of the web directory? 2) is there even any way that ASP processing can be turned off? perhaps not explicitly, but maybe via malicious code or virus?
Does anyone know if it's possible to convert files to .pdf format through ASP? or better yet, does anyone know of a utility that can take a directory of word documents and form one pdf file with the contents?
I have an Intranet site sitting on an Windows XP server, which has IIS 6.0 installed. This Intranet site contains a virtual directory (VD), which sits on a second server and has Windows 2000 installed.
To test how a virtual directory would work for this particular Intranet site, I had previously set up the VD on the web server. Everything worked well...no errors.
Once testing was complete and the location of the VD changed to the second server, I have been receiving the following error:
Microsoft VBScript runtime error '800a004c' Path not found
I understand what this error is saying, but I was wondering if anyone knows of any problems between IIS 6 being on a XP server and the VD on a 2000 server and any possible implications.
Is it possible to read the all filenames from a directory? Basically I want to grab all the filenames from a directory and make a flat file with all the values in it.
I'm trying to create my own browsing window for a directory on my webserver. I can access the root the directory and the first sub-directory but anything lower than that I get "path not found". I'm almost sure the problem is attaching the selected directories names on to the objFSO.GetFolder line.
I used the Mid function to get my selected directories. I can't figure out how to add the selected directories to the objFSO.GetFolder line. Code:
I'm trying to connect to the active directory using asp. I'm having problems with logging in, what happens is the username accepted is not the user logon name but the displayname is accpeted heres the code:
Could anyone show me a sample, snippet, code chunk ... etc of how I can get ASP to find the Active Directory username based on a supplied email address?
For example: I want ASP to query active directory and retrieve the AD username for where user email address = 'whatever@whatever.com'
Here's the challenge though: How do you get your dynamic pages to appear as a directory rather than an asp page with a querystring? I'm fairly certain that there is a workaround to this to be able to have one dynamic asp script that appears in your address bar as a directory.
Is there a way in asp to create a new default web site within IIS I am setting a content managament system and want to create a new default web site during on of the processes. So for example if people create a new site within the admin section and call it Jacinto this will create a new virtual directory called Jacinto.
This would then be accessed at http://localhost/jacinto
I haven't had a close look at the code yet but it's not in asp/vbscript
Has anybody done it in pure asp.I would like to do it on a site hosted by a third party and I am unable to install any dll's or exe's on the machine because it is a shared webserver.Both .NET and Non .NET would be good
I have a virtual directory set up and it's fine. Now what I want to do is write files into them. When I try to do that it gives me a "path not found" error.How can I do this? Is this even possible?
Is there a way to create directories using vb or jscript in IIS to a unix machine? I want to have the aility to upload files through my Win2k Web Server, and have those files stored on my Mac OS X Server under new directories based on date and Upload ID's from the Db.
I would like to have PHP for windows run in another directory than c:inetpubwwwroot. I have tride changeing parameters in php.ini in my c:php directory. But nothing changes. When I run the phpinfo() I always get Configuration File (php.ini) Path as c:windows. But I do not have the php.ini file there. Is there something I am doing wrong or is it a bug.
I tried renameing the php.ini file and reseting the IIS and believe it or not my scripts still work in c:inetpubwwwroot.
Is it possible to keep my database file (access db) in local pc (C drive)? I have created all the page with asp, the reason is that I cannot set the server path to write on the database if it's save under server.
I am only running all this file in one pc. how can I change below statement if I want the db file save in the local c:...Tks
I would like to write an ASP ap that asks for username/password and validates against the active directory. Any ideas how/where I can do this? In addition, once these people are logged in I want to be able to send the to exchange's OWA and just be logged in, no second login/password.
At work I was asked to add a link to a directory listing page. This page is with the link is located behind a secure page requiring a username and password. When I added the link I also went to iis and checked to make this directory have directory browsing listing checked.
Everything is fine however now this directory is open if you just post the complete link to it in the URL bypassing the login page. Is this a nornal behavoir and is their anything that can be done to make it prevent it to be opened?