PHP - Moved: Html & Javascript Page Close Issue
This topic has been moved to JavaScript Help.
http://www.phpfreaks.com/forums/index.php?topic=351266.0 Similar TutorialsThis topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=323045.0 Hi, I have a, let's call it, Main page, and it refreshes every 5 seconds to check the database... If it finds a result, it kills the refresh function and allows a DIV to call a page into itself via another function on the Main page, which refreshes every second, it's a timer count down clock... The problem is, that if the timer runs down to zero, I have it do a lot of things, but then I need it to either refresh the Main page, redirect the Main page, or close the Main page entirely... Does anyone know how I could perform either 3 of those actions from within the page that's inside of the DIV? This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=345218.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=355464.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=355955.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=316889.0 This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=332103.0 Hi Guys, My 2nd issue with my new blog is that the code used to limit the amount of content displayed from each post, is on occasion truncating the closing html tags along with the excess text! Very often this will result in any following posts being entirely italic or bold, which as you can imagine looks ridiculous. The Code that limits the content: # Limit Post function the_content_limit($max_char, $more_link_text = '', $stripteaser = 0, $more_file = '') { $content = get_the_content($more_link_text, $stripteaser, $more_file); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); $content = strip_tags($content, '<h1>,<h2>,<h3>,<strong>,<em>, '); if (strlen($_GET['p']) > 0) { I'd be very grateful if someone could help me out with this. Thanks Steve i am trying to set user status as offline when user close browser but i am facing a problem ... i am calling a function when body unload which will set guest user status to "0" when user close the browser but it not working ... it execute php before function is called.. any idea why this is happening ...please help it's making me crazy This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=316454.0 This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=327840.0 This topic has been moved to Linux. http://www.phpfreaks.com/forums/index.php?topic=317047.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=328179.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=348545.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=342389.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=353224.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=347219.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=322069.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=348680.0 This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=334644.0 |