[PHP] one problem in php ext development

2012-02-20 Thread Rui Hu
hi, I want to development an extension which can do something by using HTTP request header. So how can php extension get those HTTP request headers? Thanks! Best regards, Rui Hu State Key Laboratory of

[PHP] Re: problems in extension development

2012-02-17 Thread Rui Hu
Besides, are there some APIs I can use if I want to set&get environment variables like DOCUMENT_ROOT in my extension(similar to sapi_cgienv_get/set). Thanks! 2012/2/17 Rui Hu > hi, > > I just started to write a simple PHP extension "hello", but encountered > some prob

[PHP] problems in extension development

2012-02-16 Thread Rui Hu
hpize 4. ./configure ; make ; 5. the I encountered error in make. I looked up in Makefile and found that $(PHP_MODULE) is null, which I think is the reason. Makefile is automatically generated by ./configure. What mistake did I make? How to fix it? Thanks! Vic Hu -- B

[PHP] questions about fastcgi

2011-12-19 Thread Rui Hu
tp://1000.xyz.com/test.php, error message pops out like: The requested URL /1000/cgi-bin/php.fcgi/1000/test.php was not found on this server. I don't know if this error results from fastcgi, is it the inappropriate config in fastcgi or inevitable problem by using

[PHP] SNMP Functions

2008-11-27 Thread Rui Quelhas
Hello guys, i'm running php on Leopard 10.5.5 with native php and snmp builds. I was hoping someone could tell me how can i activate the php snmp in order to use the snmp functions. I've searched everywhere for this but i didn't find anything usefull. Appreciate any kind of answ

[PHP] PECL HTTP Extension

2008-11-13 Thread Rui Quelhas
7;t know what else i can do. Could somebody that has installed PECL extensions successfuly on Leopard help me? I just need to know what i must do in the inicialization files (php or apache) just like i was installing my first extension and having the fact that there is the native Leopard 'php.ini.default' already in place. Regards Rui Quelhas

[PHP] PECL HTTP Extension

2008-11-13 Thread Rui Quelhas
think that maybe a little especific "crash-course" can solve all my problems. Someone please... Regards Rui Quelhas

[PHP] PECL HTTP Extension

2008-11-12 Thread Rui Quelhas
pard tutorial tha would be great. Giving an antecipated "thank you" for any kind of answer. Regards, and keep up the good work! Rui Quelhas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php broken pipe

2004-11-16 Thread Rui Francisco
wing error [nativecode=Unable to complete network request to host "127.0.0.1". Error writing data to the connection. Broken pipe] And continue the loop of the records of the query. Is this a regular beaviour ? How can it be solved ? I'm using Pear DB for database access. Thank you in adv

[PHP] Shell_exec timeout question

2004-11-11 Thread Rui Francisco
HI, Does anybody know if its possible to execute a command through exec, shell exec, system and if the program doesn't terminate in N seconds returns control to PHP ? Thanks in advance Rui Francisco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Shell Script error

2004-11-10 Thread Rui Francisco
ght on the database, and the database doesn't implement security measures like Mysql for access from other hosts. The problem is that if i run the script on the browser it works, but on the command line on Windows machine it doesn't work Thanks in advance Rui Francisco Angelo Zanetti wr

[PHP] Shell Script error

2004-11-10 Thread Rui Francisco
Error: connect failed). Does anybody know what is the problem ? Thanks in advance Rui Francisco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is PHP a good language to work with images?

2004-05-26 Thread Rui Silva
Hello! I need to print an image file, but I'm having some problems. I have a handler to a printer witch I can print text correctly with the printer_write function. I can also print an image if it is in bmp format (printer_draw_bmp), however, I want to print png files. $im = imagecreatefrompng

[PHP] Printing images

2004-05-25 Thread rui . silva
Hello! I need to print an image file, but I’m having some problems. I have a handler to a printer witch I can print text correctly with the printer_write function. I can also print an image if it is in bmp format (printer_draw_bmp), however, I want to print png files. How can I do it? Thank y

[PHP] PHP 4.3 unable to load php_domxml.dll in WinXP Apache 2.0.43

2002-12-29 Thread Rui Costa
.95.4. by the way, 'libxml2.dll' is not packed in the PHP 4.3 Windows distribution, although it mentions that it does in the PHP documentation. thanks in advance rui -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to display a file's last updated time using php?

2002-05-23 Thread Rui Huang
Hi, friends, I want to display the last updated time of a file using php, but I don't know which function I should use. It seems that the date() just show the current time. For html file, a simple javascript works well, but in php files that script works weired. How to solve that problem? Tha

[PHP] sessions problems :/

2001-08-31 Thread Rui Barreiros
$this->auth["username"]=$username; the data field passed to my session_write() still has the first value not $username instead. another question is, at what time of the script does php call my session_write function to update the registered session?! thanks all --

[PHP] writing while reading

2001-08-01 Thread Rui Barreiros
fd, LOCK_UN); $content = fread($fd, filesize("chats/$filename")); fclose($fd); return $content; } else { return ""; } } i put the non blocking option in flock while reading but still blocks and doesn't write, my question is it possible to write to a fi

[PHP-CVS] cvs: php4 /ext/dbx dbx_pgsql.c /ext/pgsql pgsql.c

2001-04-14 Thread Rui Hirokawa
hirokawaSat Apr 14 03:32:14 2001 EDT Modified files: /php4/ext/dbx dbx_pgsql.c /php4/ext/pgsql pgsql.c Log: deleted warning output in dbx/pgsql. Index: php4/ext/dbx/dbx_pgsql.c diff -u php4/ext/dbx/dbx_pgsql.c:1.5 php4/ext/dbx/dbx_pgsql.c

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread rui
CTED] > > -- > 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] Rui Barreiros Software Developer WEBS

[PHP-CVS] cvs: php4 /ext/dbx dbx_pgsql.c dbx_pgsql.h

2001-03-23 Thread Rui Hirokawa
license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | [EMAIL PROTECTED] so we can mail you a copy immediately. | +--+ | Author : Rui Hirokawa<[EM

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_pgsql.c dbx_pgsql.h php_dbx.h

2001-03-23 Thread Rui Hirokawa
wide-web at | | http://www.guidance.nl/php/dbx/license/1_00.txt. | | If you did not receive a copy of the STENTOR license and are unable | | to obtain it through the world-wide-web, please send a note to | | [EMAIL PROTECTED] so we c

Re: [PHP] please help with this simple problem

2001-03-22 Thread rui
gt;> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: [EMAIL PROTECTED] >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [

Re: [PHP] URIs as variables

2001-03-22 Thread rui
>> > -- >> > 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] >> > >> >&g

Re: [PHP] Source Protection

2001-03-19 Thread rui
components? > > > > -- > 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] Rui Barreiros

[PHP] Php C source code

2001-03-15 Thread rui
command line, what functions are called etc, is there any info about it?! or i'll have to dig it out myself?! Rui Barreiros Software Developer WEBSOLUT - Soluções Internet Emailto: [EMAIL PROTECTED] Personal Info: http://websolut.net/people/rui.html As informações con

[PHP-CVS] cvs: php4 /ext/pdf pdf.c

2001-03-09 Thread Rui Hirokawa
hirokawaFri Mar 9 18:21:38 2001 EDT Modified files: /php4/ext/pdf pdf.c Log: just reversed a previous patch. Index: php4/ext/pdf/pdf.c diff -u php4/ext/pdf/pdf.c:1.76 php4/ext/pdf/pdf.c:1.77 --- php4/ext/pdf/pdf.c:1.76 Fri Mar 9 18:03:26 200

[PHP-CVS] cvs: php4 /ext/iconv iconv.c /ext/pdf pdf.c

2001-03-09 Thread Rui Hirokawa
hirokawaFri Mar 9 18:03:26 2001 EDT Modified files: /php4/ext/iconv iconv.c /php4/ext/pdf pdf.c Log: initialized some strings in global variable structure. Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.7 php4/ext/iconv/i

RE: [PHP] e-commerce software

2001-03-06 Thread rui
ards, > > Justin French > Creative Director > Indent.com.au > > -- > 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 PROT

[PHP-CVS] cvs: php4 /ext/iconv iconv.c

2001-02-26 Thread Rui Hirokawa
hirokawaMon Feb 26 07:41:38 2001 EDT Modified files: /php4/ext/iconv iconv.c Log: ob_iconv_handler changed to use for text data only. Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.6 php4/ext/iconv/iconv.c:1.7 --- php4/ext/iconv/icon

[PHP-I18N] about PHP-i18n

2001-02-07 Thread Rui Hirokawa
about php-i18n (ICU module, UCS-2 strings support, etc.). ------- Rui Hirokawa <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://www.ci

Re: [PHP] array max min

2001-02-05 Thread rui
$db->Record[3]][$db->Record[4]]=$db->Record; } then display the table | |month1 |month2 | |hour1 |value |value | |hour2 |value |value | and to distinguish the maximum value and minimum value with somekind of color or bold or something. this is the whole job, i can't s

Re: [PHP] array max min

2001-02-05 Thread rui
;t allow to use the max() function with a sum() function, an example of the query is: SELECT month, daynr, hour, sum(numberofusers), sum(numberofmails), sum(numberofdownloads) FROM table GOURP BY month, daynr, hour WHERE where_clause; and mysql complaints when i

[PHP] array max min

2001-02-05 Thread rui
makes a numeric comparison, maybe because of the return of the sql result, anyone has any idea? thanks in advance Rui Barreiros Software Developer WEBSOLUT - Soluções Internet Emailto: [EMAIL PROTECTED] Personal Info: http://websolut.net/people/rui.html As

[PHP-CVS] cvs: php4 /ext/iconv EXPERIMENTAL

2001-01-19 Thread Rui Hirokawa
hirokawaFri Jan 19 18:59:59 2001 EDT Added files: /php4/ext/iconv EXPERIMENTAL Log: added: EXPERIMENTAL -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-CVS] cvs: php4 /ext/iconv iconv.c php_iconv.h

2001-01-13 Thread Rui Hirokawa
hirokawaSat Jan 13 23:40:16 2001 EDT Modified files: /php4/ext/iconv iconv.c php_iconv.h Log: added iconv_get_encoding and supported initialization from php.ini Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.3 php4/ext/iconv/iconv.c:

[PHP-CVS] cvs: php4 /main php_compat.h

2001-01-10 Thread Rui Hirokawa
hirokawaWed Jan 10 06:42:23 2001 EDT Modified files: /php4/main php_compat.h Log: Index: php4/main/php_compat.h diff -u php4/main/php_compat.h:1.6 php4/main/php_compat.h:1.7 --- php4/main/php_compat.h:1.6 Sat Mar 4 11:58:59 2000 +++ php4/main/php_co

[PHP-CVS] cvs: php4 /ext/sablot config.m4 /ext/xml config.m4

2001-01-10 Thread Rui Hirokawa
hirokawaWed Jan 10 06:41:02 2001 EDT Modified files: /php4/ext/sablotconfig.m4 /php4/ext/xml config.m4 Log: disable directory search for libexpat and disable some macros for libxml-1.95. Index: php4/ext/sablot/config.m4 diff -u php4/ext/s