Let's presume that I have string like '=&?/;#+%' to be a part of my URL, let's say like this:
example.com/servletPath/someOtherPath/myString/something.html?a=b&c=d#asdf
where myString is the above string. I've encoded critical part so URL looks like
example.com/servletPath/someOtherPath/%3D%26%3F%2F%3B%23%2B%25/something.html?a=b&c=d...
What is the most convenient way to remove all the HTML tags when using the SAS URL access method to read web pages?
...
How do I allow users to map their domains to a url on my site? (like how tumblr or blogger does)
The app is being developed in Django. I want the users to be able to map their domains to mydomain.com/username (is this possible or do I need to have a format like username.mydomain.com?)
Also my app runs on a VPS so I have my nameservers ...
Hi Apache Gurus
I want to password protect all urls on my beta site at the moment. Except one url because it is called by flash and flash can't handle basic auth properly it seems. So i want to disable basic auth for that one url. This is my config in apache. Apache is a proxy for tomcat but that should not matter right ?
<IfModule mod...
How can I write a RE which validates the URLs without the scheme:
Pass:
www.example.com
example.com
Fail:
http://www.example.com
...
I am trying to currently embed a media player into certain web content and seem to be having strange problems in IE (all versions tested so far 6->8).
Here is a page with the player embedded in it. You can view it in FF or a webkit browser and it should work fine. In IE the flash part of it fails to load without error. (It errors when y...
Without a possibility to access .htaccess I find myself in a creative impasse. There is no mod_rewriting for me. Nevertheless, I want to be able to do the nice stuff like:
http://www.example.com/Blog/2009/12/10/
http://www.example.com/Title_Of_This_Page
What are my alternatives?
In respond to the answers:
I'm building with php5
I ...
Usually I'd use Wireshark, but is there a really super quick way to determine what URL an app is pulling data from? I need to whitelist the host so that it works through a proxy server, as the app doesn't support proxies.
...
I have a question about display URL's that are stored in an SQL Server database.
Here is an example.
I have a field in a table called "Additionalinfo" which stores this information.
Company Name
1 Street Name, Suburb
Ph: 0000 0000
W: http://www.google.com
When I display this information on the page it displays the informatio...
Just Consider : I am having the URL and with parameter
www.test.com/t.html&a=1&b=3&c=m2-m3-m4-m5
I just want to get the value of 'c' . I need to get the all value of c
because i just try to read the url but i got only one m2 . But i want all value using Java Script
...
I am making an admin panel for a small project. I want to use dynamic URLs to edit specific data entries. For instance:
file.php?edit&n=53
I want this URL to edit entry 53.
I use a switch statement to check for the edit page, but how do I check whether or not the URL has the &n=x extension in the same switch statement?
Ex:
switch $...
I'm looping over a series of urls and want to clean them up
I currently have the following code
# Parse url to remove http, path and check format
o_url = URI.parse(node.attributes['href'])
# Remove www
new_url = o_url.host.gsub('www.', '').strip
How can I extend this to remove the subdomains that may exist in some urls?
...
I am implementing themes to enable an existing website to be rebranded (logos, colors, images etc.) depending on the requesting URL. I understand how to do that and have got the skins working fine except for some exceptions related to the URLs of images.
Specifically I have a control property that it is not feasible to skin. Prior t...
How can I remove a substring from a string using Perl? For example, $URL contains http://xyz.com/Main#abcd.aspx
And I want to check and strip out 'Main#' from $URL Can anyone help me out?
Well first I need to check that whether the string Main# exist or not.
If it exists, then strip it; otherwise nothing needs to be done. So only an i...
Hi there !
When doing a snapshot with flex bipmapdata.draw() a security error is raised if the image does not come from an allowed domain.
I am trying to add images from several urls sources (google image) therefore i can't call draw().
If however the image is frow my server www.foo.com which has a nice crossdomain.xml its all good.
...
I have a Javascript bookmarklet that, when clicked on, redirects the user to a new webpage and supplies the URL of the old webpage as a parameter in the query string.
I'm running into a problem when the original webpage has a double hyphen in the URL (ex. page--1--of--3.html). Stupid, I know - I can't control the original page The javas...
I am aware that a + in the query string of a URL represents a space. Is this also the case outside of the query string region? That is to say, does the following URL:
http://a.com/a+b/c
actually represent:
http://a.com/a b/c
(and thus need to be encoded if it should actually be a +), or does it in fact actually represent a+b/c ?
Tha...
Hi
I am having issues with the CMS I am using and sIFR 3, revision 432. It seems to be down to the CMS adding a URL parameter to all asset URLs. For example, the URL for the Flash movie for my font resembles /site/rockwell.swf?key=value.
Is this a known issue and expected behaviour?
Many thanks for looking at my question.
...
Much like the "mailto" URL prefix launches the user's default mail program and starts a new email with specified address, is there a similar URL scheme that would initiate a phone call? Perhaps "phone," "call," or "sip"?
Incidentally, I'm targeting a platform that is using Cisco CUPS, so there may be a platform-specific way for me to in...
What is the maximum URL length you can pass to the Wininet function, HttpOpenRequest?
...