wulfgar Posted December 21, 2006 Share Posted December 21, 2006 Hi Peoples,I'm not sure if this is the correct forum in order to discuss my current problem, but some of you php experts should have some idea.I am utilizing an access database and the odbc driver's with PHP, all running on apache (WinXP Sys).At this moment i am trying to implement a working deletion query;$delQuery = "SELECT from stu_db WHERE F_Name = '$NFirst' AND L_Name = '$NLast'";NOTE:: This query functions correctly as desired.The problem is, when i click my forms delete button (which essentially runs the query) i get an apache '403' error stating ::<b>ForbiddenYou don't have permission to access /< on this server.</b>After countless hours of 'googling' i came up with exactly nothing :|>I would greatly appreciate some insight into this matter, and how i could go around fixing it.Thanks :DJames. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/ Share on other sites More sharing options...
trq Posted December 21, 2006 Share Posted December 21, 2006 You rerror is caused by the folder containing your database not having read permissions set properly. However, your query will also never delete anything, it is a SELECT statement, used for retrieving data. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-145777 Share on other sites More sharing options...
wulfgar Posted December 21, 2006 Author Share Posted December 21, 2006 LOL sorry, (late), yes you are quite correct, that should be a 'DELETE'.Thanks heaps,James. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-145780 Share on other sites More sharing options...
wulfgar Posted December 21, 2006 Author Share Posted December 21, 2006 Even if i alter the files access permissions (from read only to non-read only) it automatically reverts the alteration back when i attempt the query >:(.Any ideas?ThanksJames. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-145785 Share on other sites More sharing options...
trq Posted December 21, 2006 Share Posted December 21, 2006 You need to change the permissions of the directory which contains the database. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-145804 Share on other sites More sharing options...
wulfgar Posted December 22, 2006 Author Share Posted December 22, 2006 and that is done how? using windows operating system not unix?all i know about windows permissions is Read-only etc..?please help :Dthanks . Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-146184 Share on other sites More sharing options...
trq Posted December 22, 2006 Share Posted December 22, 2006 Sorry, Ive no idea. Haven't used windows in years. Link to comment https://forums.phpfreaks.com/topic/31471-phpapachemsaccess-help/#findComment-146195 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.