pathinfo

ASP.NET MVC: PathInfo Limit?

One of the limitations of ASP.NET 2.0 was that PathInfo was limited to 255 characters. Is that limit a problem in ASP.NET MVC urls, or is there any sort of length limit with ASP.NET MVC routing urls? ...

How can a URL like http://localhost/index.php/articles/edit/1/my-first-article work without an .htaccess?

I don't get this: http://localhost/index.php/articles/edit/1/my-first-article This URL is mentioned as an example in the Kohana framework documentation. I poked around in the files of my installation, and there is no .htaccess besides my own one that has nothing to do with that. So, how can it be that an index.php is called but then,...

php pathinfo problem

I have this snippet and there are 3 images and 3 folders in the directory. It echos the images just fine but it also gives me this error for each of the folders. Notice: Undefined index: extension in D:\Data\Websites\wamp\www\StephsSite\PHP\manage.php on line 119 What i want to do is have it so if it finds a file with no extension(a ...

What's the difference between /123 and /?123?

I've noticed that some sites (including http://jobs.stackoverflow.com) have query strings that look like this: http://somewebapp.example/?123 as compared to: http://somewebapp.example/123 or http://somewebapp.example/id/123 What are the reasons that developers choose to implement their web apps' URLs using the first example instead...

how to enable path info iis 6 & 7

Hello all, I am trying to use path info in my asp.net web application. I am using iis 6 on the production machine and iis 7.5 on my home computer. Does anyone know how this can be done? Thank you ! ...

A question about path info

domain.name/index.php/pathinfo.php works but domain.name/image.jpg/pathinfo.php will give a 404, where domain.name/image.jpg DOES exists,why? ...