Posts by Thomas Franklin • 286 points
42 posts
-
0
votes1
answer1205
viewsQ: Integration with Juno Payment API
I’m having a hard time finalizing authentication with Juno’s api 2.0. She is asking for grant_type=client_credentials, but I’ve tried almost everything but all I got was a 400 error. Link Doc…
-
-1
votes1
answer54
viewsQ: Access data from two databases of two different tables in a query
Guys, I’m having a problem. Currently I have two databases and two tables (1 table in each database) that need to be connected in one query only. It would be a JOIN in other words, but I’m not…
-
0
votes2
answers798
viewsA: How to get header data in PHP post
To solve, I tried to use $_SERVER['X-Hub-Signature'] ended up working.
-
-2
votes2
answers798
viewsQ: How to get header data in PHP post
Guys, I’m having a hard time getting a specific header data sent by Pagar.. When sending a postback to the site server, I need to use the signature sent in Header, in case the X-Hub-Signature…
-
0
votes1
answer42
viewsQ: Decode received URL
I’m working on integrating payments through Pagar.me, but I’m not able to decode their postback to process the returned information. The return format is based on URL, I performed a url_decode() to…
-
1
votes0
answers44
viewsQ: Multi-table Data Sum Problem using PHP and MYSQL
Guys, I developed a call system, and now I need to do the report of students with the amount of absences and attendance. I use 1 table(chamadas) to register some information of the call and when you…
-
0
votes1
answer38
viewsQ: Problem with Select and PHP
I’m making a form where the person selects the Item 1, when selecting it another select appears with the categories of this item 1. The problem is when it has more than 1 item, as it is taking the…
-
0
votes1
answer74
viewsQ: Problem with PHP Expense Calculation
I’m trying to calculate expenses in the system but I’m not succeeding. The system works as follows, the User makes an order involving 1 or more products, these orders are stored in a table. Each…
-
0
votes1
answer40
viewsQ: Doubt about Encryption in passwords
I would like to know the difference between MD5 and SHA256 in passwords. If there is one that is safer and which and when it is better to use one or the other.
-
-1
votes1
answer306
viewsQ: Generating friendly URL
Guys, I made a product registration page, and I’m willing to put to access the product through the name, same as the wordpress system, but I could not find any support for this. When saving the…
-
0
votes2
answers533
viewsQ: How to delete PHPSESSID
I’m making a cart with $_SESSION and when the purchase is completed, should clean or delete the PHPSESSID (self-created). But I’m not able to delete or update. I’ve tried with unset() and…
-
0
votes4
answers16718
viewsA: How to put a space between two buttons?
When I add buttons in projects and consequently there will be the need to have another next to, I work with nth-child() and nth-last-child(). That "tag" of css consists in telling which child…
-
0
votes1
answer104
viewsA: Alert appearing at the wrong time
Dude, make these changes to your code. if($_POST['login'] && $_POST['senha']){ $email = $_POST['login']; $password = $_POST['senha']; $sql="SELECT * FROM funcionario WHERE email='$email' AND…
-
0
votes0
answers33
viewsQ: Login in Subdomain and return in the root domain
I’m stuck on this part to finish the project. The theory is as follows, you have logged in to client.site.com, and access website.com and your login data remains active, with no need to log in to…
-
0
votes1
answer105
viewsA: Could someone help me to leave a Responsive content?
John, when you start developing a responsive layout, you need to add the tag responsible for telling the browser that that site is responsive. I’ll leave some links for you to study and that will…
cssanswered Thomas Franklin 286 -
0
votes3
answers111
viewsA: I want to make a bar with my logo and my submenu
Lucas, for you to have this result, you need to work with the filter and add the blur, which has the effect of blurring. Add this line to your css. .menu li { -webkit-filter: blur(0);…
-
1
votes1
answer242
viewsA: I’m having a problem loading the page she goes straight to the footer
Felipe, the problem is you’re activating the autofocus in the input, making the browser understand that that field is activated by the user, making the page scroll straight to where the focus is,…
-
0
votes2
answers38
viewsQ: Include php with java
I’m doing a token support, like an api with an access token. Only I’m not getting the feedback when it’s in another domain. HTML <div class="modal modal-fixed-footer show"> <div…
-
1
votes3
answers100
viewsQ: Generate number count by clicking
Have some way to click on any element update the number of a tag for a higher value? Ex: the value of tag standard is 1, being the tag n, n="1" by clicking the updated element to n="2" and so…
javascriptasked Thomas Franklin 286 -
2
votes1
answer640
viewsQ: Loading login data into another domain
in the system I am making there are 3 panels, being a table of users for each panel and the public site. When the user logs in to any of the three panels, and re-accesses the public site, more…
-
1
votes1
answer199
viewsQ: Counting of items in the cart
I’m making a cart in ajax, but I’m having trouble sending the products to the bank. I could use CSS in the tag li to indicate item numbering, but does not solve the problem for sending to bank. HTML…
-
1
votes1
answer395
viewsQ: Product Registration with Select Multiple does not insert all selected
The registered items have various flavors, chocolate, strawberry, vanilla, etc, and each is inserted by select multiple in the register, it is saved as "chocolate" but the other selected flavors are…
-
0
votes1
answer21
viewsQ: Count how many Databases there are
In the system I am mounting, the Adm Dashboard shows the total number of orders, in which are created Databases for each user and within them, registered the requests by the Tables. Ex: User 75, has…
-
-1
votes1
answer137
viewsQ: Sending of Product Order
Guys, I’m putting together a product order shipping system, on the product selection page, we have the selection of them, where each one will have a input, however, undetermined, how do I send all…
-
2
votes1
answer37
viewsQ: Can you select several tables with the beginning of the same name?
At the base base_suporte, there are tables with user token and support token suporte_tokenUser_tokenSup. On the general support page, you need to show all the supports, this part is finished and…
-
0
votes1
answer157
viewsQ: Display Dialog (Materialize) with ajax without clicking the button
Guys, I’m building a ticket system and I’ve decided to exchange a closed ticket message alert for a dialog, would be the Toast materialize.com. However, I am not able to make it return already…
-
0
votes1
answer142
viewsQ: Generate image with initials of name, same as Hotmail, Skype, Gmail
I am making a code to generate image from text for client registration, for clients who did not upload image, was the initials of the name and surname as image, equal to gmail, Hotmail and etc. The…
phpasked Thomas Franklin 286 -
1
votes2
answers135
viewsA: Align two Ivs vertically after using float in one of them
Of margin: 0 on the tag ul. As ul comes by default in browsers with margin, as well as the most used tags p and h. And also with the arrival of -webkit is coming with -webkit-padding-start, that of…
cssanswered Thomas Franklin 286 -
1
votes1
answer653
viewsQ: Catch attribute with JS
I’m trying to make a product cart, and so far so good, already working, beautiful thing, however, as always, there are problems, I’m kind of new at JS, so to catch a lot, I’m trying to get the…
-
1
votes1
answer257
viewsQ: PDO 'Call to a Member Function prepare() on array'
Guys, I’m new to PDO and I’m watching some video lessons and also taking a look at the theoretical part, but when trying to accomplish a insert in DB, is returning me the following error Fatal…
-
2
votes1
answer386
viewsQ: Foreach with 2 conditions
I’m trying to put two conditions on the foreach, but I’m not succeeding. The idea is as follows: the client accesses the site in the following URL: /room/balcony and appears only products that have…
-
0
votes1
answer1113
viewsA: .htaccess does not work
As I was not able to fix the problem with the solution that works on my server, I had to change the code to fetch the data in the database, so I changed to a GET on the page and added a foreach and…
-
0
votes1
answer1113
viewsQ: .htaccess does not work
Hello, I already use these rules. htaccess and never gave me problem, so much so that use in other providers currently, I wonder if the version of apache or php on the hosting server hinders the…
-
1
votes1
answer982
viewsA: How to put a div on another with responsive?
David, I don’t quite understand your question, but if it’s just for the text to adapt to writing and stay where it is, your div text would basically look like this. div.texto { position: relative;…
-
1
votes2
answers243
viewsA: How to make one element continue with effect when passing the mouse on another?
I just made a concatenation of css, as I work more with front and back-end became easier to find the solution only with css, ai can work several identical elements with different styles, the code…
-
0
votes1
answer280
viewsQ: Change the status (online/offline) in the bank when closing the page
I’m making a chat system for a panel, and I already have it ready practically, everything connected to the database, when it login changes to online and when it comes out(click the button) it…
-
0
votes1
answer1651
viewsA: change date format in datepicker-bootstrap
Felipe, try this one: <head> <link rel="stylesheet" href="http://sites.fullprog.com/testes/assets/css/bootstrap.css"> <link rel="stylesheet"…
-
1
votes1
answer150
viewsQ: htaccess with friendly url not working(?)
I’m finishing a project, and I thought I’d put a user-friendly URL, one I had already used in another project, the same thing, I didn’t change anything, just the server and site host. Of:…
-
1
votes1
answer101
viewsQ: remove ". php" using . htacces in Ubdomain
I have a problem trying to use the page without typing the extension. Ex: http://sub.dominio.com/pagina.php for http://sub.dominio.com/pagina I have tried to find on other sites about the same but…
-
0
votes1
answer64
viewsQ: Searching for data from an ID in DB
I did a search here and on google to see if it would solve my problem without having to ask a question, but I could not find any solution. What I am trying to do is create a "related" but without it…
-
0
votes2
answers96
viewsA: use google maps on my site
You can leave the pattern on the form: https://www.google.com/maps/search/, and insert the query code into the DB in sequence with echo as in the rest of the page. Example:…
-
0
votes0
answers138
viewsQ: Search Mysql record without using ? id=id in URL
Guys, I’m trying not to use $_GET[] on the link, but I can’t find any way to make it happen. I mean, instead of "site.com/? post=name news" stay "site.com/name-news". I’ve already reviewed forums…