Static caching as image of heavy DHTML-Pages [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to create a service, that provides a screenshot of this site, which uses heavy dhtml and is really slow on slower computers, especially on Firefox.
It would be perfect, if that screenshot would be actualized every few minutes, so I could implement it into our Website with an automatic refresh.
On Windows I could use the php-function imagegrabscreen. But that would take the screenshot without the loaded AJAX elements.
How could I delay the Screenshot until all AJAX data is loaded?

I found a Web-solution:
You can use browsershots.org and choose a reasonable modern browser and windowsize.
It also has an API: https://browshot.com/api/documentation
You can specify any size for the thumbnail.

Related

Can I find what files are using when a website page is ran? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I just received a source from my customer (it's written by PHP Generally), I try to read it and glance at database. I realize that it's very mess, some webpage's content is also saved in database. So, I want to find files are using by browser and I mean that php files, I want to edit them. Can I do that?
P/S: I'm sorry if this article bother you
Hi At any point you need to know what functions, what includes and what arguments are being passed just use debug_print_backtrace() function in your code.
for further reading follow http://www.php.net/manual/en/function.debug-print-backtrace.php

How to access HTTP GET/POST API in Qt/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a MySQL database with a PHP scripts written to exploit the database. I'm writing a program in C++ and want to access the PHP classes to power the application.
How should I go about doing this?
If I have a PHP function I want to get a return value from, how do I do this in C++? Is it even possible?
curl is a general one for C++. If you are using Qt then I would suggest QNetworkAccessManager class. It has functions get and post to handle HTTP GET/POST request.

Get the source code of a web page after it has been modified by jquery in php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
here is an example, say every item in each list was clicked on http://katproxy.com/the-big-bang-theory-tv8511/, how would you proceed to get the source code of the modified web page using php considering the fact that the url has not changed (file_get_contents is probably out of the question).
Thank you!
Using PHP? You can't, not without fetching the page source and evaluating its JavaScript, which is obviously quite impractical.
The "page" hasn't change, only your in-browser representation of the DOM has been modified. You would need PHP to talk to your browser, and ask for the state of its DOM, not the remote server, which cannot possibly serve up the HTML representation of your browser's current DOM.

how can i play youtube video with php like a proxy [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
this is site
www.proxfree.net
i live in pakistan. youtube blocked here. so i watch the youtube from this site
www.proxfree.net
kindly anybody php expert help me how can make a youtube watch script like proxfree.net. waiting for help. Thanks in advance
In short (since this question doesn't deserve any better answer as it shows absolutely no effort):
Rent a server in a country that doesn't block YouTube
Make sure the webhost allows proxy-like functionality
Create a form you'll use to input the external website URL
Use cURL to communicate with that external website
There are tons of resources about this. Here's one: http://www.makeuseof.com/tag/create-online-proxy-server-minutes/

Webpage loop through images in a directory [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to create a webpage that loops through all the images in a directory and displays and displays the image in an iframe with 10 second intervals. It also polls the directory constantly for new images. I don't have very much Javascript/PHP experience so just need an idea of where to start. Sorry for the newby question.
http://jquery.malsup.com/cycle/
These examples are programmed in javascript. This should be enough to get you started. Look at the pages source code.

Categories