php-windows Digest 31 May 2002 06:31:06 -0000 Issue 1170

2002-05-30 Thread php-windows-digest-help
php-windows Digest 31 May 2002 06:31:06 - Issue 1170 Topics (messages 14025 through 14037): Re: GD & Freetype on W2K/Apache1.3.2/PHP4.2.0 14025 by: Michael Davey Somebody please help beginner with variable problem 14026 by: Sim 14027 by: Michael Davey 14028

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Nikolai Jeliazkov
try nl2br http://www.php.net/manual/en/function.nl2br.php Nikolai Jeliazkov Ross Fleming wrote: > Thanks for that, if only because I didn't know PHP included the "foreach" > function, useful to know. :) > > Ross > > >>-Original Message- >>From: Michael Reynolds [mailto:[EMAIL PROTEC

RE: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Ross Fleming
Thanks for that, if only because I didn't know PHP included the "foreach" function, useful to know. :) Ross >-Original Message- >From: Michael Reynolds [mailto:[EMAIL PROTECTED]] >Sent: 31 May 2002 04:36 >To: [EMAIL PROTECTED] >Subject: Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA e

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Michael Reynolds
--- Michael Reynolds <[EMAIL PROTECTED]> wrote: > > --- Matt Babineau <[EMAIL PROTECTED]> wrote: > > Is there any way to detect linefeeds and replace them with for > > output in html? > > > > $data=explode("\n",$data); > foreach ($data as $line) { > print($data."\n"); (oops) replace that wi

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Michael Reynolds
--- Matt Babineau <[EMAIL PROTECTED]> wrote: > Is there any way to detect linefeeds and replace them with for > output in html? > $data=explode("\n",$data); foreach ($data as $line) { print($data."\n"); } $data=implode("\n",$data); __ Do You Y

[PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Matt Babineau
Is there any way to detect linefeeds and replace them with for output in html? Matt Babineau Freelance Internet Developer - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO

[PHP-WIN] Change Password E-mail

2002-05-30 Thread Cokis
Dear php windows groups, Can change password email with php scripts (not ASP scripts) ? My system NT 4.0 Server and MS-Exchange 5.5. Thanks Hotma MS -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP.INI Lockdown

2002-05-30 Thread David Redmond
Although "php.exe -c c:\winnt\" works from the console, it doesnt seem to work through IIS. Entry in IIS is; e:\php\php.exe -c "c:\winnt\" %s Cheers -Original Message- From: David Redmond Sent: Friday, 31 May 2002 12:13 PM To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] PHP.INI Lockdown

[PHP-WIN] PHP.INI Lockdown

2002-05-30 Thread David Redmond
HiĀ All, is there anyway to lockdown the PHP.INI file so that only the one stored in C:\WinNT\ is read in by PHP? As it stands, you can place a copy of the INI file into the same directory as the script that your browsing to, and PHP will use that as its configuration file, rather than the one i

[PHP-WIN] Re: Apache2 and PHP4

2002-05-30 Thread PHPGeek
My writeup of Apache2/PHP4. http://www.phpgeek.com/articles.php?content_id=3 Felionious wrote: > After i switched from the IIS that came with windows 2000 server and went to > Apache2 none of my php are loading correctly. The server doesnt fault at > all, it just shows my php pages in text form w

Re: [PHP-WIN] Somebody please help beginner with variable problem

2002-05-30 Thread Luis Ferro
It seams that PHP isn't set to process the vars. It is needed to change the php.ini in some place where there is the following: ; You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible

[PHP-WIN] Re: Somebody please help beginner with variable problem

2002-05-30 Thread Michael Davey
Hmm - I would check your config again as I have just run your code on my server and it works without any problems... regards, Mikey "Sim" <[EMAIL PROTECTED]> wrote in message 01c2081c$ac9b7190$6401a8c0@athlon">news:01c2081c$ac9b7190$6401a8c0@athlon... > Hi, > > Please don't reply with R

[PHP-WIN] Somebody please help beginner with variable problem

2002-05-30 Thread Sim
Hi, Please don't reply with RTFM. I just installed Apache 2.0.36 and PHP 4.2 in Win XP Pro. Apache is running fine */localhost/ is working* and is showing the config. I have set register_globals = On. So I practice following the source code from the book (and even used the book's files), i

[PHP-WIN] Re: GD & Freetype on W2K/Apache1.3.2/PHP4.2.0

2002-05-30 Thread Michael Davey
OK, have found some stuff on the site regarding where the fonts should be located (i.e :/dir/.ttf) and also that I should use a Unix style path, however, this still doesn't work - all I get is empty space where the font should be and a warning that it couldn't find the font... :-( "Michael Davey

php-windows Digest 30 May 2002 15:45:11 -0000 Issue 1169

2002-05-30 Thread php-windows-digest-help
php-windows Digest 30 May 2002 15:45:11 - Issue 1169 Topics (messages 14021 through 14024): Re: mail() and user name 14021 by: Steve Yates Re: Email Addresses 14022 by: Mark Filipak Apache2 and PHP4 14023 by: Felionious Array of COM objects doesn't work in PHP but

[PHP-WIN] Array of COM objects doesn't work in PHP but does in ASP?

2002-05-30 Thread Noah
Hey guys, OK I favor PHP so far above ASP however it doesnt seem like PHP can handle an array of COM Objects. Here's the scenario: Within the 'Deal' object contains an array of 'Bonds'. I want to access each bond by doing: $comDeal->Bonds->Item[$i]; ( btw Item is part of