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.
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? 😉
You can test that hypothesis:
– Uninstall
– Download 2.0.3
– Install from Plugins page by uploading 2.0.3
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
Does this work?
$_GET['uid'] = 1;
include("http://www.mydomain.com/myscript.php");