Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 hmmm help me out with that for a sec. so save the index.html as index.php cause eventuall its not gunna be on the index.html it will be like stream.html soo... change what again i dont think i follow u on the meta tag either Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392643 Share on other sites More sharing options...
teng84 Posted November 16, 2007 Share Posted November 16, 2007 men i spend almost an hour *sigh* anyways.... in some case when you save your page as .html the php script is not functioning so if you will run your page with php script save it as whatever.php or better yet have all your page as whatever.php not whatever.html... now this.... <meta http-equiv="refresh" content="3" /> this tags force your page reload after three second it is located at the top see the last code i gave you... 3 represent the seconds before it reloads. men my nose is bleeding speaking your language (English) im not good at it so sorry for my poor explanation Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392644 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 hahaha no man, props to you id give u a hug if i where there lol. ive spent 3 nights trying to figure this out, and tonight i said fuck it im on my 10th beer and gotta work at 7 am lol. Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392647 Share on other sites More sharing options...
teng84 Posted November 16, 2007 Share Posted November 16, 2007 whoa!! at last i think its done ..right? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392649 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 IDK AHHHHHH I was talking to my roomie make it so a baby can figure it out, cause i cant think anymore "drink till you cant feel feelings anymore" ~Family Guy~ so change the meta that u wrote, and replace it with the meta on the index and save the index as index.php? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392651 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 im so lost now im so sorry for being a noob to i dont know much about php gimmie a php script and i can tell u what it does, make me make a script im lost. Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392652 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 well anyways i changed it to index.php but it wont work do i have to delete my index.html? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392654 Share on other sites More sharing options...
teng84 Posted November 16, 2007 Share Posted November 16, 2007 yes.. Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392655 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 did that now its nothing just white ahh i suck im so sorry Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392658 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 im lost u said it works fine on urs, and i deleted mine and saved it as .php but i get a white screen i put <?php in the begining and ?> at the end what did ur page look like? what u got it to work with? i could edit that i just need something that works and i can edit the rest. Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392666 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 bump Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392720 Share on other sites More sharing options...
~n[EO]n~ Posted November 16, 2007 Share Posted November 16, 2007 Do you have PHP installed in your PC or on the Server ? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392728 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 hmm im using a shared host, godaddy.com do i need to do anything with that? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392885 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 hmm i set up a mysql but not sure how you want me to do my index.php file?? So just copy all this into a notepad and save it as .php??? or am i missing something? :'( <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="refresh" content="3" /> <title>DCP WAIF</title> <style type="text/css"> <!-- body { background-color: #000000; } --> </style> </head> <body> <OBJECT ID="embedded_player" height="45" width="180" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" VIEWASTEXT> <PARAM name="FileName" value="http://www.digitalcyberpunk.com/music/<?=$title?>" /> <param name="AutoStart" value="True"> <param name="ShowStatusBar" value="False"> <param name="ShowPositionControls" value="0"> <param name="Loop" value="True"> <embed name="wmplayer" TYPE="application/x-mplayer2" pluginspace="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" FileName="http://www.digitalcyberpunk.com/music/<?=$title?>" Width="180" Height="45" ShowPositionControls="0" ShowStatusBar = "False" Loop="True" </embed> </OBJECT> <div align="center"> <table width=" "> <tr> <td><img src="images/n.jpg" width="801" height="605" /></td> </tr> </table> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-392896 Share on other sites More sharing options...
Waifthe3rd Posted November 16, 2007 Author Share Posted November 16, 2007 bump Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-393029 Share on other sites More sharing options...
teng84 Posted November 16, 2007 Share Posted November 16, 2007 can i see the page now? Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-393197 Share on other sites More sharing options...
teng84 Posted November 16, 2007 Share Posted November 16, 2007 DONE>>>> mark this as solved Quote Link to comment https://forums.phpfreaks.com/topic/77544-solved-loop-and-randomize-playlist-help/page/2/#findComment-393202 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.