Jump to content

dilbertone

Members
  • Posts

    122
  • Joined

  • Last visited

Posts posted by dilbertone

  1. hello dear trq

     

    many thanks for the answer.

     

    Do you have a question?

     

     

     

    How to count up from 0 to 10 000 in php

     

    well with that i will arrange all and will loop / or itterate over all pages

     

    with the resuts i try to give all the things to the simplehtmldom - see

     

    http://simplehtmldom.sourceforge.net/

     

    trq - many thanks for any and all hints... i am happy for any hint

     

    greetings

  2. hello dear php freaks

     

     

    Well i am currently working on a small solution: I have tried various tutorials

    (examples of Curl - that i have found on the net) not oll of them work - some of them are broken!

     

    Now i try t o get some real-world-task!

     

    Especially interesting for me as a PHP/Perl-beginner

     

    what Curl - particularly for doing the form based search and selecting the individual entries.

     

     

    see the page: http://katholisch.at/content/site/pfarrfinder/index.html

    Here you can see for more results..

     

    Hmm - i guess that the algorithm would be basically 2 nested loops:

    the outer loop runs the form based search,

    the inner loop processes the search results.

     

    i have approximatley 10000 pages to parse

     

    they are organized like that:

     

    http://Www.address/5307.html

    http://Www.address/5308.html

    http://Www.address/5309.html

     

     

    well - i try to write a algorithm

  3. helllo dear buddies

     

     

    Is it possible to scrape the Google search results page using PHP to pull out the total number of search results found? If so how would I go about doing this?

     

    Well i f ound the great script of http://google-rank-checker.squabbel.com/

     

    how to obtain the www.seo-proxies.com API password

     

    note: is this a Google-API-Code!?

     

     

    /* License: open source for private and commercial use
       This code is free to use and modify as long as this comment stays untouched on top.
       URL of original source: http://google-rank-checker.squabbel.com
       Author of original source: justone@squabbel.com
       This tool should be completely legal but in any case you may not sue or seek compensation from the original Author for any damages or legal issues the use may cause.
       By using this source code you agree NOT to increase the request rates beyond the IP management function limitations, this would only harm our common cause.
    */
    
    error_reporting(E_ALL); 
    // ************************* Configuration variables *************************
    // Your seo-proxies api credentials
    $pwd="2b24aff3c1266-----your-api-key---";            // Your www.seo-proxies.com API password
    $uid=YOUR_USER_ID;                                   // Your www.seo-proxies.com API userid

     

    love to hear from you

     

    greetings

    dilbert

     

  4.  

    hello dear phpfreaks

     

    as i am in the mid of building up a site for book-recommendations i eagerly wait to see your ideas & feedbacks

     

    see the page which is made with joomla

     

    see it here http://literaturen.org/

     

    and see all the  template-positions http://literaturen.org/?tp=1

     

    what do you say - would you change the banner... 

    which additional features you would like to see!?

     

    love to hear from you

     

    greetings  dilbert

  5.  

    imagegrabscreen — Captures the whole screen - a PHP-script that scrapes 500 different sites and stores the results as thumbnails

     

     

     

    This example demonstrates how to take a screenshot of the current screen and save it as a png image.

     

     

    imagegrabscreen

     

    as a base for a  webscraper that runs with PHP and collects images  i thought we c

     

     

    note  - all i need are previews or thumbnails  i do not need fully fledged images.

     

     

    <?php

    $im = imagegrabscreen();

    imagepng($im, "myscreenshot.png");

    imagedestroy($im);

    ?>

     

     

     

     

     

     

    This example demonstrates how to take a screenshot of the current screen and save it as a png image.

     

    well - to spell it out. i need approx 500 to 1000 webshots ( images that are stored as thumbnails with 240 pixels at the long distance at maximum.

     

    what do you  guess. i think  it should be pretty obvious but I'll mention it anyway, if we re running GPU-intensive applications (not CPU), calling this

    function will cause quite some significant lag to our machine and server response until the request is complete.

    For this to work our Apache service must be set to 'Allow service to interact with desktop' otherwise we will just get a blank image.

     

    Question: how to implement the long list of 500 URLS that i have to visit and create a thumbnails?

     

     

     

  6. hi guys

     

    well i have tried to install mechanite:: firefox and believe it or not..

    the machine also wantet to have

    json

    and yes

     

    i had this in the command line - what is the deal with this..

     

    this goes a bit over my head

     

    1

    
    
    
    t/50-rt65615.t .................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/50-tick.t ....................... Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/50-tick.t line 4.
    BEGIN failed--compilation aborted at t/50-tick.t line 4.
    t/50-tick.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/51-click_button.t ............... Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/51-click_button.t line 7.
    BEGIN failed--compilation aborted at t/51-click_button.t line 7.
    t/51-click_button.t ............... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/51-mech-field.t ................. Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/51-mech-field.t line 4.
    BEGIN failed--compilation aborted at t/51-mech-field.t line 4.
    t/51-mech-field.t ................. Dubious, test returned 2 (wstat 512, 0x200)
    No subt

     

     

     

     

    and yes i also got the following one.. here

     

    #     doesn't match '(?^:examples/urlbar.pl syntax OK)'
    
    #   Failed test 'examples/bcat.pl compiles'
    #   at t/99-examples.t line 13.
    #                   'Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    # BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    # Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    # BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    # Compilation failed in require at examples/bcat.pl line 3.
    # BEGIN failed--compilation aborted at examples/bcat.pl line 3.
    # '
    #     doesn't match '(?^:examples/bcat.pl syntax OK)'
    
    #   Failed test 'examples/tail-console.pl compiles'
    #   at t/99-examples.t line 13.
    #                   'Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    # BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    # Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    # BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    # Compilation failed in require at examples/tail-console.pl line 3.
    # BEGIN failed--compilation aborted at examples/tail-console.pl line 3.
    # '
    #     doesn't match '(?^:examples/tail-console.pl syntax OK)'
    # Looks like you failed 13 tests of 14.
    t/99-examples.t ................... Dubious, test returned 13 (wstat 3328, 0xd00)
    Failed 13/14 subtests 
    t/99-manifest.t ................... ok   
    t/99-pod.t ........................ skipped: Test::Pod required for testing POD
    t/99-todo.t ....................... ok     
    t/99-unix-text.t .................. ok     
    t/99-versions.t ................... skipped: File::Slurp needed for testing
    t/mechanize/autocheck.t ........... Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/mechanize/autocheck.t line 13.
    BEGIN failed--compilation aborted at t/mechanize/autocheck.t line 13.
    t/mechanize/autocheck.t ........... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/mechanize/content.t ............. Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/mechanize/content.t line 17.
    BEGIN failed--compilation aborted at t/mechanize/content.t line 17.
    t/mechanize/content.t ............. Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/rt65615.t ....................... Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/rt65615.t line 2.
    BEGIN failed--compilation aborted at t/rt65615.t line 2.
    t/rt65615.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    t/select.t ........................ Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/arch /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    BEGIN failed--compilation aborted at /root/.cpan/build/WWW-Mechanize-Firefox-0.58-psuWYZ/blib/lib/WWW/Mechanize/Firefox.pm line 13.
    Compilation failed in require at t/select.t line 6.
    BEGIN failed--compilation aborted at t/select.t line 6.
    t/select.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    
    Test Summary Report
    -------------------
    t/01-mech-destroy.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-memleak2.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-ref-memleak.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-simplest.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/48-mech-launch.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-get-file.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-nav.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-reuse.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-allow-js.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-app-new.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-app-profile.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-click.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-follow-link.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-form-with-fields.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-form2.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-activateTab.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-bufsize.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-closeTab.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-ct.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-encoding.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-event.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-forms.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-get-nocache.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-get.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-multi-event.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-new-dsl.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-new.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-save-dialog.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-set-fields-875912.t   (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-status.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-popup.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-rt65615.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-tick.t                     (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-click_button.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-field.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-form-with-fields.t    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-links.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    #
      Parse errors: No plan found in TAP output
    t/mechanize/content.t           (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/rt65615.t                     (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/select.t                      (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    Files=72, Tests=59,  5 wallclock secs ( 0.26 usr  0.09 sys +  4.09 cusr  0.54 csys =  4.98 CPU)
    Result: FAIL
    Failed 67/72 test programs. 13/59 subtests failed.
    make: *** [test_dynamic] Fehler 2
      CORION/WWW-Mechanize-Firefox-0.58.tar.gz
    one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
      /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
      reports CORION/WWW-Mechanize-Firefox-0.58.tar.gz
    Running make install
      make test had returned bad status, won't install without force
    Failed during this command:
    ZIGOROU/MozRepl-0.06.tar.gz                  : make_test NO
    CORION/MozRepl-RemoteObject-0.29.tar.gz      : make_test NO one dependency not OK (MozRepl)
    CORION/WWW-Mechanize-Firefox-0.58.tar.gz     : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
    
    
    

     

     

    whats the deal with this .- is this some sight that i need  a better make

  7. hello dear friends

     

     

    am a newbi so do not bear with me! I run a linux sever that is administered by a friend of me. He prepares the chown and permissins - with the setgit-bit to on.

     

     

    Well the trouble is that i get lost the setgitbit every time when i touch the permissions with FileZilla. Filezilla cannot handle the Setgit-bit. that i know allready

     

    That is the terrible issue! Note - at the moment i do not have a access to the server with WinSCP -

    since i have not a windows-machine but a opensuse-linux.

     

    question: can WinSCP handle ( and cope ) with the SETGIT BIT!? as far as i know, winscp can set the Setgit. Filezilla cannot do this at all!

     

    love to hear from you

    greetings db1

     

     

    update

     

    i am a strong believer - and i guess you are right!!! Well here my settings:

     

    on openSuse Linux server My Setup: OpenSuse 11.4 on the local machine! Linux- Server

     

    FileZilla Client

    ----------------

    Version:          3.3.4.1

    Build information:

      Compiled for:  i686-pc-linux-gnu

      Compiled on:    i686-pc-linux-gnu

      Build date:    2011-02-23

      Compiled with:  gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]

      Compiler flags: -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector

    - funwind-tables -fasynchronous-unwind-tables -g -fstack-protector -Wall -g -fexceptions

     

    Linked against:

      wxWidgets:      2.8.11

      GnuTLS:        2.8.6

     

    Operating system:

      Name:          Linux 2.6.37.6-0.7-default i686

      Version:        2.6

     

    Well my dear i allmost go crazy - sure thing:

     

     

    I run a linux-root-server that is administered by a friend of mine. i controll the SFTP session - with filezilla (see all i mentione above a buddy told me: It's not actually filezilla, it's the umask that sftp uses.

     

    he advice me to Change

     

    
    Subsystem sftp /usr/libexec/openssh/sftp-server
    
    to Subsystem sftp /bin/sh -c 'umask 0002; /usr/libexec/openssh/sftp-server'
    

     

     

    in the server's sshd_config file, and restart sshd, and you should then find that sgid bit is preserved if the parent directory has it set.

     

     

    well what do you think - can it be the stuff / and the things, that the buddy told me. -do you also think that the fault is rootet in the server-config?.

     

    well i guess so - i am pretty sure

  8. good evening dear php-friends

     

    well i am in big trouble - i have a terrible server error!

     

    on openSuse Linux server 
    My Setup: OpenSuse 11.4 on the local machine! 
    Linux- Server 
    
    FileZilla Client
    ----------------
    Version:          3.3.4.1
    Build information:
      Compiled for:   i686-pc-linux-gnu
      Compiled on:    i686-pc-linux-gnu
      Build date:     2011-02-23
      Compiled with:  gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
      Compiler flags: -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
    - funwind-tables -fasynchronous-unwind-tables -g -fstack-protector -Wall -g -fexceptions
    
    Linked against:
      wxWidgets:      2.8.11
      GnuTLS:         2.8.6
    
    Operating system:
      Name:           Linux 2.6.37.6-0.7-default i686
      Version:        2.6

     

    Well folks i go crazy - sure thing:

     

    I run a linux-root-server that is administered by a friend of mine. i controll the SFTP session - with filezilla (see all i mentione above)  in order to do installations and maintenance of some drupal-installations (and besides them some joomla-sites) Note: in the  future i want to install Drush - in order to get rid all that annoying bugs.

     

    I am using directories with setgid bit set. I want to change the permissions of newly created directories to give write  permission to the group (by default they have not). For this I right-click on the directory and change the permissions from the Properties dialog. When I change the permissions of a directory that way, the setgid bit gets removed. In fact, there is no way to set the setgid bit, it just always gets turned off, whatever operation one does on permissions.I heard that a buddy found a workaround by creating a custom command that executes chmod -R g+w "!" and applies on directories. This works fine. he said. Well what should i do!? BTW - why does this custom comand work for him !?  Can  somebody explain this  abit!

     

    Well i go almost crazy and throw the computer out of the window (well notabene - of the 14 th floor) this is sure thing no good idea

    but i need to have a solution. waht should i do here.

     

    Note: with FileZilla you cannot (!!!!!) set the SETGID-Bit again - no way here - no chance. But with winscp (see below the link ). And you can imagine with Drush you can do it too! What  sould i do - can you advice something for me! btw: see winscp with its ability to control the SETGID bit more than the FileZilla can do!! Well what can cause the issue - where is it rooted. Why do i loose the SETGID-Bit every time!

     

    It is possible that our SFTP server does not support the setgit bit and silently ignores the request to set it.

     

    What is the issue - can it be the SFTP.-SERVER!?

     

    Do you need more information more input should i do more investigations on the troubles and the environment. just let me know - i do everything to get the troubles rid!

     

    look forward to hear from you

     

    Greetings

     

  9. good day dear php-freaks,

     

    i need more error handling now  - unless i do not get more error-handling i am lost!

    To begin with the beginning: well last weekend i set up a LAMPP-System on my linux system. . to be frank it is a lampp and no xampp.

    Well the lampp includes the Apache 2.2, a MySQL-Server, PHP 5.3x and phpMyadmin. I Well the LAMP is allready up and running. I also have installed a CMS - a joomla Version 1.7.3 - the installaton went smoothly and was no problem at all.

     

    So far so  good!

     

    But afterwards i wanted to install some extensions and templates. Note this is the critical point in each installation of Joomla. Now the system needs to get the files via a FTP-process.

     

    And believe it or not - this fails every time i try it! i get the error - cant move the files. Well i guess that this might have to do with the Apache / or the whole Lampp-System. What do you think!!? Perhaps this is an issue of permissions!? See the folder where i installed the joomla!

     

    But again - i need error - handling - i need to get more knowledge out of the issues that arise!

     

     

    mkdir /srv/www/basic

     

     

    Well the installation of the joomla 1.7.3 went nice - and was installing smoothly - true vanilla.

     

    srv/www/htdocs/basic

     

    BTW see the paths

    Code: Select all
        public $unicodeslugs = '0';
            public $feed_limit = '10';
            public $log_path = '/srv/www/htdocs/basic/logs';
            public $tmp_path = '/srv/www/htdocs/basic/tmp';
            public $lifetime = '15';
            public $session_handler = 'database';
        }
    

     

     

    Dear folks, well the issue that arises - when i try to install some extensions i got the error - can t move files!

    Well i am a bit unsure where this issue has its origin. What causes this error!?

     

    look forward to hear from you!

    dilbert

  10. well good moring dear folks - hope you are all right and everythings is fine across the atlantic

     

    today i have a  question regarding server-paths - and the absolute and relative in a linux-[opensuse 11.4] lampp-system

    well i just installed something in to my Lampp on openSuse  11.4

     

    while setting up  this application - (it is a joomla 1.7.3 ) i wonder how i name the paths

     

     

    public $unicodeslugs = '0';

    public $feed_limit = '10';

    public $log_path = 'D:\\Xammp\\xampp\\htdocs\\pre1/logs';

    public $tmp_path = 'D:\\Xammp\\xampp\\htdocs\\pre1/tmp';

    public $lifetime = '15';

    public $session_handler = 'database';

     

     

     

    what cou you thinks how shoud i name the paths

    well you see above this was a windows box where the pahts originally were taken from

     

    love to hear from you

  11. hello dear oldfast car

     

    thx again

     

    niow i saw what was missing

    the mysqlserver did not run so far

     

     

    as i supposed him to do  - so i started the server via commandline

     

    linux-vi17:/home/martin # /etc/init.d/mysql start

    Creating MySQL privilege database...

     

    -> and now the user-login also was easy to do ...

     

    again many many thanks for the help You  are greatr!! 

    you helped me several times...

     

    all the best to you

    greetings

  12. helllo dear friends

     

    update  i found it - and all is nice now _ but now i do not now how to access it.

     

    what are the preiliminariy access-data for phpmyadmin!?

     

    user-name: !?!?

    password:  !?!?

     

     

    <<<<<<<<<<<

     

    just in  the mids of installing and configuring a LAMP on opensuse 11.4

     

    i have allready done

    - apache 2.2 intalled and configured / basically

    - mysql installed and configured  /basically

     

    now i have been able to put a php-info-file on srv/www/

    and believe it or not - it is visible

     

    Well this makes me happy!

     

    afterwards i tried to install the phpmyadmin via yast (the installation controller of opensuse )

     

    this succeded  installed phpmyamdin on opensuse 11.4  -but where is it now!`?

     

    i have no glue - how can i call the phpmymadmin - is it in  the document-root. Where can i find it

     

    BTW: can i test the installatin via commandline - if the installation of the phpmyamdin was a success!?

     

     

  13. here a example - i wanna snag a page like this one here - what do you think

     

    http://www.google.de/search?q=phpinfo&oe=utf-8&rls=org.mozilla:de:official&client=firefox-a&um=1&ie=UTF-8&hl=de&tbm=isch&source=og&sa=N&tab=wi&ei=k80BT_2MA4Wpsgaf9qHgDw&biw=1173&bih=767&sei=n80BT5mKBJH1sgbLrI31Dw

     

    i want to snag a page and the ni want to make it publically available - eg at imageshack or somehwere eles -

    i  want to discuss the conditions that my local (!!!!) system runs

     

    greetings and a prosperous new year 2012

     

  14. well the ting is that the sie i want to snag /or have as an image - is much much longer than a regular brwoser content has got. it is soooo tall - it is a site that contains all php-infos. So what should i do to get it (to grab it)

     

    i run opensuse 11.-4 and kde with a mozillla.

    ANd i need to grab the php_info from my local webserver (based on my machine here) to make it publically availabie - on the internet - as a image - to discusss which configurations i have.

     

     

    thats the plan the goal

     

    hope that i have explained enougth -if not just let me know

     

    rgeards

  15. hello dear PHP-Fans - greetings to you - and a happy new year!!

     

     

    i set up a WAMP-System on my openSuse 11.4 system.  In order to learn as much as i can bout PHP i want to do some tests and write some scripts.

     

    Well the WAMP is allready up and running.  Now i try to give the writing access to the folder

     

    mkdir /srv/www/

     

    where the php-scripts should go in...

     

    i want  to give write permission to all to all files in /srv/www

     

    As root I generally:

     

    mkdir /srv/www/

    chown <webmaster usrername> /srv/www/

     

    /srv/www/ should be readable and traversable by all, but only writeable by it's owner (the user designated as the webmaster.)

     

    can i do this like mentioned above,...

     

    Love to hear from you

     

    greetings

    db1

  16. hello dear QuickOldCar, well - in one word -

     

    many thanks for  sharing your code - this looks damned cool!  Very very well done!

    Thank you so much for all this interesing lines of code!  You are great! You've created a monster--congratulations!

     

    I have a quick look at the code! It looks great and impressive - and contains all necessary  things.

     

    Well i have to make up my ideas  about saving the  results as md5 - i never did this. But this is a very very cool method!

     

    Dear QuickOldCar, thank you for the service you provide the ham community.

     

    At the  weekend i  will  give your code and your plan a try - and then i come back and report all.  Untill then

     

    Have a great week!

     

    Best regards  and warm greetings

    dilbertone

  17. hi there

     

    good day - great to hear from you Drongo,!!!

     

    Hi mate

     

    I reckon this should put you on the write track http://www.php.net/manual/en/function.imagegrabwindow.php

     

    Drongo

     

    well good catch  - great thoghts  - i am happy to hear that from you.... I will digg deeper and try to solve the things with your ideas.

     

    i come back later the day.

     

    greetings

    db1

     

    update:

     

    great catch .- all looks interesting!

     

     

    <?php
    $browser = new COM("InternetExplorer.Application");
    $handle = $browser->HWND;
    $browser->Visible = true;
    $im = imagegrabwindow($handle);
    $browser->Quit();
    imagepng($im, "iesnap.png");
    imagedestroy($im);
    ?>
    

    Capture a window (IE for example) but with its content

     

     

    <?php
    $browser = new COM("InternetExplorer.Application");
    $handle = $browser->HWND;
    $browser->Visible = true;
    $browser->Navigate("http://www.libgd.org");
    
    /* Still working? */
    while ($browser->Busy) {
        com_message_pump(4000);
    }
    $im = imagegrabwindow($handle, 0);
    $browser->Quit();
    imagepng($im, "iesnap.png");
    imagedestroy($im);
    ?>
    

     

    well i guess that i should try this out  - interesting stuff in deed

  18. hello dear folks

     

    again me. Well i am musing about the most clever and smart way to do a job...

     

    Hmmm - i guess there is a main difference between retrieving HTML (on the one handside) and retrieving an image (on the other handside).

     

    Retrieving a image - with the Perl-code and the FireFox[/b] (see the code that includes the FireFox part in Mechanize) seems to be much much smarter than -

    for example doing it with httrack (the famous tool). With the little Perl-snippet we re able to do nice rendering, and interpreting css/js. The regular browser (automated) such as firefox is able do a good job here. On a sidenote: Considering to do the fetching-job this little Perl-Snippet is far more powerful -than httrack - since this job is not something httrack would do easily. HTTrack is only able to grab part of website(s), but is not able to do any rendering of any sort, nor interpreting css/js.

     

    #!/usr/bin/perl
    
        use WWW::Mechanize::Firefox;
        my $mech = WWW::Mechanize::Firefox->new();
    
        open(INPUT, "urls.txt") or die "Can't open file: $!";
    
        while (<INPUT>) {
          chomp;
          $mech->get($_);
          my $png = $mech->content_as_png();
        }
        close(INPUT);
        exit; 
    

     

    Well: There is absolutly no need to fetch HTML-Contents.

     

    Caching the image is done easily with the Perl-Snippet. And therefore Httrack is (absolutley) not the tool that i should take into consideration.

     

    what do you think !?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.