In Progress

simple PHP script

Need a simple PHP script (web service) that will be serving up records from an XML file.

The XML file contains records. Each record looks like this:

<sponsor>

<id>1</id>

<weight>10</weight>

<iPhone_banner>[url removed, login to view]</iPhone_banner>

<BB_banner>[url removed, login to view]</BB_banner>

<Link>[url removed, login to view]</Link>

</sponsor>

The PHP script should read the file, and return one record in XML format. The record should be chosen based on the <weight> tag. So if the <weight> value is 10, then this record should be chosen 10% of the time. If it is 60, then it should be chosen 60% of the time.

The XML file is called [url removed, login to view], a sample of it is attached.

I must be able to add records to [url removed, login to view] and the PHP script should still work fine.

Skills: PHP, Software Architecture

See more: file service architecture, script ads, work service php, php tag, png php, php read file, sponsor script php, php record, link ads script php, php xml web service, php file web service, xml web service php, sponsor php script, php based web service, simple php service, php return, php sample, php sample script, software php script, web service php, xml web service, file format png, php ads, simple php work, script sponsor php

About the Employer:
( 12 reviews ) kanata, United States

Project ID: #1115791

Awarded to:

leoe

Please check PMB. Thanks. Leo.-

$50 USD in 0 days
(105 Reviews)
6.6

5 freelancers are bidding on average $64 for this job

eelance

i can make the script for you.

$40 USD in 1 day
(345 Reviews)
6.8
rosew100

Please check PM

$40 USD in 0 days
(86 Reviews)
6.7
mmadi

Hi, please check your PM

$40 USD in 2 days
(20 Reviews)
5.2
dnzrzNdevrz

Hello, We are a company based out of London, UK. We have completely gone through the requirements attached by you. We will complete the tasks mentioned by you in 3 days and the charges will be $150. These are bal More

$150 USD in 3 days
(0 Reviews)
0.0