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
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.
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?
I have the following line in a file:
word1 -a<follow by some number here> word2
(eg: word1 -a23 word3)
I need to change "-a23" to "-B aa=23". 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...
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'...
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...
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,"LOAD DATA...
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: "Invalid DELETE query". Could someone please help. Thank you.
<?php
# MySQL database User ID, Password and DB name
$sql_id =...
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("localhost", "user", "mypassword")...
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...
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.