Find Jobs
Hire Freelancers

Need a small PHP script for my server - Read Description

$10-30 USD

Concluído
Publicado há mais de 9 anos

$10-30 USD

Pago na entrega
I have a mobile application that has a image banner in it displayed When the app is connected to the internet it goes to a specific folder on my server and access a PHP scrip on there (See Attachment) and display's images in that folder randomly If an image is clicked in the app it will open the web browser and direct to a URL link each image has a specific link attached to it You will understand more when you see the attached file each image banner in the folder on the server is named banner1, banner2, banner,3 and so on all is .png Everything above works fine What I need is: A click counter When ever any of the links in the PHP scrip that i have created are open i want a log file created in the same folder letting me know how many times that link is clicked lets say i have 10 image banners with 10 separate links if any of the links is clicked its in the log file generated Log file should be banner 1 and 2 and 3 so on depending on the amount of banners (links) i have in my PHP script and next to it a count that just adds 1 every time its clicked and if i delete the log file generated the counter starts again from 0 a bit complicated to explain but easy to do
ID do Projeto: 6844597

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Hello, already made theoretical script which works properly on my server I will put you my comments to code, check it please kindly: --- // after clicking on given image mobile web browser are opening link as follows: // [login to view URL]$1 // $1 is value of id parameter which means that visitor should be redirected to $1's banner link // in [login to view URL] you only get banner's random image with it's link, // in [login to view URL] you are reaching destination with callback function which would be your all clicks log // validate $id as being numeric and lower than 5 numbers // get banner folder // check if log file exists // if yes: // open log file // get value from log file // clear file // make value + 1 and save to file // terminate fopen // if not: // create new, make sure PHP has got permision to create files // with 1 value, because clicking on this baner invoked creation of file, this click should be indexed as 0 + 1 = 1 // get destination url // redirect to destination url with 301 Moved Permanently status, --- If you are pleased with my solution please contact with me. Cost of my services are 15$ and job will be done within several hours or faster from givin' me original code. Please aware that before I will send you script done I will want to see Milestone Payment ready for me on panel. It is only for comfort of payment when I will be working and I always request employer before to have it ready. Best regards, Xarvalus
$15 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
8 freelancers estão ofertando em média $24 USD for esse trabalho
Avatar do Usuário
hello my friend, I am ready to start right now, I give u this low price because I want to create a good profile. you want a counter and I am ready to do it. I will waiting on Chat . Regard's.
$20 USD em 1 dia
4,9 (7 avaliações)
3,3
3,3
Avatar do Usuário
A proposal has not yet been provided
$25 USD em 1 dia
4,9 (3 avaliações)
2,3
2,3
Avatar do Usuário
Hi, I have a lot of practice with php+various db types and this should not be a dificult task for me to acomplish.
$25 USD em 1 dia
4,8 (2 avaliações)
0,9
0,9
Avatar do Usuário
La propuesta todavía no ha sido proveída
$25 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) EGYPT
Cairo, Egypt
5,0
30
Método de pagamento verificado
Membro desde set. 16, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.