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.
User Profile
Collapse
-
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... -
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? -
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...Leave a comment:
-
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. -
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.
but if i attach together with the query, it is cant work..Code:include "main.php";
Can someone guide me..??Code:include "main.php?id=$infoid";
-
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.Leave a comment:
-
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.Leave a comment:
-
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. -
-
-
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? -
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
instead of default it.Code:var now = new Date (2007,10-1,27)
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...Leave a comment:
-
Hi dmjpro,
the above change code will effect any thing? I try it but the result is nothing..Leave a comment:
-
...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);Leave a comment:
-
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.Leave a comment:
-
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>
-
hi,
try this http://code.gosu.pl/dl/mygosuMenu/demo/1.5/example1.html
may be it can help u.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.Leave a comment:
-
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?
No activity results to display
Show More
Leave a comment: