...what? What does any of this mean? Are you trying to make a pastebin? Why is curl involved at all?

Sorry, didnt make much sense. The pastebin already exists on my network, and the only way that I can currently post to it is via curl as the example describes. I am trying to create a user interface via PHP to complete the command for me(or the end user).