URL - PHP file |
[eluser]Fr3aked0ut[/eluser]
Hi, I am trying to use AJAX in CI. When I placed my PHP file in my path directory (not in "system") - http://develop.admins.co.il/tview/rpc.php. 404 error. What should I do? Thanks.
[eluser]Fr3aked0ut[/eluser]
I have to? It's not just one file, it's couple of files. I am trying to make AJAX stars rating, do you have any other solution for CI?
[eluser]Colin Williams[/eluser]
You don't have to, but I don't see why you wouldn't.
[eluser]Aken[/eluser]
It's likely an error with your .htaccess. Sounds like it is not checking if the file exists before routing the URL through CodeIgniter. That or you're using a wrong file location (bad absolute filepath or something).
[eluser]Fr3aked0ut[/eluser]
I am using the write location, and if im turning the file into rpc.js it's working. This is my htaccess: Code: # Deny OR Allow Folder Indexes.
[eluser]Aken[/eluser]
You should explain how the problem was solved in case someone else searching the forum is having a similar problem. |
Welcome Guest, Not a member yet? Register Sign In |