url

send the user input to url and fetch the result and display it in the program in cocoa objective c

hi, I am writing a program that would allow for online currency exchange on a MAC, I wanted to use the information on www.xe.com . I was wondering if A) if it would be possible for me to do that. and if yes the B) if it would be possible for the program to send the user input to the website and then fetch the result and display it in ...

How do I visit a url in rails

Im working on a small project which I need to send a couple of parameters to another server which has a web service for sending of SMS messages. I'm constructing the URL by calling a method on my controller like so, ... send_sms(number,message) sms_url = "http://sms-machine.xx.xx/sendsms/" + number + "/" + message #go to the url a...

How to convert URLs containing Unicode characters into clickable links?

I use this function to make URLs to clickable links but the problem is that when there is some Unicode character in the URL it becomes clickable links only before that character... Function: function clickable($text) { $text = eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)', '<a class="und" href="\\1">\\1</a>', $text); $t...

jQuery: ajax POST with html entities

Helloes. I've been sending forms with jQuery ajax & $(this).serialize to php & database and it has worked perfectly. Now I have situation where I can't use serialized form but generate a string from different input fields instead and the problem is that it appears to lose some URL entities in the process. for example "&phone=+3581234567...

How to prevent users from accessing files on server ?

I have an application that let users to upload files to server. All files are stored in one directory called Uploaded Files (which has Thumbnails directory inside). What are the most common ways for preventing users to see these files ? I mean I don't want users to see the files by typing URL like /path_to_website/Uploaded Files/1.png. ...

Get full URL from HTTPStatusEvent

Hi I'm using loader.addEventListener(air.HTTPStatusEvent.HTTP_RESPONSE_STATUS, onLogin); function onLogin(e) { air.trace(e.responseURL); } to get the URL to which URLRequest goes after redirection, but all it returns is http://domain/redir.html and missing hash data which has some important information. hxxp://domain/redir.html#{id:v...

frameset htaccess index.php url routing

hello, My question ist about htaccess redirecting everything to bootstrap.php. My index.php is just pure html about a frameset (i know frames are uncool, but I must). So I redirected everything in the htaccess to bootstrap.php and now am trying to build a URL-Router. But somehow, it does not work. When i request an URL like f.e. http:/...

Get Argument And Print It

I want to do a print on a argument that is on the URL, like this(in this case it's Google): http://bitoffapp.org/?http://google.com/ I want to get that and print it like this: print("Go <a href='$url'>back</a> to the page you was before the login); How can I do this? ...

seo for search form

Hi all, I have a shopping site that works a little bit differently than the rest: the only way to get to the products that you want is by search, my client asked not to display links to categories of products. I'm worried about search engine optimization because crawlers won't be able to get to the products or the views. Oh, didn't i m...

Retrieve information from URL using Jquery

Suppose I have an url like : http://localhost:1122/MyProject/MyPage.aspx?from=home&amp;id=454. I can retrieve the 'form' value in code behind like Request["from"].How can I do the same using Javascript?Can I do this using Jquery also?If yes how can I do this? ...

python regexp help

Good day. Little question about reg exp. I have a string look like http://servercom/smth/Age=&amp;amp;Filter=2&amp;amp; How can i cut &amp; with regexp from url? After regexp url-string must be http://server.com/smth/Age=1&amp;Filter=2&amp; ...

Directories after the filename in a URL?

I am updating a PHP-based site and the URL looks like this: http://www.thesite.com/index.php/what/are/these Can somebody give me an idea as to what is going on after the index.php? It looks like directories to me, but there are none that I can see with the same names. Is this some sort of URL rewriting? Thanks! PS the CMS is Jetbox ...

Change Caption URL in Lightbox

I've got the WP Slimbox2 plugin installed and I'm trying to have the caption's ULR point to a different site, not just the img URL. Any ideas out there on how this can be done? http://www.erisdesigns.net/wordpress/in-the-cloud/ ...

synchronize sending requests

Hey what i m doing i have to send requests to yahoo for picking up the stock rates. The companies name which i need to send are in an array n i have also coded to send only 100 companies request but what happens is the requests are sending all at a time and since it doesnt wait for the response i get response only for the first 100. how ...

apache url rewrite problem

Hi all, is it possible to rewrite the following URL: http://dev.aurora.com/problem/getproblems/fieldset/2?search=false&amp;rows=20&amp;page=1 to http://dev.aurora.com/problem/getproblems/fieldset/2/search/false/rows/20/page/1 Thanx in advance ...

How does Http.sys URL Prefix Registration translate into IIS bindings config?

Windows HTTP Server API provides mechanisms for URL Registration and Reservation so that request queues can be setup by processes: http://msdn.microsoft.com/en-us/library/aa364483(v=VS.85).aspx. And the URL matching is done by longest matching URL Prefix. With support for strong wild cards '+' and weak wild cards '*'. I get that IIS do...

[PHP] how to check this url is image url?

hi! i have some problem. I need to check the url is image url or not? How can i do this? Example : if i put http://www.google.com/ is not image url. but if i put http://www.google.com/profiles/c/photos/private/AIbEiAIAAABECK386sLjh92M4AEiC3ZjYXJkX3Bob3RvKigyOTEzMmFmMDI5ODQ3MzQxNWQxY2VlYjYwYmE2ZTA4YzFhNDhlMjBmMAEFQ7chSa4PMFM0qw02kilNVE...

Load URL + JavaScript action

Hello, I'm trying to get my users to download "maps" from bungie.net from my website. Example map: http://www.bungie.net/Online/Halo3UserContentDetails.aspx?h3fileid=31604914 Link users need to click to download map: <a id="ctl00_mainContent_xboxDownloadButton" href="javascript:__doPostBack('ctl00$mainContent$xboxDownloadButton','...

Check url parameter using javascript

If two url are like: http://localhost:1113/Project/TestCourse.aspx?id= http://localhost:1112/Project/TestCourse.aspx How to check whether 'id' is present or not using javascript? ...

url parameter to save is in JavaScript

Hi all, I would like to insert a parameter value found the url into my javascript code.. So basically i have the following url www.rene-zamm.com/mp-dthanks.asp?gglid=123123123 Now i have the following javascript code in the same page and i want that number in the url to be visible also in the javascript code below: var gwoTracker=_gat....