You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well I am trying to build a website that uses pretty URLs(or search-engine friendly urls), in which old urls such as /profile.php?user=1 becomes /profile/user/1. But it seems that if I have more than one forward slashes in the request URI, CJAX will stop working. I believe CJAX assumes that each forward slash means a directory separator, so the javascript include path is messed up. I notice that if I move a php file to a subdirectory, rather than in the same directory as ajax.php, it will also make CJAX stop functioning. Now the question is, how can I fix this?
The text was updated successfully, but these errors were encountered:
CodeIgniter 2 is released, is very similar to Codeigniter 1, and no longer needs cjax to make using ajax easy. Doesn't resolve the issue for the repository, but perhaps it does for you.
@goosehub
Do you even understand what you are talking about? Dont make stupid assumptions. I use CJAX for my own project, which is irrelevant to CodeIgniter. Also CJAX is very useful for writing AJAX code in well-organized fashion, even with CodeIgniter 2.
My mistake. I was under the incorrect impression this was a repo specific to Codeigniter. My apologies. I was trying to be helpful. Please refrain from brash language.
Well I am trying to build a website that uses pretty URLs(or search-engine friendly urls), in which old urls such as /profile.php?user=1 becomes /profile/user/1. But it seems that if I have more than one forward slashes in the request URI, CJAX will stop working. I believe CJAX assumes that each forward slash means a directory separator, so the javascript include path is messed up. I notice that if I move a php file to a subdirectory, rather than in the same directory as ajax.php, it will also make CJAX stop functioning. Now the question is, how can I fix this?
The text was updated successfully, but these errors were encountered: