1
Hi Everyone!
This is my first steps of my first PHP script. I did not use OO, functions and classes. If you someone can help me answering my questions by editing the script it will be appreciated.
I need help in these requirements:
1- In the 'File Management' section:
* After deleting a file a new page open with a message saying 'File deleted successfully' then a 'Back' linking to the previous page:
What I need is an automatic redirect page after the message without requiring the user clicking 'Back'.
* The table that listing all files in the folder "Uploads", I want it to list only those files with the extension ".mor".
2- In the 'Upload' section:
* I need the same redirect page but with the message 'File uploaded successfully'.
* Another thing wanted is the script should not allow any file to be uploaded without the extension '.mor'.
The Script:
http://alhobayyeb.com/moratteb.zipBy the way this is not a module, I am just a newbie PHPier.
Thanks in advanced.