Is it possible to execute a (PHP) script on a webserver from within a local perl script?
The webserver I'm working on does not allow CGI scripting, so I'm using a PHP script to insert some things into my MySQL database. And because I do not want other people to insert things into that database I'm the only person allowed to run that script.
I want to run the PHP script from within a perl script on my local computer. Is there a way to do that? I have to log in I assume (because of the permissions) and run it.
Anyone suggestions?
Thanx
Thanx for your answer.
I don't know If I'm allowed to use .htaccess on that webserver. I'm going to find out.
I don't know exactly how .htaccess works, but if you specify which people may use the script I can imagine you still must authenticate when using LWP? Can you give a short example?
And what if I'm not allowed to use .htacces? Is there perhaps another way to run the script safely?
Thanx.