Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fsqueeen
  • Content: Threads
  • Order by date
  1. fsqueeen

    How to stop the "twin"

    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
  2. fsqueeen

    Backup large database

    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...
  3. fsqueeen

    Execute query in javascript function

    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...
  4. fsqueeen

    Apache error log

    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...
  5. fsqueeen

    Generate csv file in with cells = text format

    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...
  6. fsqueeen

    How to make data from a column into multiple rows?

    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...
  7. fsqueeen

    Select rows problem

    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...
  8. fsqueeen

    Is it possible to get the redirected URL?

    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 ...
  9. fsqueeen

    Is it possible? loading two different script from one &lt;img ... &gt;??

    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...
  10. fsqueeen

    problem in converting big table from type MyISAM to INNODB

    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...
  11. fsqueeen

    Proxy to filter form input

    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...
  12. fsqueeen

    find content between 2 characters

    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...
  13. fsqueeen

    Permission denied

    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...
  14. fsqueeen

    Problem on link

    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&quot;<a href=\&quot;index.php? type_id=$type_id&&brand_id=$brand_id\&quot;>HOME</a>&quot;; where...
  15. fsqueeen

    sendmail by ASP

    <html> <head> <title>ASPSend mail example</title> </head> <body> <% 'Getting (Requesting) the Session variables from Form on previous page Session(&quot;FromName&quot;) = Request(&quot;FromName&quot;) Session(&quot;FromAddress&quot;) = Request(&quot;FromAddress&quot;)...
  16. fsqueeen

    JOIN tables

    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...
  17. fsqueeen

    DataBase Connection

    i met 2 type of connection style: 1) <% '--- Connection to DataBase Dim objConn Set objConn = Server.CreateObject(&quot;ADODB.Connection&quot;) objConn.Open &quot;Provider=Microsoft.Jet.OLEDB.4.0; &quot; & _ &quot;Data Source=C:\Inetpub\wwwroot\kung.mdb&quot...

Part and Inventory Search

Back
Top