Posts by Rogerio Santana • 71 points
8 posts
-
1
votes2
answers1134
viewsA: Hide Link for download
I was able to do it in a similar way using a downloadable auxiliary file.php <?php $arquivos = 'holerith '."$user->cod_func".' '.utf8_decode($_POST['select_mes']).' de…
-
1
votes2
answers1134
viewsQ: Hide Link for download
I’m creating a code to download holerite files, where everyone can only see their holerite. The code that I made now works, however has a flaw, as I put all the files in the same folder to…
-
2
votes1
answer394
viewsQ: Sending Email with PHP
I’m with a website where the server just block sending email from another provider, only allowing sending with the email from the domain itself, I made the change from FROM to an email from my…
-
0
votes1
answer240
viewsQ: Hide download link
I am with a difficulty, I made a system that releases file download for each specific user, this verification is done by the logged user code and filters month and year that the user fills, so…
-
0
votes3
answers11278
viewsA: How to force a PDF to be displayed in the browser
I was having a similar difficulty following the solution I found giving the two options view in the browser or Download: <?php function varSet($VAR) { return isset($_GET[$VAR]) ? $_GET[$VAR] :…
-
0
votes3
answers993
viewsA: List files in a folder containing a specific word in the name
I kept thinking about what had told me about resources so I decided to change my code to something simpler and it was like this, not yet finished but it gives to have an idea of how it will be…
-
2
votes3
answers591
viewsA: Find joomla session variables for php
With this code you will get the Joomla session information <?php // Recuperando Sessão do usuário Joomla define('_JEXEC', 1); define('DS', DIRECTORY_SEPARATOR); $path =…
-
1
votes3
answers993
viewsQ: List files in a folder containing a specific word in the name
I’m developing a system in Joomla! and I need to provide specific files for each user (holerite). I have already managed through the session to know which user is logged in. In the Joomla! , I added…