Find Jobs
Hire Freelancers

Convert Perl Coding to PHP

$30-100 USD

Dalam Kemajuan
Disiarkan hampir 19 tahun yang lalu

$30-100 USD

Dibayar semasa penghantaran
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 Projek: 18243

Tentang projek

7 cadangan
Projek jarak jauh
Aktif 19 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
You got one!
$75 USD dalam 1 hari
5.0 (53 ulasan)
5.8
5.8
7 pekerja bebas membida secara purata $70 USD untuk pekerjaan ini
Avatar Pengguna
hi i can help you to get it done.
$100 USD dalam 2 hari
4.9 (574 ulasan)
8.7
8.7
Avatar Pengguna
I can make this in 5 days or less. Good luck!
$45 USD dalam 5 hari
5.0 (5 ulasan)
3.8
3.8
Avatar Pengguna
can be done....No probs
$70 USD dalam 1 hari
4.5 (2 ulasan)
3.3
3.3
Avatar Pengguna
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 dalam 14 hari
2.8 (12 ulasan)
4.8
4.8

Tentang klien

Bendera UNITED STATES
Huntsville, United States
5.0
2
Ahli sejak Mei 20, 2005

Pengesahan Klien

Pekerjaan lain daripada klien ini

Http_Referrer PHP Coding
$30-250 USD
Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.