[PHP-WIN] setLocale() function

2002-01-04 Thread RoelS
Hello, could someone tell me if it's possible to change the locale on the system. I'm working with : * WinNT 4.0 Server * Apache 1.3.19 * PHP 4.1.1 I tried the following code (which is from the manual): setlocale ("LC_TIME", "C"); print (strftime ("%A in Finnish is ")); setlocale ("LC_TIME", "

[PHP-WIN] Re: Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!

2002-01-04 Thread ~fanta~
Have you enable the php function in the apache configuration(httpd.conf)? -- "Mark" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am fairly new to PHP and just finished setting up Apache 1.3.22 and PHP > 4.1.0 and can not get it to run correclty. I first tried

[PHP-WIN] Re: Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!

2002-01-04 Thread Mark
I added the following lines to my httpd.conf file: ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" This is correct correct? <--LOL!! Mark "~Fanta~" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

Re: [PHP-WIN] setLocale() function

2002-01-04 Thread Olivier Mascia
Hello, RoelS wrote: R> could someone tell me if it's possible to change the locale on the system. R> I tried the following code (which is from the manual): R> R> setlocale ("LC_TIME", "C"); R> print (strftime ("%A in Finnish is ")); R> setlocale ("LC_TIME", "fi_FI"); R> print (strftime ("%A, i

[PHP-WIN] Re: Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!

2002-01-04 Thread ~fanta~
It's correct. Did you try a page only with: --start of file-- --end of file-- maybe you php page have error because of the default setting of Debug mode is off in PHP 4.1.0. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-WIN] NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-04 Thread Mark
I apologize if the title of this post sounds overly aggresive, but I have followed the instructions to a 'T' and got nowhere!! I have tried the "auto" install version of PHP and manual instructions for installing PHP 4.1.1. Neither of them work. I added the lines to my httpd.conf file for both

php-windows Digest 4 Jan 2002 19:02:58 -0000 Issue 936

2002-01-04 Thread php-windows-digest-help
php-windows Digest 4 Jan 2002 19:02:58 - Issue 936 Topics (messages 11292 through 11301): Re: Performance tuning #2 11292 by: Peter Illes 11293 by: Peter Illes setLocale() function 11294 by: RoelS 11298 by: Olivier Mascia COM adn PHP4 11295 by: stép

[PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Jack Cazes
I have windows 2000 server with PHP 4.1.0 and Mysql. I'm not quite sure how PHP interelates with Mysql. Does PHP access Mysql directly? Or does it via the Windows ODBC. The reason why I am asking is because I have a user who wants a database created and wants to know the credentials to access the

RE: [PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Carl Campbell
I think it will suit you well, to get (and install) the 'phpMyAdmin' package. It will simplify the aspect of creating and maintaining the database, while you learn the ins-and-outs of MySQL. You may want to invest some time in reading and learning the MySQL documentation. Especially the part wh

[PHP-WIN] Re: COM adn PHP4 stéphane BOUCHONNET

2002-01-04 Thread SCOTT . NOVINGER
this site may provide some insight. phpbuilder.net here is an article that i found useful. http://www.phpbuilder.net/columns/alain20001003.php3 bon chance! scott -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP-WIN] Apache cant find my index.htm

2002-01-04 Thread t_virtussavant
first, i know this is not a group for apache. but i cant find any group that discuss apache (or newssever that has one). i use apache 1.3.20 with PHP4.1.0 on windows98SE the url is http://10.10.10.32 (you cant access it. its on a LAN) i have a subdirectory called blunt. but if i typed http://10.10

[PHP-WIN] print files

2002-01-04 Thread Leon_Tseng
Greetings all! I'm a newbie to PHP and I wonder how I can print a file (eg. .doc, .xls etc.) using PHP. I looked at the printer functions but I can't seem to print anything other than plain text and bitmaps. Any help would be greatly appreciated. :p -- PHP Windows Mailing List (http://www.php.

Re: [PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Jack Cazes
Actually I think I'm beginning to understand it. In the Mysql database is a USER table. In that table contains all the users and privileges...is this correct? Is there anyway of specifiying a certain user to a certain databasethat is only user A is allowed to access database B? Thanks again

RE: [PHP-WIN] COM adn PHP4

2002-01-04 Thread alain samoun
Replace: $ret=com_propset($word,Selection.Font.bold,True); $word->Selection->Font->bold("$ret"); With: $word->Selection->Font->bold=true; #Set font to bold for rest of document Or, to set all document to font/bold: $word->Documents->Add(); $myRange = $word->ActiveDocument->

[PHP-WIN] Re: Apache cant find my index.htm

2002-01-04 Thread LaserJetter
Apache is usually set up alredy to look for an index.htm OR index.html file as the start page in a directory. You can check this in httpd.conf: Open it in notepad and do a search for 'index.html' or 'index.htm' to find the list of pages to use as an index - you can add index.php if you wanted as w

[PHP-WIN] $PHP_SELF

2002-01-04 Thread Gregory Hart
Hi, I understand that the variable $PHP_SELF doesn't always work. I'm using Windows 98 SE with PHP 4.1.1. Is there any way to get $PHP_SELF to work? -Greg

[PHP-WIN] Re: $PHP_SELF

2002-01-04 Thread David
Gregory Hart said something on 05 Jan 2002, in php.windows: > Hi, > I understand that the variable $PHP_SELF doesn't always work. I'm > using Windows 98 SE with PHP 4.1.1. Is there any way to get > $PHP_SELF to work? > -Greg > >From the manual: http://download.php.net/manual/en/la

[PHP-WIN] Question about time functions

2002-01-04 Thread Michael Reynolds
Are there any functions which return the elapsed system uptime, in integer format, preferebly milliseconds or microseconds? Some people have suggested using the first key from the microtime() array, but that returns microseconds from Jan 1 '70, not microseconds since system start. __

[PHP-WIN] Re: $PHP_SELF

2002-01-04 Thread Steve Yates
"David" <[EMAIL PROTECTED]> wrote: > Gregory Hart said something on 05 Jan 2002, in php.windows: > > I understand that the variable $PHP_SELF doesn't always work. I'm > > using Windows 98 SE with PHP 4.1.1. Is there any way to get I think I have seen $PHP_SELF not work on PWS...is tha

php-windows Digest 5 Jan 2002 07:31:37 -0000 Issue 937

2002-01-04 Thread php-windows-digest-help
php-windows Digest 5 Jan 2002 07:31:37 - Issue 937 Topics (messages 11302 through 11312): Re: Newbie Question: Creating database 11302 by: Carl Campbell 11306 by: Jack Cazes Re: COM adn PHP4 stéphane BOUCHONNET 11303 by: SCOTT.NOVINGER.airborne.com Apache cant find