Jump to content

MiCR0

Members
  • Posts

    114
  • Joined

  • Last visited

    Never

Posts posted by MiCR0

  1. <?php
    //Open images directory
    $dir = @ dir("images/icons/");
    
    //List files in images directory
    while (($file = $dir->read()) !== false)
      {
    $imagelist[$i] = array('filename' => $file , 'lastModified ' => filemtime('images/icons/'.$file)); 
    $i++;
      }
      print_r($imagelist);
    
    $dir->close();
    ?> 

  2. I am trying to integrate PHPfree chat into my website http://www.phpfreechat.net/

    I have look thought there forums and they have Pfc integrations for 6 CMS systems http://www.phpfreechat.net/forum/

    but I can not work out how i would integrate it into my site

     

    I am using Db_esession

     

    <?php

    error_reporting (E_ERROR | E_WARNING | E_PARSE);

    require("db.php");

    require("functions.php");

    require_once('config.DB_Session.php');

    require_once('class.DB_Session.php');

     

     

    $sess_param['security_level'] = 200;   

    $sess_param['gc_maxlifetime'] = 600;   

    $sess = new DB_Session(&$sess_param); 

    $UserDetails['level']=0;

    $user = $sess->getSessVar('username');

    ?>

    When i try adding this session to PHPfree chat it just bugs anyone have any idea's?

  3. I know of no CMS that will let a user do this.

    I recommend doing a user Profile add on to the CMS you already have and maybe hack the code there and let them use WYSIWYG editor on that one page HTML only!

  4. sorry I read it wrong i think this is what you are looking for and btw this has nonethink to do with php

     

    <script type="text/javascript">
    <!-- //variables containing order information
    var orderSubTotal = '21.95';
    var orderNum = 'yhst-18602524177000-5010';
    window.document.write('<img src="https://secure.osisecureweb.com/mycustomerid/sale.php?amount=');
    window.document.write(orderSubTotal);
    window.document.write('&transaction=');
    window.document.write(orderNum);
    window.document.write('" style="visibility: hidden"/>');
    -->
    </script>

  5. echo "<SCRIPT type=\"text/javascript\">
    if (confirm(\"Sign in to Instant Messenger? (Be sure to disable pop-up blocker)\") )
    {
    newwindow=window.open('php121/php121im.php','name','height=500,width=240,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=yes,status=no,resizable=yes,fullscreen=no'); if (window.focus) {newwindow.focus()};
    }
    </SCRIPT>";

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.