Questions tagged as 'php'

0
answers

upload image to laravel ajax

I hope you can support me with uploading an image to laravel 5.6 attached. 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), ], 'archivosimg' => [ 'driver' =&g...
asked by 06.04.2018 / 19:23
0
answers

yii problems with my dependent menu

I have problems to make a menu dependent, the problem I have is that it only takes the data from one menu and the other takes all the values by default. This is the function of my controller: public function actionAjaxResultados(){...
asked by 02.04.2018 / 12:24
0
answers

change status from open to closed

Hello everyone I would like to see if there is a way to change a survey status at the moment the user answers it. that is, I have a task calendar, here I add new tasks and they are listed. I also have the option to perform. and what I require...
asked by 02.04.2018 / 21:14
2
answers

export my .php to pdf [closed]

I was currently doing it with DOMPDF, with php 5.3, but I migrated to a php 5.1 and DOMPDF is not compatible with that version of php. I need to know if there is any other library that allows me to export my .php in a simple way as it did wit...
asked by 14.12.2018 / 19:52
2
answers

Where are the phpmyadmin BLOB files stored?

I'm doing a program where I send images from any device to my computer's database on phpmyadmin, and it shows me the images in the browser. I am using the type longblob for the images and the images are saved in .bin format....
asked by 22.05.2017 / 03:04
0
answers

Repository from entity in symfony?

I have this code, from an entity: namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\Exclude; use JMS\Serializer\Anno...
asked by 14.12.2018 / 13:06
1
answer

Disable Form or button for periods

Good day, I have a form which should only be available for example one day a week from 9 am to 1 pm, I am looking for an option to carry out this, I do not know if this is possible, they could guide me please.     
asked by 14.12.2018 / 16:27
0
answers

Raise server with PHP SocketIO

I'm doing tests with PHP SocketIO. Everything is perfect but I wonder ... In local to raise the server a command is executed, but how is it done when the app is hosted in a shared hosting? Is PHP exec used or how is it done? I hope my ques...
asked by 04.06.2018 / 02:36
2
answers

My page does not connect to my database

I try to connect to my database in the following way: mysql_connect($server, $user, $pass); mysql_select_db($db); I know that mysql is obsolete but how I use an old version xampp should work. However, my page never ends up loading and is al...
asked by 01.05.2018 / 11:55
1
answer

Update a div ajax

I want to get to do a div recharge only when it finds a modification in the database I currently have this so, if you can help me I would appreciate it is for a shift system that I am doing: <?php require_once("../../db/db.php");...
asked by 02.05.2018 / 16:40