kazhual
2012-11-28 03:32:42
Hello,
I used GDrive to upload a file for version checker.
I found the view link of the docment. ( if i get this to work i'll tell how ).
The link is:
> Click me to view <
The output for me is:
"B1.0". on the webpage there is no HTML, JAVA or w/e stuff just "B1.0"
I cant get the output with:
I could not get the output.
When using XAMPP ( own server on pc, offline )
Getpage works with HTTP and HTTPS:
version := GetPage( 'http://localhost/downloads/Version.txt' ) ;
version := GetPage( 'http://localhost/downloads/Version' ) ;
version := GetPage( 'https://localhost/downloads/Version.txt' ) ;
version := GetPage( 'https://localhost/downloads/Version' ) ;
Could it be the "*" in the webpage?
Any suggestions?
I used GDrive to upload a file for version checker.
I found the view link of the docment. ( if i get this to work i'll tell how ).
The link is:
> Click me to view <
The output for me is:
"B1.0". on the webpage there is no HTML, JAVA or w/e stuff just "B1.0"
I cant get the output with:
program getwebpagevariable ;
{$DEFINE SMART}
{$i srl/srl.simba}
var
version, webpage : string ;
begin
cleardebug ;
webpage := 'https://doc-0o-9c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/c7g3rc283fp9ul5g0k0meogk5phacja8/1354082400000/02543824905479969343/*/0B9c4dt86DWJSanp3c2pQUzZaR2c' ;
GetPage( webpage ) ;
OpenWebPage( webpage ) ;
Writeln( '*****' ) ;
Writeln( version ) ;
Writeln( '*****' ) ;
end.I could not get the output.
When using XAMPP ( own server on pc, offline )
Getpage works with HTTP and HTTPS:
version := GetPage( 'http://localhost/downloads/Version.txt' ) ;
version := GetPage( 'http://localhost/downloads/Version' ) ;
version := GetPage( 'https://localhost/downloads/Version.txt' ) ;
version := GetPage( 'https://localhost/downloads/Version' ) ;
Could it be the "*" in the webpage?
Any suggestions?