Re: [PHP] php extension about php_stream_fopen_tmpfile()

2013-05-16 Thread Matijn Woudt
On Fri, May 10, 2013 at 3:37 AM, Bleakwind wrote: > I write a php extension. > How can I user Zend API do that? > where can I find some doc about file_handle->handle ? > There's not really a place to ask questions for writing extensions, but most people here will not be able to answer your ques

[PHP] php extension about php_stream_fopen_tmpfile()

2013-05-09 Thread Bleakwind
I write a php extension. How can I user Zend API do that? where can I find some doc about file_handle->handle ? ZEND_API zend_op_array *(*org_compile_file)(zend_file_handle *file_handle, int type TSRMLS_DC); ZEND_API zend_op_array *sead_compile_file(zend_file_handle *file_handle, int type TSRMLS_D

[PHP] php extension openssl testcases - openssl 1.0 vs openssl 0.9.8k

2011-03-25 Thread Waiki Wright
Hi, I have php-5.3.2 and openssl version 1.0.0b-fips installed on my Redhat 6 machine. I noticed the expected results are different from the actual results when I ran these testcases in the ext/openssl/tests directory: openssl_x509_parse_basic.phpt, bug28382.phpt, bug47828.phpt. Then I ran: o

Re: [PHP] PHP extension for equivalen of "getent"?

2011-01-07 Thread Michael Shadle
On Fri, Jan 7, 2011 at 12:30 AM, Michelle Konzack wrote: > Does someone know, whether there is a PHP  extension  like  "getenv"  or > something which give the passwd fields back? http://php.net/posix -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

[PHP] PHP extension for equivalen of "getent"?

2011-01-07 Thread Michelle Konzack
Hello and good morning, I use php-pam for authentication but nowI have the need for something which give me the ${HOME} directory back. Does someone know, whether there is a PHP extension like "getenv" or something which give the passwd fields back? Note: I am using libpam-pgsql and lib

[PHP] php extension with pthreads

2005-06-13 Thread Nikunj Gupta
hi i am new to php and am building my first php extension. i have a code in cpp that uses pthreads for carrying out the job. i tried to convert this into a php extension but was unable to do so despite a number of tries. i am able to compile the extension that i build but am unable to load it. the

Re: [PHP] PHP Extension & Arrays

2005-02-20 Thread Joe Wollard
Chris, I have a feeling I'm missing something but from what I'm gathering you want to be able to use the key of the array right along with the value. If that's what you need then the following should work: $array = my_array_creating_function(); while(list($key, $val) = each($array)){ echo ""

[PHP] PHP Extension & Arrays

2005-02-20 Thread Chris Cranford
If I have a function that creates an array using add_assoc_string and then adds it to the return value as add_property_zval, then how do I iterate over the array and get the key and its value? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php extension problem

2004-12-01 Thread Zareef Ahmed
>Hi folks, >well, I hope you can help me out. I have a Windows XP machine running >Apache 2.x and Php 5.x. So far, everything works fine. I have placed >the php5ts.dll file in my System32 directory, kopied the php.ini file >in the Windows root directory and loaded the apache module for php5. So

[PHP] php extension problem

2004-11-30 Thread php
Hi folks, well, I hope you can help me out. I have a Windows XP machine running Apache 2.x and Php 5.x. So far, everything works fine. I have placed the php5ts.dll file in my System32 directory, kopied the php.ini file in the Windows root directory and loaded the apache module for php5. So far, t

Re: [PHP] php extension problem

2004-10-25 Thread Pierre Ancelot
fixed. i downloaded the source from php.net and it works now... the previous source i had came from apt system. maybe the source is patched ? if i'm not the only one to have had this problem, let me know, i'll mail the debian maintener thanks, On Monday 25 October 2004 19:19, Pierre Ancelot w

[PHP] php extension problem

2004-10-25 Thread Pierre Ancelot
Hi ! I am having some trouble creating a php extension. as show in the documentation i did a ./ext_skel --extname=mymodule which created the directory mymodule i edited the config.m4 file to tune it to something very basic : PHP_ARG_WITH(mymodule, for mymodule support, [ --with-mymodule

[PHP] PHP extension is not installed?

2003-06-04 Thread David Busby
List, I'm trying to install PHP and after each make I get this: Installing PEAR environment: /usr/lib/php/ [PEAR] Archive_Tar: 'xml' PHP extension is not installed [PEAR] Console_Getopt: 'xml' PHP extension is not installed [PEAR] PEAR: 'xml' PHP extension is not installed [PEAR] DB: 'xm

[PHP] PHP Extension Troubles

2002-10-01 Thread [-^-!-%-
Hello, My web server freezes (CGI Timeout) whenever I try to enable a PHP Module. What would cause that? I'm trying to load PHP_MSSQL.dll, on a IIS server. At first, I thought it was because of that extension, but I get the same error for all extensions. Am I missing something? - The environme

[PHP] php extension problem

2002-07-29 Thread p . williams
We've successfully installed and run PHP 4.0.6. However when we add an extension for win9x printing we get the message "PHP Warning: Unable to load dynamic library 'c:\php\extensions/php_printer.dll' a device attached to the system is not functioning". The php.ini file has extension_dir=c:\php\ex

[PHP] PHP extension names

2002-07-25 Thread Peter
Hi, I need to use extension_loaded() to try and detect which database interface(s) are installed on some servers. Nowhere have I been able to find a list of the internal extension names that is the string required as the function argument. I know I can see those in my build of PHP using % p

Re: [PHP] .php extension

2002-05-29 Thread Ed Gorski
Yeah one of the simple tricks to mask that you use php is to make the extention that the PHP Parser looks for (ie name it page.foo) or whatever and have: AddType application/x-httpd-php .foo At 07:27 PM 5/28/2002 -0500, Miguel Cruz wrote: >On Tue, 28 May 2002, Luis Miguel N. Tavora wrote: > >

Re: [PHP] .php extension

2002-05-28 Thread Miguel Cruz
On Tue, 28 May 2002, Luis Miguel N. Tavora wrote: > As far as I understood it, for a server process the php > code, the file must have the extension .php > > But then, the apache server (for example) requires a file > index.html to be placed in the directory public_html/ ... Wrong on both coun

Re: [PHP] .php extension

2002-05-28 Thread Ashley M. Kirchner
"Luis Miguel N. Tavora" wrote: > But then, the apache server (for example) requires a file > index.html to be placed in the directory public_html/ ... The Apache server only requires what you tell it to require. Edit your httpd.conf file and look for: DirectoryIndex index.html ...

Re: [PHP] .php extension

2002-05-28 Thread Julie Meloni
LMNT> As far as I understood it, for a server process the php LMNT> code, the file must have the extension .php You can use any extension for PHP, as long as you tell Apache (or other web server) to process files of that extension as PHP files. LMNT> Does that mean that I can't have any php in

Re: [PHP] .php extension

2002-05-28 Thread Thalis A. Kalfigopoulos
On Tue, 28 May 2002, Luis Miguel N. Tavora wrote: > Hi there. > > I've started to code in PHP a couple of days ago, so > I'm really a newbie. > > As far as I understood it, for a server process the php > code, the file must have the extension .php Not really but it's a good convention. > B

[PHP] .php extension

2002-05-28 Thread Luis Miguel N. Tavora
Hi there. I've started to code in PHP a couple of days ago, so I'm really a newbie. As far as I understood it, for a server process the php code, the file must have the extension .php But then, the apache server (for example) requires a file index.html to be placed in the directory public_h

[PHP] PHP Extension Documentation?

2001-08-01 Thread Darryl Sokoloski
I'm working on a custom PHP extension in C were I work which is going well but I can't seem to find any documentation about the subject @ php.net. Anyone know of such a manual? A PHP/Zend C API document of some sort - from an extension developer's point-of-view? I've tried searching news.php.net

RE: [PHP] Php extension for Ultradev available now !

2001-03-29 Thread Ovidiu EFTIMIE
[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 12:18 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Php extension for Ultradev available now ! > > > Timely post for me. I am considering upgrading Dreamweaver and Fireworks. > > How and why do you like Ultradev? > Why PHP u

Re: [PHP] Php extension for Ultradev available now !

2001-03-29 Thread Yasuo Ohgaki
Timely post for me. I am considering upgrading Dreamweaver and Fireworks. How and why do you like Ultradev? Why PHP user should use it? -- Yasuo Ohgaki ""Ovidiu EFTIMIE"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For those working with ultradev : > ht

Re: [PHP] Php extension for Ultradev available now !

2001-03-29 Thread elias
Nice post! ""Ovidiu EFTIMIE"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For those working with ultradev : > http://www.udzone.com/showDetail.asp?TypeId=4&NewsId=488 > > > Ovidiu > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-

[PHP] Php extension for Ultradev available now !

2001-03-28 Thread Ovidiu EFTIMIE
For those working with ultradev : http://www.udzone.com/showDetail.asp?TypeId=4&NewsId=488 Ovidiu -- 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 P