Questions tagged as 'php'

0
answers

Multi language in login - Moodle 3.5

Dear colleagues I am editing a multi-language theme of moodle which for the moment I need to make some changes in the instructions of the registration page. I have examined and in the file login_form.mustache I find this code in H2 you see first...
asked by 22.09.2018 / 01:25
0
answers

insert codeigniter

Hi, I want to insert it in my db but for some reason I can not see the error. <!DOCTYPE html> <html> <head> <title>x</title> </head> <body> <form action="<?= base_url('PeliculasControlle...
asked by 21.09.2018 / 20:08
1
answer

Enable Input According to a select PHP SQL - SERVER

Cordial Greeting. I hope you can help me with the problem I have, or an idea of how to achieve what I want. I tell you what I want to do: I have a Select PHP - SQL: Contains in the database: Id, Name, Field1, Field2, Field3, Field4, Fi...
asked by 09.10.2018 / 13:53
0
answers

problem with captcha only in chrome, using php

Something strange happens to me, using the php rechatpcha with php, I did not have problems, but when I upload exactly the same site to another server, (changing the secret keys) it stops working, that is, it always directs me to the message of...
asked by 09.10.2018 / 14:21
0
answers

Substitute a variable within a field in a table

My problem is this: I have a table with several fields, in one of them type longtext , the user saves a mail sending format, for example Hello $nombre I send this test mail to $ name so far so good, the program in php works...
asked by 16.09.2018 / 17:45
0
answers

Why does mail work return false?

perform the php ini and smtp settings but still the mail function Below example mail('[email protected]','hola','holaquehace') return me false try with Below example mail('[email protected]','hola','hhoajljla\r\n') and...
asked by 16.09.2018 / 23:22
0
answers

SOAP works with xml via soapui but not with PHP

My query is as follows: I need to consume a Web Service type SOAP, but it is consumed without any problem by SOAPui, but when trying to consume it by PHP, it responds that one of the values is not valid or is not recognized as a value. This i...
asked by 16.09.2018 / 22:08
0
answers

Dompdf page number

I need help, I'm using the Dompdf library, I managed to generate the pdf. It also shows me the page number. What I want to do is that the page number starts with a number that I assign to it. Is it possible to do that? Thanks.     
asked by 17.09.2018 / 01:49
0
answers

Upload and unzip files in PHP

I have this snippet of code to upload and decompress zip files on the server and it works. I have two doubts, in principle it is only to upload zip files but it is assumed that if you try to upload something else it will give the message that on...
asked by 16.09.2018 / 16:38
1
answer

Error uploading data to DB in CodeIgniter

Basically I have the following in my controller: $title_input = strip_tags($this->input->post('title')); $slug = str_replace(' ', '-', $title_input); $slug = strtolower($slug); if($title_input != ''){ $data = arr...
asked by 17.09.2018 / 06:31