Posts by Pedro Ribeiro • 155 points
16 posts
-
0
votes1
answer40
viewsQ: Success message after password exchange
I want to show a success message after the user changes password, with bootstrap and PHP. Follow what I’m trying to do: if($login == null){ header("Location: index.php"); } else { $_SESSION["email"]…
-
2
votes2
answers57
viewsQ: Error in Laravel 5.0
I have a connection problem in Laravel when running a query: PDOException in Connector.php line 47: SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)…
-
1
votes2
answers134
viewsQ: Showing div with jquery
Good afternoon, I want to show you the content inside each div of this is, but I’m not getting it: <?php for ($i = 1; $i < 10; $i++) { ?> <div class="cada-texto"> <a…
-
-2
votes1
answer98
viewsQ: Verification in login form
I am not able to do a check in the database, to make sure that the user exists. Follow the code: private void button1_Click_1(object sender, EventArgs e) { string conexao = "SERVER = localhost;…
-
0
votes1
answer41
viewsQ: Doubt in news system
I made a news system, ai na index.php aparece um breve resumo da notícia, ai quando a pessoa clica em "Ver mais" ela vê a notícia completa. But "See more" is a 'href'. And I don’t quite handle GET…
-
1
votes2
answers574
viewsQ: How to catch the "name" in an HTML editor?
I am with a question, as I will send by the POST method, what is typed inside an html editor? I need to send the typing information to the database, but I don’t know how to get the information from…
-
1
votes1
answer37
viewsQ: Doubt about Wordpress
I need a news system for a website that’s ready. Only that I do not know much of wordpress, I do not know if it is possible to install wordpress on a site already ready. I wonder if it’s possible,…
-
1
votes0
answers78
viewsQ: Path to upload with variable
I’m looking to use a "changeable" upload path. I made a bidding system, that each new bidding, is created a folder with the name of the same where will be uploaded the files related to it using…
-
0
votes1
answer34
viewsQ: I can’t get up to the server
I am trying to upload a file to the server (PDF) and it does not go up. Na page that is to send the file, when I click to send nothing happens. Code of the page where the file is sent: <?php…
phpasked Pedro Ribeiro 155 -
0
votes1
answer36
viewsQ: I cannot see the elements of a table row
I am trying to visualize elements of a row of a table of mine, only separately. And I have not been succeeding. Follows the code: <?php require_once("conexao.php"); $id = $_POST['idlicita'];…
-
0
votes0
answers192
viewsQ: View documents in . PDF in different folders
Good morning! I have a panel where is posted multiple PDF files, however are 3 different folders according to each file type. And in this panel, I need to put a method where the person can view the…
-
0
votes0
answers49
viewsQ: Saving file on server
Good afternoon, I am trying to send a php file to the server, but it is not going to the given folder and is getting "loose" in the main folder. And also, instead of the file going to the selected…
-
1
votes3
answers270
viewsQ: Searching data in database
Good evening, I’m having second thoughts about a certain code. It should search all users in the database and list... however of the error... Follow the excerpt of the code where I make the…
-
3
votes1
answer68
viewsQ: Security in php failing
I created a small security code for my login system, to prevent people from composing the administrative panel link and pasting and being able to access it. <?php ob_start();…
-
0
votes1
answer84
viewsQ: Error in database connection
Good morning! I have a panel in php and the same is not connecting to DB. Any password I enter, password or incorrect user. Follow the code snippet that makes the connection: <?php…
-
3
votes0
answers126
viewsQ: Doubt in PHP database connection
I have a question in a code in PHP. My code is generating several alerts: And it seems to me that the same is not making connection with the database, because I am sending him to print some data and…