Questions tagged as 'php'

2
answers

How to camouflage a page link

example I see many pages creating an m3u file and hosting but if you try to paste address in the browser to download the file the page redirects without downloading or showing the file to another page. this is done in php pages     
asked by 25.06.2015 / 00:11
1
answer

Manipulate images in base64 with PHP

I have some basic64 encoded images in PHP. I need to resize these images by setting a maximum size for them before storing them in the database. How can I do this?     
asked by 07.07.2016 / 16:35
3
answers

Multiple entries in class attribute do not work [closed]

I want to show a simple alert in php with bootstrap but I'm not getting the code this is: echo " <div class=alert alert-success role=alert>Logado com sucesso</div> "; But you're interpreting the div class like this: <div c...
asked by 02.07.2016 / 23:40
2
answers

Where in integer field [] Postgresql

I'm creating a select where I need to check on one of the columns that is of type integer [] if it has one of the values passed in the condition. For example: idTarefa | Setores 1 | {1,3,4} 2 | {2} Knowing that the Sectors...
asked by 28.07.2016 / 14:39
1
answer

How to configure security for dedicated servers and VPS?

I'm having problems with the security settings for virtualized (VPS) and dedicated servers. What do I need to do to protect my Linux server with Apache against major security threats such as rootkits, exploiting common open ports, root loggin...
asked by 08.06.2015 / 18:45
3
answers

Change modal content

I have this html: WhenIclickonsaibamais,amodalopenswiththeinformationaccordingtotheplan.Thehtmlandmodalcontentisbasicallythis:<divid="abrirModal" class="modalDialog"> <a class="close" title="Fechar" href="#fecharModal">X</a...
asked by 28.05.2015 / 18:44
1
answer

Erase the first number if in case 0

How do I delete the first number if it equals "0", for example, I have the following number "0123" would be "123", if it were "123" nothing would happen.     
asked by 05.05.2017 / 13:03
1
answer

Dynamic update without page refresh

Personal oops, all right? Next, I'm doing an administrative area and would like the content to dynamically update without the need to refresh the page to see if it has anything new. For example, if the administrator is on the order page and e...
asked by 16.03.2015 / 15:23
1
answer

HTML & PHP - unread HTML code

I have following code on the part of PHP does not present any error, the page appears blank and does not show the HTML code. <?php include("config.php"); if($_GET['key'] && $_GET['reset']) { $email=password_hash($_GET['key'],PASSW...
asked by 15.05.2017 / 00:10
3
answers

SELECT filtering the first results

I have the HIGHLIGHT field (yes) (no) I would like to display the results by removing the first 4 results HIGHLIGHT (yes) and display the rest of the records both the (yes) from the 4th and the not I tried to use LIMIT OFFSET more d...
asked by 02.03.2015 / 21:53