i need to find the absolute path to a folder (/home/httpd/ etc....) on a linux system. is ther a script that i can uses that will tell me the absolute path to it. then i can chnge to to the folder.
I am trying to create a log of certain events on the website by writing them to a text file. The logging code is in an "included" file that is inserted into the pages that need to be monitored. Currently, the target text file is just specified in the FSO MapPath as "thelog.txt", so it writes the log to a text file within the same folder as the web page.
The problem is that I don't want to grant browsers Write access to my pages folder, so I need to have a separate directory to hold the log text file that browsers can have Write access to. The web site is hosted on a shared server that I do not have direct access to. In the past, occasionally an error has popped up that states the exact location, but I can not get that to repeat. I know it is something like "D:customersmyuseridwww"
How can I find out the actual location on the server so I can use an absolute path to write all the logs to one file in one location?
Why it is that to saVE a file an absolute path is required and to read a file or pic an relative path is required.can any one ellaborate it and also diff between relative and absolute path
I have a web project that has multiple directories. Some of the files in different directories use the same include files. The problem is that these include files also reference an image folder. I am trying to create an absolute reference to these images so I don't have to make the same include for different directories. What is the best way to do this?
Is there an easy way to find out the path of the current asp page? When looking at http://localhost/images/listing.asp I want to be able to extract "http://localhost/"
I have a virtual path setup in order to give my web server access to a file on my app server. I am using the file system object to check for the existance of the file and if it exists, it has to validate the file date.
The problem is I can't seem to find the file. I can successfully check for the existance of a file on the web server, but once I enter the virtual path it can't find anything. All three of these calls return false...
I am using position feature for images...although its placing the image on the HTML file using the top left corner of the image. Anybody know how to make it use the center of the image?
I recently stumbled across a great company with wonderful products for easy integration within ASP pages. I've even created a community forum to support the products on my site.
I got a problem when I uploaded a file with the input tag of type file "<input type=file.." using the FileSystemObject where The page not opens and there is no any respond, but I tried to see if the folder that is already exists xan I see by that object I discovered that it is not exist.
The main problem I put my files in a folder that I dont know its absolute path , just a relative that always not exist.
I am currently developing a final year project which is a web based tracking system tracking exam questions. I am using IIS as the server, MS access for the database, and ASP with VBScript for the scripting side of things.
One of the things I want to do would be to e-mail a user/moderator whenever a exam question is edited/completed/updated. does anyone have any previous expierence in this? i don't even know where to start.
What is the asp code variable for System Date and System Time? Are they built-in system variables, or is there some code involved to return the values?
To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.
Can ASP apps be run in Linux (I am using Mandriva 2007 Spring)? If so, which server has to be installed to make ASP apps run in a web browser in the same way as how ASP apps run in Windows?
As far as my knowledge goes, Linux does not support IIS; what about Apache? Will it be appropriate? Or are there any other web servers (preferably free ones like IIS) to make ASP apps run in Linux?
I know this is not ideal but i have a client with a simple asp site and i would like to move them to our linux box during a transition but they use an access database. Can someone tell me how i can get the connection to work under linux? Current Code: Code:
Dim MM_connPang_STRING 'MM_connPang_STRING = "dsn=pangDSN" MM_connPang_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:clientdatabasepangDB.mdb"
Is it possible to integrate ASP.Net on a Linux server? I heard there is some software in development for this but I cannot remember the name. I know Novelle is the one working on it.
Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting ASP on linux.
I've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff. Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt. I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?
Here is a simple test class Ive built to try and find out, why another class I built (that works fine on my testing server running iis on xp) throws up an error on the live server running red hat 8.3 on linux, Im new to asp and only just now found out the live server is a linux box. Code:
If my server runs on Linux and I want to use an ASP script and files on it. When I upload the files, wehn I go to the file directory and click on the file it asks me the same as what it asks me if I try to open it at home.How can I overcome this?
I want an answer by tomorrow with examples and reference URLS if we can do this.There is a program written in ASP and the databse is MSSQL (Microsoft) hosted in Windows platform. But they want this databse and ASP Program host on a UNLIX/LINUX server and use the same ASP program. Can thy do it/ and how?
I'm working on a proof of concept for ASP. I've already done it using Windows 2k server, IIS, using open source [no initial cost involved]. I'm looking to doing the same using a linux box. Does anyone know if this can be done without buying any additional tools?
I need to install Comersus Cart (http://www.comersus.com) and try out to see how it works on Linux. The document says that it works on Linux as well, as long as ASP is enabled.
I avoided using ASP on Linux. How well does it perform really? And does anyone have experience running Comersus on Linux? How does it perform? Did you have any issue?
I had done a website that perfectly works in windows platform. But one of our client said that he cannot work the same in linux platform.
I am submitting my form in the onchange function of combo box. He cannot submit the form when he changes the value of combo box. But it perfectly works in Windows Platform. and the site is being viewed by lot of people and every day there will be reservations.