Simple PHP job, I want :
Script where I can specify multiple contents for example (body1,body2,body3) and specify options when to show (for example with referer [login to view URL]) then generate a php file.
The options when to show which content (body1/2/3) need to be controllable and have the following 2 possibilities :
- Based on referer (for example [login to view URL] / [login to view URL])
- Based on magic number, let php randomize magic number from 1 to (user specificied) example 30.
When the magic number is for example 7 then display specific body content, also the magic number match needs to be specified.
When somebody visits the site it gets the content (body1 or 2 or 3) displayed according to their referer.
Timeframe is +- 1-3 days.