Generating HTML code

Discussion in 'PHP' started by rahulsonar, Mar 11, 2009.

  1. #1
    I am using wordpress MU.I want to allow my users to upload videos to the post and then I want to generate an HTML embedding code that they can embed this video in their post or blog.Is it possible?

    How can I do that???
     
    rahulsonar, Mar 11, 2009 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    yes. one way of doing it easily is by creating another page file with the IMPORTANT variables in the wp (sessions, POST,GET,COOKIES, etc..) and to return them to the original wp templates page after your custom program execution.
     
    bartolay13, Mar 11, 2009 IP
  3. rahulsonar

    rahulsonar Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply :)
    but I am not a good programmer, can you please explain me how to do it exactly???
     
    rahulsonar, Mar 12, 2009 IP
  4. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #4
    ok.. here's the summary
    this is the easiest way.
    - create your file/video uploader to a separate page
    - create a link from wp pages to you created page file uploader, then the variables must be secured between the page transfers
    - merge or create a table for the created page DATABASE to the wp or just add some columns to an existing table.
     
    bartolay13, Mar 12, 2009 IP
  5. rahulsonar

    rahulsonar Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks dude...

    I will try this out and let you know... :)
     
    rahulsonar, Mar 14, 2009 IP