hi, my question is...
How to stop a perl script (a.pl) from running if the a.pl is currently in running state
Those reload, or human error is un-avoidable, so i hope script can stop themselve when they saw a "twin" there.
thanks
I have a database which is around 6gb. May I know which is the better way to backup my database?
1. Copy the MySQL data directory to create a backup
or
2. mysqldump?
I'm just worried that zipping up the data directory will make the MySQL hang as I'm goin to zip a big directory. But using...
I'm doing a PHP + mysql application which will verify zip code on member form. I hope to do the verification on client side script, javascript.
Zip Code: <input text>
City: <input text>
State: <selection box> or <input text>
After user enter 5 digits zip code, javascript function is called and...
I found there's a process keep on running in my server, here's the process name I saw
from WHM:
Pid Command
28193 /usr/local/apache/bin/httpd -DSSL
from SSH:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28193 root 25 0 10864 5208 3140 R 1.0 0.3 34:20.64...
I'm using perl script to generate a csv file. When I opened the csv file with Microsoft Excel, right click on any column, click on Format Cells, on Number tab, the Category has 'General' selected.
I wonder if there's any way to format all cells in 'Text' format when I generate this csv from my...
hi, i come into a situation like this. My table is something similiar to below
table
id Name Status Datetime
1 Jack success 2006-06-06
2 Jack fail 2006-06-06
3 Jack success 2006-06-06
4 Jack success 2006-06-06
5 Mal fail 2006-06-06
6 Mal fail...
I had 2 tables here, tbl1 and tbl2. Now we got 6 items in tbl1, and tbl2 store the color for each item (maximum 3 colors for each item).
tbl1
----
id(PK) name
1 Jack
2 Amy
3 Bill
4 Ken
5 Rye
6 Icy
tbl2
-----
id(PK) t1_id(FK) color
1 1...
hi,
i had a situation here. Is it possible for me to get a return of url by a perl command?
E.g.
Pg A(currently)->Pg B->Pg C->....->Pg D
'->' means 'redirect'
Is there a perl function can retrieve the URL of Pg D from Pg A?
Like i m currently in Pg A, then inside the a.pl, i write
Code ...
hai everybody,
i faced a problem here to let the script perform some action here...
script index.html :
<img src="http://example.com/pix.pl" width=1 height=1>
i using this script to perform some background process while the script is loading. then at the pix.pl is a script from another...
i'm trying to convert a big table (approx 200,000 rows) from type MYISAM to INNODB but i found problem after converting the table type.
I tried 2 ways to convert it,
TblA - myISAM (original table with 200,420 rows)
TblB - (to be INNODB table)
1. Copy structure of TblA to TblB, alter TblB to...
Hi, I really hope to get some help for this.
How do I setup the proxy server to filter form input ?
For example:
The user enter "abc" in google.com search box and press submit. But the proxy server will transform "abc" to "xyz" and submit to google.com.
Any proxy server will do. Any ideas of...
i had two variables called $phone and $url where
$phone = '600180320';
$url = "http://www.abc.com?first3=[phone:1-3]&mid3=[phone:4-6]&last3=[phone:7-9]";
first3=[phone:1-3] means that the first to third character in $phone will be assign to query string 'first3', and so forth for mid3 and...
help.... Below are the codes to create "names.txt" in my server. but why there's still error when i execute it in server? (it runs well in localhost)
php file
----------
$fp = fopen( "names.txt", "w" );
chmod("names.txt", 0777);
if(!$fp)
{
echo "Couldn't open the data file. Try again...
hello,
I have some problem on linking to another page with 2 values.
I want to link to a page as below:
http://localhost/project/index.php?brand_id=1&&type_id=1
I wrote the code like this:
echo"<a href=\"index.php?
type_id=$type_id&&brand_id=$brand_id\">HOME</a>";
where...
<html>
<head>
<title>ASPSend mail example</title>
</head>
<body>
<%
'Getting (Requesting) the Session variables from Form on previous page
Session("FromName") = Request("FromName")
Session("FromAddress") = Request("FromAddress")...
hie hi...it's me again..i almost finish my system..=)
juz a minor problem..i guess..
is about the SQL to join tables, let explain my situation 1st..
i hv 3 tables here, LOAN, TRANSACTION, PRODUCT
TRANSACTION is the composite entity which relates LOAN and PRODUCT.
now i wan to get data...
i met 2 type of connection style:
1)
<%
'--- Connection to DataBase
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0; " & _
"Data Source=C:\Inetpub\wwwroot\kung.mdb"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.