10-10-2011 02:28 AM
I use CSWS V2.2 and PHP V2.20 and want to upload a file to the CSWS server.
The examples found on the internet I cannot get them to work.
Has anyone a working example.
10-10-2011 05:22 AM
What php script were you working and testing with?
What errors did the script output to the user and to the logs?
Consider running Mark Berryman's more secure and more current php port.
With that information, we can have a look at what went off the rails, or (with Mark's port) the upload might well work with the newer php bits.
And FWIW, if that box is Internet-facing, that version of Apache is vulnerable to the killapache script. (There are work-arounds available.)
10-12-2011 08:14 AM
As an actual pure PHP example tested under both Linux and Windows and in production on a Windows server, refer to anhj article of mine at http://vouters.dyndns.org/tima/All-OS-Apache-PHP-U
In the hope this can help you.
In the future, I do suggest you to give more work to public Web search engines rather than you requesting someone's help without digging on Internet first.