[PHP-WIN] Reading data from a file

2001-02-22 Thread Brian Higgins
Perhaps the php gurus can help with my problem. I am using php4.0 +windows NT 4.0+Apache to read data from a text file ( a list of real numbers). I need to have the the data in the form {data1,data2,data3,...,0}. Here is some code: $elemdata=file("noisydata.dat"); $number=count($elemdata);

php-windows Digest 23 Feb 2001 05:32:00 -0000 Issue 459

2001-02-22 Thread php-windows-digest-help
php-windows Digest 23 Feb 2001 05:32:00 - Issue 459 Topics (messages 5685 through 5706): Re: LDAP Configuration 5685 by: Gonzalo Vera 5686 by: Troy Moreland 5687 by: Ben Cairns 5688 by: Troy Moreland Re: Apache, PHP4, PHPLIB, include_path 5689 by: Ma

[PHP-WIN] Does anyone know any sites where a PHP programmer can find job?

2001-02-22 Thread Grishick
Anyone know any sites where a PHP programmer can find job? Specially in US. Thank you. Grigoriy Solovyev. [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

RE: [PHP-WIN] how to execute PHP code on the fly

2001-02-22 Thread Ignatius Teo
Hi Doug, use (the dreaded) eval() Ignatius > -Original Message- > From: Doug Brewer [mailto:[EMAIL PROTECTED]] > Sent: Friday, 23 February 2001 05:02 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] how to execute PHP code on the fly > > > I am storing html fragments in mysql

[PHP-WIN] Help PHP & Windows98

2001-02-22 Thread Roberto Paganelli
Please mail [EMAIL PROTECTED] Good luck, Andi At 03:01 PM 2/22/2001 +0100, Roberto Paganelli wrote: >Hi, >I try to install php404.exe on my pc Win98 sec ed, probably I have read >the instruction very fastly but... > >I have also installed >

Re: [PHP-WIN] PHP does not find .dll

2001-02-22 Thread Phillip Bow
Should be: extension_dir = e:\php4\extensions\ quotes don't seem to make a difference. I had similar trouble when I had my ini file in e:\php4\php.ini. I eventually had to move php.ini to e:\php.ini for this to work. I assume I could have changed the windows include path, but it worked at the t

[PHP-WIN] Should be an easy solution

2001-02-22 Thread OoCobra97
Hello, I'm writing an error handling script for my windows 2000 Server, Basically I'm exploding the query_string down to the error code, (404, 401, 500, ect...) and I want to add either (main, main2, desc, or sub) to the errorcode, how do I go about this? Im trying to do this so it eventually

[PHP-WIN] PHP does not find .dll

2001-02-22 Thread Xavier Paz
Hi, I am trying to set up a test machine with PHP 4.04 pl1 over Apache and SQL Server, and windows 2000, and I cannot get PHP to find the extension libraries. PHP is in e:\php4, with the extensions in e:\php4\extensions. In php.ini I have tried: extension_dir = "e:\php4\extensions\" ext

RE: [PHP-WIN] how to execute PHP code on the fly

2001-02-22 Thread Boget, Chris
> I am storing html fragments in mysql. The html has PHP in it. Here's > the problem: The text that is pulled out isn't "executed" as it is > returned. I can still see all the various php bits, in other words. > Is there a command to allow PHP to execute all the php code in a > string? check out

[PHP-WIN] how to execute PHP code on the fly

2001-02-22 Thread Doug Brewer
I am storing html fragments in mysql. The html has PHP in it. Here's the problem: The text that is pulled out isn't "executed" as it is returned. I can still see all the various php bits, in other words. Is there a command to allow PHP to execute all the php code in a string? Thanks, DB --

Re: [PHP-WIN] LDAP - Undefined index errors

2001-02-22 Thread Troy Moreland
I found my own answer... Problems: 1. I wasn't authenticating with enough rights to see certain fields. 2. I was getting the error if the field was empty. 3. I wasn't including all the fields in my search parameters. 4. You must use all lowercase when referring to fields. ie givenname, not gi

[PHP-WIN] LDAP - Undefined index errors

2001-02-22 Thread Troy Moreland
I am able to connect and get information from my directory now, thanks to a lot of peoples help! :) I now have a problem returning certain fields. For example, I am able to retrieve dn, surname, mail, and ou. I am NOT able to get givenName, telephoneNumber, title and company. I get the followi

Re: [PHP-WIN] Telnet, Socket Configuration

2001-02-22 Thread Gonzalo Vera
You must compile php with socket functions: it does not come pre-compiled in the binaries. Gonzalo. > Hi, > I am trying to write a web telnet interface and I have difficulties with > configuration for the socket functions... they are simply not > recognized. I have php4 on apache server for w

[PHP-WIN] Telnet, Socket Configuration

2001-02-22 Thread Victor Irzak
Hi, I am trying to write a web telnet interface and I have difficulties with configuration for the socket functions... they are simply not recognized. I have php4 on apache server for windows. I assume I should edit the php.ini file, but I have no idea what to do there. Any help will be appreci

[PHP-WIN] system, exec, passthru gehen nicht

2001-02-22 Thread Markus
Hallo Hab system, exec und passthru ausprobiert aber nichts geht. Code: $result = passthru("d:\\blat.exe",$erg); echo $result . "," . $erg; Ausgabe: ,1 Umgebung: 2000 + Apache + PHP4.0.5Dev + CGI WARUM ? -- Markus Wagner email: [EMAIL PROTECTED] Hobby: 747 Jumbo-Jet, Pontiac -- PHP Windo

RE: [PHP-WIN] ?Finders?

2001-02-22 Thread Ben Cairns
-- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK.." -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP-WIN] R: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Troy Moreland
YOU ARE THE MAN! That was the fix! I'm actually running IIS but that worked for me as well Woohoo!!! ""Giuseppe D'Ambrosio"" <[EMAIL PROTECTED]> wrote in message 004701c09cf3$368621c0$[EMAIL PROTECTED]">news:004701c09cf3$368621c0$[EMAIL PROTECTED]... > > hello Troy, > I think you need

[PHP-WIN] ?Finders?

2001-02-22 Thread Randall Barber
Someone told me today that a FINDER is a snippet of code that checks remote IPs and blocks against unwanted hosts. One way I thought of doing this is from the calling server the link is a form submit (post method) which contains the HTTP_SERVER_VARS["LOCAL_ADDR"] of the server in the post info

[PHP-WIN] R: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Giuseppe D'Ambrosio
hello Troy, I think you need also the libasl.dll, it's in the same "big" package: put it in a dir. in the path and give a try (restart apache..) HTH, bye, Giuse /---\ | http://boltthrower.webhop.org | \---/ -Messaggio originale---

Re: [PHP-WIN] Apache, PHP4, PHPLIB, include_path

2001-02-22 Thread Martin Burger
"Martin Burger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 970a5g$3c3$[EMAIL PROTECTED]">news:970a5g$3c3$[EMAIL PROTECTED]... > I try to use PHPLIB with PHP4 on a machine running "Apache/1.3.14 > (Win32) mod_jk PHP/4.0.4". With PHP3 (CGI) it works fine. With PHP Version 4.0.5-dev it works.

Re: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Troy Moreland
I did download the "big" download. I do have that file and have it in the correct directory. The file is called php_ldap.dll. "Ben Cairns" <[EMAIL PROTECTED]> wrote in message 3A94EB49@tech-01">news:3A94EB49@tech-01... > Please ensure that you do actually have the ldap dll, as these do NOT shi

RE: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Ben Cairns
Please ensure that you do actually have the ldap dll, as these do NOT ship with the windows installer. -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOG

Re: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Troy Moreland
Same result! : ( "Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I understand that I need to: > > - Uncomment php_ldap.dll extension in PHP.INI <- Done > > - Modify extension_dir in PHP.INI <- Done (C:\PHP\) > > I think this should be c:/php/e

Re: [PHP-WIN] LDAP Configuration

2001-02-22 Thread Gonzalo Vera
> I understand that I need to: > - Uncomment php_ldap.dll extension in PHP.INI <- Done > - Modify extension_dir in PHP.INI <- Done (C:\PHP\) I think this should be c:/php/extensions Take care to use front slashes. Regards, Gonzalo. -- PHP Windows Mailing List (http://www.php.net/) To unsub

php-windows Digest 22 Feb 2001 15:17:20 -0000 Issue 458

2001-02-22 Thread php-windows-digest-help
php-windows Digest 22 Feb 2001 15:17:20 - Issue 458 Topics (messages 5680 through 5684): PDFLib 5680 by: Randall Barber 5682 by: Chris Adams Pipe problem on php4.0.4... 5681 by: PHP Installing in winNT 5683 by: Administrator LDAP Configuration 5684

[PHP-WIN] LDAP Configuration

2001-02-22 Thread Troy Moreland
I have read many of the articles on how to get the LDAP extension module configured. I'm still having problems. I understand that I need to: - Uncomment php_ldap.dll extension in PHP.INI <- Done - Modify extension_dir in PHP.INI <- Done (C:\PHP\) - Give Full Control to IUSR_(machinename) <- Done

[PHP-WIN] Installing in winNT

2001-02-22 Thread Administrator
Hi I am very new in this area and I have to set up Apache, MYSQL,PHP and Perl work in winNT server. Some people said we have to follow sequence to make it work together, if that is true than which sequence we have to follow(which one first and which one is last)?. I downloaded PHP4 but I could

RE: [PHP-WIN] A better Winhelp file for PHP

2001-02-22 Thread John Henckel
At 01:29 PM 2/21/01 -0500, Asendorf, John wrote: >This one has worked well for me... Thanks, but that doesn't work either. From what I can tell, a "help" file has three ways to lookup things... the Contents, the Search, and the Index. The file I got from php.net has an empty Index, and the fil