×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    31

    PHP - MMS developer or source

    Hi,

    is there developer who use php for mms creation? Or can you send me any document about it?

    My web server doesn support java and I canot use java mms library but I want create MMS service.

    Thanks for answer

    Jakub

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    9

    RE: PHP - MMS developer or source

    I may be able to help you out, lets talk

    best wishes

    Dave

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    9

    RE: PHP - MMS developer or source

    I may be able to help you out, lets talk

    best wishes

    Dave

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    9

    RE: PHP - MMS developer or source

    yes I can help with this, would you like to talk further so i can get an idea of what you need to do?

    Instant Messaging?

    Dave

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    9

    RE: PHP - MMS developer or source

    I can help you understand the protocols to do what you need to do. how would you like to procede?

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    RE: PHP - MMS developer or source

    Hi,
    Me also wants to know how to create mms with php since i don't know Java. Please give some guide regarding this.
    Example scenario:
    People using my website to send mms, and my application will forward it to the recipient handphone or email. Thanks.

  7. #7
    Registered User
    Join Date
    Jul 2006
    Posts
    1

    Question Re: PHP - MMS developer or source

    How can I develop an application that can create MMS content, send and receive MMS content from MMS server using php?
    Pls. guide me

    thanks

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Re: PHP - MMS developer or source

    Hello teeboy,
    If you have time i could also need some help with this matter.
    I want to create a php app to send mms using the clickatell api.
    yahoo id : dahak_vasy_d.
    skype : vasy.dragan.
    Thanks in advance.

  9. #9
    Registered User
    Join Date
    Apr 2006
    Posts
    3

    Re: PHP - MMS developer or source

    Hi teeboy,

    I wish to know the protocol and way of sending SMS from my PHP coded web application titled "Student and Lecturer Appointment Systems".

    What shall I do in order to send automatic SMS and/or MMS directly to lecturer's phone once after students had made appointments from the available appointment timeslots?

    Thank you very much.

  10. #10
    Registered User
    Join Date
    Jul 2007
    Posts
    1

    Re: PHP - MMS developer or source

    I am also looking for some direction in this matter teeboy. Aol is tipalm or tipalm@comcast.net

    Thx!

  11. #11
    Registered User
    Join Date
    Nov 2007
    Posts
    1

    Re: PHP - MMS developer or source

    i need help on this to
    kishan112@hotmail.com

  12. #12
    Registered User
    Join Date
    Dec 2006
    Posts
    10

    Re: PHP - MMS developer or source

    This document should get you heading in the right direction.
    (( aql.com )) providing mobile voip for nokia handsets

  13. #13
    Registered User
    Join Date
    Dec 2007
    Posts
    2

    Re: PHP - MMS developer or source

    Hello
    Im trying to send mms with PHP to EAIF emulator, here's my code that I created for that.
    No error will come to page, but mms-message wont go to emulator.

    PHP Code:
    <?php
    $mmsc
    ="localhost";
    $portti="8189";
    $viestihakemisto="viestit/";

    ?>
    <html>
    <head>
    <title>
        MMS-viestin lähetys
    </title>
    </head>
    <body>
    <?php
    if(isset($_POST['viesti'])) {
        
    $random=rand(0,1000000000);
        
    $fileid=rand(0,100);
        if(
    $viesti=fopen($viestihakemisto.$random.".txt""w")) {

            
    $viestiheader="X-Mms-Message-Type: m-send-req\r\n";
            
    $viestiheader.="X-Mms-Transaction-ID: '.$random.'\r\n";
            
    $viestiheader.="X-Mms-Version: 1.0\r\n";
            
    $viestiheader.="To: recipient@external.application.com\r\n";
            
    $viestiheader.="From: +123455555555/TYPE=PLMN";
            
    $viestiheader.="Subject: Test MMS message\r\n";
            
    $viestiheader.="Date: Wed Oct 24 09:55:52 2001\r\n";
            
    $viestiheader.="Content-Type: application/vnd.wap.multipart.mixed\r\n";


            if(
    fwrite($viesti$_POST['viesti'])) {
                if(
    $smilviesti=fopen($viestihakemisto.$random.".smil""w")) {
                    
    $smil="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n";
                    
    $smil.="<smil xmlns=\"http://www.w3.org/SMIL20/Language\">\r\n";
                    
    $smil.="<head>\r\n";
                    
    $smil.="<layout>\r\n";
                    
    $smil.="<region id=\"teksti\" left=\"0\" top=\"0\" width=\"160\" height=\"120\"/>\r\n";
                    
    $smil.="</layout>\r\n";
                    
    $smil.="</head>\r\n";
                    
    $smil.="<body>\r\n";
                    
    $smil.="<seq>\r\n";
                    
    $smil.="<text src=\"".$random.".txt\" region=\"teksti\" dur=\"5s\"/>\r\n";
                    
    $smil.="</seq>\r\n";
                    
    $smil.="</body>\r\n";
                    
    $smil.="</smil>";
                    if(
    fwrite($smilviesti$smil)) {
                        
    fclose($viesti);
                        
    fclose($smilviesti);
                        echo 
    nl2br(system("createmms.exe -smil ".$viestihakemisto.$random.".smil -from 123456 -to 5745353"));
                        
    $yhteys=fsockopen($mmsc$portti$errno$errstr20);
                        if (
    $yhteys) {
                            
    $uusi="POST / HTTP/1.1\r\n";
                            
    $uusi.="X-NOKIA-MMSC-From: +123455555555/TYPE=PLMN\r\n";
                            
    $uusi.="X-NOKIA-MMSC-To: recipient@external.application.com\r\n";
                            
    $uusi.="X-NOKIA-MMSC-Message-Id: ".$random."\r\n";
                            
    $uusi.="X-NOKIA-MMSC-Message-Type: MultiMediaMessage";
                            
    $uusi.="X-NOKIA-MMSC-Version: 1.1\r\n";
                            
    $uusi.="Host: localhost:80/mms\r\n";
                            
    $uusi.="Content-Type: application/vnd.wap.mms-message\r\n";
                            
    $uusi.="Content-Length: ".strlen($_POST['viesti'])."\r\n";
                            
    $uusi.="Date: 1970-01-01, 00:00:00 GMT\r\n";
                            
    $uusi.="m-send-reg\r\n";
                            
    $uusi.=file_get_contents($viestihakemisto.$random.".mms");
                            if(!
    fwrite($yhteys$viestiheader.$uusi))
                                echo 
    'Viestin lähestys epäonnistui';
                            
    fclose($yhteys);
                         }
                        else
                            echo 
    "$errstr ($errno)<br />\n";
                     }
                    else
                        echo 
    'smillin tallennus epäonnistui';
                 }
                else
                    echo 
    'smillin luominen epäonnistui';
             }
            else
                echo 
    'Viestiin tallentaminen epäonnistui';
         }
        else
            echo 
    'Viestin luominen epäonnistui';
     }
    else {
        echo 
    '<form method="post" action="index.php">';
        echo 
    'otsikko:<br /><input type="text" name="otsikko" /><br />';
        echo 
    'viesti:<br /><textarea name="viesti"></textarea>';
        echo 
    '<input type="submit" value="Lähetä">';
        echo 
    '</form>';
     }
    ?>
    </body>
    </html>
    Here's rows from emulator's log-file:
    Code:
    Mon Dec 24 02:42:15 EET 2007 <E> [OriginatingDecoder.decode] Error
    Mon Dec 24 02:42:15 EET 2007 <E> null
    Mon Dec 24 02:42:15 EET 2007 <E> [ThreadRequestHandler.run] Error
    Mon Dec 24 02:42:15 EET 2007 <E> null
    Doesnt tell me much.
    Last edited by ottis_; 2007-12-24 at 01:14.

  14. #14
    Registered User
    Join Date
    Dec 2007
    Posts
    2

    Re: PHP - MMS developer or source

    What is the format when sending mms on http?
    As far as I understood its follow:
    http-headers
    Code:
    POST / HTTP/1.1
    X-NOKIA-MMSC-From: +123455555555/TYPE=PLMN
    X-NOKIA-MMSC-To: recipient@external.application.com
    X-NOKIA-MMSC-Message-Id: 20355224
    X-NOKIA-MMSC-Message-Type: MultiMediaMessage
    X-NOKIA-MMSC-Version: 1.1
    Host: localhost:80/mms
    Content-Type: application/vnd.wap.mms-message
    Content-Length: 4
    Date: 1970-01-01, 00:00:00 GMT
    m-send-reg
    after that
    MMS-header
    Code:
    X-Mms-Message-Type: m-send-req
    X-Mms-Transaction-ID: 20355224
    X-Mms-Version: 1.0
    To: recipient@external.application.com
    From: +123455555555/TYPE=PLMNSubject: Test MMS message
    Date: Wed Oct 24 09:55:52 2001
    Content-Type: application/vnd.wap.multipart.mixed
    and then two linebreak and mms-message.
    But thats not correct.

Posting Permissions

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