Questions tagged as 'url'

1
answer

How to work with absolute URL?

I am developing a system and to perform the tests I am using xampp. That is, everything is accessible through the address:    localhost / myite /... To call all the links on my site, as well as include files, I'm using absolute url, for ex...
asked by 12.08.2017 / 02:22
0
answers

Friendly / Optimized Url does not open [closed]

I'm optimizing the URLs of a website and I had a problem. Some pages do not open after receiving the optimization, actually the page is found and inserted in the path, but the page content stays the same. In some cases I have been modifying /...
asked by 17.07.2017 / 14:22
3
answers

Delete part of a string and keep URL contained in it

Within a string there is an excerpt used by Wordpress to display the image in the middle of a story, is it possible for me to remove all of that portion of the string and take advantage of the URL of the image? $conteudonoticia = '[caption id=...
asked by 22.06.2017 / 19:32
1
answer

htaccess with friendly url not working (?)

I'm finishing a project, and I thought of putting a friendly URL, one that I had already used in another project, the same thing, I did not change anything, just the server and host of the site. From: www.site.com/noticia?id=1 to ww...
asked by 21.05.2017 / 12:18
1
answer

Retrieves values using classes and pdo without going through the url

Good afternoon, I have a class where I pass all methods insert , update , delete , consulta(fechall) and consulta(fech($id)) Below I show the class of consulta(fech($id)) public function selId($id){...
asked by 06.06.2017 / 21:57
1
answer

Controller Web API Standardization

I would like to know the following. Imagine the following URIs: (1) api / orders (2) api / orders / 10 (3) api / orders / 10 / items The URI (1) and (2) I am sure they would be inside a class called RequestsController, since to (3), I...
asked by 12.04.2017 / 19:58
1
answer

Error trying to download zip from BMF with python

I'm trying to download BMF zip files at a time ( ftp://ftp.bmf.com.br/ But there is an error in the program that does not find the file, but it does exist. follow the code: from io import BytesIO from urllib.request import urlopen from zipf...
asked by 12.04.2017 / 00:34
0
answers

How to retrieve only the parameter of a url through a managed bean

I wanted to know how to retrieve only the parameter from this url in a managed bean http://localhost:8180/blabla/teste.xhtml?codigoEmpresa=754 Follow my managed bean: package br.com.sipag.web.sipagpremios.mb; import java.io.Serializable...
asked by 23.02.2017 / 23:06
1
answer

Use friendly URL without folder navigation

I need to identify the user using a friendly url, for example: https://site.com.br/usuario/sistema.php How can I make this identification, since there will not be any private folder for individual client browsing. I already have the sy...
asked by 26.12.2016 / 22:30
1
answer

How to get an infinite route in Codeigniter?

I have two urls: link link And I'm having these routes: $ route ['search / (: any)']="Search / index / $ 1"; $ route ['search / (: any) / (: num']="Search / index / $ 2 / $"; I'd like to use an infinite url but I can not ge...
asked by 19.11.2016 / 00:04