Questions tagged as 'php5'

0
answers

Error with synfony: Failed opening required autoload_real

Dear I have this error in symfony and it does not let me raise my project: c> php bin/console server:start --docroot=html PHP Warning: require(F:\xampp\htdocs\guiame-positiva\vendor\composer/../symfony/phpunit-bridge/bootstrap.php): faile...
asked by 23.11.2018 / 13:12
2
answers

Inquiry about Phpmailer and link to Gmail account

I am wanting to associate a gmail account with Php mailer but I am not having an answer when it comes to receiving data from a form. The page I'm doing is the following and the file I'm doing is the one I attached below. What I do not know if...
asked by 25.11.2018 / 21:07
1
answer

How to generate a message after completing a form correctly

Hi, I wanted to know how I can do so that when a user completes the form correctly, it generates a sending message without having to generate an extra page of sending. The idea that I had was that once the form was completed and the form disappe...
asked by 13.11.2018 / 00:48
0
answers

PHP API with React Native to upload image and text

When I try to upload with html and php, I get perfect with this code <?php // Create database connection $db = mysqli_connect("localhost", "root", "", "image_upload"); // Initialize message variable $msg = ""; // If upload butt...
asked by 12.11.2018 / 22:54
0
answers

Validate field type file so that it only accepts certificates open ssl in Cakephp 3

I have a field type file is the following: <?= $this->Form->file('key', [ 'id' => 'form__key', 'class' => '_oculto js--file__upload', 'name' => 'key', 'data-file' => 'application', 'acce...
asked by 08.11.2018 / 22:50
2
answers

Name of Variable session according to query variable

I want to create variables $_SESSION according to the name of the data that brings me from a query while ($row = oci_fetch_assoc($validacion)){ borrado($row["ID_CENTRAL"]); $_SESSION['echo $row["ID_CENTRAL"];'] = $row["ID_CENTRA...
asked by 26.10.2018 / 17:06
2
answers

Join 2 array without using merge or foreach

The problem is explained simply, I have two arrays: array(0,1,2,3,4); array(5,6,7,8,9); I need both arrays to make one only: array(0,1,2,3,4,5,6,7,8,9) But I can not use foreach or while, since they are arrays that contain at least 100...
asked by 29.10.2018 / 03:55
1
answer

How to find the largest and smallest number in a 2-dimensional array of 6x7?

   for each row of the two-dimensional array that prints the largest number and for each column the smallest number <?php $array=array("uno"=>array("1"=>rand(1,300), "2"=>rand(1,300),...
asked by 09.10.2018 / 05:24
1
answer

Pass a javascript variable to php without input [duplicate]

Hello everyone, please, if someone can help me, I need to pass a javascript variable to php .. I have this function <script type="text/javascript"> function operacion(field) { var form = field.parentNode; var numero...
asked by 05.10.2018 / 16:09
1
answer

Conditional on setCellValue phpExcel

as I can add a conditional within -> setCellValue, for example: ->setCellValue('L'. $i, if($suma==4){ $suma=5}); $objPHPExcel->setActiveSheetIndex(0) ->setCellValue('A'. $i, $row['idemp']) ->setCellValue('B'. $...
asked by 21.09.2018 / 00:47