Re: calling java within php setup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, January 15, 2008 5:32 pm, Jochem Maas wrote:
> Janet N schreef:
> with a bit of luck you'll then have a .so file that is your new
> extension,
> now it a matter moving the .so to a suitable place (if you have root
> access, you
> can run 'make install') and of editing php.ini to load the extension.

If you don't have root, you probably can't move it to the suitable place.

Otherwise, any bozo could install and .so file into the PHP binary,
which could do anything at all to the PHP process, including hack all
kinds of nasty functions to, say, dump ALL incoming GET/POST data
whose variable name looks like "*cc*" or "*credit*" or "*card*" out to
some email address...

That said, if your host is a bit lax in security, you might be able to
use DL to LOAD your .so file into your script:
http://php.net/dl

Note that 'dl' is probably going away in PHP 6, last I heard.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux