Questions tagged as 'php'

0
answers

Problems sending form with jquery and validating it

I have the following problem, I have a form and I am including each part with php and validating the form with a jquery library this is the link Jquery validation , I validate the form and show the following but in the following form after vali...
asked by 27.03.2018 / 17:23
0
answers

Slim does not register and does not update the data in mysql

I am creating a REST API with slimframework and a library called fluentPDO but I have problems when registering and updating the data. This is the code snippet of empleado_model.php public function registrar($data) { $data['Password'] =...
asked by 17.03.2018 / 00:51
0
answers

Validation of data in Codeigniter

   Controller public function update($id){ $method = $_SERVER['REQUEST_METHOD']; if($method != 'PUT' || $this->uri->segment(3) == '' || is_numeric($this->uri->segment(3)) == FALSE){ json_output(400,array('stat...
asked by 16.03.2018 / 22:53
0
answers

Create WaterMark using Php Office / php word [closed]

What a good afternoon, I am trying to add a background image for each of the pages created in my word file, using the php library / phpword, the file I generate it with code only I can not add a mark of water, is there any way to do this?     
asked by 15.03.2018 / 00:00
1
answer

Problems with bindValue

I have a doubt when using bindValue, I do not link the value of the variable to the sign placed in the query. I leave the code; I hope you can help me <?php $pdo = new \PDO('sqlite::memory:', null, null); $pdo->setAttribute(\PD...
asked by 15.03.2018 / 10:17
0
answers

problem connecting via pdo

I'm using pdo to connect to a mysql database, before it worked perfect, but now something has broken. The error messages that appear are: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\taller-poo-a\app\database\D...
asked by 03.04.2018 / 20:48
0
answers

how to correctly ping php?

I'm currently building a tool to test the availability of a website, I'm doing it in php and it works great <?php function pingDomain($domain){ $starttime = microtime(true); $file = @fsockopen ($domain, 80, $errno, $errstr, 10)...
asked by 19.04.2018 / 21:11
0
answers

is there a row limit for a table using the jquery dataTable plugin?

I'm using datatable to show records that are queried to a database by means of a web service, I see that the records are drawn correctly when the rows do not exceed 10,000 records on average, the more problems begin when drawing the board, the q...
asked by 19.04.2018 / 21:45
0
answers

Error migrating from SQLite3 to PostGreSQL: No operator matches the given name and argument type (s). You might need to add explicit type casts

SELECT ag.user_id, ag.user_des, ag.user_login, ag.user_pwd, ag.act_readers, ag.h_reader, ag.email, ag.phone, ag.workgroup, ag.suspended, ag.accesstype, ag.firekey, cli.tpdoc FROM agenda ag INNER JOIN Cliente cli ON ag.user_id = cli.doc...
asked by 19.04.2018 / 14:50
1
answer

Send and collect data sent with AJAX

I am doing a small system but I can not send the data with serialize() to my controller. How can I solve it? JavaScript that sends the data via AJAX: $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf- token "]')...
asked by 07.03.2018 / 20:13