Questions tagged as 'php'

2
answers

error when installing dingo / api

I'm trying to install dingo / api for an api rest in laravel 5.1 but when I execute composer require dingo/api:1.0.x@dev it throws me this error: Your requirements could not be resolved to an installable set of packages.    Problem...
asked by 28.06.2016 / 17:10
0
answers

when using the mail () method of php mailer, if you send the mail, but why the status of the http request is "canceled"?

I am using the php mailer library to send emails, in my project it is working well, send the emails that I indicated, but my question is why the status of the request is "canceled"? Besides that, when I see the detail of the request, it tells me...
asked by 24.08.2016 / 21:51
1
answer

CodeIgniter PHP 404 not found

I have created a PHP record, to save the data of an HTML form, in a database. When I hit the save button I get "The page you requested was not found", I have no idea why. class Home extends CI_Controller { public function index() { // L...
asked by 02.08.2016 / 21:38
0
answers

Does Facebook SDK of Facebook require SSL? [closed]

With js I can get all the information but I read on the internet that some have problems some with php say that it is for the hosting and others because it requires to have an SSL certificate some know if it is like this or not? because in the d...
asked by 01.07.2016 / 19:55
0
answers

How to insert a row from php to google spreadsheet [closed]

Hello to the whole community, Well I'm working on a project in which I want to automate a series of things, what I need is to know how from php I can insert a row or rows in Google spreadsheet. I have read that it can be developed through the...
asked by 13.07.2016 / 07:49
1
answer

How to do require all the .html files of a php directory [closed]

I have a directory with .html files that are articles for a post I recently asked a question on this site and they recommended this code that works perfect for the question. <?php // incluimos la cabecera require("cabecera.php"); // si...
asked by 15.07.2016 / 21:44
1
answer

Save report form

This form has been removing gray hair for a few hours and I can not find the reason why it is not saved. I have the following PHP code, which I use to save a form in the DB <?php session_start(); $conexion = mysqli("localhost","root",...
asked by 25.07.2016 / 00:33
1
answer

Access denied error 1011 when obtaining an image with file_get_contents?

I would like to know why I can not access the image and show it, every time I run the script the image is not displayed and when I open it from my host I get the following:    Error 1011 Ray ID: 2c82fb8597081629 • 2016-07-25 22:17:31 UTC   ...
asked by 25.07.2016 / 22:25
2
answers

setcookie error in php

Why this simple code shows error assigning the cookie as if something had already been written before setting the cookie <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" co...
asked by 20.06.2016 / 20:44
1
answer

Google Charts from PHP and JavaScript

I am developing a small tool to perform dynamic reports on a ticket tracking system. So far I'm doing the reports by hand, but I want to automate it. In these reports I would like to add some graphs that feed each month and form a small big d...
asked by 17.06.2016 / 03:35