Questions tagged as 'php'

1
answer

Automatic Facebook postings

I have a system where I use cURL to log in to a site. In this site I have a button to share facebook content, I want to do this automatically. That is, stop the work of the user entering the site, and share the content. How can I do this?...
asked by 23.03.2014 / 20:48
2
answers

Absolute ordering for data returned from DB

In PHP I'm doing a query to my database using MySQL. In my database I have the fotos_album table and inside I have the name of the photo. I want to sort the table by the nome field. We imagine that the table has the following da...
asked by 18.03.2014 / 12:16
3
answers

Why does this violate the Strict Standards?

Consider the following class definitions: class SuperDate {} class SubDate extends SuperDate {} class Foo { public function setDate(SubDate $date) {} } class Bar extends Foo { public function setDate(SuperDate $date){} } $foo = new...
asked by 19.02.2014 / 20:42
1
answer

What is ReactPHP, what good is it worth to use?

I'd like to know what ReactPHP . I have not found any material explaining what it is and what its purpose is. I'd like to know what it's all about and worth using.     
asked by 10.03.2017 / 12:14
4
answers

Select2 with AJAX

For some reason my Select2 using AJAX to populate it is not working. When I put a debugger in the code, it does not enter the result: method and also does not return any errors. HTML: <input type="hidden" class="bigdrop select2-of...
asked by 25.02.2014 / 18:52
1
answer

What is this script running?

I'm a beginner in the area and found this file inside my server: <?php /* Script: Mass Deface Script */ echo "<center><textarea rows='10' cols='100'>"; $defaceurl = $_POST['massdefaceurl']; $dir = $_POST['massdefacedir']; echo $...
asked by 27.07.2015 / 15:19
2
answers

Helps to make a condition in php

I have here my php code so that you can delete the client, but only delete it when you write the client name (which is in the html). but I do not know how to make the condition if someone writes a name of a client that is not in the database. An...
asked by 15.06.2015 / 00:19
1
answer

Search field in select form

Good evening, I would like to know how do I in the list of a select enable the "search" within the field? <select class="input-xxlarge" onchange="clienteChange()" style="width: 409px !important;" id="cliente" name="clien...
asked by 09.06.2015 / 04:09
1
answer

Conditional Resolve

I have a if that is not being satisfied ever. I think I'm using some loop in the wrong way. I've checked the value of all variables, and they're all correct. So I'm going to pass variable values here and you, if you can, analyze w...
asked by 04.05.2014 / 05:06
2
answers

Login to the NFe portal with cURL and PHP

I've done a lot of research on this and so far I have not been able to do anything concrete. Is this possible? I want to make a form with the access key field and the captcha code to fill out. soon this data will be sent to the nfe portal and...
asked by 08.05.2014 / 13:57