loadStrings() and PHP
in
Programming Questions
•
2 years ago
I’m wondering why something like this does not work:
- String[] lines = loadStrings("php/encode.php");
When I try this I get no error but the script does not execute. When I pass some arguments I get an error:
The file "php/encode.php?file=bla.wav" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The sketch is placed on my local webserver, permissions are given. The PHP script is working but I can’t run it via Processing. Does the sketch need to run as an applet in the browser?
The file structure is like this:
1