story index | search | archive | submit story | downloads | stats | contact

phpWebLog

Topics
  • General (947)
  • Announcements (20)
  • Development (524)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Unstable - 0.5.3
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3


  • Last 5 Comments
  • title of phpweblog.org (fastin phentermine)
  • title of phpweblog.org (fastin phentermine)
  • errors in chache and init (folding texas holdem tables on s)
  • Images in news (texas holdem calculator)
  • How do I change the timezone? (phentermine free consult free sh)


  • phpWebLog Addons
    See Romarin.org for phpWebLog addons and more support.

    Big Bug views: 212
    Development By Marci (---.telepac.pt) on Friday June 15 2001 @ 06:46AM EDT [ Development ]
    I´m found a bug in the func.inc.php in function f_GetPage:

    like «pages» not have RDF and cache options this function (after modification) must be this one:

    function F_getPage($A) {
    global $db;
    if ($A["Type"]==0) {
    # html
    $content = $A["Content"];
    } elseif ($A["Type"]==1) {
    # url fetch
    $tmp = F_geturl($A["URL"]);
    if (!empty($tmp)) { $content = $tmp; }
    /* update db */
    $sql = "UPDATE T_Pages SET Content = '" . urlencode($content) . "' ";
    $sql .= "WHERE Rid = '" . $A["Rid"] . "'";
    $result = @mysql_query($sql,$db);
    if ($result




    < not parsing | Will phpweblog be P3P Complient? >

    jason writes on Friday June 15 2001 @ 02:39PM EDT: [ reply | parent ]
    Thanks. This section wasn't completed yet.
    And actually, since there is no cache in pages now, the function can be:

    function F_getPage($A) {
    global $db;
    if ($A["Type"]==1) {
    # url fetch
    $content = F_geturl($A["URL"]);
    } else {
    $content = urldecode($A["Content"]);
    }
    return $content;
    }
    marci writes on Friday June 15 2001 @ 03:52PM EDT: [ reply | parent ]
    Yes ! will be more quickly

    :-)
    Post a Comment

    Name:
    Email:
    URL:
      Remember my information (uses cookies)
    Comment:
    * Your email will not be made public.
    Save As:

    PHP.net
  • Call for Speakers: PHP Qu&eacute;bec 2005
  • MySQL, RedHat and other partners started a new campaign against software patents
  • Zend's PHP 5 Coding Contest winners announced
  • PHP before Canadian government, in Ottawa, October 19th and 20th, 2004
  • Forum PHP in Paris, November 18 &amp; 19, 2004
  • PHP 5.0.2 released!
  • PHP 4.3.9 released!
  • MySQL ComCon Europe
  • OSCOM.4 with Apache Track
  • New Installation Instructions

  • PHPBuilder
  • Eclipse for the PHP Developer
  • Enjoy the Openness of MySQL
  • Getting Started with PHP-GTK: Part 1
  • SQLite Support for PHP4
  • Creating a PHP-Based Content Management System
  • Protecting MySQL Sessions With SSH Tunnel (Port Forwarding)
  • Logging into a RETS Server
  • Value Objects and Data Access Objects with PHP 4.2.x
  • Creating a PHP Script for Web Mail Posting and Notification
  • Remote Scripting with Javascript, IFrames and PHP

  • Bordom
  • OPEC Has Already Turned to the Euro
  • WFTV.com - Slideshow
  • Sexy Trek
  • KISS FOR THE CAMERA.COM - Girls Kissing
  • BBC NEWS | Science/Nature | Polar people 'will need to adapt'
  • BBC Urban Warfare flash movie
  • ffmpeg
  • Top court brands Belgian far-right party racist
  • TOILET PAPER CO. IMPOSES SANCTIONS ON RED STATES
  • Reach out and sneer: Dem radicals speak to the Red States | The Register



  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / devtwo