[PHP-WIN] searching help

2001-09-05 Thread Devon
$Query = "SELECT * FROM enet WHERE TechContact LIKE '%' AND AdminContact LIKE '%'"; This query simply prints out my entire tables, is there a way using PHP so I can make the '%' a user input so they can search the table under those fields. Cheers -- PHP Windows Mailing List (http://www.php

Re: [PHP-WIN] Install issue

2001-09-05 Thread Phil Driscoll
On Wednesday 05 September 2001 8:36 pm, Kirk Mitchell wrote: > Color me stupid, but which one would that be? Looking at them, > php_pgsql.dll looks likely, but SQL isn't on the server. Do I need to have > it on there? That's the dll, but it only provides the functionality for connecting to a Post

[PHP-WIN] Apache1.3.20+mod_ssl+php4.06

2001-09-05 Thread Administrator
Hello php-windows, Help me! can not install! Apache_ssl has installed, but php will not get up!! -- Best regards, Administrator mailto:[EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-WIN] Debug in VC

2001-09-05 Thread Avex
Hi all, How can I debug PHP in VC ? I have compiled to PHP.exe, however , I dont know how to debug with IIS5. PS: IIS5 is ready, my compiled PHP runs okay. Alex -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

[PHP-WIN] SNMP Message

2001-09-05 Thread Anov Mailoa
Need help, plz... I get this message on my PHP page after I included SNMP module in my php.ini: Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Can

php-windows Digest 6 Sep 2001 01:22:16 -0000 Issue 739

2001-09-05 Thread php-windows-digest-help
php-windows Digest 6 Sep 2001 01:22:16 - Issue 739 Topics (messages 9197 through 9205): Re: Local Apache 9197 by: Jonathan Wright (DjNA) Re: php/apache $remote_addr variable help! 9198 by: pasupathy PHP4-Apache-WinNT config problems 9199 by: Brad Harriger 304 Not

[PHP-WIN] Re: Has anyone else problemes using session under win98 running apache?

2001-09-05 Thread Gaylen Fraley
Try this. It works under my w98se: doc1.php: Click to see if Doc2 knows who valid_user is" ?> doc2.php: -- Gaylen "Mindfield" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I just cant get my sessions to remember my variabels, any ideas. > > -- PHP

[PHP-WIN] Re: PHP 406 on W2K+IIS, GD and freetype

2001-09-05 Thread Stephan Figge
Hi, in PHP 4.06 the file path to the ttfs is compiled into the binaries and the ttf functions aren't capable of taking full path names (afaik they will fix the problem in 4.07). To figure out wich directory php is using try filemon from www.sysinternals.com to locate it (should be something like

[PHP-WIN] What's my problem with nl2br and a text file?

2001-09-05 Thread Asendorf, John
Why am I having such a hard time with this code? $doc = "doc.txt"; $text = nl2br ( readfile ("D:\\foob\\bar\\foo\\$doc" ) ); echo $text; OR $doc = "doc.txt $text = readfile ( "D:\\foob\\bar\\foo\\$doc" ); $text = nl2br ( $text ); echo $text; NEITHER of these give me any breaks... I'm at my

Re: [PHP-WIN] Install issue

2001-09-05 Thread Kirk Mitchell
At 09:25 AM 9/5/01 +0100, Phil Driscoll wrote: >> >> Fatal error: Call to undefined function: pg_connect() in >> F:\inetpub\etgcompanies\fibercom\doc\global.php on line 2 >> >> The file noted contains: >> >> > $conn=pg_Connect("","","","", "joel"); >> ?> >> >> Any ideas? > >You probably haven't en

[PHP-WIN] errorhandler problems with mssql

2001-09-05 Thread Bryan Kaufman
I am having a problem with my custom errorhandler "ignoring" the exit (or die) inside the handler. I have experienced it with several mssql_* functions. php 4.0.6 and php 4.0.7 running in cgi mode on iis 5 Try the code below: using an invalid servername, it behaves properly (returns an error).

[PHP-WIN] 304 Not Modified

2001-09-05 Thread Ouster
I'm making a sort of cache system. I fell to this problem: I leave a cookie with the timestamp of the last access, and when the user reconnect, I compare the timestamp of the last change with the timestamp sent me with the cookie. Then I leave a new cookie. So: if($last_modified <= $last_access)

[PHP-WIN] PHP4-Apache-WinNT config problems

2001-09-05 Thread Brad Harriger
Hello all, I'm trying to set up PHP4 and Apache on a WinNT box. When I try to run the php scripts from a browser, I get a 500 error with the following text [Tue Sep 04 11:46:30 2001] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe Any ideas how i can resolve this

Re: [PHP-WIN] php/apache $remote_addr variable help!

2001-09-05 Thread pasupathy
Bryan Kaufman wrote: > Try > this gives the same result i.e 127.0.0.1 > > also try > > > It will tell you all the vars available, and you can > see if register_globals is turned off (which is why > you need to use HTTP_SERVER_VARS[]) yes the register globals is 'on' for both local and ma

Re: [PHP-WIN] Local Apache

2001-09-05 Thread Jonathan Wright (DjNA)
I think that if you send the option bind to 127.0.0.1 or localhost, that may work. Failing that, using the VirtualHost options, if you create two, and set one as 127.0.0.1 and the other as _default_, then you can create two sites, one which you can view (localhost), and the other to say that y

php-windows Digest 5 Sep 2001 10:12:57 -0000 Issue 738

2001-09-05 Thread php-windows-digest-help
php-windows Digest 5 Sep 2001 10:12:57 - Issue 738 Topics (messages 9187 through 9196): PHP CGI-mode - Problem with Apache ForceType directive 9187 by: David M. Patterson In Need of... 9188 by: chicago23f.yahoo.com Install issue 9189 by: Kirk Mitchell 9193

[PHP-WIN] Local Apache

2001-09-05 Thread Sichta Daniel
Hi, My PC is in network. I'm using Apache for developing sites but I don't want to other people in network access my Apache. What should I change in httpd.conf file ? Or is it possible to do it ? DAN

[PHP-WIN] Re: opendir trouble (accessing directories)

2001-09-05 Thread Michel Laine
Try $dir_name = "../files"; Paul Kalyakin wrote: > i've installed Apache 1.3.20 and PHP 4.06 > i've added the following strings to the httpd.conf file > > ServerName localhost2 > ServerAdmin [EMAIL PROTECTED] > DocumentRoot "c:/inetpub/localhost2 > > Options Includes Fo

[PHP-WIN] Re: opendir trouble (accessing directories)

2001-09-05 Thread Michel Laine
Try $dir_name = "../files"; Paul Kalyakin wrote: > i've installed Apache 1.3.20 and PHP 4.06 > i've added the following strings to the httpd.conf file > > ServerName localhost2 > ServerAdmin [EMAIL PROTECTED] > DocumentRoot "c:/inetpub/localhost2 > > Options Includes Fo

Re: [PHP-WIN] Install issue

2001-09-05 Thread Phil Driscoll
On Tuesday 04 September 2001 9:24 pm, Kirk Mitchell wrote: > I've installed php4.0.6 on a NT4(sp6a)/IIS4 machine and followed all the > instructions I could find on the matter; application mapping, > extensions_dir setting, etc. I'm getting the following when trying to run a > slideshow: > > Fat