Questions tagged as 'rutas'

2
answers

Routes of Laravel

Thank you in advance, I am working on a CMS and I want to separate the backend routes and the front routes but I have conflicts. The backend is currently in / admin and whatever follows, for example / admin / users / etc ... The proble...
asked by 25.10.2018 / 01:39
1
answer

Find patterns in python lists

I have a somewhat complex problem, on the one hand I have a list that contains lists. These contain integers that represent positions on a map: rutas = [[0,1,2,3],[0,1,2],[7,4,8],...[5,6],[0,1,3,4]] I also have another list, which contains,...
asked by 18.07.2017 / 09:39
1
answer

CSS Routes Laravel Template

I am following an example of Laravel exercise and I would like to know if I can transform this: <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/css/override.cs...
asked by 02.10.2017 / 09:58
1
answer

Laravel Route :: resource

There is a problem with Laravel, with Route::resource I do not know how to solve. I create the driver from artisan, like this: php artisan make:controller PersonaController --model=Persona In routes / web.php I have Route::resou...
asked by 19.11.2018 / 19:15
2
answers

Laravel and Ajax to obtain data

I hope to explain my best so that you can give me a little help: S I have the following JavaScript code: $.ajax({ url: "{{ route('comprobar') }}", method: 'get', dataType: 'json', success: function(respuesta) { console.log("información")...
asked by 10.11.2018 / 17:20
1
answer

Create routes for node and Express server

I am creating a server with node, which is the following: var express = require('express'); var app = express(); app.get('/',function(request,res){ res.sendfile('/index.html'); }); app.listen(3000,function(){ console.log('El servidor E...
asked by 14.03.2017 / 20:38
1
answer

Problem with include_onde () when calling my db

I have this line of code include_once('./config/dbh.inc.php) to include the database to a data upload file but I get this error: Warning: include_once(./config/dbh.inc.php): failed to open stream: No such file or directory in C:\xampp\h...
asked by 20.06.2018 / 17:22
2
answers

Check if an image exists in the folder

We have a web portal in which each user appears with an image. In a folder we have all the photos of the users. The name of the images is the ID of each user. We want that if an image does not exist (the image of a user), a standard image...
asked by 25.10.2017 / 08:39
3
answers

Database in Access address route to export queries to excel

I have a Database in MS Access 2016 with a Path to export Queries to Excel. However, sometimes I must work on other computers, so I need to define a permanent Route for my Database. In the lines of code below, the first route works wel...
asked by 11.08.2018 / 16:13
1
answer

Load username PrimaryKey in url?

Good evening. I have a simple question, I am trying to list a list of variables from a MYSQL bd using its first and key. So far so easy, the complicated thing is that my route is like this projectName.com/primaryKey But I want it to b...
asked by 21.12.2017 / 02:24