User Profile

Collapse

Profile Sidebar

Collapse
wish
wish
Last Activity: Apr 10 '08, 01:09 AM
Joined: May 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to create screen saver with VB code when the pc in idle time?

    Hi,

    I have a question to ask for the screen saver that using the VB code to command it? Do u have any idea for it?

    Thanks.
    See more | Go to post

  • How to append new data in beginning of the text file in php

    Hello,

    I have problem is when i append new data in text file always append at the last of the text file. Am i can append the new data in beginning of the text file? Mean when i have update data the text file and always write at the beginning of the text file and the previous data at the below of the new data..

    Can anyone have idea about it?

    Thanks in advance...
    See more | Go to post

  • wish
    replied to How to create a log file in PHP?
    in PHP
    Hi,

    I try it.

    My log file is actually is keep one record in linux..in location /var/log/http/access_log

    My previous code is split the access log file into more meaning report come out.

    Is it correct for the code to retrieve the access_log file?
    See more | Go to post

    Leave a comment:


  • wish
    replied to How to create a log file in PHP?
    in PHP
    Hi,

    Here is the example code from website. I try it but it cant work?

    [CODE=php]
    <?php
    $ac_arr = file('/path/to/copy/access_log');
    $astring = join("", $ac_arr);
    $astring = preg_replace("/(\n|\r|\t)/", "", $astring);
    $records = preg_split("/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/", $astring, -1, PREG_SPLIT_DELI M_CAPTURE);

    $sizerecs...
    See more | Go to post
    Last edited by Atli; Nov 2 '07, 04:37 PM. Reason: Changed [code] tags to [code=php].

    Leave a comment:


  • wish
    started a topic How to create a log file in PHP?
    in PHP

    How to create a log file in PHP?

    Hi all,

    Can anyone give me some suggestions on the log file that can keep track the user login and logout, edit data and delete data in the system.

    Currently i have not idea to create the page and dunno how to start to create it..

    Can some one guide me?

    Thanks in advance.
    See more | Go to post

  • wish
    started a topic how to attach together with the query in include
    in PHP

    how to attach together with the query in include

    Hi,

    I will like to know how to i attach together with the query in the include..

    eg.

    Code:
    include "main.php";
    but if i attach together with the query, it is cant work..

    Code:
    include "main.php?id=$infoid";
    Can someone guide me..??
    See more | Go to post

  • wish
    replied to Why the mail cant work?
    in PHP
    Hi,

    where is the php.ini located?

    Is it i change the SMTP then is ok?Cos i am new for linux setting.

    I try now.

    Thanks.
    See more | Go to post

    Leave a comment:


  • wish
    replied to Why the mail cant work?
    in PHP
    No error and no output. I keep check my mail box but the mail is not coming.

    Is it use mail function in php got other settings to allow the mail function to work?

    If yes, please guide me where should i change the settings.

    Thanks.
    See more | Go to post

    Leave a comment:


  • wish
    started a topic Why the mail cant work?
    in PHP

    Why the mail cant work?

    Hi all,

    [CODE=php]
    <?
    $email="you@exa mple.com";
    $subject="Enter your subject here";
    $message="Enter your message here";
    mail($email,$su bject,$message, "From:$emai l");
    ?>
    [/CODE]

    Why the mail i cant receive? Is it got setting in linux?

    Can anyone guide me?

    Thanks in advance.
    See more | Go to post
    Last edited by Atli; Oct 25 '07, 01:40 AM. Reason: Changed [code] tags to [code=php].

  • wish
    replied to How to add 1 in the array?
    Thank you .....i done it.
    See more | Go to post

    Leave a comment:


  • wish
    replied to Why my javascript cant work?
    Thanks..i already solved.
    See more | Go to post

    Leave a comment:


  • wish
    started a topic How to add 1 in the array?

    How to add 1 in the array?

    Let say myArray[0]=98 then i want add 1 to equal 99?

    How?

    I try myArray[0]+1 but fail..output is like this 981.. :-(

    can someone help?
    See more | Go to post

  • wish
    replied to Why my javascript cant work?
    HI,

    1)I wan pass in the duration from the select box to the for loop so i can calculate the date in advance based on the user select.

    2)I wan pass in the date from downpayment date to the
    Code:
    var now = new Date (2007,10-1,27)
    instead of default it.

    3)I only wan this function calculate the date advance when i finish choice the duration in select box.

    4)The output of this date in advance...
    See more | Go to post

    Leave a comment:


  • wish
    replied to Why my javascript cant work?
    Hi dmjpro,

    the above change code will effect any thing? I try it but the result is nothing..
    See more | Go to post

    Leave a comment:


  • wish
    replied to Why my javascript cant work?
    Code:
    function y2k(number) { return ( number<1000 ) ? number+1900:number; }
    
    function add_days(adate,days){
      return new Date (adate.getTime()=(days*86400000));
    }
    
    function format_date(adate){
      return adate.getDate()+'/'+(adate.getMonth()+1)+'/'+y2k(adate.getYear());
    }
    
    function show_dates(adate){
      var then = add_days(now,7);
      var begin = format_date(now);
    ...
    See more | Go to post

    Leave a comment:


  • wish
    replied to Why my javascript cant work?
    Hi,

    I wan to calculate date in advance based on the user choice the date from the downpayment date and duration. I use the javascript to calculate and put the advance date in estimate completion date input box but the javascript cant work. It comes out result with a long integer. Can you guide me?

    Thanks.
    See more | Go to post

    Leave a comment:


  • wish
    started a topic Why my javascript cant work?

    Why my javascript cant work?

    Code:
    <html>
    
    <head>
      <title>Testing date function on 8 oct 2007</title>
      <script language="Javascript" src="menu/calender/CalendarPopup.js"></script>
      <script language="Javascript" src="menu/calender/AnchorPosition.js"></script>
      <script language="Javascript" src="menu/calender/date.js"></script>
    ...
    See more | Go to post

  • wish
    replied to Creating a tree menu with PHP/MySQL and Smarty
    in PHP
    hi,

    try this http://code.gosu.pl/dl/mygosuMenu/demo/1.5/example1.html
    may be it can help u.
    See more | Go to post

    Leave a comment:


  • Yup..the location of the session in server..

    I m not sure my server is getting problem or the inside the code got problem.
    See more | Go to post

    Leave a comment:


  • wish
    started a topic Where is the location for store session variable?
    in PHP

    Where is the location for store session variable?

    Hi all,

    Where is the location for store session variable?

    Because i feel that the session variable is keep store the previous variable and no release the variable. When i click back button, the page that is no i wan and i go to the previous page.

    Is it useful i add code the clear session variable on every page that is use session variable?
    See more | Go to post
No activity results to display
Show More
Working...