Automaticly generating files and uploading on server- loop, php

74 views
Skip to first unread message

Blackbird76

unread,
Jun 22, 2016, 6:02:20 PM6/22/16
to PHP Framework Interoperability Group
Hello Guys.
I don't know if I am right here, but I thought you maybe know about PHP.
Here is my problem. I have a server where apache2 Ubuntu is running on, and i already have written a script where you can upload some files with. You can enter your name and, then I eddit a button who gives You entery to the files you have, where you can select one and then you can submit it. At the moment i am testing with this server and therefore i was going to upload some files. It took me a while to create some files with the size of ca. 30 mb, because I have to have different files, but a minimum different is okay. But its not alowed to be the exactly same, you know.
I thought i could create a loop wich generates some random files, goes automaticly to an website, and there it enters one spezifc Name (allways the same), and then its going to upoad automaticly the random generated file. And it would be okay if the loop does it 30 times, because I don't want to crash the server.
Maybe somebody has some time and give some code, how i can do this.

But maybe i am in the wrong forum too. So sorry if this happens.

Have a nice day.

Blackbird.

Larry Garfield

unread,
Jun 22, 2016, 6:11:13 PM6/22/16
to php...@googlegroups.com
This is not a support channel.  Try php-g...@lists.php.net or ##PHP on irc.freenode.net.

Cheers.

--Larry Garfield
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/b4e80ab0-9b8f-4b6c-b21e-84f332a8770c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages