Perl to Php

Sharky Forums


Results 1 to 7 of 7

Thread: Perl to Php

  1. #1
    Reef Shark Pestilence's Avatar
    Join Date
    Dec 2000
    Location
    Hickville, USA. :(
    Posts
    353

    Post Perl to Php

    Does anyone know of a converter to convert the Yabb cgi code to php for a windows system? I wasn't able to find a converter on download.com unfortunately.

    ------------------
    (\__/) See the bunny.
    (='.'=) Hear the bunny.
    (") (") Pet the bunny.

    BE the bunny.

    Data Structure programming assignment solutions found here! http://www.sa.sc.edu/cp/java/
    By Yours truly.
    God damnit, better graphics != revolutionary gaming! Get it through your skull!

  2. #2
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    Why can't you just install Perl on the windows box?

    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

  3. #3
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    I really don't think that's even possible. I've never heard, nor can I imagine how it would be possibly to make one, general convertor which would take someones code and reword it into another language like that.

    There's functions in Perl which simply don't have a PHP equivelant, and vice versa.

    [This message has been edited by Grizzly (edited July 12, 2001).]

  4. #4
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    Originally posted by Grizzly:
    I really don't think that's even possible
    Sure it's possible. There are plenty of language converters out there. They usually generate horrible code, but they get the job done. If a Perl-&gt;PHP thing has been done I don't know of any. The question is, do you really want the code that it generates, and more importantly, do you have to maintain the code it generates?

    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875&gt;&gt;(i-1)*5&31|!!(i&lt;6)&lt;&lt;6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

  5. #5
    Reef Shark Pestilence's Avatar
    Join Date
    Dec 2000
    Location
    Hickville, USA. :(
    Posts
    353

    Post

    I wouldn't really have to maintain it. If it converted it and the code worked fine then that'd be great. If not, it wouldn't be the end of the world.

    ------------------
    (\__/) See the bunny.
    (='.'=) Hear the bunny.
    (") (") Pet the bunny.

    BE the bunny.

    Data Structure programming assignment solutions found here! http://www.sa.sc.edu/cp/java/
    By Yours truly.
    God damnit, better graphics != revolutionary gaming! Get it through your skull!

  6. #6
    Ultra Great White Shark!! richardginn's Avatar
    Join Date
    Feb 2001
    Posts
    16,118

    Post

    How about looking around for a message board done in php script???

    ------------------
    www.geocities.com/richardginn/templatehtml -Come visit the Template HTML homepage
    www.myeducational plan.com-come see my plan to fix the USA educational system. I hope this is sig legal. Major Site Design Update on July 18, 2006. On June 18, 2009 passed the 10,000 post mark. December 24, 2009: Major Theme change and more....

  7. #7
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    I still don't understand why you can't install Perl on the windows box... that would solve your problem, and you wouldn't have to do anything short of a proper install.

    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875&gt;&gt;(i-1)*5&31|!!(i&lt;6)&lt;&lt;6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •