Load page from HTML code in variable

termi

Client
Регистрация
30.10.2012
Сообщения
67
Благодарностей
2
Баллы
8
Hi, I try to create bot to automatically modify images and I want to do that by using image processing instance snap shot function and it work pretty good. Problem I have is that I would like to write html code to variable and then open page from HTML code in browser window.

In theory I could save it to file and upload it via ftp and open it but it would slow down process.

Do you have any ideas how can I do that with out creating files?
 

EtaLasquera

Client
Регистрация
02.01.2017
Сообщения
524
Благодарностей
112
Баллы
43
Consider change images and use the same name on these images, this is the only one way to reduce your html code update.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
Hi, I try to create bot to automatically modify images and I want to do that by using image processing instance snap shot function and it work pretty good. Problem I have is that I would like to write html code to variable and then open page from HTML code in browser window.

In theory I could save it to file and upload it via ftp and open it but it would slow down process.

Do you have any ideas how can I do that with out creating files?
Save all your HTML in file index.html for example and open it on Your PC. No need for FTP uploading. :-)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)