url

Android: Goto HTTP Url on Button Click

Hi all, I want to go to a web page on the click of a button in my android app. So say, I have a button called "Google", when the user clicks on that button I want google.com to open up on the screen. How is this achieved? Also, is there a way I can gain control back to my app once the user is finished with google? Thanks George ...

How do set default values in django for an HttpRequest.GET?

I have a webpage that displays data based on a default date. The user can then change their view of the data by slecting a date with a date picker and clicking a submit button. I already have a variable set so that if no date is chosen, a default date is used.... so what's the problem? The problem comes if the user trys to type in the...

Problem using unicode in URLs with cgi.PATH_INFO in ColdFusion

Hi there, My ColdFusion (MX7 on IIS 6) site has search functionality which appends the search term to the URL e.g. http://www.example.com/search.cfm/searchterm. The problem I'm running into is this is a multilingual site, so the search term may be in another language e.g. القاهرة leading to a search URL such as http://www.example.com/s...

url redirection

Hi, I need some help with regards to the url redirection. Here is the problem. We have a website with a section as http://www.site.com/sectionxxx/index.jsp we have another domain http://www.sectionxxx.com. The task is to forward any request comming for the http://www.sectionxxx.com; direct to http://www.site.com/sectionxxx/index.jsp....

CodeIgniter - How to hide index.php from the URL

This is what my .htaccess looks like. The .htaccess is sitting in /www/scripts directory which is the parent of codeigniter's "system" directory and which also contains index.php. I have enabled mod_rewrite in my Apache 2.2.x. This is on Ubuntu 9.10 server. I followed this link, but it does not work. Is there anything i need to do in ap...

Internet Explorer URL blocking with Python?

I need to be able to block the urls that are stored in a text file on the hard disk using Python. If the url the user tries to visit is in the file, it redirects them to another page instead. How is this done? ...

HTTP URL Blacklist driver

Hello, how to code HTTP URL blacklisting driver for both XP and Vista/7? I need it for special software for schools any ideas about HTTPS or VPN? I was thinking about firefox, IE,... extension. Not bulletproof, but better than nothing. It's just school. Thanks ...

BitmapImage loading UriSource via proxy

I'm having difficulty loading an image from a URL, when the request goes through a proxy. I have a url that will generate an image which I use to load a BitmapImage ( code below ). This works great for any of my users that connect directly to the internet, however, if the user is behind a proxy, it will not work. Any ideas would be gr...

Passing password value through URL

OK I see a lot of people asking about passing other values, URLS, random stuff through a URL, but don't find anything about sending a password to a password field. Here is my situation: I have a ton of sites I use on a daily basis with my work and oh about 90% require logins. Obviously remembering 80 bajillion logins for each site is d...

How do I construct a Django reverse/url using query args?

I have URLs like http://example.com/depict?smiles=CO&width=200&height=200 (and with several other optional arguments) My urls.py contains: urlpatterns = patterns('', (r'^$', 'cansmi.index'), (r'^cansmi$', 'cansmi.cansmi'), url(r'^depict$', cyclops.django.depict, name="cyclops-depict"), I can go to that URL and get...

change url or query string wihout reloading using jquery plugin

Hi I want to change the url or query string without reloading the page... I have used the QUERY STRING OBJECT plugin for jquery I have this example page in which on click of a album it should change the query string... Now i can change the url using the code window.location.href = $.query.set('aid', a_id); but it goes for reloadi...

Yet another URL prefix regex question (to be used in C#).

Hi, I have seen many regular expressions for Url validation. In my case I want the Url to be simpler, so the regex should be tighter: Valid Url prefixes look like: http[s]://[www.]addressOrIp[.something]/PageName.aspx[?] This describe a prefix. I will be appending ?x=a&y=b&z=c later. I just want to check if the web page is live befo...

Get username from URL in PHP

Hi, i want something like this: http://www.someniceandreliableurl.com/username and catch the username. I want to make something like twitters/facebook/etc quick urls... twitter.com/username How can i make something like this with php? =) thank you in advance. ...

How should I handle pages that move to a new url with regards to search engines?

Hi all, I have done some refactoring on a asp.net mvc application already deployed to a live web site. Among the refactoring was moving functionality to a new controller, causing some urls to change. Shortly after the various search engine robots start hammering the old urls. What is the right way to handle this in general? Ignore it...

Android Service - Ping URL

How can I use Android Service to do a ping callback? I need to open a webpage on a button click, but in the background, go ping another url for stats collection. Code snippets will be greatly helpful Thanks Chris ...

IIS7 and Enforce lowercase URLs

I tried to use option in iis7 Enforce lowercase URLs, but when i enabled it all images that had *.JPG extension (uppercase) stopped server. in prev version of iis it was ok when using upper and lower cases, it returned same source may i fix it? or should i create rule for each extension like (jpeg, jpg, gif...) ...

Will Google index my site like this?

Suppose I have a URL in my query string. Someone told me that Google does not like it because they believe we are pulling content from another server. http://mydomain.com/?id=http://abc.com ...

How to change the separation character of Zend Url?

I use Zend URL view helper for building my urls. Everythings works exactly as I'd like to, except one thing: The character used for replacing spaces in the url is a plus (+). I'd like it to be a 'min' (-). How can I change this? Example: Now: /nl/nieuws/bericht/3/title/nieuwe*+affiches Wish: /nl/nieuws/bericht/3/title/nieuwe-*affic...

Validating Internationalized URLs - Is this going to be a problem?

After reading about the new Arabic URLs, and with more languages to come, how should URL validation be done for internationalized applications? Does the validation change at all and will existing solutions break? Is regex still a good approach? If so, what would that regex look like? If not, what's a good strategy? What are some good res...

Android - When to use Service

This question is related to my previous question: http://stackoverflow.com/questions/2786720/android-service-ping-url So I have an Android app that on the click of a button, opens up a web page. Now, in the background I want to call another http url for gathering stats. My question is does this have to be a service? I know a service i...