The idea is security (the companyN folders store images belonging to the companies 1,2,3 - and never the twain shall meet - this does not matter so much). The images are stored above MySite (in the imageroot folder) so that no-one can see them - if they sat in mysiteimages, for example, anyone can see them. And to further thre security, /imageroot does not have a URL
What I need is someway that I can display an image in imageroot on a page in MySite, eg /mysite/gallery.
I need to use an absolute path from my page in mysite to the required image
Can we define events in a class when coding using VBScript in ASP? I still have the second question, even if the answer is positive. That is whether the two standard events of a calss module in VB, "Class_Initialize" and "Class_Terminate", is still availabe in VBScript? If not, then how to initialize an instance of a class automatically when it is created?
If Request.QueryString("mode") = "go" then objRec.Open "Gigs", objConn,2,2,&H0002 objRec.Filter = "id=1" objRec("venuedate") = ChkString(Request.Form("gigs")) objRec.Update Response.Write "The changes have now been saved" Response.Write objRec("venuedate") Else 'response.Write("splip") strSQL = "SELECT * FROM Gigs Where id=1" objRec.Open strSQL,objConn,0,1
what i would like to know is how this part works specifically the ,#,#,####: objRec.Open "Gigs", objConn,2,2,&H0002 objRec.Open strSQL,objConn,0,1
I was wondering if there was a way to get the root URL of the virtual directory where an ASP file is called from. For example if there's a virtual directory pointing to http://server/myvirtdir, and an asp file is located in http://server/myvirtdir/subdir/anothersubdir/file.asp, is there a method that returns http://server/myvirtdir
How do I setup perrmissions in my FTP to allow anonymous access where you can only upload to and download from a separate folder but not create sub folders or change any permissions etc.
I have my trusted users with extended permission in like c:ftproot ame1, c:ftproot ame2 etc and would like to have my anonymous access directed to something like c:anonymous. I do not want them to see the trusted accounts. Can I and how do I do that?
My IIS server (Win2K) I created a new application, but when I #Include a file it goes to the root of the Default Web site rather than the root of the site? I tried
Response.write server.mappath("default.asp") and got c:inetpubwwwrootdefault.asp
I know this is IIS 101 but I cannot get it to work.
how do u get somthing from the root directory no matter where abouts you are? say i'm in /folder1/bla/test/foler2 and i wanted to place an image on this page but i don't want to have to backtrack ( ../../../../ ) all the way to get there. is there a peice of code that can go straight to the root directory?
my isp has created a directory with read/write access above the domain root. I asked them to do this to make it safer. I have used 'freeasp upload' to create an upload page (which works) but now I can't access the image files in this new directory. How do you guys deal with uploading images in a CMS admin and then retrieving them on the public site?
Using IIS I want to embed a TIFF file in my web/intranet page that is stored in a folder that is not accessible to everyone. The files are strictly private in nature and only the requested TIFF file may be shown. They are in a folder that is used by another application and it can’t be moved. Code:
I have a situation which i am sure has arisen previously. But for the life of me i cant figure out how to get this to work.
I have a directory setup like this:
Site1 - www.site1.com Asp - Images - Site2 - www.site2.com Asp - Images -
The problem that i am having is i cant get site 2 to display images from site 1 using the virtual path '../' as this only takes you to the root of site 2 and wont let me out of it.
I have tried to use the full path of http://www.site1.com/Images but this seems to take an a really long time to load the images.
Is it possible to go outside of this root directory using some kind of trick? I dont want to copy the images accross to site 2 either as there are actually hundreds of sites that will be referencing site1's image folder and it is updated regularly.
I was thinking of putting a virtual directory in site1 thatpointed to the image folder in site2 but i couldnt get that to work.
Is it possible to include my remote web server path eg: m:/html/root/site1 | m:/html/root/site2 etc
....in virtual includes....
Thus eliminating the need to create duplicate INC files in each sub-domain on my remote web server host domain IP. eg: http://72.3.5.6.0 (www.site1.com; www.site2.com)
I would like to be able to use a UNIVERSAL INC file in the root of my web IP for the benefit of all my sub domains.
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?
The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp
If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?
Can a Html website be loaded and working on an asp server or host?
Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
Whenever I do a site that is mostly static but with some semi-dynamic sections, I've struggled to find a good site search solution without paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone created or seen a script that uses the XML Google sitemap to power a search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for your own site?
How can my members log out of my shopping website? I can't seem to figure it out. I'm using a session cart where users can log in before shopping or log in upon checking out products. How do they log out??? I'm using ASP and oracle sql.
I would like to create a site map for my map site which is in ASP. I tried to use Visio to create a web site map but it fails because my asp home page requires to authenticate. Is there any other tool to create a sitemap from username/password protected website?
I want to open a website let say google.com in my own site.but i want to replace some of its images with my own. but remember site ( google.com ) will be running in my website everything should be of google but look will be mine.i wanted to do it for my own two websites i just used name of google.com to demonstrate my problem
some code to look through for getting started, i still need to sort out thing like a file to hold all the db stuff so i can call the functions rather than type it every time. cleaning up really .
i have a slight background in HTML and basic web dev. I have been asked to create basically the following, it will be my project over the next couple of months. I basically want to build an e-commerce website that will take all data from a database. It all needs to be dynamic, products added to the database would automatically update in the website, the navigation also needs to be dynamic, it needs to be low maintainence, i aim to have the checkout to save customers details to a seperate database, the payment process would have completed, no payment details would be saved.
What do you think on the above. Does any one have firstly any code they may be able to give me, to help me along the way. it does need to be done on a budget, I will buy code if need be. What is the best program to develop such a website in?
I'm looking to eliminate all lag on my site and I have a couple questions regarding databases. Is it possible to open 2 ADODB connections at once? I want to put my sites boards on a different database than everything else but I want to get user information to update in the main db. How would I go about doing this?
Does closing all the stuff you opened in your ADODB connection make a difference? Does it resuly in the use of more bandwidth and site lag?
i have been asked to create a 'site map' for an ASP / Access DB website which i have just started. Can someone explain to me exactly what a 'site map' is and what it is useful for please?
i've got a local server on another pc (ip address:192.168.1.243) but when I want to connect to ASP site that's on that computer it can't. when type "http://192.168.1.243" in my browser it returns this:
IE says: "impossible to find the page" and Firefox says: "the operation timed out when attempting to contact 192.168.1.243". I know that ASP works, because when we try it on the localhost it works (but that's not my computer so I can't use it).
i have a simple asp counter in my site, the counter uses a access db & cookies (so every visitor will be counted once).
in the past days the counter has gone wild & count goes from 300 in ordinary days to 1000. i guess this is because of robots, crawls, worms etc. is there any way i can count only real visitors?
I have a situation where I have a customer with one e-comm site and two domain names. Both domains currently point to the one site but they want different logos and purchase tracking for each domain name as visitors come through. I am not that well versed in using the HTML headers but somewhere I seem to recall a way of using the headers to identify the url/domain and then redirect or setup session variables for handling the rest.
If this is ringing a bell with anyone I could use a pointer to more info on this.
anyone knows a VBScript that acts as a webbrowser? I am behind a firewall and my local machine is not visible to the internet, but I have a access to some webspace with asp VBScript. With the right script I could tunnel pages and sites from my local machine
We have a requirement to build a site to work on a mobile phone. Its a property search system and the site needs to show properties from the database based on the users location using the gprs position. Can anyone point me in the right direction for doing this?
I like to create a search mechanism in my web site. This search engine will look for the keyword in my web directory and return the file location as hyperlink. Now, I have included all the conent of my web site as include text file. Example: I have index.asp and content of index.asp located at include/index.txt. If search query locates at index.txt I want my search code to return index.asp instead of index.txt as search result. How can I do it.