SWFUpload oturum sorun oturumu yok

0 Cevap php

Ben SWFUpload ile ilgili bir sorun var. Bu gibi) (session_id geçirerek

Not: Benim yerel makine üzerinde iyi çalışıyor, mAmp kullanıyorum. ama onun sunucusunda çalışmıyor

  /upload-file.php?s='<?php echo session_id()';
  /upload-file.php?s=189477fcfa1ec7f630e70a09e1e84cae

ama onun oturumu sürdürmek ve burada benim şimdiki oturumu (beni çıkıyor) bozulmaz dosya upload kodudur.

<?php

 if(isset($_GET['s'])) {

session_id($_GET['s']);
session_start();

    require_once 'admin/class/user.php';

    $u = new User();

    //Check for user logged in

    if($u->islogged() == FALSE) {

      header("location: index.php");

   exit();

    code continue ..... 
 }

sunucu açmış değilim çünkü index.php beni yönlendirmek

Bu SWFUpload debugger penceresi çıktı

 SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
 SWF DEBUG: 
 SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg
 SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
 SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
 SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
 SWF DEBUG: StartUpload: First file in queue
 SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
 SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /upload-file.php?s='189477fcfa1ec7f630e70a09e1e84cae' for File ID:  SWFUpload_0_0
 SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 317793. Total: 317793
 SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.
 SWF DEBUG: Event: uploadComplete : Upload cycle complete.
 SWF DEBUG: StartUpload: First file in queue
 SWF DEBUG: StartUpload(): No files found in the queue.

0 Cevap