[plug] Reading a horrible C file in PHP.

Paul Arch paul at sdmgroup.com.au
Tue Aug 8 14:22:35 WST 2006


Shayne O'Neill wrote:
> Aye. Problem is, I don't have the luxury to change the damn C cgi's, and
> ultimately all I really do have the luxury of is running some php
>
> Things took a twist for the more interesting today when I built a swig
> wrapper for the c cgi (its shockingly easy, you just copy the apropriate
> .h bits into the .i file, swig -python blah.i gcc <all your stuff and
> the wrapper> ld <all the resulting stuff> and load it in python, and as
> it pans out the c source I have doesn't actually work with the .dat
> files. Doh. 
>
>   

> I still can not fathom why anyone would use C to write a web app
> anymore. Segfault hell!
>   
 Well I don't have the luxury of running a bloated PHP system on my 
embedded linux device :P


-- 


Paul Arch

---------------------------
Esidium Group Pty. Ltd.
Ph:  (08) 6461 4230
Fax: (08) 6461 4238
http://www.esidium.com.au 
Powering DataMate - www.datamate.com.au
--------------------------- 




More information about the plug mailing list