Questions tagged as 'php'

2
answers

PHPExcel with many records does not work, what can it be?

When wanting to export a table with PHPExcel, everything works fine when there are few records, but when there are more than 3000 records, it does not download the excel file, it remains blank, does the same thing happen to it?     
asked by 21.07.2016 / 21:09
1
answer

Login with Twitter in Laravel with artdarek / oauth-4-laravel

I do not understand how this OAth service provider is used: I have a login created, where, being a login, I hope to enter there an email and password and a button to make the request. My code is this: <div class="container"> &l...
asked by 25.07.2016 / 20:54
1
answer

Show errors when you run a Python script from php with system, in a shared hosting

I'm running a Python script from php like this,    $ mystring = system ('python test.py', $ retval); and it works, only that I would like to be able to see the errors of the Python script. It's possible? The "print" of Python for example...
asked by 04.08.2016 / 13:43
2
answers

Too many problems with PHPMailer

Yesterday I asked a question in which I sent an email with the PHPMailer function but I sent it blank. Today I try to send it and it arrives in my inbox but the problem is that it arrives as if I sent it to me, it is not taking into account the...
asked by 05.08.2016 / 15:52
1
answer

Help Distance matrix matrix API - Google Maps

I would like to know if with the distances API - Google Maps it is possible to calculate the distance of a city among others at a single time. For example: calculate the distance from New York to Paris, from New York to Peking, from New York...
asked by 25.04.2016 / 17:21
3
answers

Search in fields with HTML entities

I have a field in a MySQL database to which I have previously inserted HTML code; I also have a search engine that, when entering the word, searches for the results. The problem is that the data in HTML I have something like P & public that...
asked by 28.04.2016 / 23:06
2
answers

"fopen ()" does not update an existing file

I am working on a code that publishes articles on a page. This code works perfectly when creating the article, however, when trying to update it (publishing the same article with the same name but with different content from my admin panel), it...
asked by 30.04.2016 / 21:03
1
answer

look for repeated values and put if it is the first, the second or the third time that is repeated

I hope you can help me I have an array in which I keep numbers that correspond to a specific subject ie they are the id, but I need to go through that array and verify that if the subject is repeated it means that it is the second time that is i...
asked by 04.01.2019 / 23:51
0
answers

Connect PHP by Api to Mikrotik

Hello my question is how to establish two simultaneous connections to two mikroitk teams with user and pass in php through a link api my link code is as follows: (EYE one the teams have the same user and pass and port per api, only change the ip...
asked by 05.01.2019 / 03:22
1
answer

SMTP error 'error could not authenticate' using PhpMailer

   I want to know why I can not use the SMTP service with another account other than the one I originally used for testing, the error is not code since the first account works correctly, is there something I need to configure so that the Second...
asked by 24.05.2016 / 20:56