Support forums
in

Inserting PHP code store database

Last post 10-18-2009, 11:18 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  10-18-2009, 8:51 PM 56469

    Inserting PHP code store database

    I am trying to insert a code in getting the filename and save it to my database.
    I am not asking how to do that but only, I wanted to know specifically where to insert that part?
     
    Thanks!
     
    Filed under:
  •  10-18-2009, 11:18 PM 56470 in reply to 56469

    Re: Inserting PHP code store database

    Hi,
     
    In php uploader , the steps of a upload is :
     
    1 - Render the uploader
     
    2 -uploader upload a file to server side handler , and return a GUID
     
    3 - uploader prepair all GUIDs for files in client side , and fire the postback event
     
    4 - on the postback event ,  developer can do these solutions :
     
     
    A - submit the form , and handle the GUIDs on server side (POST MODE)
     
    B - do Ajax callback , and handle the GUIDs on server side (AJAX MODE)
     
     
    The programming model is very flex , and maybe little difficult at beginning.
     
    Please check our example code.
     
     
    Here is a basic guide for beginning :
     
     
    You can write your code in

    if
    ($mvcfile
    {
     ...... 
    }
     
    Regards,
    Terry
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems