Questions tagged as 'php-7'

0
answers

PHP7 SOAP problem

I started a project using php 5.6.26 and managed to communicate with the e-frete server via SOAP without any problems. This week I decided to update php to version 7.0.13, and communication via SOAP stopped working. I made several modificatio...
asked by 15.11.2016 / 23:41
0
answers

Error in Curl adapter used Solarium - Solr with php 7

I use Sorl in version 5.4, perfectly working Solr's own interface. I installed Solarium to make application development easier. However, when testing the examples following the initial guidelines I get the following error: Fatal error:...
asked by 15.02.2016 / 14:39
1
answer

Execute stored procedure in oracle database in PHP

I have procedure " example1 " which receives 3 input parameters and none output, how do I execute it in PHP . That would be the case. EXEC "exemplo1"('para1','para1','para3'); $sql = 'EXECUTE "PORTAL_importaXml"'. "(?,?,?...
asked by 03.09.2018 / 21:42
2
answers

View project - PHP [closed]

I'm starting in the PHP language and would like to know how I can view my project, since when using localhost the error "404" appears with the message "Not Found". The directory of my .php file is this:    C: \ xampp \ htdocs \ store T...
asked by 11.12.2018 / 14:14
1
answer

simplify a big IF!

I have the following condition to test: if (isset($_GET["cadastrarMembro"]) && ( $_SESSION["acesso"]["idAcesso"] == 3 $_SESSION["acesso"]["idAcesso"] == 5 $_SESSION["acesso"]["...
asked by 05.01.2019 / 19:35
1
answer

Extension pgsql Does not load in PHP7.x

I'm changing from PHP5 to PHP7 on windows 10 (machine development), all my settings went up fine, MySQL, Firebird, PDO MySQL, PDO PGSQL, but the blessed native PGSL does not go up, I've already enabled the line "extension = pgsql "and checked th...
asked by 04.12.2018 / 14:03
1
answer

Wordpress with php 7+

I upgraded my server to php version 7, but I can not access the site. Following is an error message. A página de site.com.br não está funcionando site.com.br não consegue atender a esta solicitação no momento. HTTP ERROR 500 Does wordpress...
asked by 15.03.2017 / 02:42
0
answers

Operator null coalescing, ternary and empty

Is there any alternative to !empty($foo) ? $foo : $bar ? Since $foo ?? $bar , accepts false and $foo ?: $bar is not used to check array indices or unset variables. I'll give you an example using empty : pu...
asked by 16.12.2018 / 16:42
0
answers

Pass some values from a dynamic form to the Database

I'm making a dynamic form that stores formulas for accounting reports. All form data is entered in the same id (fields), and the account and operation fields have indexes (account1 and operation1). Return example: array(30) { [0]=>...
asked by 28.12.2018 / 15:00
1
answer

Indefinite Index - PHP

In my PHP code, even with MySQL and Apache connected, the error appears    Notice: Undefined index: name in C: \ xampp \ htdocs \ store \ add-product.php on line 4       Notice: Undefined index: price in C: \ xampp \ htdocs \ shop \ add-prod...
asked by 11.12.2018 / 17:43