[PHP-WIN] setlocal dont work

2002-07-08 Thread Ingus
I tried to set locale to Latvian ( setlocale(LC_ALL,'lv_LV'); ) it doesn’t give anay erorr but when I trie to print date it is still in english, what should I do?? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] http Upload corrupts my files on winXP with Apache

2002-07-08 Thread Mathias B
Hello I use: Apache 2.0.36 and PHP 4.2.1 on WinXP I have major problems when trying to upload files with the following code: HTML code: "> Going to the PHP handler: if (is_uploaded_file($data)) { $realname = $_FILES['data']['name']; echo "data: $data run:".mo

[PHP-WIN] ODBC on Windows XP

2002-07-08 Thread Klaas Geldof
Hi, I always used PHP together with ODBC on Windows 98, but now I'm using Windows XP. I added to the ODBC sources the same stuff as before, but in PHP I always get an error (can't connect to ODBC-server... name of datasource not found...)! Has someone got these problems? Is there a difference bet

Re: [PHP-WIN] ODBC on Windows XP

2002-07-08 Thread Egil Helland
On Monday, July 8, 2002, at 11:45 AM, Klaas Geldof wrote: > Hi, > > I always used PHP together with ODBC on Windows 98, but now I'm using > Windows XP. > I added to the ODBC sources the same stuff as before, but in PHP I > always > get an error (can't connect to ODBC-server... name of datasource

[PHP-WIN] http Upload corrupts my files on winXP with Apache

2002-07-08 Thread Mathias B
Hello again My message below was labeled spam?!?!? So i should send it again i was told... sorry for the inconvenience... /Mathias ---original message --- Hello I use: Apache 2.0.36 and PHP 4.2.1 on WinXP I have major problems when trying to upload files with the following

[PHP-WIN] Re: PHP on IIS 5.0

2002-07-08 Thread colin mcdonald
This is what I had to do: -take out zend_optimizer from php.ini -put process isolation level to "HIGH" (as Michael suggested) -put IIS in the ISAPI filter list -disable chaching of isapi applications I hope this helps you and/or anyone else having this problem, because it took me a long time to

[PHP-WIN] Re: PHP Access violation

2002-07-08 Thread colin mcdonald
This is what I had to do: -take out zend_optimizer from php.ini -put process isolation level to "HIGH" (as Michael suggested) -put IIS in the ISAPI filter list -disable chaching of isapi applications I hope this helps you and/or anyone else having this problem, because it took me a long time to

RE: [PHP-WIN] Re: PHP on IIS 5.0

2002-07-08 Thread Brian McGarvie
I'm having a problem with PHP/IIS5.0 with the browser seems to just hang, at no particular stage it seems fine and then it dies Is this related to below... I've tried running php as .exe/isapi but still happens... > -Original Message- > From: colin mcdonald [mailto:[EMAIL PROTECTED]

Re: [PHP-WIN] Re: PHP on IIS 5.0

2002-07-08 Thread colin mcdonald
I haven't seen that, but it wouldn't suprise me. sorry. Brian McGarvie wrote: > I'm having a problem with PHP/IIS5.0 with the browser seems to just hang, at no >particular stage it seems fine and then it dies > > Is this related to below... I've tried running php as .exe/isapi but still hap

[PHP-WIN] Mcrypt Library on Windows 2000

2002-07-08 Thread Conover, Ryan
I was wondering if anyone successfully setup any of the mycrpt releases correctly on windows 2000 with php 4.2.1? Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP-WIN] Setting up a auto-incrementing id field in SQL Server

2002-07-08 Thread R.S. Herhuth
I would like to create a auto incrementing id field in SQL Server 2000. What data type should I use and what settings? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Setting up a auto-incrementing id field in SQL Server

2002-07-08 Thread colin mcdonald
lookup what it means to be an "identity column". colin R.S. Herhuth wrote: > I would like to create a auto incrementing id field in SQL Server 2000. > What data type should I use and what settings? > > Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP-WIN] PHP 4.2.1 and DOTNET (C#)

2002-07-08 Thread Thomas Weidner
Hy... Has anyone done a successfull connection between CSharp and PHP ? It should be working with the function "dotnet_load()", but it gives me always the error message "Fatal error: Call to undefined function: dotnet_load() ". php_info() says that the dotnet Modul is enabled. The build is 4.2.

RE: [PHP-WIN] playing with register globals ....

2002-07-08 Thread Dash McElroy
Toby, You may have some fun in this undertaking. If most of your variables are of one type (i.e. POST, or GET) then your transition should be relatively easy. You can't just do a mass replace though, as variables you set in the script won't work if you make them $_POST['varname']. It gets a bit m

[PHP-WIN] snmpwalk

2002-07-08 Thread MAAS
Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\alarm.php on line 7 This Is my code: ALARM ??? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Form, reading parameters

2002-07-08 Thread Jean Bresse
Hello: Took my first dip into the world on php over the weekend and got stumped on this: I cannot read the value of a form parameter. Here is the code: FORM: COP Server UserName: POST1.PHP Listing 1 " ); print(" The user name is: {$HTTP_POST_VARS['Us

[PHP-WIN] Re: Form, reading parameters

2002-07-08 Thread colin mcdonald
try $_POST[''] instead of $HTTP_POST_VARS[''] this changed recently. also, $username probably doesn't work because you have register_globals turned off in your php.ini colin Jean Bresse wrote: > Hello: > > Took my first dip into the world on php over the weekend and got stumped on > this: >

[PHP-WIN] MIB and snmp

2002-07-08 Thread MAAS
Iam trying to get some data on a php homepage. I get the data vith snmp msg. I get som msg, but when I try to get a speciall object ID i get this: ALARM 27 (port 52): Warning: Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. in c:\inetpub\wwwroot\alarm.php on line

[PHP-WIN] track_vars and register_globals

2002-07-08 Thread David Elliott
Hi all, Ok So what am I doing wrong. System WIN 2K with 4.2.1, track_vars is enabled and register_globals is disabled. I have two pages page1.php ==8<= Hello visitor, you have seen this page times. To continue, click here =

php-windows Digest 8 Jul 2002 19:47:02 -0000 Issue 1230

2002-07-08 Thread php-windows-digest-help
php-windows Digest 8 Jul 2002 19:47:02 - Issue 1230 Topics (messages 14584 through 14603): Re: playing with register globals 14584 by: toby z 14598 by: Dash McElroy setlocal dont work 14585 by: Ingus http Upload corrupts my files on winXP with Apache

[PHP-WIN] Administration using PHP/ADSI

2002-07-08 Thread Bill Rucker
I have written an intranet application that needs to be used by different types of users. However, I want to prevent some users from changing the data in the database. The server providing this application is running PHP 4.2 on IIS5. I would like to capture the error message cleanly and present a

[PHP-WIN] Closest store location by zip code

2002-07-08 Thread R.S. Herhuth
Does any one know of a php script to calculate the closest store to a user entered zip code? Thanks, Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Closest store location by zip code

2002-07-08 Thread George Nicolae
Does any one know a php script that send to my account unlimited money? -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP-WIN] track_vars and register_globals

2002-07-08 Thread David Elliott
Hi Scott On 08 July 2002 at 10:02:42 -0500 (which was 16:02 where I live) Scott Carr wrote > $SESSION['count'] should be used to access the variable. Did not work but see below. > Register globals set to true, would let you use $count, but is not > suggested due to security risks. True that i

Fw: [PHP-WIN] Re: Closest store location by zip code

2002-07-08 Thread Paul Roberts
No but when you find it please post it here. - Original Message - From: "George Nicolae" <[EMAIL PROTECTED]> To: <> Sent: Monday, July 08, 2002 9:16 PM Subject: [PHP-WIN] Re: Closest store location by zip code Does any one know a php script that send to my account unlimited money? --

RE: [PHP-WIN] track_vars and register_globals

2002-07-08 Thread Shrock, Court
$SESSION['count'] wouldn't workbut $_SESSION['count'] shouldif not, you are using an older version of PHP. > -Original Message- > From: David Elliott [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 1:18 PM > To: php-windows > Subject: Re: [PHP-WIN] track_vars and registe

[PHP-WIN] Re: track_vars and register_globals

2002-07-08 Thread David Elliott
Greetings Court On 08 July 2002 at 13:20:48 -0700 (which was 21:20 where I live) Shrock, Court emanated these words of wisdom > $SESSION['count'] wouldn't workbut $_SESSION['count'] shouldif > not, you are using an older version of PHP. It works. Ta. -- Best regards, ___

Re: [PHP-WIN] Re: Closest store location by zip code

2002-07-08 Thread Scott Hurring
Actually, a fine gentleman from Nigera the other day emailed me the encrypted source code to just such a script all i had to do was give him my bank account information and let him transfer over $25 million to me so i could afford some machines to crack the encryption. :-) -- Scott Hurring S

Re: [PHP-WIN] playing with register globals ....

2002-07-08 Thread Scott Hurring
Erm, it might be easier to use $_REQUEST rather than determining _POST and _GET (and possibly running into prob's later if the form submission METHOD changes) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Dash McElroy" <[EMAIL PROTECTED]> wrote in message ABA3F1F1A223D

[PHP-WIN] Re: COM stalls the server..

2002-07-08 Thread Scott Hurring
Have you been making sure that the COM app. actually finishes and cleans up properly on the server (i.e. CTL+ALT+DEL process list doesn't show it)? I was playing with Excel+COM with PHP 4.2.0 and there was a bug with the COM implementation and the Excel instance would never terminate so after

[PHP-WIN] Re: WinampCOM problem

2002-07-08 Thread Scott Hurring
What user is your Server running as? For me, when i setup apache on my Win2k machine, i had to "RunAs" my personal "scott" account, rather than the system account, or else apache wouldn't be able to read certain "scott-only" files perhaps the user that apache is running as doesn't have permis

[PHP-WIN] Re: Session - funny or magic?

2002-07-08 Thread Scott Hurring
I assure you, it's not magic, and it doesn't stop working "without reason" - there's always a reason with computers :) Could you please send a code snippet so we can see exactly what you're doing? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Tomator" <[EMAIL PROTECTE

[PHP-WIN] Using file metadata and Windows 2000/XP's Index

2002-07-08 Thread C.A. Malartre
Hi I'dd like to know if anyone knows how to connect to the SQL engine behind Windows 2000/XP's file Indexing service and if you know how to read file properties (ie, metadata, size, date, etc...). It would be quite cool because I would not have to build an index of files and a database of the

[PHP-WIN] Re: Administration using PHP/ADSI

2002-07-08 Thread Manuel Lemos
Hello, On 07/08/2002 04:48 PM, Bill Rucker wrote: > I have written an intranet application that needs to be used by different > types of users. However, I want to prevent some users from changing the data > in the database. The server providing this application is running PHP 4.2 on > IIS5. I wou

[PHP-WIN] Zip Problem

2002-07-08 Thread Mathew Joseph
Hi There, I am trying to incorporate zipping and unzipping files on a windows platform via PHP. I came across ZZiplib but wasnt able to find any information with regard to windows installation. Is there anyone who has tried something similar ? If yes, could you give me installation details and

[PHP-WIN] time stamp .... ????

2002-07-08 Thread toby z
hi guyz im trying to save user uploaded files each with a unique name now 1. for some strange reason this piece of code aint working :S if (is_uploaded_file($HTTP_POST_FILES['$userfile']['$name'])) { copy($HTTP_POST_FILES['$userfile']['$name'],"c:/tmp uploadz/"); } else { echo

[PHP-WIN] XML parser file

2002-07-08 Thread Mathew Joseph
hi there, does any one have copies of XMlparser.dll and xmltok.dll. these files seem to be missing on my comp. could someone send it across. thanks, Mathew -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] XSL problem

2002-07-08 Thread Mathew Joseph
Hi there, I have been trying for the past hour to try and get the XSL installation correct in PHP(windows). inspite of the file being there in the extensions dir, Apache gives me an error saying php_xslt.dll not found. What could be the problem. The path is correct because PHP is able to fin