Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #1

Open
kaizoku75 opened this issue Apr 24, 2020 · 3 comments
Open

error #1

kaizoku75 opened this issue Apr 24, 2020 · 3 comments

Comments

@kaizoku75
Copy link

Parse error: syntax error, unexpected '?' in C:\xampp\htdocs\YDrive-Google-Drive-Proxy-master\demo.php on line 16
and how can i use it?

@vonhatduc
Copy link

you can use php 7.1, on higer php you must change some code

@wulandrima1
Copy link

Parse error: syntax error, unexpected '?' in C:\xampp\htdocs\YDrive-Google-Drive-Proxy-master\demo.php on line 16
and how can i use it?

for php 5.6

<?php 
/*|---------------------------------------------
  |     YDrive - Google Drive Video Proxy
  |  ©2017-2020 Yotsubal - YotsubalRU PROJECT 
  |---------------------------------------------
  */
  
// Demo

include("core.php");
// Init
$s = new YDrive();
// get Resolution List
//print_r($s->getResolution());
// set new ID df
$s->setID($_GET["id"]);
// set Resolution
$s->setResolution($_GET["m"]);
// download Link 
$s->setDownload($_GET["alt"]);
// Start Stream
$s->stream();

echo $s;
?>

@kaizoku75
Copy link
Author

work on 5.6
but nothing 7.1 or higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants