2 Replies Latest reply on Jun 22, 2013 2:35 PM by gabessdsp

    False 404 Error, PHP Problem


      So I have the same exact setup locally and remotely and I have checked all of the files on my host.


      But for some reason locally this is working with PHP:







      but that is not working remotely.



      Anybody have any idea why?

        • 1. Re: False 404 Error, PHP Problem
          Ben M Adobe Community Professional

          I'm thinking it has to do with the slashes in the URL.  Are they encoded when they are passed or no?  Personally, I'd rethink what is passed to the page variable even if it writes out as:



          • 2. Re: False 404 Error, PHP Problem
            gabessdsp Level 1

            Okay, but why does it work locally but not remotely? Here is my code I use for the page variable:






            and so if I do a link liek this:


            <a href="index.php?page=/folder/folder/info"></a>


            Then it would just find the file content/folder/folder/info.php


            and then include that on the page.


            And like I said it works locally but not remotely