[PHP-DEV] help for combo box

2001-04-12 Thread Bianchi, Carlo
I am a new php3 programmer I need to realize a script php3 that allows to visualize a page html with a combo box. The data into the combo are available in a db table Can someone help me?? Carlo Bianchi Cedacri Ovest

Re: [PHP-DEV] Extention development in Perl

2001-04-12 Thread Hartmut Holzgraefe
Stig Sther Bakken wrote: ["Pieter Claassen" [EMAIL PROTECTED]] Is it possible to write PHP extentions in Perl [...] Why on earth would you want to do something like that? Why on earth woudl someone want to use COM or JAVA with PHP or even use PHP as a Java Servlet? I (although i do not

Re: [PHP-DEV] Extention development in Perl

2001-04-12 Thread Stig Sæther Bakken
[Hartmut Holzgraefe [EMAIL PROTECTED]] Stig Sther Bakken wrote: ["Pieter Claassen" [EMAIL PROTECTED]] Is it possible to write PHP extentions in Perl [...] Why on earth would you want to do something like that? Why on earth woudl someone want to use COM or JAVA with PHP or even

[PHP-DEV] Bug #10301: How can I execute an unix command?

2001-04-12 Thread mafra
From: [EMAIL PROTECTED] Operating system: linux PHP version: Earlier? Upgrade first! PHP Bug Type: Filesystem function related Bug description: How can I execute an unix command? For example : 'tail -n 10 test.txt test2.txt' I tryed use the exec() function, but without

Re: [PHP-DEV] Bug #10301: How can I execute an unix command?

2001-04-12 Thread Wico de Leeuw
At 13:51 12-4-2001 +, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: linux PHP version: Earlier? Upgrade first! PHP Bug Type: Filesystem function related Bug description: How can I execute an unix command? For example : 'tail -n 10 test.txt

Re: [PHP-DEV] Bug #10301: How can I execute an unix command?

2001-04-12 Thread Wico de Leeuw
At 13:51 12-4-2001 +, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: linux PHP version: Earlier? Upgrade first! PHP Bug Type: Filesystem function related Bug description: How can I execute an unix command? For example : 'tail -n 10 test.txt

[PHP-DEV] Bug #10301 Updated: How can I execute an unix command?

2001-04-12 Thread hholzgra
ID: 10301 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Filesystem function related PHP Version: Earlier? Upgrade first! Assigned To: Comments: system(), exec(), the backtick operator `...` and popen() should all do the job when dealing with

[PHP-DEV] com_load

2001-04-12 Thread CJ van Niekerk
Hi there ! I need to call a DLL, but there is a problem in the sense that when you run the code example for com_load(), it returns and says : Warning: Invalid ProgID: Invalid class string in c:\inetpub\wwwroot\com.php on line 3 Cannot load the DLL for you Any help would be appreciated. C.J.

Re: [PHP-DEV] Hash Functions API

2001-04-12 Thread Andi Gutmans
At 01:40 AM 4/12/2001 -0400, Stig Sther Bakken wrote: ["Brian Foddy" [EMAIL PROTECTED]] I've been looking everywhere for a good reference of how to read and update arrays. The Zend documentation (www.zend.com/apidoc) has descriptions of how to create an array, and how to add elements to

[PHP-DEV] Bug #10302: odbc_tables()

2001-04-12 Thread john
From: [EMAIL PROTECTED] Operating system: winnt4sp6 PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: odbc_tables() I think this may have been an issue in a previous release but I am still having it in this version. after calling odbc_tables() I can not

[PHP-DEV] Bug #10303: Crash while parsing large XML file and writing to DB

2001-04-12 Thread conrad
From: [EMAIL PROTECTED] Operating system: Linux (SuSE 7.0) PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Crash while parsing large XML file and writing to DB I have a PHP script where I import data from an XML file (uploaded via an HTML form)

[PHP-DEV] Re: Bug #10296 Updated:

2001-04-12 Thread Alex Cifuentes
hello, sorry the problem is in the moment of send one or more files in page html with php, the php version is 4.0.4 and exist error in the form enctype="multipart/form-data", in the last version of php for example php3 it's very good, now then it's is the problem the send to file for email,

[PHP-DEV] Bug #10305: feof() does not work on udp-socket

2001-04-12 Thread jorfen
From: [EMAIL PROTECTED] Operating system: Linux2.2.12 PHP version: 4.0.4pl1 PHP Bug Type: *Network Functions Bug description: feof() does not work on udp-socket ? function foo($ip,$port) { $fp = fsockopen("udp://".$ip,$port); socket_set_blocking($fp,FALSE);

[PHP-DEV] Bug #10266 Updated: n/a

2001-04-12 Thread cynic
ID: 10266 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request PHP Version: 4.0.4pl1 Assigned To: Comments: use libCURL Previous Comments: --- [2001-04-10

[PHP-DEV] Supplied argument is not a valid MySQL result resource

2001-04-12 Thread Joshua Butcher
I am using code that used to work... I am trying to connect to a database to validate a logon. I get a user ID and password from an HTML file, passed to my PHP script. It fetches the query, but it always returns 1, even if I pass a password that is invalid. The query does not get returned to PHP

[PHP-DEV] simple session mgmt

2001-04-12 Thread Manoj V Kothale
Hi, Can anbody tell me how to run this simple prgm of session mgmt- page1.php ?php session_start(); $my_session_variable = "some value"; session_register("my_session_variable"); ? page2.php ?php session_start(); print "Value of 'my_session_variable': $my_session_variable"; ? It doesnt show

Re: [PHP-DEV] Extention development in Perl

2001-04-12 Thread Daniel Beckham
For People who Hate Perl, they it sure have attempted to emulate a lot of features and functions available to Perl programmers. Of course, most of Perl's features are stolen from bash, awk, sed, etc. =) Daniel - Original Message - From: "Hartmut Holzgraefe" [EMAIL PROTECTED] To:

[PHP-DEV] Bug #10306: xslt_process() causes page to be loaded twice

2001-04-12 Thread jplock
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.2 PHP version: 4.0 Latest CVS (12/04/2001) PHP Bug Type: Sablotron XSL Bug description: xslt_process() causes page to be loaded twice In one of my scripts, I make a function call to a function which contains the

[PHP-DEV] Bug #10307: PHP refusing to get temporary file name from an HTTP PUT request.

2001-04-12 Thread excalibur
From: [EMAIL PROTECTED] Operating system: freebsd 4.2 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: PHP refusing to get temporary file name from an HTTP PUT request. I am using PHP 4.04pl1 on a FreeBSD 4.2 based system with Apache 1.3.19. I have a page

[PHP-DEV] Bug #10308: include_path not functioning

2001-04-12 Thread bmccarty
From: [EMAIL PROTECTED] Operating system: Red Hat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: include_path not functioning phpinfo() and ini_get() report that include_path is set to ".:/usr/local/lib/php". However, include "filename"

[PHP-DEV] PHP 4.0 Bug #10306 Updated: xslt_process() causes page to be loaded twice

2001-04-12 Thread jplock
ID: 10306 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Sablotron XSL Description: xslt_process() causes page to be loaded twice Ok, this is just plain wierd...it decided to stop doing that...I will investigate further and see if I can reproduce it. Previous Comments:

[PHP-DEV] Bug #10309: feature request

2001-04-12 Thread fabiankessler
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.4 PHP Bug Type: Feature/Change Request Bug description: feature request $a = 'foo'; $b = 'bar'; $c = (true) ? $a : $b; = syntax error, have to do if (true) { $c = $a; } else { $c = $b; } would be nice :)

[PHP-DEV] Bug #10311: parse error generated for comment

2001-04-12 Thread slyder
From: [EMAIL PROTECTED] Operating system: Solaris 5.7 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: parse error generated for comment //$line = preg_replace("/?[ _0-9A-Za-z\$\?\\"\=;]+QBUYURLQ[ _0-9A-Za-z\$\?\\"\=;]+?/", $buyurl, $line); ok

[PHP-DEV] Bug #10311 Updated: parse error generated for comment

2001-04-12 Thread cnewbill
ID: 10311 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem PHP Version: 4.0.4pl1 Assigned To: Comments: This is expected behavior. Not a bug. The part of the expression that is causing the problem is ?. Try just having //

Re: [PHP-DEV] Bug #10309: feature request

2001-04-12 Thread teo
Hi fabiankessler! On Thu, 12 Apr 2001, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.4 PHP Bug Type: Feature/Change Request Bug description: feature request $a = 'foo'; $b = 'bar'; $c = (true) ? $a : $b; suggestions:

[PHP-DEV] Bug #10228 Updated: preg_replace with e modifier barfs on quotes

2001-04-12 Thread andrei
ID: 10228 Updated by: andrei Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Regexps related PHP Version: 4.0.4 Assigned To: andrei Comments: Previous Comments: --- [2001-04-07 18:35:09] [EMAIL

[PHP-DEV] Same mysql link when calling mysql_connect a second time with same arguments

2001-04-12 Thread Markus Fischer
Hello, First, I know this behaviour exists since the early PHP3 days. Would it be an option to extend mysql_(p)connect to return new links instead of allready created one with a new, optional parameter ? Like : int mysql_connect ([string hostname [:port] [:/path/to/socket] [,

[PHP-DEV] Bug #10312: xsl:strip elements ... tag isn't working properly

2001-04-12 Thread joeasdf
From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro PHP version: 4.0.4pl1 PHP Bug Type: Sablotron XSL Bug description: lt;xsl:strip elements ...gt; tag isn't working properly I think there may be a problem with Sablotron and xsl:strip-space tags. I'm using

Re: [PHP-DEV] always building cgi...

2001-04-12 Thread Sascha Schumann
Okay, what about making libphp4.la contain everything but libsapi.la, and make a new final target including libsapi.la called libphp4_xxx.la, where xxx is the sapi module used. With some more minor restructuring, we can then let people build _all_ sapi modules in one go if they like.

[PHP-DEV] Bug #10313: ROUND inconsistency

2001-04-12 Thread faxguy
From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.0 PHP version: 4.0.4pl1 PHP Bug Type: *Math Functions Bug description: ROUND inconsistency Using MySQL 3.23.32 on RedHat Linux 7.0... MySQL's ROUND function rounds 5 up when the preceding digit is odd and down when

RE: [PHP-DEV] always building cgi...

2001-04-12 Thread Sean R. Bright
-Original Message- From: Sascha Schumann [mailto:[EMAIL PROTECTED]] documentation, but what about printed manuals and the dozens of books on PHP? I'd be very hesitant to change anything http://www.amazon.com/exec/obidos/ASIN/1861002963 I think I smell a second edition ;)

Re: [PHP-DEV] always building cgi...

2001-04-12 Thread Jason Greene
If there was some way of building the cgi with any sapi, that would be nice. PHP as a cgi is becoming more of a utility than a cgi. Is there a way to accomplish this without changing the user compile interface much? -Jason - Original Message - From: "Sascha Schumann" [EMAIL PROTECTED]

Re: [PHP-DEV] always building cgi...

2001-04-12 Thread Edin Kadribasic
This would certainly make my life easier. By now I have a few dozen scripts that begin with #!/usr/bin/php -q So building command line interpreter (cgi sapi) and optionally one other sapi module in one go would be nice indeed. Edin If there was some way of building the cgi with any sapi, that

[PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-12 Thread Brian Moon
Hi guys, A) has anyone tried PHP and gd 2.0.1? B) If I compile gd with FreeType 2 support, do I have to compile FreeType into PHP? Brian Moon - Phorum Dev Team - http://phorum.org Making better forums with PHP

Re: [PHP-DEV] always building cgi...

2001-04-12 Thread Colin Viebrock
On the implementation side, I'm not convinced of the usefulness of such a change. The way libphp4.la is built directly depends upon the chosen SAPI module (thread-safety, shared/static). As of today, there are only a few possible combinations. From day-to-day

[PHP-DEV] Bug #10314: split() function is'nt stable

2001-04-12 Thread ttttntl
From: [EMAIL PROTECTED] Operating system: Linux Redhat 7 PHP version: 4.0.4pl1 PHP Bug Type: *Regular Expressions Bug description: split() function is'nt stable Hi, I use split function to seprate two parts of a .php file content(size 6KB), but the second array variable

[PHP-DEV] Bug #10315: PHPINFO() Reports wrong info

2001-04-12 Thread patrickolson
From: [EMAIL PROTECTED] Operating system: Win98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: PHPINFO() Reports wrong info windows98 apache 1.3.19 LoadModule php4_module d:/php/sapi/php4apache.dll phpinfo() is reporting wrong info under MySql it's

[PHP-DEV] Bug #10315 Updated: PHPINFO() Reports wrong info

2001-04-12 Thread rasmus
ID: 10315 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *General Issues PHP Version: 4.0.4pl1 Assigned To: Comments: It is reporting the version of the MySQL client API that PHP was compiled against. The version of the MySQL server you have

Re: [PHP-DEV] GD 2.0.1 and FreeType 2

2001-04-12 Thread Rasmus Lerdorf
Wez Furlong posted a GD 2.0 patch earlier today to php-dev. Have a look at it. -Rasmus On Thu, 12 Apr 2001, Brian Moon wrote: Hi guys, A) has anyone tried PHP and gd 2.0.1? B) If I compile gd with FreeType 2 support, do I have to compile FreeType into PHP? Brian Moon