Käynnissä

Article Script

I want have a script that combines "(part of ) articles" + "delay-feature" + "id to indicate which article to take".

I want to include this script in a html page (server side include) and of course the script should be fast !

Needed :

* a file with (parts of) articles => parameter "file=...", so in the file itself I need to add a separator line like "--NEXT--", so

I can add simple text or even html in it !

* in the script itself I want a "delay"-feature, so I need to be able to set a variable to xxxx seconds (so I can set it to 86400

for 1 day), this means after xxxx seconds the script needs to move the first part of the file and put it behind everything (last !),

so the first becomes the last one.. this only one time !

* this one is very important : an "id", this id will tell which article to take : 1 => first one, 2 => second one, etc... =>

parameter "id"

So I want 2 parameters in the url (file and id) and one variable in the script !

What does this mean ? I explain

Page 1 has id 1 in include script url

Page 2 has id 2 in include script url

.....

Page x had id x in include script url

So each page will display the first day :

article 1 (for page 1), article 2 (for page 2), etc..

I keep the names from day 1 to explain this...

Second day.. the delay feature kicks off (if set to 1 day !!), article 2 (for page 1), article 3 (for page 2), etc... article 1 (for

page x), but id didn't change, this happened because article 1 was moved to the end of file each xxxx seconds !

And so on...

It is thanks to the given "id" that the script knows which article needs to go which page (parameter in url)...

Note !! Count correctly number of articles in the file ( last can be the separator and nothing behind it !!!)

If you only have 9 articles (or article parts) but you have 10 pages, then 2 same articles will appear on 2 pages.. article 1 on

page 1 and 10 !

If you only have 9 pages and 10 articles, then the 10th article will appear the second day on page 9...

I only pay via Paypal !! This is a simple script, but I don't have the time for the moment..

If you have any questions, send me a PM !

No need to have a database.. it is always a small number of (part of) articles.. no use to have more..

Taidot: Perl

Näytä lisää: what does pending mean on paypal, on paypal what does pending mean, paypal x, script, moment, html script, explain everything, article--1, article 3, article $3, variable html, perl change file, pending script, thanks article, pages add line, separator, send article, text html perl, names change, html variable, script html, paypal article, moved url, script simple, article can

About the Employer:
( 14 reviews ) ...., Belgium

Projektin tunnus: #19322

Myönnetty käyttäjälle:

evereq

I can do it!

50 $ USD 7 päivässä
(3 arvostelua)
3.9

7 freelanceria on tarjonnut keskimäärin 86 $ tähän työhön

siddhartha1

Dear sir,we are ready to start, pls contact us via pm to discuss details,thanx

100 $ USD 6 päivässä
(4 arvostelua)
5.7
msteinke

I can do this for you per your instructions... please see PM for my thoughts.

80 $ USD 5 päivässä
(1 arvostelu)
2.2
viaden

Dear Sirs! We are a company of brilliant professionals with more than 10 years of experience, and we guarantee you the highest quality and the fastest turnaround possible! We are ready to work out the required Article Lisää

75 $ USD 2 päivässä
(0 arvostelua)
5.0
bid8

we can do it.

100 $ USD 2 päivässä
(0 arvostelua)
0.0
ebusiness

Our bid is for really very high quality work for your Article Script that will be made to be upgradable in case you need some upgrades in future. We will always be available for upgrades. Our bid includes six week free Lisää

100 $ USD 5 päivässä
(0 arvostelua)
0.0
nidle

Dear Sir/ Madam, We have examined your request and would be glad to develop the required script for you. More than 7 years of experience in the field of programming and development help us solve similar issues in Lisää

100 $ USD 8 päivässä
(0 arvostelua)
0.0