Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 1st, 2011, 11:54 AM   #1
tommy168
Newbie
 
Join Date: Feb 2011
Posts: 6
Rep Power: 0 tommy168 is on a distinguished road
403 Forbidden

Hi guys, so this is my first time posting in this forum !!!

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 !
tommy168 is offline   Reply With Quote
Old Feb 2nd, 2011, 11:13 AM   #2
tommy168
Newbie
 
Join Date: Feb 2011
Posts: 6
Rep Power: 0 tommy168 is on a distinguished road
Re: 403 Forbidden

Nvm guys, problem solved

if i use php extention instead of html one, it works fine, so i assume it's the problem generated by apache
tommy168 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
questions on windows sendMessage and RichEdit control nomer C++ 2 Jan 17th, 2011 9:45 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:57 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC