Questions tagged as 'php'

1
answer

Notice: Undefined index in variable $ _FILES (PHP upload) [closed]

I created this code to add products to my database, but an error occurs in the image, says that I did not define it. The code is this: <?php ob_start(); session_start(); require 'ligarDb.php'; $error = false; $nameError =""; $imagem...
asked by 21.03.2017 / 13:06
0
answers

You can use different PHP versions in lampp

I'm using linux Manjaro with the local lampp server, however the version of my php is 7.2 but I want to use the 5.6 to do some tests, my question is is it possible for me to do this procedure using the lampp?     
asked by 03.04.2018 / 04:26
1
answer

Excel spreadsheet with unreadable cells while filtering

I'm creating a spreadsheet of Excel using phpExcel() . When placing filters, the result of cell C3 and C4 where subtotal SUBTOTAL() is found looks like this: No filter WithFIltro Does anyone know why...
asked by 22.02.2017 / 18:57
0
answers

Call to undefined function fastcgi_finish_request ()

I have a Linux server where php is configured with nginx + fcgi. The fastcgi_finish_request function works correctly as expected. I have another machine with Windows 10, configured with apache + fcgi. The windows httpd.conf file has the...
asked by 28.02.2017 / 14:26
0
answers

What does this error mean after calling the openssl_encrypt function?

When calling the function openssl_encrypt , it is always returned false. When I check the openssl_error_string function, I get the following error:    error: 0906D06C: PEM routines: PEM_read_bio: no start line The code I'm te...
asked by 22.02.2017 / 18:33
1
answer

Failure to communicate with PHP webservice

I'm trying to access a PHP webservice through an ASP.NET application ccbusca.pesqwebservice client = new ccbusca.pesqwebservice(); client.Url = "http://www.ccbusca.com.br/webservice.php"; ret = client.ws_pesqcpf("VISUALFIX01", "XXXX@", "302X"...
asked by 03.02.2017 / 04:11
0
answers

how to tag people in instagram photo using PHP [closed]

How do I tag people in photos before uploading to instagram using php I am currently using this api and I can upload the photo with the desired text for instagram, but I wanted to tag the person in the photo before uploading the photo. Would...
asked by 06.09.2018 / 12:04
2
answers

registration confirmation via email

I am putting together a registration system and only the part of the confirmation in the email is missing to finish and I am not able to do this part. I already searched for tutorials on youtube and tried to apply them to my code, but that does...
asked by 03.04.2017 / 21:38
0
answers

Handling of parentheses in PHP search [closed]

I have a system that follows the concept of information retrieval of Artificial Intelligence. Example: ovo // Search all documents that have an egg not ovo // Search all documents that do not have an egg. ovo and óleo...
asked by 01.04.2017 / 02:59
1
answer

Should I create a class for each "input", or just methods of a class "form" enough?

Well, I have a logical doubt. I started learning PHP OO recently, so this question is more for educational purposes than anything else. My goal is to create a class "form" that will build HTML forms. This class will have attributes like "id...
asked by 22.03.2017 / 14:14