[Tool/Web/Other] [PHP, MySQL] Music stream uploader
#1

Delete
Reply
#2

Looks good.
Nice work Jakku.
Reply
#3

Nice idea but you forgot to include the database structure. And your application is vulnerable to blind SQL injections and XSS. Also, it would be better if you include the config file with the MySQL credentials, it would avoid to change them in 3 different files. And storing error messages in sessions is not a good coding practice.

If you need some development tips, you can send me a PM
Reply
#4

Quote:
Originally Posted by R@f
Посмотреть сообщение
Nice idea but you forgot to include the database structure. And your application is vulnerable to blind SQL injections and XSS. Also, it would be better if you include the config file with the MySQL credentials, it would avoid to change them in 3 different files. And storing error messages in sessions is not a good coding practice.

If you need some development tips, you can send me a PM
Yes, I am quite new to PHP, and I did not mean to include the database information.
Reply
#5

nice work gona test it right now
Reply
#6

Omg Nice work!
Reply
#7

kiwi6.com - amazing mp3 hosting!
Reply
#8

Quote:
Originally Posted by Swimor
Посмотреть сообщение
kiwi6.com - amazing mp3 hosting!
Use it then
Reply
#9

NiiiiiCE
Reply
#10

Just a tip, please do not call this nice if you didn't even try to upload anything - That's called post hunting
Reply
#11

Nice Work
Reply
#12

Quote:
Originally Posted by Ghost_Boii
Посмотреть сообщение
Nice Work
Have you even tested reliability?

Gives me a message: "Error was encountered while handling an ErrorDocument."
Reply
#13

Quote:
Originally Posted by Youarex
Посмотреть сообщение
Have you even tested reliability?

Gives me a message: "Error was encountered while handling an ErrorDocument."
While uploading a file or when? In which format was your file and what's the size of it? I would not wonder a second if it was a host issue
Reply
#14

Yes, while uploading an .mp3 file (6,51 MB), upload is interrupted at around 50 percent.

I'll give it another try later on.
Reply
#15

After dozen more tries I've finally managed to upload a file which is 33.1 kb in size. When uploading files larger than (at least) 3 MB, connection is being interrupted and not only does this makes sense, occasionally it gives the message "The system encountered a problem with your file: You did not input your username!".
Reply
#16

The code blocks you from uploading large files, that's why you're getting the interruption error. It's meant for uploading playlist files, not music.
Reply
#17

Well, in that case you could have been more informative about file size limit. It says that supported file formats are m3u, mp3 and pls, no size limit. Also, mp3 is an audio file format, not a playlist. I may be wrong but who really cares...
Reply
#18

If you don't know things well, don't post them. Radio stations often use .mp3 for their online streams
Reply
#19

You're not giving good advice, friend. Wise would be to say; If you don't know how to, speak with us about it and you will learn. If I've said something wrong, then correct me. You may know some things that I don't but that's okay. When there's no equality, unless ego disappears, nobody can be friends. My advice to you is to be more friendly, there's no single obstacle preventing you from that
Reply
#20

Quote:
Originally Posted by Jakku
Посмотреть сообщение
Yes, I am quite new to PHP.
Quote:
Originally Posted by Jakku
Посмотреть сообщение
If you don't know things well, don't post them.
I'm sorry, but you are contradicting yourself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)