tagged [url]

Getting the full url of the current page with url hash on server side

Getting the full url of the current page with url hash on server side I cant get the full url of the page that I am working on. This is the url that I want to get `http://localhost:54570/Shipment/Ship...

3 Jan at 10:20

Getting full URL of action in ASP.NET MVC

Getting full URL of action in ASP.NET MVC Is there a built-in way of getting the full URL of an action? I am looking for something like `GetFullUrl("Action", "Controller")` that would return something...

5 Jan at 13:59

Cannot use a leading ../ to exit above the top directory

Cannot use a leading ../ to exit above the top directory I have a asp.net web site with it we have admin area with login page for admin only and all site is allowed for all - i need to ask how to defi...

Add URL link in CSS Background Image?

Add URL link in CSS Background Image? I have a CSS entry that looks like this: How can I add the link to the the background image in that CSS? The

15 Apr at 07:50

Call Javascript function from URL/address bar

Call Javascript function from URL/address bar Is it possible to call a javascript function from the URL? I am basically trying to leverage JS methods in a page I don't have access to the source. Somet...

20 Feb at 08:37

.htaccess not working on localhost with XAMPP

.htaccess not working on localhost with XAMPP i m using XAMPP but i m not able to use .htaccess file at local host. i m trying so many times.. Online working good. but local host showing My root fold...

How to add link parameter to asp tag helpers in ASP.NET Core MVC

How to add link parameter to asp tag helpers in ASP.NET Core MVC I have a lot of experience with . Now I learn and have to pass a parameter to link in page. For example I have the following How can I ...

C#, Is there a better way to verify URL formatting than IsWellFormedUriString?

C#, Is there a better way to verify URL formatting than IsWellFormedUriString? Using: Doesn't catch everything. If I type `htttp://www.google.com` and run that filter, it passes. Then I get a `NotSup...

12 Apr at 00:47

Get integer value from malformed query string

Get integer value from malformed query string I'm looking for an way to parse a substring using PHP, and have come across preg_match however I can't seem to work out the rule that I need. I am parsing...

Should URL be case sensitive?

Should URL be case sensitive? I noticed that and both works fine - actually the previous one is converted to lowercase. I think that this makes sense for the user. If I look at Google then this URL wo...

7 Mar at 17:34

Recommended date format for REST GET API

Recommended date format for REST GET API What's the recommended timestamp format for a REST GET API like this: I think the actual date format should be ISO 8601 format, such as `YYYY-MM-DDThh:mm:ssZ` ...

6 Mar at 10:21

get current page from url

get current page from url I want to write a c# method to retrieve the current page. eg Default6.aspx I know I can do the following:

28 Jan at 16:45

Change the URL in the browser without loading the new page using JavaScript

Change the URL in the browser without loading the new page using JavaScript How would I have a [JavaScript](http://en.wikipedia.org/wiki/JavaScript) action that may have some effects on the current pa...

.NET URI: How can I change ONE part of a URI?

.NET URI: How can I change ONE part of a URI? Often I want to change just part of a URI and get a new URI object back. In my current dilemma, I want to append `.nyud.net`, to use the CoralCDN. I have ...

29 Jan at 16:5

How to launch Safari and open URL from iOS app

How to launch Safari and open URL from iOS app On the settings page, I want to include three links to - - - I've searched this site and the web and my documentation and I've found nothing that is obvi...

4 Nov at 00:31

Language neutral entry pages

Language neutral entry pages My old web site has an `index.html` page … nothing strange! Everything is fine. The new web site has an english and a french version, so the new index is `index.php?lang=e...

27 Feb at 14:13

How to do URL decoding in Java?

How to do URL decoding in Java? ``` class StringUTF { public static void main(String[] args) { try{ String url = "https%3A%2F%2Fmywebsite%2Fdocs%2Fenglish%2Fsite%2Fmybook.do" +

9 Apr at 00:28

Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net

Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net I have a script file . See the path is `~/Script`. But if I Entered `../../` instead of `~/`,Also the process are working same . M...

30 Jun at 06:50

How to route to an outside URL from within MVC controller?

How to route to an outside URL from within MVC controller? I'm embarrassed to even ask this question, but not sure of the syntax or way to do this. I have a controller method where I would like to rou...

17 Dec at 19:35

How to change the port number for Asp.Net core app?

How to change the port number for Asp.Net core app? I added the following section in `project.json`. ``` "commands": { "run": "run server.urls=http://localhost:8082", "web": "Microsoft.AspNet.Host...

Beautiful way to remove GET-variables with PHP?

Beautiful way to remove GET-variables with PHP? I have a string with a full URL including GET variables. Which is the best way to remove the GET variables? Is there a nice way to remove just one of th...

9 Aug at 15:30

jQuery: go to URL with target="_blank"

jQuery: go to URL with target="_blank" I am using this bit of jQuery code to get href of the link: -- and this bit of code to go to that href: Everything is just the way I want it, except the new page...

13 Jul at 02:35

How do I open a URL from C++?

How do I open a URL from C++? how can I open a URL from my C++ program? In ruby you can do What's the equivalent in C++? I wonder if there's a platform-independent solution. But if there isn't, I'd li...

18 Jan at 09:54

how to check if a given URL is HTTP or HTTPS in C#

how to check if a given URL is HTTP or HTTPS in C# I need to check if a given URL (which is not necessarily prefixed with http or https) is HTTP or HTTPs. Is this possible in C#? If the user gives jus...

19 Dec at 14:12

How to download image from URL

How to download image from URL Is there a way to download an image directly from a url in c# if the url does not have an image format at the end of the link? Example of URL: I kno

2 Mar at 19:43