Re: [PHP-WIN] Re: New PHP

2002-01-20 Thread John Z
I love this article Building a Database-Driven Web Site Using PHP and MySQL http://www.mysql.com/articles/ddws/index.html -- 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 adminis

php-windows Digest 21 Jan 2002 05:00:38 -0000 Issue 962

2002-01-20 Thread php-windows-digest-help
php-windows Digest 21 Jan 2002 05:00:38 - Issue 962 Topics (messages 11527 through 11535): Re: Redirection Question. 11527 by: Symeon Charalabides Re: Is ISAPI stable ? 11528 by: John Lim $PHP_SELF 11529 by: Aasmund Sæter 11530 by: Rasmus Lerdorf 11

[PHP-WIN] Imap_Open

2002-01-20 Thread Neil H.
How can I add Imap support on PHP 4 (latest build) on windows 2000? Thanks, Neil

[PHP-WIN] Re: Help with regex

2002-01-20 Thread John Moeller
Michael, First off, you can eliminate the right-left stuff with the regex. Use: ereg("%ial\(([^[:blank:]]{1,},[0-9]{1,})\)",$text,$temp) Adding the parentheses around your function arguments lets you reference your "string,num" pattern directly with $temp[1]. For that matter, just use: ereg(

Re: [PHP-WIN] $PHP_SELF

2002-01-20 Thread Rubén Gutiérrez
On Sun, 20 Jan 2002 16:03:13 +0100 "Aasmund Sæter" <[EMAIL PROTECTED]> wrote: > I have been trying to get $PHP_SELF to display the filename, but I only get > "Warning: Undefined variable: PHP_SELF ". Isn't this a supposed to a > predefined variable? > > I got Windows XP, Apache 1.3.12 and PHP 4

Re: [PHP-WIN] New To PHP need help with mail

2002-01-20 Thread Rubén Gutiérrez
On Sun, 20 Jan 2002 15:40:23 - "Ross Fleming" <[EMAIL PROTECTED]> wrote: > Asuuming you have PHP setup already, edit your PHP.ini file. Change your > mail settings in it to: > [mail function] > ; For Win32 only. > SMTP= mail.mysmtpserver.com ; for Win32 only > > ; For Win32 only. > sendmai

[PHP-WIN] wildcards

2002-01-20 Thread Symeon Charalabides
I must be missing something here... I've got these 3 lines of code: if (file_exists('dir/'.$filename.'.gif')) unlink('dir/'.$filename.'.gif'); if (file_exists('dir/'.$filename.'.jpg')) u

Re: [PHP-WIN] $PHP_SELF

2002-01-20 Thread Rasmus Lerdorf
Are you inside a function when you do this? If so, make sure you use global $PHP_SELF; at the top of the function. -Rasmus On Sun, 20 Jan 2002, Aasmund Sæter wrote: > I have been trying to get $PHP_SELF to display the filename, but I only get > "Warning: Undefined variable: PHP_SELF ". Isn't t

[PHP-WIN] $PHP_SELF

2002-01-20 Thread Aasmund Sæter
I have been trying to get $PHP_SELF to display the filename, but I only get "Warning: Undefined variable: PHP_SELF ". Isn't this a supposed to a predefined variable? I got Windows XP, Apache 1.3.12 and PHP 4.1.0. I use PHP as a Apache module. Shouldn't it work then? I read on www.php.net that PHP

Re: [PHP-WIN] Is ISAPI stable ?

2002-01-20 Thread John Lim
Hi I have found that there are bugs in the isapi version when you have errors in your PHP code. PHP 4.1.1 does not clean up properly at times and eventually will crash. If your PHP code has no errors you might find ISAPI to be reliable. I run test suites for the ADODB library with deliberate sc

Re: [PHP-WIN] Redirection Question.

2002-01-20 Thread Symeon Charalabides
> A lot of people have trouble with sending the Location header. A more > effective means is sending this: > > header("Refresh: 1;url=/path/to/myinfo.php"); > > I believe that's right. I haven't done it in awhile... > Like the HTML header, you can even turn 1 into 0 and get redirected straight

php-windows Digest 20 Jan 2002 15:39:45 -0000 Issue 961

2002-01-20 Thread php-windows-digest-help
php-windows Digest 20 Jan 2002 15:39:45 - Issue 961 Topics (messages 11524 through 11526): New To PHP need help with mail 11524 by: Burrito 11526 by: Ross Fleming load data infile problem 11525 by: rop30999 Administrivia: To subscribe to the digest, e-mail:

RE: [PHP-WIN] New To PHP need help with mail

2002-01-20 Thread Ross Fleming
Asuuming you have PHP setup already, edit your PHP.ini file. Change your mail settings in it to: [mail function] ; For Win32 only. SMTP= mail.mysmtpserver.com ; for Win32 only ; For Win32 only. sendmail_from= [EMAIL PROTECTED] ; for Win32 only and save it. Then, in the formaction.php page, use