How do I convert from perl to php?
| From: | digital1 at olypen dot com | Date: | Tue, 20 Nov 2001 22:09:39 +0000 |
| Subject: | How do I convert from perl to php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75295@lists.php.net to get a copy of this message | ||
I am a perl user trying to convert to php
how would i turn this perl into php?
use CGI;
$name = param(name);
$address = param(address);
$phone = param(phone);
@required = qw( name address phone );
foreach $key($required)
{
if (!$$key) { &out("You left one empty."); }
}
??
---------------------------------------------
This message was sent using OlyPen's WebMail.
http://www.olypen.com
The original message was received at Tue, 20 Nov 2001 14:05:28 -0800
from mail.olypen.com [208.200.248.2]
----- The following addresses had permanent fatal errors -----
<php-general@lists.php.ne>
(reason: 550 Host unknown)
----- Transcript of session follows -----
550 5.1.2 <php-general@lists.php.ne>... Host unknown (Name server: lists.php.ne: host not
found)
Attachment: [message/delivery-status]
Attachment: [message/rfc822]
Attachment: [message/delivery-status]
Attachment: [message/rfc822]