Re: [PHP-WIN] Regular expressions

2004-01-15 Thread Meteorlet
Gerardo Rojas,Hello! you might use single quote,such as '\|' === 2004-01-16 02:13:45 === >i found out what was happening. > >i was using: "\|" as the or > >but "\" is also an escape character so i needed "\\|" as an OR. > >-- >Gerardo S. Rojas >mailto: [EMAIL PROTECTED] > > >

Re: [PHP-WIN] how to check the form filled all

2004-01-15 Thread Meteorlet
Sungpill Han,Hello! $value="" should be corrected $value=="" === 2004-01-15 17:33:14 === >HI, i want to check if the user filled the all inputs in the form. So, I >checked NULL and "" with this function in the post receiving script. >--- >function is_

[PHP-WIN] test message

2004-01-15 Thread Sungpill Han
i can't post! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 16 Jan 2004 00:15:05 -0000 Issue 2082

2004-01-15 Thread php-windows-digest-help
php-windows Digest 16 Jan 2004 00:15:05 - Issue 2082 Topics (messages 22579 through 22587): Is the link correct? 22579 by: Disko_kex 22580 by: Humberto Silva Re: undefined printing functions 22581 by: Humberto Silva Not about PHP, but 22582 by: Jose Mar

[PHP-WIN] how to check the form filled all

2004-01-15 Thread Sungpill Han
HI, i want to check if the user filled the all inputs in the form. So, I checked NULL and "" with this function in the post receiving script. --- function is_filled_out() { // test that each variabl has a value foreach($_POST as $key => $value) { if(is_null($value)

RE: [PHP-WIN] Regular expressions

2004-01-15 Thread Gerardo Rojas
i found out what was happening. i was using: "\|" as the or but "\" is also an escape character so i needed "\\|" as an OR. -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: Ignatius Reilly [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:36 AM To: G

Re: [PHP-WIN] Regular expressions

2004-01-15 Thread Ignatius Reilly
What do you want to replace a match with? _ - Original Message - From: "Gerardo Rojas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 18:16 Subject: [PHP-WIN] Regular expressions I have 2 regular expressions that work correctly. How

[PHP-WIN] Regular expressions

2004-01-15 Thread Gerardo Rojas
I have 2 regular expressions that work correctly. How do i combine them to work as 1 or 2 1: /^\d\{1,2}\. 2: /^\s\d\{1,2}\. i want to replace any matching pattern with either regular expression. It would be nice if i could put this in a single command. Currently i have this mapped

RE: [PHP-WIN] Not about PHP, but ....

2004-01-15 Thread Humberto Silva
Hi, This is offtopic i'm sure there are mailling lists to this questions... Anyway i would check for the HD or wrong acess times, RAM timming setting in the BIOS.. Humberto Silva World Editing Portugal -Original Message- From: Jose Marcos Souza Junior [mailto:[EMAIL PROTECTED] Sent:

[PHP-WIN] Not about PHP, but ....

2004-01-15 Thread Jose Marcos Souza Junior
Hi people The question thats i have is not about PHP, but a very weird problem with windows ! --- in the inicialization of the system, it's give the error: "Protection error of the system. It must be reinicialized"

RE: [PHP-WIN] undefined printing functions

2004-01-15 Thread Humberto Silva
In the php.ini make sure this points to the directory where the php_printer.DLL is. extension_dir = "./" Humberto Silva World Editing Portugal -Original Message- From: Luis Moreira [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 14 de Janeiro de 2004 15:03 To: [EMAIL PROTECTED] Subj

RE: [PHP-WIN] Is the link correct?

2004-01-15 Thread Humberto Silva
>From the manual notes: http://www.example.com";, "r"))) { print("File exists."); } else { print("File does not exist."); } ?> Humberto Silva World Editing Portugal -Original Message- From: Disko_kex [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 15 de Janeiro de 200

[PHP-WIN] Is the link correct?

2004-01-15 Thread Disko_kex
Hi $link = "http://www.does_not_exists.com";; Is there a way to check if the link is correct and return true or false? Thanks //jocke -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 15 Jan 2004 08:04:44 -0000 Issue 2081

2004-01-15 Thread php-windows-digest-help
php-windows Digest 15 Jan 2004 08:04:44 - Issue 2081 Topics (messages 22578 through 22578): Reguler Expression with php 22578 by: Idur Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To

[PHP-WIN] Reguler Expression with php

2004-01-15 Thread Idur
Hi again, I have function using regular expression in php, to read URL address and process it, the sample of URl address is like this : mail1.plasa.com --> the result -->mail1.plasa.com mail.yahoo.com --> the result -->mail.yahoo.com us.f416.mail.yahoo.com ---> the r