• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Esp32-mysql-database-php/

Q&A Forum › Category: ESP32 › Esp32-mysql-database-php/
0 Vote Up Vote Down
Gavin O’Connor asked 2 years ago

Hi Rui,
I tried the example out and can’t seem to get past the second php script of esp-data.php. Somehow it can’t seem to connect to the Database (I think?)
When I use: https://XXXXXXXXX/post-esp-data.php, i do get:
No data posted with HTTP POST.
which is 100% and when I use: https://XXXXXXX/esp-data.php
It says:
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any ideas why it would show this?, I am using Bluehost as suggested in the Project
 
 

Question Tags: mysql-database-php
4 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 2 years ago

Hello Gavin,
Did you save the file esp-data.php in the right server folder?
Is it  in the same folder as post-esp-data.php?
Thanks!

0 Vote Up Vote Down
Gavin O’Connor answered 2 years ago

You Rui,
Please see below link to image showing the esp-data.php in the /public_html directory

ESP32 MySql

0 Vote Up Vote Down
Rui Santos Staff answered 2 years ago

Can you send me your URL via email?
support@randomnerdtutorials.com
Please also send me a screenshot of your esp-data.php file while being edited.
Thanks for your time!

0 Vote Up Vote Down
Gavin O’Connor answered 2 years ago

Thanks Rui, just sent..;-)

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023
  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.1) November 20, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.