HostKube

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP and MySQL help!
08-10-2007, 12:00 AM
Post: #1
PHP and MySQL help!
Hi wonder if some one know how the podnix have done with the stage6 add function ???
http://www.podnix.com/en/videos/add.html

i have try to do it my self but without of luck Shy

i wanna try to do it....so i can add the stage6 id and then place the video into diffrent catagory !!

plz help me out someone !

btw awsome forum!
Find all posts by this user
Quote this message in a reply
08-10-2007, 01:10 AM (This post was last modified: 08-10-2007 01:10 AM by goughy000.)
Post: #2
RE: PHP and MySQL help!
do you just want to add the urls into a database

or do you need to find where the .divx files are stored?

i know both but no point writing code for one if you need the other.

Videos are stored at:
http://video.stage6.com/VIDEO-ID/.divx
(including that / before .divx)

[Image: poweredby.jpg]
Web Hosting | Shoutcast Servers | Custom Solutions
Visit this user's website Find all posts by this user
Quote this message in a reply
08-10-2007, 09:58 AM
Post: #3
RE: PHP and MySQL help!
i want so that i can add the dvix id into the add box like in the podnix page......after u add the divx code......u can save the id or the media into the database.....and in each catagory...and the code generate a webpage automaticly.....like the joox.net

any one know how to create such a code with some sql table...would be greate.....plz help me out!
Find all posts by this user
Quote this message in a reply
08-10-2007, 01:26 PM
Post: #4
RE: PHP and MySQL help!
Well if its like the others you'll want to seperate and obtain the divx file itself. I'm not going to spend ages showing you how so i'll show you the code of interest.

Code:
<script type='text/javascript' language='javascript'>
    /*<![CDATA[*/
    var dv = new divx_video(728, Math.round(728 * 528 / 1280), '1165999', 'dv', true, '');
    dv.add_param('disableDimmer', 'true');
        dv.set_min_version('1.4.0');
    dv.render();
    /* ]]> */
</script>

The 1165999 is in the url showing its a mod rewrite and that its how the site id's which video to use. Find the class "divx_video()" and just try and trace back.
Complicated yeah.

Er, in regards to the input of the url then, you'll probably want to regex or explode the values so that you just get the code for the video or something.

ByteForums: Rules | Challenges | PHP Tutorials | Myspace | Youtube
[Image: birdie312.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  PHP MYSQL help please project_syntax 11 561 01-02-2009 05:02 PM
Last Post: Josh Connerty
rofl mysql update where id=$id slangnit 5 342 10-21-2008 01:46 AM
Last Post: slangnit
Question [Tips]Progogre - PHP (Non-mysql) progogre 7 282 01-22-2008 04:49 PM
Last Post: goughy000

Forum Jump:

Contact UsByte ForumsReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication