Operating System - OpenVMS
1828510 Members
2571 Online
109978 Solutions
New Discussion

Re: What functions like "openvms_" in PHP we can call

 
likuair_1
Advisor

What functions like "openvms_" in PHP we can call

There are two questions:
First is that what openvms functions like "openvms_" we can call by PHP ,"extension=php_openvms.exe" include what ?
Second is that how can i get files from openvms use PHP by FTP mode?
4 REPLIES 4
Hoff
Honored Contributor

Re: What functions like "openvms_" in PHP we can call

Here's the OpenVMS PHP release notes manual, and there's a list of various of the openvms_mumble functions embedded there:

http://h71000.www7.hp.com/openvms/products/ips/apache/csws_php_relnotes.html

Not a whole lot of detail on each, but -- given familiarity with OpenVMS system services -- enough. And then there's always the source code for the module, as I expect that's available -- that for the full details.

And as the second question, I'd expect that the PHP FTP client works like the PHP FTP client, regardless of the platform. Here's the main PHP web site has to say about using FTP from PHP:

http://us2.php.net/ftp

If you're running on OpenVMS, you likely already have TCP/IP Services or another IP stack installed. Connections from external sites into OpenVMS from remote FTP clients would require you to have the FTP server configured. Use TCPIP$CONFIG or UCX$CONFIG (prior to V5.0) is the configuration tool for that task.

Stephen Hoffman
HoffmanLabs LLC
Gary Smallridge
Occasional Advisor

Re: What functions like "openvms_" in PHP we can call

It's not documentation is just an example PHP program.

Is there a list somewhere of all the openvms_* function calls?
Martin Vorlaender
Honored Contributor

Re: What functions like "openvms_" in PHP we can call

>>>
It's not documentation is just an example PHP program.
<<<

AFAIK, the documentation in the comments of the example program is all there is.

>>>
Is there a list somewhere of all the openvms_* function calls?
<<<

The comments refer to F$GETDVI, F$GETJPI, and F$GETSYI. The documentation for these can be found under

http://h71000.www7.hp.com/doc/83FINAL/9996/9996PRO.HTML

HTH,
Martin
Hoff
Honored Contributor

Re: What functions like "openvms_" in PHP we can call

I too know of no more specific documentation for these calls.

Open source products don't tend to have deep documentation; there can be a conflict of expectations here with classic commercial products.

If you should wish or need more documentation than the list and the requisite tour through the documentation for the associated and underlying OpenVMS system functions proves insufficient, do ring up HP. (Or as is the norm for much of the Open Source I've worked with, take a look at the source code -- here assuming that source code is available.)

But again, Open Source is and likely always will remain different from Commercial Source and Commercial Software Products. You get what you pay for; `TANSTAAFL', as Mr Heinlein wrote so many years ago.