I want to know if this is possible. I have a url base/config.js which redirects to config.php with apache mod rewrite. Now I want to be able to fetch the real url from another file. Lets say index.php wants to know where config.js is stored.
Is there a way to do it with a function? I tried curl, url_parse, pathinfo, .... One thing I can do is reading htaccess file and get the right value.. but I think that's too much.
Or I can also put the exceptions in an array but I kinda want to make it dynamic.
This post has been edited by nightscream: 01 October 2012 - 01:32 AM

New Topic/Question
Reply




MultiQuote





|