Questions tagged as 'url'

3
answers

Problems with regular expressions (friendly url)

I'm having trouble reading a product's code from a friendly URL. With the regular expression that I put, it is accepting all the characters that are in front of the product code, that is, typing produto/9789/quantidade/5 it understands...
asked by 23.12.2014 / 13:46
1
answer

How to get only the domain of a URL?

The domain is not the localhost . If the user types a link, for example, http://exemplo.com/pasta/pasta2/past/ficheiro.php , I want PHP to return only this part of url exemplo.com     
asked by 22.01.2017 / 23:57
2
answers

How to correctly save an image URL in MySQL database?

I'm testing the targeting of images with the URL. But during the tests, the URL was returned with changes as seen below: URL entered in the database: http://www.meusite.com.br/pastaimagem/logos/imageLogo.jpg URL returned by the bank: h...
asked by 23.02.2015 / 21:33
3
answers

Get the name of the Image in the URL

I need to get the image name in the url. /data/data/com.intel.appx.IZICondominios.xwalk15/files/_pictures/picture_006.jpg I need you to come back:    picture_006.jpg The URL template is not fixed, every situation can change. You can...
asked by 19.12.2015 / 17:50
1
answer

How to get profile image via authentication using facebook API php

I would like to know how to copy an image from a link without extension, that is, I already used several methods that work for images with extension, but without extension I have not yet, where will I use to copy the image of the Facebook profil...
asked by 28.08.2015 / 20:30
2
answers

Problem with very large URL

I'm trying to pass a URL per GET and the server is returning error 404 because the URL is too large (I'm passing an XML through the URL). I have already tried to add the MaxFieldLength variables with 1677721 and MaxRequestBytes with 1677721 i...
asked by 10.10.2014 / 19:59
2
answers

How to return the page with the anchor of the LARAVEL id?

After submitting the form I return to the page in question with two methods, redirect() and back() . In case I'm using the bootstrap tabs and would like to get back with the anchor of the id, eg: return redirect()->back(); /...
asked by 21.06.2016 / 22:42
1
answer

Send and pick GET by AMIGAVEL URL

I have this tag in the index <a href="projeto">Projeto</a> What sends me to this page    localhost / project.php What I'm leaving like this    localhost / project With RewriteEngine on RewriteCond %{REQUEST_FILE...
asked by 15.03.2018 / 00:11
2
answers

301 redirect out of domain with htaccess

I have a www.dominio1.com.br domain that points to the root of my site and another www.dominio2.com.br domain configured as a redirector for www.dominio1.com.br/novo . However, I would like the url to continue to see www.d...
asked by 02.03.2015 / 01:51
1
answer

How do I get current url in Javascript?

I'm using jQuery. How do I get the current and complete URL path, I want to assign it to the current url variable. $("#id_ativo").change(function(){ $.ajax({ type: "POST", url: url_atual, ...     
asked by 23.07.2015 / 22:34