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 !
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 script professionaly and in time.
Please, contact us via PMB and provide with further details.
Warm regards,
Viaden Inc
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 the shortest time possible with due quality. Trust us: the result will surpass your expectations. At the moment our analysts have a number of questions to you. Please, feel free to contact us via PMB for further discussion.
Best Regards,
Nidle Inc.