y2kbug Posted December 7, 2006 Share Posted December 7, 2006 [CODE]<a href="#" onclick="this.href=unescape(document.getElementById(\'VideoPlayback\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\'Download Flash Video\';return false;" style="color:#FFFFFF; font-weight:bold; font-size:10px;">Find Flash Video</a>[/CODE]That code is part of a plugin for firefox that makes a link to the actual download path(to download the .flv).I will do anthing it takes to make this code work from a remote website and return the download address without having to refresh.I want it to then download the movie to a sever, whitch i do have authorazation for, but i could figure that out on my own as long i can get this part to work.This is my first time posting at this forum and I am new to web design i hope you guys will be able to help me along with thisI know it can be done, maybe not with this code but something similar check out[url=http://www.videodl.org/]http://www.videodl.org/[/url]i want it to do that but instead of giving a link, have it download the file to my server.ps i have been trying for 4 days now but i still dont know where to start other that i need to use a server side scriptthank you~zak~ Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/ Share on other sites More sharing options...
y2kbug Posted December 7, 2006 Author Share Posted December 7, 2006 *bump* Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-136786 Share on other sites More sharing options...
y2kbug Posted December 7, 2006 Author Share Posted December 7, 2006 *bump again* *sigh* Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-136827 Share on other sites More sharing options...
trq Posted December 7, 2006 Share Posted December 7, 2006 For starters, you failed to ask a question. Secondly, the code you have posted is Javascript, nothing to do with php.What exactly is it you want? Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-136848 Share on other sites More sharing options...
y2kbug Posted December 7, 2006 Author Share Posted December 7, 2006 I posted this exact same post I the javascript forum and someone told me to post it in the php forum, so thats why I posted here.They said to leave the old thread there so people know that you need php to do this. I looed for it now but that thread seemed to have been deleted.I want it to use that code, or something to the same affect, to find the absolute download link to a google video as they do on www.videodl.org I think they use ajax, but I dont have a clue how to impliment that on my site or for that matter how to use ajax at all, I have been reading the basics about in the last few days tho. Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137105 Share on other sites More sharing options...
trq Posted December 7, 2006 Share Posted December 7, 2006 So what is wrong with that code? Your not telling us enough infomation. Does it work? What? Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137107 Share on other sites More sharing options...
y2kbug Posted December 7, 2006 Author Share Posted December 7, 2006 It works if it is placed on the google page via a browser plugin.I want to be able to get the download link from a supplyed google video url from a remote website.Did you take a look at http://www.videodl.org/ Obviously the code I supplied will not do that by itself!, not unless it is, at least, somewhat adapted. Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137136 Share on other sites More sharing options...
y2kbug Posted December 8, 2006 Author Share Posted December 8, 2006 wow ok i been working on this all day. I found some source code for an ajax script including js, php and more. If i try it on my site in the oridginal for i get a parse error. I didnt try that until i hav taken ot alot of html stuff and i got a notice. this code shows up right but i get this notice: "Notice: Undefined variable: url in /www/110mb.com/z/f/i/l/e/s/_/_/zfiles/htdocs/extensions/PageMng/default.php(802) : eval()'d code on line 89"it doesnt work either.here is the original site: http://video.qooqle.jp/dl/ it offers the source code.thanks guys for all the replys so far ;D Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137260 Share on other sites More sharing options...
y2kbug Posted December 8, 2006 Author Share Posted December 8, 2006 this is the code in question even tho it says a differant file this is the one where the problem code is:http://zfiles.110mb.com/extensions/PageMng/fixed.phphere is the site in questionhttp://zfiles.110mb.com/?Page=requests Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137263 Share on other sites More sharing options...
y2kbug Posted December 8, 2006 Author Share Posted December 8, 2006 i guess i have to bumb this one again. Quote Link to comment https://forums.phpfreaks.com/topic/29748-render-a-website-on-sever-side-and-return-a-value/#findComment-137427 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.