PHP application SWFUpload Upload questions about the session

Source: Internet
Author: User
SWFUpload in the upload to reopen a new session process, can not be consistent with the original program session, need to upload the original program to pass the SessionID, according to it to "retrieve" its due session
But I can't find anything. Any friends know, help. Thank you, sir. I'm using the DEDECMS program.

This is the seeeion that swfupload in the open.
Upload_url: "upload.php", Post_params: {"PHPSESSID": "
 
   },file_size_limit:" 2048 ", File_Types:" *.jpeg;*.jpg ; *.bmp;*.png;*.gif;*.flv;*.mp4;*.wma ", file_types_description:" Allow upload format ", File_upload_limit:" ", File_queue_ Limit: "0",


This is the information for the upload.php processing page

if (Isset ($_post["PHPSESSID"])) {session_id ($_post["PHPSESSID"]);} else if (Isset ($_get["PHPSESSID"])) {session_id ($ _get["PHPSESSID"]);} $img _path = '/uploads/'; session_start ();


How should I get the session, and determine whether the user has login permissions to upload files, know the friend told, please.


Reply to discussion (solution)

You down?
http://download.csdn.net/detail/sibang/4538151
??? Example seems to integrate the SessionID?? Part of it.

Previously useful swfupload in the Joomla platform changed, the success of Dede do not know how to get

How can I not reply?

Previously useful swfupload in the Joomla platform changed, the success of Dede do not know how to get

How are you doing. I've got the session out now. But there were some problems in Phpcode.

Thank you. The problem has been resolved.

Thank you. The problem has been resolved.

The same problem, find a solution.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.