| | #1 |
| Warrior Member Join Date: 2016
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
I use this code as reference. I won't paste the link where I got this since I am not sure if it is okay to paste external sites. PHP Code: Note: ob_start( ) is placed at the start of the page for the header to work. PHP Code: Relax: watch pete's dragon | watch bad moms | watch suicide squad |
| Last edited on 23rd Sep 2016 at 02:21 AM. | |
| |
| | #2 |
| Active Warrior Join Date: 2016
Posts: 57
Thanks: 1
Thanked 11 Times in 10 Posts
|
I would advice you to rename file while uploading to the specific folder or server so you will have unique name and it would better for you to delete it
|
| |
| | #3 |
| Bananas are Yellow! Registered Member War Room Member Join Date: 2013 Location: Wyoming, PA, USA
Posts: 1,046
Thanks: 2,549
Thanked 1,600 Times in 928 Posts
Blog Entries: 4 |
Two things strike me when I take a look at this: 1. The code is referencing files by the iterator from the loop, and you don't have much guarantee that this will remain consistent, (thus hitting the wrong file). Why not simply use the file name instead of a number? 2. HTML forms generally need two files, one to display the form, and one to take action, (though one can do this with a single file). I'm not against using a single file, but when you're first learning, it may be easier to use two. |
| Put MY voice on YOUR video: AwesomeAmericanAudio.com | |
| |
|
| Bookmarks |
| Tags |
| button, issue, php, variable |
| |