Jump to content

Recommended Posts

Hi guys

 

so i keep getting this error, 403 Forbidden:

 

Forbidden

 

You don't have permission to access (/directory/) on this server.

 

for everytime I try to run my php scripts which have access to database. But when I run php scripts without accessing database, there would be no problems.

 

Is this a problem with MySQL? I have checked a lot of times in my connection.php page that my mysqli_connect( ) has everything right, including user name and password shown on the web hosting server, as well as mysqli_select_db ( ) with a correct databasename.

 

Still no success and this error keeps arising.

 

Any help is appreciated !  :D

Link to comment
https://forums.phpfreaks.com/topic/226359-403-forbidden/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.