Categories
PHP

Stripping the Query String from a URL in PHP

[sourcecode language='php']
list($shorturl) = explode('?','http://www.website.com.com?page=7');
echo $shorturl;
[/sourcecode]

Categories
Operating Systems

Just-In-Time debugger errors after uninstalling Visual Studio

Uninstalling Visual Studio can leave your system struggling with  Just-In-Time debugger errors that can prevent applications from starting.

To resolve it, try deleting the following registry keys.

The usual warnings about editing the registry apply; if you don't understand the risks, don't do it.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  •  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger