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 Wanet Telecoms Ltd 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: phn737
  • Content: Threads
  • Order by date
  1. phn737

    in c, you can vary the chunk size when send a file to a host socket...

    in c, you can vary the chunk size when send a file to a host socket. how is this accomplish? how can it be done in perl?
  2. phn737

    how to specify socket buffer size/length?

    i am openning a file and printing it to a socket. what i want to do is to be able to control the chunk size of the packet being sent (ie. 128K or 512K or 1024K etc...), how can i do this? thx
  3. phn737

    how to seach for a specific string in a file; using grep in perl

    hello, i would like to search a file to see if a specific string exist and return true or false. not sure how to use grep within perl, is this possible? please help. thanks.
  4. phn737

    why 32-bit .exe application run in dos after backup to cd

    the problem: I backup a 32-bit setup application to a CD; i notice the app no longer retain the original icon, when run it runs in dos and fail 'program too big to fit in memory' any idea to resolve issue?
  5. phn737

    How to use sed to this substitution?

    I have the following line in a file: word1 -a<follow by some number here> word2 (eg: word1 -a23 word3) I need to change &quot;-a23&quot; to &quot;-B aa=23&quot;. I am having a hard time trying to get this done in sed. Could someone please help. Due to other substitution in my script done by...
  6. phn737

    How to use mysql_init and mysql_options correctly for LOAD DATA LOCAL?

    OK, so I have this problem with MySQL 3.23.53 (win2k) and Apache2.0.43(running as module) and PHP4.3.0(dev) (this is necessary for Apache2.0.43 to run as module; php bug). I have a script that load data from a csv file into a DB. The problem is in newer version of MySQL 'LOAD DATA LOCAL INFILE'...
  7. phn737

    'LOAD DATA LOCAL INFILE command not supported

    When trying to use 'LOAD DATA LOCAL INFILE' with Apache2.0.43 (running a module) and MySQL 3.23.53, it return the error the command is not supported. This is because the function is disable for security issue, but when I tried to start mysql with 'c:\mysql\bin\mysqld-nt --local-infile=1' it...
  8. phn737

    LOAD DATA LOCAL INFILE not processing next line.

    I have a csv file saved from Excel that I am trying to import into a mysql table. The problem is that only the first line gets inserted, the rest of the file is not inserted into table1. This is the mysql command that is processing the file: $result = mysql_db_query($sql_db,&quot;LOAD DATA...
  9. phn737

    How to populate a selection box without repeating item with same name.

    Hi, I am trying to populate a selection box without having the item with same name (sting) repeate in the selection box. Is this possible? Thanks.
  10. phn737

    Help, import script for access text file not working.

    I am trying to use the script below to import data from a text file exported from access 97, but the script is not working. I am getting the message: &quot;Invalid DELETE query&quot;. Could someone please help. Thank you. <?php # MySQL database User ID, Password and DB name $sql_id =...
  11. phn737

    How to get mysql username and password interactively?

    Instead of hard coding the user and password into a php script with the command mysql_connect, is it possible to provide this when the php page is requested? If so, how can this be done? <html> <body> <?php $db = mysql_connect(&quot;localhost&quot;, &quot;user&quot;, &quot;mypassword&quot;)...
  12. phn737

    How to format output from mysql db as url link in a table?

    I am trying to use the script below to create a link to each user home directory on the webserver. The url will be an ip address follow by the user complete name (ex: http://172.50.50.5:8080/<username>) from the mysql db. I am having problem outputting the name as a url link. How should I format...

Part and Inventory Search

Back
Top