OT (?) php rotator

Discussion in 'HTML' started by lisztnet@aliceadsl.fr, Oct 29, 2007.

  1. Guest

    http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php

    This is a rotator... obviously php, well but inside it looks bad.

    This is totally weird no ? i found another rotator wich is 10 times
    smaller, also php :

    Author: Dan Benjamin - http://hivelogic.com/

    Question : what is it all about, with the weird code inside the big
    rotator ? It doesn't even has a normal header (it's line 11 :

    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
    www.apple.com/DTDs/PropertyList-1.0.dtd">

    )

    .. First i thought the images where stored inside the script, but no,
    they are in the directory along with the rotator.

    the lines 1-7 are what ?????

    TIA,


    L
     
    , Oct 29, 2007
    #1
    1. Advertising

  2. Harlan Messinger, Oct 29, 2007
    #2
    1. Advertising

  3. dorayme Guest

    In article <>,
    Harlan Messinger <> wrote:

    > wrote:
    > > http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php
    > >
    > > This is a rotator... obviously php, well but inside it looks bad.
    > >
    > > This is totally weird no ? i found another rotator wich is 10 times
    > > smaller, also php :
    > >
    > > Author: Dan Benjamin - http://hivelogic.com/
    > >
    > > Question : what is it all about, with the weird code inside the big
    > > rotator ?

    >
    > You're asking us to explain code we can't see?


    http://members.optushome.com.au/droovies/zips/liszt.txt.zip

    --
    dorayme
     
    dorayme, Oct 29, 2007
    #3
  4. Guest

    On 29 oct, 13:40, Harlan Messinger <>
    wrote:
    > wrote:
    > >http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php

    >
    > > This is a rotator... obviously php, well but inside it looks bad.

    >
    > > This is totally weird no ? i found another rotator wich is 10 times
    > > smaller, also php :

    >
    > > Author: Dan Benjamin -http://hivelogic.com/

    >
    > > Question : what is it all about, with the weird code inside the big
    > > rotator ?

    >
    > You're asking us to explain code we can't see?


    Hi,

    The code is the rotator.php which my first link i pointing to... i
    won't post here 32kb with part of binary code !

    Now, i just downloaded a photo from flickr with a similary code inside
    (i was just testing emacs...)

    it's located here :

    http://www.flickr.com/photo_zoom.gne?id=375421412&context=set-72157600165365515&size=o

    OR

    http://tinyurl.com/2css5u

    Here is what it looks like inside (it is the same header, tags as
    inthe rotator.php)


    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
    www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>com.apple.print.PageFormat.FormattingPrinter</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.FormattingPrinter</key>
    <string>deskjet_5550</string>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMHorizontalRes</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMHorizontalRes</key>
    <real>72</real>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMOrientation</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMOrientation</key>
    <integer>1</integer>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMScaling</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMScaling</key>
    <real>1</real>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMVerticalRes</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMVerticalRes</key>
    <real>72</real>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMVerticalScaling</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMVerticalScaling</key>
    <real>1</real>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2005-07-24T16:28:17Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.subTicket.paper_info_ticket</key>
    <dict>
    <key>com.apple.print.PageFormat.PMAdjustedPageRect</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMAdjustedPageRect</key>
    <array>
    <real>0.0</real>
    <real>0.0</real>
    <real>803.90999999999997</real>
    <real>576</real>
    </array>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2007-02-02T13:09:11Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PageFormat.PMAdjustedPaperRect</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PageFormat.PMAdjustedPaperRect</key>
    <array>
    <real>-5.04</real>
    <real>-9.629999999999999</real>
    <real>837.02999999999997</real>
    <real>585.63</real>
    </array>
    <key>com.apple.print.ticket.client</key>
    <string>com.apple.printingmanager</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2007-02-02T13:09:11Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>0</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMAutoDuplex</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMAutoDuplex</key>
    <true/>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMCodeName</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMCodeName</key>
    <string>iso-a4</string>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMManualDuplex</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMManualDuplex</key>
    <false/>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMPaperBanner</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMPaperBanner</key>
    <false/>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMPaperFullBleed</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMPaperFullBleed</key>
    <false/>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMPaperName</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMPaperName</key>
    <string>ISO A4</string>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMUnadjustedPageRect</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMUnadjustedPageRect</key>
    <array>
    <real>0.0</real>
    <real>0.0</real>
    <real>803.90999999999997</real>
    <real>576</real>
    </array>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.PaperInfo.PMUnadjustedPaperRect</key>
    <dict>
    <key>com.apple.print.ticket.creator</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.itemArray</key>
    <array>
    <dict>
    <key>com.apple.print.PaperInfo.PMUnadjustedPaperRect</key>
    <array>
    <real>-5.04</real>
    <real>-9.629999999999999</real>
    <real>837.02999999999997</real>
    <real>585.63</real>
    </array>
    <key>com.apple.print.ticket.client</key>
    <string>com.hp.print.puffin</string>
    <key>com.apple.print.ticket.modDate</key>
    <date>2004-01-26T12:32:20Z</date>
    <key>com.apple.print.ticket.stateFlag</key>
    <integer>1</integer>
    </dict>
    </array>
    </dict>
    <key>com.apple.print.ticket.APIVersion</key>
    <string>00.20</string>
    <key>com.apple.print.ticket.privateLock</key>
    <false/>
    <key>com.apple.print.ticket.type</key>
    <string>com.apple.print.PaperInfoTicket</string>
    </dict>
    <key>com.apple.print.ticket.APIVersion</key>
    <string>00.20</string>
    <key>com.apple.print.ticket.privateLock</key>
    <false/>
    <key>com.apple.print.ticket.type</key>
    <string>com.apple.print.PageFormatTicket</string>
    </dict>
    </plist
     
    , Oct 30, 2007
    #4
  5. wrote:
    > On 29 oct, 13:40, Harlan Messinger <>
    > wrote:
    >> wrote:
    >>> http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php
    >>> This is a rotator... obviously php, well but inside it looks bad.
    >>> This is totally weird no ? i found another rotator wich is 10 times
    >>> smaller, also php :
    >>> Author: Dan Benjamin -http://hivelogic.com/
    >>> Question : what is it all about, with the weird code inside the big
    >>> rotator ?

    >> You're asking us to explain code we can't see?

    >
    > Hi,
    >
    > The code is the rotator.php which my first link i pointing to...


    As one would expect from the address of a dynamic page, we can only see
    what it produces (which in this case is an image), not the server-side
    code that produced it.
     
    Harlan Messinger, Oct 30, 2007
    #5
  6. Guest

    On 30 oct, 11:57, Harlan Messinger <>
    wrote:
    > wrote:
    > > On 29 oct, 13:40, Harlan Messinger <>
    > > wrote:
    > >> wrote:
    > >>>http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php
    > >>> This is a rotator... obviously php, well but inside it looks bad.
    > >>> This is totally weird no ? i found another rotator wich is 10 times
    > >>> smaller, also php :
    > >>> Author: Dan Benjamin -http://hivelogic.com/
    > >>> Question : what is it all about, with the weird code inside the big
    > >>> rotator ?
    > >> You're asking us to explain code we can't see?

    >
    > > Hi,

    >
    > > The code is the rotator.php which my first link i pointing to...

    >
    > As one would expect from the address of a dynamic page, we can only see
    > what it produces (which in this case is an image), not the server-side
    > code that produced it.


    I' too stupid. :(

    L
     
    , Oct 30, 2007
    #6
  7. wrote:
    > On 30 oct, 11:57, Harlan Messinger <>
    > wrote:
    >> wrote:
    >>> On 29 oct, 13:40, Harlan Messinger <>
    >>> wrote:
    >>>> wrote:
    >>>>> http://www.maitre-eolas.fr/themes/ensemble/images/ensemble/rotator.php
    >>>>> This is a rotator... obviously php, well but inside it looks bad.
    >>>>> This is totally weird no ? i found another rotator wich is 10 times
    >>>>> smaller, also php :
    >>>>> Author: Dan Benjamin -http://hivelogic.com/
    >>>>> Question : what is it all about, with the weird code inside the big
    >>>>> rotator ?
    >>>> You're asking us to explain code we can't see?
    >>> Hi,
    >>> The code is the rotator.php which my first link i pointing to...

    >> As one would expect from the address of a dynamic page, we can only see
    >> what it produces (which in this case is an image), not the server-side
    >> code that produced it.

    >
    > I' too stupid. :(
    >
    > L
    >


    cp rotator.php rotator.src.txt

    then offer link to rotator.src.txt

    but, alt.php might be the NG for this subject.

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Oct 30, 2007
    #7
  8. Bergamot Guest

    Jonathan N. Little wrote:
    >
    > cp rotator.php rotator.src.txt


    or
    cp rotator.php rotator.phps

    Many servers are already set up to recognize phps as php source code,
    and can even apply syntax highlighting.

    --
    Berg
     
    Bergamot, Oct 30, 2007
    #8
  9. Bergamot wrote:
    > Jonathan N. Little wrote:
    >> cp rotator.php rotator.src.txt

    >
    > or
    > cp rotator.php rotator.phps
    >
    > Many servers are already set up to recognize phps as php source code,
    > and can even apply syntax highlighting.
    >


    Hmm. Didn't know that, works on my own developments servers. I guess it
    is automatically setup with PHP4+

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Oct 30, 2007
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SouthSpawn

    Ad Rotator Control

    SouthSpawn, Nov 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    452
    =?Utf-8?B?TWlrZUw=?=
    Nov 19, 2004
  2. Leon

    Ad Rotator / Ad Management?

    Leon, Nov 29, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    355
  3. Bredahl jensen

    Need a dynamic Ad rotator.

    Bredahl jensen, Feb 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,144
  4. Guest
    Replies:
    4
    Views:
    498
    Guest
    Oct 12, 2005
  5. Rajive Narain
    Replies:
    0
    Views:
    1,897
    Rajive Narain
    Sep 18, 2009
Loading...

Share This Page