Questions tagged as 'php'

1
answer

How to send an email confirmation to the registered user through Wordpress?

I have this registration routine and need to send an email confirmation when the user registers, how can I do it? // SETUP NEW USER $data = array( 'display_name' => esc_attr($_POST['display_name']), 'user_login' => esc_attr($_PO...
asked by 01.05.2014 / 17:25
1
answer

How to retrieve remote text from PHP in jquery.validate

Friends, I would like to know how to remotely retrieve the text of messages from jquery.validate in PHP. $('#ajax_form_inclusao').validate({ rules : { numeroContrato : { required : true }, dataInicial :...
asked by 06.05.2014 / 16:56
1
answer

Problem passing parameter via GET MVC

I can not get the values by GET within a controller or action , example: Does not work: example.com/controller/?q=nome example.com/controller/action/?q=nome It works: example.com/?q=nome OBS: POST type parameters work...
asked by 21.05.2014 / 19:36
1
answer

how to display the first line of a text snippet, linking this to the page where it is?

I need to display the first line of text that will be between [shortcode] and that this line is a link to your source page. The code below works, it displays a div, but I want to display the first line of the text that I put [shortc...
asked by 29.10.2014 / 12:05
1
answer

FTP Download via PHP

I need to remove a file from an FTP server using PHP. How to do this?     
asked by 26.10.2014 / 21:07
1
answer

php email - Swift_Attachment does not work

I'm trying to send an email but I can not attach a file. The file is copied to the upload folder 'tmp', I checked it and it is there. If I comment on the line that attaches the file, the email is sent but not sent instead. HTML: <div...
asked by 20.10.2014 / 15:42
1
answer

POST is empty depending on the site I use

I have a project in Codeigniter that is in a folder within the domain. The folder structure is as follows:    / domain / Web / project / I'll call domain and project because of the client / site name I can access the site in two way...
asked by 16.06.2014 / 21:12
1
answer

CodeIgniter shows strange errors

I'm developing a CodeIgniter application, but I've reinstalled the WampServer . In the place where a form existed now shows this code below. 'id', 'value' => $id, 'size' => '6', 'readonly' => 'true')); ?> 'login', 'value...
asked by 19.06.2014 / 03:30
1
answer

Manage iframe activity

Good evening everyone !!! I came to ask for a help from you. I'm building a .php page with html structure that contains an IFrame in your body. As soon as this .php page is opened, the iframe loads a web page that is not managed by me, but I can...
asked by 25.07.2016 / 01:43
2
answers

How to do a SQL query with some blank criteria? [duplicate]

I'm creating a filter for a database search in a PHP application and obviously I have a lot of criteria, but I've only managed to work with only one criterion. Code: select codigo, despesa, data, estabelecimento, valor from financeiro whe...
asked by 19.07.2016 / 04:56