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 Mike Lewis 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: *

  1. bruceleung2000

    How to compare strings OR chars of 2 strings

    Hello ALL, It would be best for me to locate the position from end of files (NOT begin) to compare the strings of files. Regards, Bruce
  2. bruceleung2000

    How to compare strings OR chars of 2 strings

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

    How to compare strings OR chars of 2 strings

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

    How to compare strings OR chars of 2 strings

    [MORE INFO for my problem] It always NOT equal and also hits some strange error as follows : ========================================= 444444444]instr0=[111111111111xxxxxxx1111111111111111111111111111111111111111111 11111111111111111 222222222222222 3333333333333333333333333333333333333333...
  5. bruceleung2000

    How to compare strings OR chars of 2 strings

    I used EQ before, but it seems not working well. Regards, Bruce
  6. bruceleung2000

    How to compare strings OR chars of 2 strings

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

    Cannot user wildcard in Perl under windows XP

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

    how to fix Chinese encoding in html/php script

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

    PHP Installation problem - database type not supported

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

    PHP Installation problem - database type not supported

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

    PHP Installation problem - database type not supported

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

    PHP Installation problem - database type not supported

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

    PHP Installation problem - database type not supported

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

    PHP Installation problem - database type not supported

    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...
  15. bruceleung2000

    PHP Installation problem - database type not supported

    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...
  16. bruceleung2000

    Setup chat room or forum server in linux ???

    Dear ALL, The website bierhunter suggests is pretty cool and very useful to me. Thanks again ! BL
  17. bruceleung2000

    Setup chat room or forum server in linux ???

    Hello bierhunter, I think this website you proposed must be very good; unfortunately, this site is down today after my trial a few times. I will make comments here after I have got there and reviewed the documentation and tried them out. Thanks ! BL
  18. bruceleung2000

    Setup chat room or forum server in linux ???

    Hello, Can anyone tell me (how-to) or where I can find the documentation to setup a new forum (chat room) server in my home Mandrake or RedHat linux ??? Thanks in advance ! BL
  19. bruceleung2000

    Hello, I have the following str

    Hello, I have the following strange scenario, I hope somebody help !!! 1) I tried to install removable disk (128MB mini-drive) and failed to recognise CD-ROM (it seems both cannot co-exist - I do NOT why) under Windows 98 Second Edition 2) I decided to choose CD-ROM rather than mini-drive...

Part and Inventory Search

Back
Top