Hello,
What I want is :
1) to skip frist 5 lines for the 2 following files (fh0 and fh1) and need to mix with function (sysread) to read before the sysread buffer.
============================================
open (fh0, $fname0) or die "cannot read file $fname0" ;
open (fh1, $fname1) or...
Sorry you are right - my mistake.
BTW, how can I
1) read strings from a file in a posstion relative to END of file
2) read a line instead of fixed number of chars
Regards,
Bruce
[MORE INFO for my problem]
It always NOT equal and also hits some strange error as follows :
=========================================
444444444]instr0=[111111111111xxxxxxx1111111111111111111111111111111111111111111
11111111111111111
222222222222222
3333333333333333333333333333333333333333...
Hello ALL,
I am a newbie to perl programming. I am trying to compare 2 strings read from separate files. It seems it the results are the same - cannot compare 2 same strings.
Can anyone tell me how to correct the following programs ?
=====
open (fh0, $fname0) or die "cannot read file...
Hello,
I have written a program to try to get wildcard from DOS command (under Windows XP), but it cannot do wildcard to get all files (ok1, ok2, .... ok9) but ok* or ok? - it WORKS under only unix and linux.
Does anybody help to tell me how to solve this problem ???
Thanks in advance ...
Hello,
I have just written a PHP script which displays some Chinese message on output, but when I surf with IE browse, it always displays garbage characters until I choose menu (View => Encoding => Big5) to display Chinese char correctly.
Can anyone tell me whether I can write html or PHP...
Hello,
Under /usr/local/php-4.3.4, I run the following command :
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --enable-versioning --with-mysql=/usr/local --enable-ftp --with-gd --enable-bcmath --disable-debug...
Sorry,
Even though ./configure has NO error, but when I type make, it shows the following compilation error as follows :
============
# make
/bin/sh /usr/local/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile
gcc -Imain/ -I/usr/local/php-4.3.4/main/ -DPHP_ATOM_INC...
Hello Sleipnir214,
This time, I reinstalled MySQL RPM as follows :
1) MySQL-server-*.rpm
2) Max-*.rpm
3) client-*.rpm
4) devel-*.rpm
5) shared-compat*.rpm
6) embedded-*.rpm
Then I recompiled PHP with configure --with-mysql=/usr
There is NO "cannot find my SQL...
Hello Sleipnir214,
I have installed as follows :
1) rpm -ivh MySQL-server-4.0.18-0.i386.rpt
2) MySQL-client-*.rpm
3) MySQL-shared-*.rpm
a) Am I missing some or how to do it ?
b) Do I install something else instead of shared.rpm ?
Please enlighten me again !
BL
Hello Sleipnir214,
I got mysql package right from www.mysql.com, do you mean I should get it for non-shared package.
Please advise any specific bookmark page I should go from www.mysql.com to get a version for my red hat linux 9.x.
Thanks again !
BL
Hello Sleipnir214,
Neither mqsql_connect() nor mqsel_real_connect() work for my environment.
Weh I recompiled PHP --with-mysql option, I got the following compilation results :
1) =nothing => it is using the default mysql and no compilation errro, but the runtime error as stated in my...
Hello,
I have 2 problems which I still cannot solve after reading the documentation in this site :
1) Originally, I wrote a test program (php) to call mysql_connect(). I found a suggestion from PHP documentation from www.php.com and change it to mysql_real_connect().
I still get the error...
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.