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 strongm 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: allensim81
  • Order by date
  1. allensim81

    use perl to generate index.html

    hi, tried. it doesnt work... how to put the css text into seperate file? I just save below at style.css Is it correct? <style type="text/css"> body { margin: 0; padding: 0; margin-bottom: 15px; margin-top: 8px; background: #77b; } body, td { font: 14px "Trebuchet MS", Verdana...
  2. allensim81

    use perl to generate index.html

    HI thanks for the reply! I amended the code according and it works! Thanks for the guidiance... Now i got another problem. How can i allocate the following CSS text into my perl script? Help... CSS Text: <style type="text/css"> <!-- body { margin: 0; padding: 0; margin-bottom: 15px...
  3. allensim81

    use perl to generate index.html

    Hi, i am new in perl. I am trying to write a simple script to show an index.html. however it works only 40%! only one item is shown in the index.html... can u please guide me step-by step? thanks in advance! #!/usr/bin/perl $httrackpath = "/usr/local/bin"; $websites="/data/websites"...
  4. allensim81

    perl regex match carriage return

    my problem now is when i am using ths perl srcipt:- if ($buf =~ m{\(webhttrack (.*?) \)$}) { my $command="$httrackpath/httrack $1"; print "[$command]"; it will gv me the result... [/usr/local/bin/httrack -q -%i -w http://www.rtm.net.my -O "/data/websites/RTM" -n -%P -N0 -s2 -p7 -D -a...
  5. allensim81

    perl regex match carriage return

    this is the perl tht i wrote: if ($buf =~ m{\(webhttrack (.*?) \)$}) { my $command="$httrackpath/httrack $1"; print "[$command]"; I think somethg wrong that why it cannot capture evrythg. can you please guide me. thanks
  6. allensim81

    perl regex match carriage return

    hi, in the command$ i expect to see httrack -q -%i -w http://www.rtm.net.my -O "/data/websites/RTM" -n -%P -N0 -s2 -p7 -D -a -K0 -c4 -%k -r2 -%e2 -A25000 -F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" -%F "<!-- Mirrored from %s%s by HTTrack Website Copier/3.x [XR&CO'2006], %s -->"...
  7. allensim81

    perl regex match carriage return

    Hi, actually the following is from a log file. HTTrack3.43-5+libhtsjava.so.2 launched on Thu, 23 Jul 2009 11:23:17 at http://www.rtm.net.my +*.png +*.gif +*.jpg +*.css +*.js -ad.doubleclick.net/* (webhttrack -q -%i -w http://www.rtm.net.my -O "/data/websites/RTM" -n -%P -N0 -s2 -p7 -D -a -K0...
  8. allensim81

    perl regex match carriage return

    hi, I want to grab the following.... But i have been trying many times... it doesnt work... can you please guide me step by step. thanks in advance. HTTrack3.43-5+libhtsjava.so.2 launched on Thu, 23 Jul 2009 11:23:17 at http://www.rtm.net.my +*.png +*.gif +*.jpg +*.css +*.js...
  9. allensim81

    webHTTRack autmate script

    hi dear feherke, How are you? I am stil having problmes with my webhttrack automate script. Ok, the whole process goes like this: 1. User will be downloading/archiving the websites manually, which means, user must key in the urls, dpeth and so on one bye one. And all the downloaded website will...
  10. allensim81

    samba shared folders appear as printeres

    whr to find IPV6.... i duno how to disable it... can u guide me on this?
  11. allensim81

    The directory is not showing, only showing Printer

    hi, the directory i want is /data/websites... not homes... how should i do?
  12. allensim81

    The directory is not showing, only showing Printer

    Hi, I am newbie in using SAMBA. After i setup my SWAT and done wth the configuration. When i use Network Neighborhood to connect to the Samba share, it didnt show me the directory that i want, instead it only shows PRINTER. Following are my setting: #======================= Global Settings...
  13. allensim81

    webHTTRack autmate script

    thank you thank you!!! i love you all!
  14. allensim81

    webHTTRack autmate script

    Hi, thnaks for your fast reply! U r brilliant man! I tested the script,it works! but then if i put more than one url address in urls file, it overwrite the previous one.. how can solve this? Thanks in advance! Love & Cheers!
  15. allensim81

    webHTTRack autmate script

    Hi, I am totally new in learning to write an Unix script. I want to automate the WebHTTrack downloading website process. I had tried to write a simple script and it runs! But i didnt use any variables, the website URL and directory is fixed. Can anyone guides me step-by-step so that i can...

Part and Inventory Search

Back
Top