views:

124

answers:

0

Possible Duplicate:
Convert a Perl code to PHP

Hello all, I don't know much in Perl and I'm having problems converting a simple code from Perl to PHP: here is the code:

pack("SSA12AC4L",
                $id,
                $loc,
                $name,
                'ar',
                $get->getIP),
                time));

I'd appreaciate if anyone could help me in converting this to PHP. Thanks a lot.