Re: php and c

From: Date: Thu, 12 Oct 2000 16:39:56 +0000
Subject: Re: php and c
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19838@lists.php.net to get a copy of this message
I'm not sure if I understand you correctly, but you're interested in writing C extensions for php?? If so, check out the source code in ext. There's a shell script called ext_skel in there that will get you started. It will generate most of the new module files for you. On Thu, 12 Oct 2000, Martin Spevak wrote: >how i may make this? > >myprog.c -> myprog.a >char *text(){ > return "hello php"; >} > >myprog.php ><? >import(myprog.a); //? >echo "this is text from archive: ".text(); >?> > >please any links or short practise > > _____ > ___________(_)_______ _______ ______ ________ > __ ___/__ / __ __ \__ __ `/_ _ \__ ___/ _________CRAZY user__________ > _(__ ) _ / _ / / /_ /_/ / / __/_ / / > /____/ /_/ /_/ /_/ _\__, / \___/ /_/ singer@fornax.elf.stuba.sk / > /____/ > http://fornax.elf.stuba.sk/~singer >Martin Spevak tel.c.: +421 07 - 448 888 05 / >Na pasekach 14, 831 06 Bratislava, Slovensko___________________________/ > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#19838) next »