Hi there,
In my iPhone app an UITextView is containing an URL. I want to open this URL in an UIWebView instead of opening it into safari?
My UITextView contains some data along with an URL. In some cases the no. of URLs can be more than one.
Thanks
Sandy
...
Hi guys I would like to know how I can have PHP display this URL correctly.
Is there a working encoding method I can use that converts all this:
253A%252F%252F
to
://
https%253A%252F%252Fvideos-private.s3.amazonaws.com%252Flesson05.flv
...
How can I use php to determine which files are invoked and included given a url only.
eg. the URL, www.mydomain.com/index.php
might use:
index.php
includes.php
content.html
I want to give php the url and it return the filenames.
Thank you :-)
...
I notice that when I browse pages in Twitter. Instead of having some like twitter.com/home.php?var1=2&asjfaj...etc. (the most common way), the link is just Twitter.com/#home or twitter.com/inbox or twitter.com/followers. my guess is, they use sessions variables to pass information across pages/ links. is it a good way to do it? w...
How do services like TinyURL or Metamark work?
Do they simply associate the tiny URL key with a [virtual?] web page which merely provide an "HTTP redirect" to the original URL? or is there more "magic" to it ?
[original wording]
I often use URL shortening services like TinyURL, Metamark, and others, but every time I do, I wonder how th...
Hi guys,
I've produced a few Django sites but up until now I have been mapping individual views and URLs in urls.py.
Now I've tried to create a small custom CMS but I'm having trouble with the URLs. I have a database table (SQLite3) which contains code for the pages like a column for header, one for right menu, one for content.... so o...
What is the common convention for supporting multiple representation (e.g. html, json, xml) for resources (e.g. blog, user) in django?
First, I don't know how I should format my urls. For example, what your take on using either of these urls to request xml format
/<resource>.<format>, e.g. /blogs/123.xml
/<format>/<resource>, e.g. /x...
Is it possible to have a website where each user gets their own URL like:
www.thewebsite.com/myusername
I want each user site to be the same, the only reason the name matters is if a person visiting the site signs up, they get their own custom url, but the person they signed up under is kept track of as their "Parent".
So if I go to ww...
Is there a limit of the length of an url hash parameter
...
For reasons that only the developers can understand, Firefox will create and open .url files on Windows and .webloc files on OS X but won't allow the Windows version of Firefox to open .webloc files or the OS X version of Firefox to open .url files. (.url files open in Safari but that's not good enough for reasons that aren't worth going...
Is there an inbuilt way to read the active DirectoryIndex in .htaccess (or httpd.conf etc) with php?
Also, is there a way to determine which file the httpd will execute using PHP given a url if rewrites are being used?
Basically, given a URL, I want to use PHP to figure out which file the httpd would initially invoke.
Thank you.
...
Hi
I have asked on here before about mod_rewrite and got the perfect answer but now I need to do something more complex and really needed the advice of someone who knows mod_rewrite much better.
My rewrite rule looks like this so far:
RewriteRule ([a-zA-Z_-]+)/([0-9]?) index.php?cat=$1&page=$2
And that shows the URL as follows: /cat...
is it possible to have a url that has a param with an & embedded in the value (eg &FirmName=Test&Firm) and not have the browser treat that & in the value as the beginning of another param???
...
I have a folder on my website just for random files. I used php opendir to list all the files so i can style the page a bit. But the files that I uploaded with special characters in them don't work. when i click on them it says the files are not found. but when i check the directory, the files are there. seems like the links are wrong. a...
I am having a wierd error and jQuery not working depending on how the url is written.
if the url is
/index.cfm?show=about-us
all is good. BUT if the url is
/index.cfm/show_about-us
jQuery doesn't seem to load correctly and I get a "$ is not defined" error in fireBug
I can't use the standard ?= query string I need to be able to u...
Is it possible for PHP to take a URL, wait for the redirects to go through, and then fetch the url of the page it's on?
...
I'm using a transparent PNG with the Google IE fix library. This fix only works on images urls that end in "-trans.png".
Rails' timestamp-based caching is causing problems with this. When I use image_path() to generate the URL for the image, it appends the file's last-modified timestamp to the image's query string. Since the URL no long...
I am working on a Facebook app. It is located at http://apps.facebook.com/rails%5Fdev.
I have a problem. The url path to the images directory gets parsed differently based on which client computer it is called from. If it is called from my development system, it requires the following path:
http://railsacrosseurope.com/public/images
A...
Consider a page with a form that is visited via https. If the form action has a relative URL to the form page, is the https protocol retained?
Ex: you visit:
https://example.com/cart.html
which contains the form tag:
<form name="form1" method="post" action="SubmitOrder.aspx" id="form1">
Is the form submitted via https or http?
...
I am trying to reload current page with different url hash, but it doesn't work as expected.
(Clarification how I want it to work: Reload the page and then scroll to the new hash.)
Approach #1:
window.location.hash = "#" + newhash;
Only scrolls to this anchor without reloading the page.
Approach #2:
window.location.hash = "#" + ne...