A Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it.
0
votes
1answer
9 views
escaping entire urls for use in regex commands
I'm having a little trouble with escaping in Applescript and shell scripts. Basically, a URL will be set as variableUrl, and this will be fed into a shell script:
do shell script "cd dir; cat file | ...
1
vote
2answers
25 views
How to escape url encoding?
I am creating a link that creates URL parameters that contains links with URL parameters.
The issue is that I have a link like this
...
1
vote
2answers
2k views
what has been done when URL.openconnection()?
I want to know what has been done when URL.openconnection().
i have done some test like this:
public static void main(String[] args) {
// testConnection("http://www.google.com");
...
-4
votes
4answers
50 views
Validate a URL PHP
I've working on a project and in this project i need to check the user input is a valid URL.
I've made a preg_match for all possible characters used on a URL. However, I'm trying to make it show an ...
-2
votes
2answers
40 views
A slightly different clickable button
I am making an app for the first time and need a little bit of help. A little bit about the app first, it requires the user to input some information, i.e. 3 bits of information. What I want to do is ...
0
votes
1answer
52 views
How Can I Detect a valid url 200 with php?
with php could find 404 pages, but I have some 200 return url as I validate url but not as invalidated them when they say something similar to say: "This file does not exist, the access to the ...
0
votes
0answers
14 views
URL Image to AlertDialog with ImageView
I was wondering if it is possible to load an image from a URL into an ImageView in an alertDialog? My application has a listview with images loaded from a url. When the item is selected I pass the url ...
0
votes
0answers
6 views
how do i disable url modification by users for security reasons?
Supose a url is like this www.anyurl.com?ut=44354454 if somebody change it to
www.anyurl.com?ut=44354 then get variable will change but i have seen some sites in which even if you ...
0
votes
2answers
26 views
how to process an url ending in .txt into an iframe as html?
I'm trying to send this command:
document.body.innerHTML = document.body.textContent;
like in this script:
var iframeBody = $(window.my_frame.document.getElementsByTagName("body")[0]);
...
0
votes
2answers
15 views
Convert NSString That Contains Sign Operation To NSURL
I want to convert NSString that contains sign operation to NSURL:
NSString *urls = ...
0
votes
3answers
14 views
Error “URI formats are not supported” - How to pull image off web
I recently wrote a piece of code like this:
protected void OpenImg_Click(object sender, EventArgs e)
{
int i = 0;
string PathToFolder = ...
0
votes
1answer
16 views
Bash: unusual line break
I coded a small script in bash, which read some HTML and should print the href of a link:
#!/bin/bash
link=$(echo $source | sed -ne 's#^.*<a href="\([^"]*\)".*$#\1#p')
if [ "$(echo "$link" | ...
0
votes
1answer
24 views
How to make hashtag links?
How to make for example www.example.com#test ?
I know how to use switches for www.example.com?test=1
But I really need www.example.com#test
Is there possibility to use $_GET function to make it do ...
0
votes
2answers
16 views
Regex to validate a url using a wildcard?
Lets say I have a list of valid domain roots,
example.com
test.com
And a variable
String url
How would I make use of a regex to validate that my variable url is on the list, including ...
0
votes
3answers
41 views
Pass a URL in a GET for PHP
I need to pass a url using a GET address. To give an example which was I have tried:
http://www.example.com/area/#http://www.example.com/area2/
I've also tried replacing the forward slashes with ...