[PHP] use VB DLL (COM object) with php
I try to use a simple COM write in VB ... == Option Explicit Dim sc As ScriptingContext Sub OnStartPage(AspSC As ScriptingContext) Set sc = AspSC End Sub Public Function ecrire() sc.Response.Write "Voici mon super texte" End Function === ...but it doesn't work! Is run in ASP put when i try in php the parameter is not good. I supose is the ScriptingContext variable but I don't know is value?! Somebody can help me Please? Franky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] read registry
hi. I want to acces (read) the registry on my web server. I use win2k. I try with COM... but doesn't work... Somebody know if it is possible? thanks! Franky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Error for write with ming function!
It does not work. Can somebody to help me!?!?!? Each time I try to write with ming it does not work. I have Popup: The instruction At "0x00b907fc" referenced memory At "0x00abc000". The memory could not Be "written". I maked a file .mdb by my self (if the file would not be portable...) I use a server win2K PHP4 v.4.1.2 Ming was already installed with the basic package and to draw functions work. here the code used: setFont($f); $t->moveTo(200,2400); $t->setColor(0xff,0xff,0); $t->setHeight(1200); $t->addString("PHP fait du Flash avec Ming!!"); $m=new SWFMovie(); $m->setDimension(5400,3600); $m->add($t); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> Thank you Franky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] why is better?
Why is better to write module than class? ok is compiled code so is supose to be faster, but that all? Frank [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] set decimal
Can i set the precision like 2 decimal or 4 decimal? 2.31 to 2.3100 Thanks -- --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- François Boucher [EMAIL PROTECTED] ___ _ ( hello... ) Q _/\ __/ ¸L --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Read and write
Thank i found number_format() that work find! -- --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- François Boucher [EMAIL PROTECTED] --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]