Posts by Raul3k • 315 points
13 posts
-
1
votes1
answer348
viewsA: Display photo of logged-in user from SESSION
Hello! First have to know how this saves the photo in the bank, this in the same table that you are selecting? Ex: $_SESSION['usuarioFoto'] = $resultado['foto']; Then you would put the path or just…
-
0
votes1
answer854
viewsA: Return Json using Mysql
Why don’t you use it this way? while ($row = $result->fetchAll()) { $encode[] = $row; } echo json_encode($encode); Even in the previous way it was returning json correctly, but that’s enough. If…
-
1
votes1
answer111
viewsA: Phpstorm - How to create a Patch file by skipping whitespace
User @jbaptperez in a comment, recommended a read link that solved my problem: https://stackoverflow.com/questions/4770177/git-patch-does-not-apply The answer was: git apply --ignore-space-change…
-
0
votes1
answer153
viewsQ: Doctrine2 + Symfony2: How to bring more than one entity into queryBuilder
Hello. I have the following doubt. I’m doing a select on several different tables, I want to bring some of them. But any way I try, it either returns only the main or a mistake. Can you help me? $em…
-
2
votes1
answer394
viewsA: Check if URL in the correct format
It seems to me that $this->blog->url_format_category($data['category_session'][0])); is already returning the entire URL. Try to change: redirect(base_url().…
-
1
votes3
answers3857
viewsA: Pagseguro does not redirect customer after payment
About the first problem, I found a solution on google. In your question you quoted: This must occur because my site is https, but I don’t believe it is the problem.. In that link you can see the…
-
2
votes1
answer111
viewsQ: Phpstorm - How to create a Patch file by skipping whitespace
I can generate a patch file with the changes to be commited in git. How can I generate this Patch file by ignoring whitespace just like I do on the View Changes screen? Some old files have tabs…
-
0
votes2
answers312
viewsA: Apache results in Unavailable Service after installing Nginx and hhvm
After much research and with the help of the staff here I finally managed to reach a solution. When installing HHVM it has already configured Nginx and apache, but I didn’t want apache working with…
-
0
votes2
answers312
viewsQ: Apache results in Unavailable Service after installing Nginx and hhvm
I installed the Nginx and the HHVM to test the language Hack. Everything perfect, I can program in Hack and PHP using that set. However, in giving stop in the Nginx and HHVM and start in the Apache…
-
1
votes1
answer296
viewsA: Convert data javascript to work in PHP
My mistake was trying to convert the time passed by javascript straight to PHP. After the comments on the question itself,I made the requested changes and is now working. Follow the code working for…
-
1
votes1
answer296
viewsQ: Convert data javascript to work in PHP
I’m trying to capture the file date via javascript and send it to PHP. Motive? I want the date of the last file change. $('#last_modified').val(arquivo[0].lastModified); Variable file is: <input…
-
1
votes1
answer188
viewsQ: generate php image without saving to disk and send attachment
So, I have a script that generates a boleto in image format (using imagegif()). I wonder if there is a way to send this attached boleto (use phpmailer) without having to save the image to disk.…
-
2
votes2
answers377
viewsQ: Generate diff patch between two branchs
I have to generate a patch of the changes I made. The problem is that I have 2 branchs and I have to generate the patch of the Branch2 files relative to the Branch1 diff (which is where the original…