[PHP-WIN] Apache + PHP4 can't connect ODBC

2001-05-04 Thread Art
I have Win NT4.0/SP3 with OmniHttpd as my Web Server for S/W dev. project. It's about Web-Base MS Access Database with ODBC and it's run properly. Recently I decided to use Apache instead. So I remove Omni and install Apache instead, and then PHP. After that I move my program to Apache folder and

php-windows Digest 5 May 2001 02:25:17 -0000 Issue 580

2001-05-04 Thread php-windows-digest-help
php-windows Digest 5 May 2001 02:25:17 - Issue 580 Topics (messages 7277 through 7303): Problems with php 3.0.17 and multipart/data enctype with the post method 7277 by: Karsten Spies Re: how to create a PHP4 library 7278 by: John Lim Cannot upload file with POST method. I

Re: [PHP-WIN] XML-RPC for Windows

2001-05-04 Thread Paul Meagher
For the last couple of days, I have been evaluating the PHP-based XML-RPC server from Codepunk. I was able to get it to run on my Windows ME platform. The XML-RPC server is called Hailstone and is available for download here: http://www.codepunk.com It looks quite promising. The XML-RPC serv

Re: [PHP-WIN] Path error session.save_path at php.ini.

2001-05-04 Thread Joe Brown
It works if you have a c:\tmp directory and you run php from the c: drive. However, instead of creating a tmp directory, you may want to alter your php.ini to point it to a directory of your choice. -Joe ""Chris Boothe"" <[EMAIL PROTECTED]> wrote in message 001501c0d4cc$8c78d580$4c347218@fw1">n

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
It is currently in c:\winnt\php.ini ""Joe Brown"" <[EMAIL PROTECTED]> wrote in message 9curkt$34g$[EMAIL PROTECTED]">news:9curkt$34g$[EMAIL PROTECTED]... > Where is the php.ini file your editing? > > c:\windows\php.ini? > > ""Shawn Anderson"" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTE

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
I have both, but the php.ini file say session.save_path = c:\tmp ""Joe Brown"" <[EMAIL PROTECTED]> wrote in message 9curi9$294$[EMAIL PROTECTED]">news:9curi9$294$[EMAIL PROTECTED]... > Do you really have a \tmp directory? > is it c:\tmp or c:\temp? > Which does your php.ini specify? > > ""Svenss

[PHP-WIN] Path error session.save_path at php.ini.

2001-05-04 Thread Chris Boothe
Has anyone seen this before or know how to fix it? I am trying to run setup.php from phpProjeckt. Session error! please set the correct temp path in the variable session.save_path at php.ini. The ini file has a value of /tmp does this work on IIS5? Thanks, Chris Boothe [EMAIL PROTECTED]

Re: [PHP-WIN] XML-RPC for Windows

2001-05-04 Thread John Lim
I also had the same problem when i tried a couple of months ago on Windows (on IIS). It appears to only work under Unix. -John ""Paul Meagher"" <[EMAIL PROTECTED]> wrote in message 01a801c0d3d6$4adaf6e0$6c35de18@datavore">news:01a801c0d3d6$4adaf6e0$6c35de18@datavore... > I have haven't been able

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
The other piece of info that may be helpful is that the session file does get created, I just still get the warning: Warning: open(/tmp\sess_7b79cf61fc29e3b9654ca2bb21251b87, O_RDWR) failed: m (2) in c:\inetpub\wwwroot\interface.php on line 28 and line 28 - start_session(); Shawn -Origi

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
I tried that and it has no effect at all :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 2:25 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP 4.05, IIS5 and session...

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread OoCobra97
I better clarify that, hehe, but in my php.ini I have: session.save_path = /tmp Hello, Im running win2k with iis5, heres what i have in php.ini: /tmp My files are created in my server root, eg. my server files are located in g:\server, and my web docs in g:\server\www and my session

Re: [PHP-WIN] trouble with MySQL 'LIKE' command

2001-05-04 Thread r.gelstharp
Done like you recommended with the selectlike '%".$var."%' but it still gives me empty rows of data. Everytime I try and search for something it returns with 7 rows of data, all of which are blank. I'm using the basic mysql_num_rows to get the number of rows of data it retrieves, and I'm usin

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread OoCobra97
Hello, Im running win2k with iis5, heres what i have in php.ini: /tmp My files are created in my server root, eg. my server files are located in g:\server, and my web docs in g:\server\www and my session files in g:\server\tmp it seems to work fine for me. Let me know if it works or not. ~Je

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Joe Brown
Where is the php.ini file your editing? c:\windows\php.ini? ""Shawn Anderson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have tried c:\temp, c:\php\temp, c:\inetpub\wwwroot\cgi-temp all with the > same result and same error code. It would appear that n

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Joe Brown
Do you really have a \tmp directory? is it c:\tmp or c:\temp? Which does your php.ini specify? ""Svensson, B.A.T. "" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6302E73927@mail1">news:27E647E5629ED211BF78009027289C6302E73927@mail1... > > > >-Original Message- > >Fro

Re: [PHP-WIN] trouble with MySQL 'LIKE' command

2001-05-04 Thread PHPWIN
or. $sql="...like '%$name%'"; note $sql="."; and not '..'; double not single in double quotes your $name is evaluated otherwise you close the string append your variable then apend the rest of the string get wat I mean? Xon - Original Message - From: "r.gels

Re: [PHP-WIN] trouble with MySQL 'LIKE' command

2001-05-04 Thread PHPWIN
$sql=" name like '%".$name."%' "; - Original Message - From: "r.gelstharp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 05, 2001 2:00 AM Subject: [PHP-WIN] trouble with MySQL 'LIKE' command > I'm trying to implement a search on my site. When the user enters a

[PHP-WIN] trouble with MySQL 'LIKE' command

2001-05-04 Thread r.gelstharp
I'm trying to implement a search on my site. When the user enters a search string and pressed the Search button it sends the search string into a cariable I call searchfor, and I then construct a query that goes something like : "SELECT FROM WHERE product_name LIKE $searchfor. now I know t

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Svensson, B.A.T.
What about "c:\\temp" ? >-Original Message- >From: Shawn Anderson [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 04, 2001 7:37 PM >To: Flint Doungchak >Cc: [EMAIL PROTECTED] >Subject: RE: [PHP-WIN] PHP 4.05, IIS5 and session... > > >I have tried c:\temp, c:\php\temp, c:\inetpub\wwwroot\cgi

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
I have tried c:\temp, c:\php\temp, c:\inetpub\wwwroot\cgi-temp all with the same result and same error code. It would appear that no matter what I set the session save dir to, it does not take effect. BTW, all of those directories have read/write/create permissions set. Shawn -Original Mess

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Svensson, B.A.T.
Well if you set session.save_path to "" I can wildly imagine php will use a kind of default value to save your files BUT on the other hand your first statement was about that you could not do an open() on your file... So I can't see the relevance in your comment... /Anders >-Orig

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
Hmm, I have actually tried both and neither seems to have any effect at all. No matter what I set session.save_path to, it always creates the files in c:\tmp -- very strange :) -Shawn -Original Message- From: Flint Doungchak [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 1:04 PM T

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Flint Doungchak
Shawn, You php.ini file should have something like: ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. session.save_path = C:\temp where C:\temp exists and I_USER_machinename has read/write permissions. It looks like you may have defined th

RE: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Svensson, B.A.T.
>-Original Message- >From: Shawn Anderson >Sent: Friday, May 04, 2001 6:49 PM >but I keep getting the following error: > >Warning: open(/tmp\sess_2cd53ab5183707a5629c02a5ad9da129, . ^ ??? >Can anyone suggest anything? -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Shawn Anderson
Hi there, I am a little new to the whole PHP world and have started playing with it recently. I am trying to get the session thing working but I keep getting the following error: Warning: open(/tmp\sess_2cd53ab5183707a5629c02a5ad9da129, O_RDWR) failed: m (2) in and I don't know why. I have set r

Re: [PHP-WIN] Cannot upload file with POST method. IIS4 PHP 4.0.5

2001-05-04 Thread Alessio Bernesco Làvore
Ok, solved. Don't know why but in php.ini on non-functional machine the register_globals var was turned off, so the parameters where not passed with the post command. Thanks all for the answers. Bye, Alessio. ""Alessio Bernesco Làvore"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9cugcd$7kn$[E

[PHP-WIN] Cannot upload file with POST method. IIS4 PHP 4.0.5

2001-05-04 Thread Alessio Bernesco Làvore
Hello, Using the same script used under Windows2000 IIS 5.0 (where it works) cannot upload file to the server under NT 4.0 IIS4.0 The php ini file, the (tried) uploaded file and modality (cgi) are identical on both platforms. Ideas? thanks Alessio. -- PHP Windows Mailing List (http://www.php

Re: [PHP-WIN] how to create a PHP4 library

2001-05-04 Thread John Lim
Add dollars in front of every variable, remove all type declarations and add dollars into my pocket :-) I just realised you probably mean you want to create a php extension. Visit zend.com for docs, or read the tutorial in PHP Cookbook by Sterling Hughes, Sams Publishing. ""Andre Steffens"" <[EM

[PHP-WIN] Problems with php 3.0.17 and multipart/data enctype with the post method

2001-05-04 Thread Karsten Spies
Hi there, I'm running php 3.0.17 and mysql 3.23.37 on a windows 95 platform for local demonstration purposes. When I use the enctype "multipart/data" with the post method instead of "text" php crashes. The same script using "multipart/data" works fine on a linux and a unix platform. Thanx for he

php-windows Digest 4 May 2001 11:26:28 -0000 Issue 579

2001-05-04 Thread php-windows-digest-help
php-windows Digest 4 May 2001 11:26:28 - Issue 579 Topics (messages 7270 through 7276): Re: mysql dump 7270 by: Giro De Roover encrypt 7271 by: Seth Cox 7274 by: Daniel Beulshausen how to create a PHP4 library 7272 by: Andre Steffens echo vs print?

[PHP-WIN] Aache Browser

2001-05-04 Thread him
Sir, The site you have suggested is not available online.The page is not being displayed. -- 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 administrators, e-mail: [EMAIL PROTECT

Re: [PHP-WIN] echo vs print?

2001-05-04 Thread Daniel Beulshausen
At 10:38 04.05.2001 +0200, Johan Lundqvist wrote: >Hi there, > >I'm lookin into some code a friend of mine wrote and we got in to this >arguement: > >Is there any differens in performance when using "echo" vs "print"?? >I belive print is, more or less, an alias for echo, he doesn't. > >Someone got

Re: [PHP-WIN] encrypt

2001-05-04 Thread Daniel Beulshausen
At 22:20 03.05.2001 -0500, Seth Cox wrote: >I've searched everywhere and I cannot find the php_crypt.dll file >anywhere. I didn't come with the package when I installed PHP 4.05 on my >windows nt Sambar server. If this is the extension that allows the >encrypt() and decrypt() functions, does an

[PHP-WIN] echo vs print?

2001-05-04 Thread Johan Lundqvist
Hi there, I'm lookin into some code a friend of mine wrote and we got in to this arguement: Is there any differens in performance when using "echo" vs "print"?? I belive print is, more or less, an alias for echo, he doesn't. Someone got any answer to this??? /Johan -- PHP Windows Mailing Lis

[PHP-WIN] how to create a PHP4 library

2001-05-04 Thread Andre Steffens
I use PHP with windows and want create a php4 library from a C sourcecode... How to do this ? thanx -- 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 administrators, e-mail: [EMAI