Find Jobs
Hire Freelancers

Convert Perl Coding to PHP

$30-100 USD

En curso
Publicado hace casi 19 años

$30-100 USD

Pagado a la entrega
I'm using a basic html form with this call: Now, I use a perl tracking script for my referrers that attaches a cookie. Right now, I'm using a program that someone made that works like this. I link to a script say [login to view URL] that has this coding: #!/usr/bin/perl require('/home/[login to view URL]'); $SECUREURL = '[login to view URL]'; $MyCk = CookieGet($CookieID); if ($MyCk eq "1" && $Cookies{$CookieID} ne "") { $Referrer = $Cookies{$CookieID}; $Referrer =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; } elsif ($MyCk eq "1" && $Cookies{$CookieID} eq "") { $Referrer = $DefaultID; } elsif ($MyCk ne "1" && $ENV{'QUERY_STRING'}) { $Referrer = $ENV{'QUERY_STRING'}; } else { $Referrer = $DefaultID; } if ($Referrer eq "") { $Referrer = $DefaultID; } $NEWURL = $SECUREURL . '?' . $Referrer; print "Location: $NEWURLnn"; exit(0); Now, it refers to a file named [login to view URL], which it's code says this: #!/usr/bin/perl require('/home/[login to view URL]'); $ORDERFORM = '/home/[login to view URL]'; print "Content-Type: text/htmlnn"; if ($ENV{'QUERY_STRING'}) { $Referrer = $ENV{'QUERY_STRING'}; $Referrer =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; } elsif (CookieGet($CookieID) && $Cookies{$CookieID} ne "") { $Referrer = $Cookies{$CookieID}; } else { $Referrer = $DefaultID; } if ($Referrer eq "") { $Referrer = $DefaultID; } open(ORDER, "$ORDERFORM") || print "Unable to open Order Form for reading: $!nn"; @File=(); close(ORDER); foreach $line (@File) { if ($line =~ /<FORM/gi) { print $line . "nn"; } else { print $line; } } exit(0); Now, what it does is places this line of coding into the html page, which is what I want as I already have configured my php script to collect it: What I need is that coding to be converted into php and placed into the php script I'm using to send the html form. That way when the page is submitted, part of the scripts job is to collect the cookie code from the customer's computer and paste it into the email along with the rest of the data sent in the form. Can anyone give me a bid? Thanks Curtis
ID del proyecto: 18243

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 19 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
You got one!
$75 USD en 1 día
5,0 (53 comentarios)
5,8
5,8
7 freelancers están ofertando un promedio de $70 USD por este trabajo
Avatar del usuario
hi i can help you to get it done.
$100 USD en 2 días
4,9 (574 comentarios)
8,7
8,7
Avatar del usuario
I can make this in 5 days or less. Good luck!
$45 USD en 5 días
5,0 (5 comentarios)
3,8
3,8
Avatar del usuario
can be done....No probs
$70 USD en 1 día
4,5 (2 comentarios)
3,3
3,3
Avatar del usuario
How long have you wanted to convert this script? When you are ready to convert the script, choose my bid and we can get started. Only when you are ready.
$100 USD en 14 días
2,8 (12 comentarios)
4,8
4,8

Sobre este cliente

Bandera de UNITED STATES
Huntsville, United States
5,0
2
Miembro desde may 20, 2005

Verificación del cliente

Otros trabajos de este cliente

Http_Referrer PHP Coding
$30-250 USD
¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.