Questions tagged as 'uri'

1
answer

What is the purpose of the Uri class?

What is the Uri class and what is its purpose and where should I use it? Can not pass an object from it to a string variable see in the example: String caminho = new Uri(@"c:\Windows"); Generate the following error:    Error 1...
asked by 10.03.2016 / 01:30
1
answer

page with search get is not showing because of REQUEST_URI

Well, I'll try to make it happen! I have a site in php where you have the config.php file with the following lines <?php $current_page_uri = $_SERVER['REQUEST_URI']; $part_url = explode("/", $current_page_uri); $page_name = end($part_url...
asked by 21.06.2018 / 20:42
1
answer

Reinf - Problems assigning content in the Reference URI tag

Has anyone ever been in this situation? Error assigning content in signature tag: Signature - > Reference - > URI When assigning content in the Signature Reference URI tag I'm getting an EXCEPTION , see below:    javax.xml.crypto.ds...
asked by 14.06.2018 / 21:09
1
answer

How to check if a URL was successful in QML?

In QML, I can run an external URL using: Qt.openUrlExternally(url); With this, I can, for example, have the Facebook app open in a certain profile: var test = Qt.openUrlExternally('fb://profile/###########'); However, if the Facebook a...
asked by 19.05.2014 / 18:11
0
answers

Error in single query in Sqlite bank using content provider

I'm having a problem that when trying to query the database of my application through the Content Provider. When I start the database query the application crashes. I did tests using any integer as id for the query, The application works normall...
asked by 18.04.2018 / 17:35
0
answers

URI Question 1463 in C, I can not identify the problem in the code

I am trying to solve Question 1463 of the Online Judge URI, link: link However I get the message of 100% error or timeout exceeded, could someone show me what would be wrong in the code below? #include <stdio.h> #include <stdlib.h&g...
asked by 07.11.2017 / 22:48
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
0
answers

Error passing parameter to function

I've lost full access to my sites and am trying to pass the posts on it to a new one. I have a code that reads the sitemap from it and takes the urls and another one that catches the url , separates the part that I need and put in my new...
asked by 18.05.2015 / 19:53
2
answers

Putting classes into elements according to the last URI

Well, I have the following code: <body> <?php $server = $_SERVER['SERVER_NAME']; $endereco = $_SERVER ['REQUEST_URI']; ?> <!-- Menu principal --> <nav class="navbar navbar-default"> <...
asked by 05.02.2017 / 21:43
1
answer

Difficulty with two segments of uri

They are trying to create the url, where the first segment is the user and the second is his file, eg link Controller public function user() { $user_url = $this->uri->segment(1); } ^ This would return the profile with all f...
asked by 18.10.2014 / 21:49