Hello everyone,
I have a password-protected directory on a running server. I would like to download some file(s) from this directory (using a URL) to the Documents directory of my iPad application. How do I send the password of the directory I am trying to access?
...
I'm creating some url rewriting for asp.net. Now I am tobbing if I should include the id in url or just the title. Do you guys know if it's a significant performance hit to lookup an item by title instead of id?
...
Hi. I have a little problem with redirecting. Registered users follows this link site.com/reg.php?passkey=1234 but the first the user get redirected to the correct language based on a cookie. I need to keep the passkey variable when the user is redirected. like this ?lang=en_US&passkey=1234
My code so far look something like this:
if...
Hello all,
I am working on a website statistics engine for a class. The idea being that you can simply embed a little code in your web page which will call the stats website on every page load and the stats website will then track your hits and such… nothing ground breaking.
What I would like to do is be able to break down website hits...
I want to add an automatic embedding feature when a YouTube URL is used (http://www.youtube.com/watch?v=VID, where VID is the video's ID).
For this, I need to check if the given URL, stored in the variable url, matches "/http:\/\/www\.youtube\.com\/watch\?v=([a-z0-9]+).*/i", then I need to strip out the VID to use it (e.g. put the VID i...
I apologize if this is a basic question, however I have been searching on this and can't find anything of use, probably since I don't really know the proper terms.. I am wondering if there is a way to interpret the url that is called on the server, such as:
http://mydomainname.com/site1/module1
and then using PHP (ideally), or some oth...
Im promoting a website that has a simple "Download Now" button. When a user clicks this button, they receive a file (a firefox addon that installs in their browser).
I've created a number of different version of the addon to use with different marketing channels (AdWords, Facebook Ads, Yahoo, etc). Each version has a unique ID that is p...
Hello,
What would be the best way for a URL to look like if it should contain an ID and a name?
/product/123/screwdriver-black
/product/screwdriver-black/123
/product/123-screwdriver-black
/product/screwdriver-black-123
Thanks
...
I have seen some websites that use äöå-characters in their slugs (they don't convert them to aoo). So what's the case?
...
I can't think of an example, but hopefully you get the idea. Encoded URLs have some characters replaced with those weird %20% type of codes (so I think none of the original characters/meaning is lost) whereas slugs have all the special characters stripped off and white spaces replaced usually with dashes or plus sign ('-' or '+').
...
Although it is strongly recommended (W3C source, via Wikipedia) for web servers to support semicolon as a separator of URL query items (in addition to ampersand), it does not seem to be generally followed.
For example, compare
http://www.google.com/search?q=nemo&oe=utf-8
http://www.google.com/search?q=nemo;oe=utf...
Dear members,
How to set background image in uibinder/java to an image in ClientBundle without using:
obj.getElement().getStyle().setBackgroundImage("url("+Images.INSTANCE.bg().getURL()+")");
Because this doesn't work in IE (FF is OK).
I think I should set the background image directly in uibinder with css @url or ...
(I am using GWT...
I'm working on a simple CMS (based on Django, not that it matters) similar to Jekyll and Hyde, but dynamic instead of static. The idea is that the server has a copy of the repository, I can push stuff into that, and the CMS will automatically pick up the new content.
Let's say that Markdown-formatted blog posts in my repository follow t...
Sigh, regex trouble again.
I have following in $text:
[img]http://www.site.com/logo.jpg[/img]
and
[url]http://www.site.com[/url]
I have regex expression:
$text = preg_replace("/(?<!(\[img\]|\[url\]))([http|ftp]+:\/\/)?\S+[^\s.,>)\];'\"!?]\.+[com|ru|net|ua|biz|org]+\/?[^<>\n\r ]+[A-Za-z0-9](?!(\[\/img\]|\[\/url\]))/","there was l...
how to request url to execute or connect to server ..
what i was using not working..
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@%@%@%@%@%@%@%@%@",[ConfigDB valueForKey:@"mailURL"], @"?ownerID=", [ConfigDB ownerID], @"&userid=",[ConfigDB userID],@"&pID=",pid,@"&emailAddress=",emailTxtField.text,[ConfigDB valueForK...
Hi, new to the community. been up all night trying to flesh out the underlying html reading system that's at the core of my app's functionally. I could really use a fresh pair of eyes on this one.
Problem: While trying to return a string to be displayed on my app's home activity, I've run into an issue where I'm almost certain that th...
I use following PHP function:
file_get_contents('http://example.com');
Whenever I do this on a certain server, the result is empty. When I do it anywhere else, the result is whatever the page's content may be. When I however, on the server where the result is empty, use the function locally - without accessing an external URL (file_get...
If you have an URL like this:
http://stackoverflow.com/questions/123/this-is-my-question
If someone creates a link on his website, but changes the name like this
http://stackoverflow.com/questions/123/this-is-a-different-question-title
that would cause duplicate content. Is it nessecary to check if the name in the url is the ...
How do URL shortener's like bit.ly calculate a random key for each link? What algorithm would I need to know to create my own?
...
I have this code in my HTML:
<h3 id="left">Lorem Ipsum </h3>
<h3 id="right">[Current URL Here]</h3>
I want to display (dynamicly) the current URL inside the <h3> tags. I've been trying to figure it out for a few days, but I'm really a mobile developer, not an HTML developer, so it's proven difficult. I need this for a...