html5 player

Doubt it…

Thats because you are not linking locally… instead of include(“http://localhost/test/all.php?season=1&episode=2”);

you should be using:
include(“all.php?season=1&episode=2”);

Else you will get the error - unless you change your php.ini config.

i test in my website and i get blank page no error and not video

Thats because you are trying to pass variables through include.

Just do it the way i said…

[php]

<?php $season = mysql_real_escape_string($_GET['season'] - 1); $episode = mysql_real_escape_string($_GET['episode'] - 1); $url = array( array( 'https://googledrive.com/host/0B_4b_1HlxqypYmlncHBEUE03aU0/%5Bhttp:%2F%2Fan1me.info%5D%20Gintama%20001', 'https://googledrive.com/host/0B_4b_1HlxqypYmlncHBEUE03aU0/%5Bhttp:%2F%2Fan1me.info%5D%20Gintama%20002', 'https://googledrive.com/host/0B_4b_1HlxqypYmlncHBEUE03aU0/%5Bhttp:%2F%2Fan1me.info%5D%20Gintama%20003' ) ); echo ' '; ?>

[/php]

OR

all.php
[php]
$url = array(
array(
‘URL FOR VIDEO 1 SEASON 1’,
‘URL FOR VIDEO 2 SEASON 1’,
‘URL FOR VIDEO 3 SEASON 1’
),
array(
‘URL FOR VIDEO 1 SEASON 2’,
‘URL FOR VIDEO 2 SEASON 2’,
‘URL FOR VIDEO 3 SEASON 2’
)
);
[/php]

index.php
[php]

<?php $season = mysql_real_escape_string($_GET['season'] - 1); $episode = mysql_real_escape_string($_GET['episode'] - 1); include('all.php'); echo ' '; ?>

[/php]

I am not replying to anymore.

xaxaxa ok, like this is working but i don’t get the specific video only the first if i try to put all.php?season=1&episode=2 is not working :frowning: :frowning: :frowning: :frowning:

Well thats probs cus you didn’t copy the code right…

[php]
$url = array(
array( /* EACH OF THESE ARRAYS ARE THE SEASON. THIS IS SEASON 1 /
“”, /
EACH OF THESE ARRAYS ARE THE EPISODE./
“”
),
array( /
THIS IS SEASON 2 /
“”, /
THIS IS SEASON 2 AND EPISODE 1 /
“” /
THIS IS SEASON 2 AND EPISODE 2 */
)
);[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service