Hello,
i need to modify one php script
and create a page that will show database log
plus mysql command to create a database
in other words,
(modify) one php page should log incoming requests to database
(create) other page - to show what was logged by previous page
thank you!
## Deliverables
some scripting details
1) from time to time external server will validate service for availability with parameter "test". in such a case script should respond with
<Response><SmsText>data that was given in test parameter </SmsText></Response>
i.e. if test was test=20061212150143 than response is
<Response><SmsText>20061212150143</SmsText></Response>
2) md5key = md5(serviceNumber + smsText + country + abonentId + SecretKey + now [+ retry] [+ debug [+ DebugSecretKey]])
3) if there is a debug parameter - it should be logged to the database too. extra column in the database should indicate the debug flag (if any)
initial php script is attached. please modify it in proper sections.