1
eHobayyeb
My first PHP script help me!
  • 2008/5/16 0:44

  • eHobayyeb

  • Just popping in

  • Posts: 39

  • Since: 2007/2/27


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.zip

By the way this is not a module, I am just a newbie PHPier.

Thanks in advanced.

Login

Who's Online

237 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits