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 dencom 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: vietboy505
  • Content: Threads
  • Order by date
  1. vietboy505

    daily bulletin

    I am new to PHP. I want to start from stratch for a script to have box of Daily Bulletin like a shout box. Any users can post message on the web page. Maybe like a box of daily bullentin, as time passed, it will gray out (strikethrough) like after couple of days or weeks. There is an option of...
  2. vietboy505

    PERL/CGI & PHP include

    I want to include a PHP file inside a PERL file.. script1.pl #!/usr/local/bin/perl use strict; use warnings; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser warningsToBrowser); print header(); warningsToBrowser(1); print("<?php include('require_file.php') ?>\n\n"); It's in the...
  3. vietboy505

    XML output to HTML table

    I want my PErl to output the content of XML to HTML table like this: <table border="1"> <tr> <th>Type</th> <th>Contact</th> </tr> <tr> <td>Work</td> <td><a href="../search.asp?ID=123456">John Doe</a></td> </tr> <tr> <td></td> <td><a href="../search.asp?ID=05789">Jack Doe</a></td> </tr> <tr>...
  4. vietboy505

    XML - parse

    I was wondering how I can parse XML using PHP or Perl to output as a nice table & edit later? If so, how would that work? I am a newbie.
  5. vietboy505

    Batch: map network NET USE

    I wrote a batch script to mount the network automatic at startup. It doesn't allow to map as drive. I used: mount.bat NET USE \\SERVER Will output.. The command completed successfully. Now I have a problem with that, When I checked NET USE: Disconnected \\SERVER\IPC$ Microsoft...
  6. vietboy505

    Compare files &amp; output

    Compare two files and output the difference in a new file? nameList.txt | | |AAAAAAA* | |* | |9999| |MEP | |- | |XXXXXXXXX| | | | | |AAAAAAA* | |* | |9999| |MEP | |- | |XXXXXXXXX| | | | | |CCCCCCC*...
  7. vietboy505

    email validation

    I need help on the e-mail form, can any one help me? I want the form to check if everything is inputs correct such as an valid e-mail. If the user choose General, it will send to general email. general@email.com. If the user choose Customer, it will send to Customer e-mail. customer@email.com...
  8. vietboy505

    system call not work

    I have a script to call the other script. hello.pl : #!/usr/local/bin/perl print("Hello " . $ARGV[0] . "\n\n"); test_hello.pl : #!/usr/local/bin/perl $script='hello.pl'; system("$script Dave"); How can I make this possible to work for both in UNIX & Windows?
  9. vietboy505

    Batch scipt on Windows XP

    IF ELSE STATEMENT Since there is no else statement in Batch script. How do I by pass that? I want this script will ask for a name if the name doesn't match the input. The name will be hardcode, so the person who run it doesn't enter his/her name everything. It just goes directly to check...
  10. vietboy505

    div menu

    I want my copyright.php file to be in the bottom center, menu to be left. Any help? <div id=menu style="float:left"> <? include('nav_link.php') ?> </div> <div id=logo style="float:top; float:right"> <? include('logo.php') ?> </div> <div id=copyright style="float:bottom; float:center"> <...
  11. vietboy505

    return command out of subroutine

    How can I use Perl to return to another script that I call? Any help? Here is my nameconfig.pl file. #!/usr/local/bin/perl $names="a"; %name =( "a" => "andy", "b" => "ben", "c" => "cat" ); return "$name{$names}"; and here is my other script to call this nameconfig.pl...
  12. vietboy505

    navigation bar menu

    I want to write a navigation bar menu file that will place inside every php file. Is it possible to set all the navigation link on the left? Such as link.php Link 1 Link 2 Link 3 Then put a include function in every php file. Whenever, I feel like updating the links, I just change link.php...
  13. vietboy505

    Accessing Unix folder in Perl on windbows based

    #!/usr/local/bin/perl5 use Cwd; print("Current directory: "); print(cwd()); print("\n"); chdir("/home/users/vietboy/"); print("\n"); print("Current directory 2: "); print(cwd()); print("\n"); How can I bypass to go to the unix directory on the window based?
  14. vietboy505

    Daily Bullentin script

    I am newbie to PHP. I am looking for a PHP script or start from stratch that let users post message on the web page. Maybe like a box of daily bullentin, as time passed, it will gray out (strikethrough) like after couple of days or weeks. There is an option of admin which can archive it, goes...
  15. vietboy505

    Perl - gtar?

    Windows side doesn't have tar or gtar right? I am trying to write the script to copy directory or file to a destination. I think it's on my Windows side is not working. $TAR = "/usr/local/bin/gtar"; #gtar is there on the unix side $opt = ""; #where $source & destdir is define earlier $c = "cd...
  16. vietboy505

    questions about perl [Unix-&gt;windows]

    Four questions to ask.. #1 Is there a list of UNIX commands that is eqvuivalent to perl? Such as change directory UNIX: cd PERL: chdir() UNIX: mkdir PERL: mkdir remove directory UNIXL rm -r [dir] PERL: rmdir() UNIX: pwd PERL: ? and so on. Much appreciate.. can't seem to find on...

Part and Inventory Search

Back
Top