» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2006, 03:08 PM
illingworth illingworth is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
illingworth is on a distinguished road
Default print the full path of script

Hi

Could some one please help me with a simple asp code snippet, since I have no idea how to implement it (in asp anyway...)

I wish my script to print the full path from which it is running on the server. i.e. d:\webs\www.mydomain.com\public\mypath.asp

How can I do this ?

Thank you -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-18-2006, 03:10 PM
zeus zeus is offline
OSP Starters
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
zeus is on a distinguished road
Default

Use this code

<% = Request.ServerVariables("PATH_TRANSLATED") %>

That will surely help you
Cheers -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hosting a script? Brodie Web Hosting Industry 2 02-25-2007 01:53 AM
Can FTP sessions be carried to another script? kipper PHP Programming and Tips 1 08-12-2006 11:52 AM
Cron with Plesk and PHP Script yogesh PHP Programming and Tips 1 08-01-2006 05:58 PM
page rank script billy Google 2 03-22-2006 10:32 AM
ASP Error Codes - Description dam Introductions 1 12-07-2005 10:09 AM


All times are GMT. The time now is 02:30 AM.