NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Embedded browser constantly refreshing

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
Katz



Joined: 30 Dec 2016
Posts: 1

PostPosted: Fri Dec 30, 2016 2:53 pm    Post subject: Embedded browser constantly refreshing Reply with quote

Hello all,

I am new to the world of NetBeans + Xampp and I came across some unexpected behaviour of the IDE. I wrote a short bit of code (below) which seems to work just fine except that it keeps looping when I run it in the embedded browser. You'll see the tab 'webbrowser' constantly refreshing. Oddly this doesn't occur when I run the code in an external browser.

How can I stop the embedded browser from constantly refreshing?

Regards, Peter.

Code:
<?php
copyWebsite("example","http://example.com/");

function copyWebsite($file,$url){
    @unlink("Copy_$file.txt");
    $source=file_get_contents($url);
    file_put_contents("Copy_$file.txt",$source);
    $htmlSource=htmlEntities($source);
    print("<pre>$htmlSource</pre>");
}
?>
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Mon Jan 02, 2017 7:31 am    Post subject: Embedded browser constantly refreshing Reply with quote

Hi,

Dne p
Back to top
watergeus



Joined: 03 Feb 2017
Posts: 1

PostPosted: Fri Feb 03, 2017 2:10 pm    Post subject: Refresh makes Netbeans unusable Reply with quote

I agree with the above complaint, which hasn't been answered.

I'm also a newcomer to Netbeans and started with a complete PHP application and the page refreshes about once per second causing the contents to flicker. If you try to open any section of the code, then the refresh closes it so making the debugger useless. However in my case I'm using the Chrome Connector not the embedded browser.

In the initial configuration the bar at the top disappears and is reinstated by the refresh causing the whole screenful to move up and down by about 1cm.

I'm using Netbeans 8.2 on a 64-bit Mac with MacOS 10.12.3 and Chrome 55.0.2883.95.

Is there any way to fix this?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo