Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    Shortcode execution has not changed in the latest update.

    The 403 error suggests to me that the problem is on the other site, indicating that http://www.mysite.com/scripts/otherscript.php is not accessible.

    Thoughts: check if that URL (the real one) works when you put it in your browser. Also check: put a .php file on your site with just that include line, open that in a browser.

    Thread Starter MarcelMundinar

    (@marcelmundinar)

    Thanks for your answer.

    It is not a permission problem, I can call the included script directly in the browser and it is working fine.

    I found out some more details:

    1) scripts in root-directory can be included and work, scripts in other directories cause the 403 error

    2) included files in root-dir work, unless you call without a parameter:
    –> include(“myscript.php”); WORKS
    –> include(“myscript.php?uid=1”); 403ERROR

    You are sure nothing changed from 2.0.3 as there all was working fine? 😉

    Plugin Author Michael Simpson

    (@msimpson)

    You can test that hypothesis:

    – Uninstall
    Download 2.0.3
    – Install from Plugins page by uploading 2.0.3

    Thread Starter MarcelMundinar

    (@marcelmundinar)

    ok, I tries this and it does not help… no idea what is going on, 24h ago all was fine.

    What could be the reason for all that?

    –> include(“myscript.php”); WORKS
    –> include(“myscript.php?uid=1”); NO SUCH FILE OR DIRECTORY

    –> include(“http://www.mydomain.com/myscript.php”); 403 FORBIDDEN
    –> include(“http://www.mydomain.com/myscript.php?uid=1”); 403 FORBIDDEN

    Plugin Author Michael Simpson

    (@msimpson)

    Does this work?

    $_GET['uid'] = 1;
    include("http://www.mydomain.com/myscript.php");
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘getting 403 when including with full path’ is closed to new replies.