Questions tagged as 'url'

1
answer

Friendly urls with ten error variables

When you place 10 error variables RewriteRule ^client/product/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/?$ ikoopcore/client/product.php?name=$1&price=$...
asked by 15.05.2016 / 23:29
1
answer

Checking URL regardless of server

I need to check the URL of a page in JavaScript. I'm displaying the following alert: alert(window.location.href.toString()) The following ULR is displayed in the alert: http://localhost:9577/Painel/Index I can not compare...
asked by 28.09.2016 / 21:17
1
answer

How to access a local server from an Android device

I have a server in Django running on my computer "localhost: 8000 / posts", and I'm creating an Android client to access it. Debugging my application on a real device, I tried to access my IPv4 knowing that both the computer and the cell phon...
asked by 03.05.2016 / 18:14
1
answer

How to build a relative URL securely?

A method takes snippets of a URL and needs to concatenate them coherently, but without presupposing details about each. Examples: http://server + /path + /resource.js => http://server/path/resource.js http://server/ + /path/ + /resourc...
asked by 02.02.2016 / 02:49
1
answer

Receive URL parameter by JS (jQuery)

I need to capture a parameter from a URL, for example: http://site.com/paginas/**nome-da-pagina** I need to capture page-name with JS or jQuery.     
asked by 06.01.2016 / 14:00
1
answer

Creating Basic app that opens a url

I've already moved a little on those sites that offer "free app" and some of these sites have a good resource for me! They create an app that works with a specific url, as if the app were just a "locked" browser on a specific site! I think...
asked by 04.08.2015 / 07:20
1
answer

Add parameters to URL without changing path to file

So I have a url imagine ...    link The idea is for me to add a parameter or a variable to a url:    link This parameter is written by the user when defining the url. The idea is then to use the parameter to define what will ap...
asked by 19.05.2015 / 12:40
1
answer

How to get the url from the parent page of an iframe without being in the same domain?

I researched postMessage, but I only found examples of iframe resizing. I would like to know if there is any way to get the URL of the main page where my iframe is inserted using this or some other method.     
asked by 05.02.2015 / 14:07
1
answer

Problem in Url Friendly

I'm here with another problem regarding this line RewriteRule ^([a-zA-Z-0-9-_]+)$ index.php?controller=estabelecimentos&option=tipo&tipo=$1 [L] Hardware htaccess RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_F...
asked by 11.02.2015 / 17:33
1
answer

URL friendly with HTACCESS

I'm doing my system that will use friendly URL with htaccess, but I have a question / problem. My HTACCESS is as follows: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?p...
asked by 21.07.2014 / 04:06