Ankündigung

Einklappen
Keine Ankündigung bisher.

php & icq

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • php & icq

    hallo, ich versuche momentan mit php eine nachricht an das icq protokoll u versenden.

    ich habe dieses packet genommen:
    http://www.phpclasses.org/browse/package/1706.html

    ...und noch diverse andere ausprobiert, keine dieser classen funktioniert und das OSCAR protokoll weiss ich nicht mit php anzuwenden.

    kennt jemand eine funktionierende classe ?

    google konnte mir nicht so recht helfen, ich habe zwar etliche classen gefunden, aber nichts läuft.

  • #2
    Hallo notyyy,

    nein ich kenne keine andere "classe". Interessant wäre aber, WAS nicht funktioniert. Dein Post gibt für keiner der getesteten Klassen eine Problembeschriebung her.
    Viele Grüße,
    Dr.E.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1. Think about software design [B]before[/B] you start to write code!
    2. Discuss and review it together with [B]experts[/B]!
    3. Choose [B]good[/B] tools (-> [URL="http://adventure-php-framework.org/Seite/088-Why-APF"]Adventure PHP Framework (APF)[/URL][URL="http://adventure-php-framework.org"][/URL])!
    4. Write [I][B]clean and reusable[/B][/I] software only!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Kommentar


    • #3
      ich glaube die basieren alle auf die selbe hauptclasse.

      PHP-Code:
      read() errorconnection closed by remote host or communication error (Der Vorgang wurde erfolgreich beendet.
      in file D:\host\xampp\htdocs\icq\old\icq_class.php at line 397.
      disconnect
      () errorreasoncommunication in file D:\host\xampp\htdocs\icq\old\icq_class.php at line 1708.
      read
      () errorconnection closed by remote host or communication error (Der Vorgang wurde erfolgreich beendet.
      in file D:\host\xampp\htdocs\icq\old\icq_class.php at line 397.
      disconnect
      () errorreasoncommunication in file D:\host\xampp\htdocs\icq\old\icq_class.php at line 1708. 


      ...oder nen timeout ^^

      Kommentar


      • #4
        Hallo notyyy,

        ich würde das ganze mal versuchen mit telnet nachzustellen. Damit kannst du beispielsweise den connect und anschließend das AUTH testet. Vielleicht kommst du damit weiter.
        Viele Grüße,
        Dr.E.

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        1. Think about software design [B]before[/B] you start to write code!
        2. Discuss and review it together with [B]experts[/B]!
        3. Choose [B]good[/B] tools (-> [URL="http://adventure-php-framework.org/Seite/088-Why-APF"]Adventure PHP Framework (APF)[/URL][URL="http://adventure-php-framework.org"][/URL])!
        4. Write [I][B]clean and reusable[/B][/I] software only!
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        Kommentar


        • #5
          wäre interessant, ich habe leider keinerlei ahnung, wie ich das bewerkstelligen soll =)

          Kommentar


          • #6
            Hallo notyyy,

            die Kommunikation - soweit ich das sehen konnte - funktioniert über Sockets.

            Code:
            $this->socket = socket_create( AF_INET, SOCK_STREAM, SOL_TCP );
            Mit Telnet kann man zumindest testen, ob die Socket-Verbindung auf den angegebenen Port und die angebene Adresse funktioniert. Hierzu kannst du auf Windows und LINUX ein

            Code:
            telnet login.icq.com 5190
            auf der Shell eingeben (vergleiche http://www.phpclasses.org/browse/file/16646.html). Wenn du ein Banner bekommst, funktioniert schon mal der Connect. Die übrigen Commands kannst du nun hier auf der CMD eingeben und testen.

            Ich denke das war eine Vorlage...
            Viele Grüße,
            Dr.E.

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            1. Think about software design [B]before[/B] you start to write code!
            2. Discuss and review it together with [B]experts[/B]!
            3. Choose [B]good[/B] tools (-> [URL="http://adventure-php-framework.org/Seite/088-Why-APF"]Adventure PHP Framework (APF)[/URL][URL="http://adventure-php-framework.org"][/URL])!
            4. Write [I][B]clean and reusable[/B][/I] software only!
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            Kommentar

            Lädt...
            X