Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 8th, 2008, 10:35 AM
K.
Guest
 
Posts: n/a
Default swfupload class problem

Hello! I have a problem with SWFupload class1. I have the page with uses
SWFUpload class. Everything worked fine until
(I suppose my admin) implemented some changes into the server. Now
uploading file doesn`t work
2. I select one small file which is uploading
3. I get the status "Complete", but file is not being uploaded, because it
doesn`t exist on my server. On the beginning of the upload.php file I`ve
added easy insert query into the table and this is also not executed.
4. I suppose that my web page cannot find upload.php, but I`ve put it into
the place where I store swfupload_f8.swf file that is
/js/SWFUpload/FlashDevelop/Flash8/
5. I don`t know what it is going on and why I get "Complete" status message
but file and insert query doesn`t execute.
6. I have set /tmp folder for upload_tmp_dir but it also didn`t help
solving problem.


I see "Complete" status, but file is not uploaded and insert into table
query in upload.php folder also didn`t execute.

SWFUpload-core v2.1.0. I use Windows XP, Firefox & IE. 7.0.

---SWFUpload Instance Info---
Version: 2.1.0
Movie Name: SWFUpload_0
Settings:
upload_url: upload.php
use_query_string: false
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.gif;*.png
file_types_description: Zdjêcia
file_size_limit: 102400
file_upload_limit: 40
file_queue_limit: 0
flash_url: js/SWFUpload/FlashDevelop/Flash8/swfupload_f8.swf
flash_color: #FFFFFF
debug: true
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: true
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.1.0 FP8 2008-05-12
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: upload.php
SWF DEBUG: File Types String: *.jpg;*.gif;*.png
SWF DEBUG: Parsed File Types: jpg,gif,png
SWF DEBUG: File Types Description: Zdjêcia (*.jpg;*.gif;*.png)
SWF DEBUG: File Size Limit: 104857600 bytes
SWF DEBUG: File Upload Limit: 40
SWF DEBUG: File Queue Limit: 40
SWF DEBUG: Post Params:
SWF DEBUG: wgrywajacy=admin
SWF DEBUG:
PHPSESSID=73475f83c8566a7f6b98ef48cd0bb8cf
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed
file types: *.jpg;*.gif;*.png
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 adding files
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: wgrywajacy=admin
SWF DEBUG: Global URL Item: PHPSESSID=73475f83c8566a7f6b98ef48cd0bb8cf
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and
readied for upload. Starting upload to
upload.php?wgrywajacy=admin&PHPSESSID=73475f83c856 6a7f6b98ef48cd0bb8cf 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: 65536.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 196608.
Total: 216059
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 216059.
Total: 216059
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in Flash 8
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Could you help me?
I suppose that it is my admin fault, but I don`t know what happened and what
he could have done?

Please help me
HC


  #2  
Old October 8th, 2008, 11:15 AM
Janwillem Borleffs
Guest
 
Posts: n/a
Default Re: swfupload class problem

K. schreef:
Quote:
Hello! I have a problem with SWFupload class1. I have the page with uses
SWFUpload class. Everything worked fine until
>
[...]

Wrong newsgroup (not PHP related).


JW
  #3  
Old October 9th, 2008, 06:35 PM
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
Default Re: swfupload class problem

On Oct 8, 2:32 pm, "K." <halinaciern...@poczta.onet.plwrote:
Quote:
Hello! I have a problem with SWFupload class1. I have the page with uses
SWFUpload class. Everything worked fine until
(I suppose my admin) implemented some changes into the server. Now
uploading file doesn`t work
2. I select one small file which is uploading
3. I get the status "Complete", but file is not being uploaded, because it
doesn`t exist on my server. On the beginning of the upload.php file I`ve
added easy insert query into the table and this is also not executed.
4. I suppose that my web page cannot find upload.php, but I`ve put it into
the place where I store swfupload_f8.swf file that is
/js/SWFUpload/FlashDevelop/Flash8/
5. I don`t know what it is going on and why I get "Complete" status message
but file and insert query doesn`t execute.
6. I have set /tmp folder for upload_tmp_dir but it also didn`t help
solving problem.
>
I see "Complete" status, but file is not uploaded and insert into table
query in upload.php folder also didn`t execute.
Check php.ini settings (upload size, max post size) and session
fixation that needed Flash user agent to sync with browser's.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
  #4  
Old October 9th, 2008, 07:45 PM
HC
Guest
 
Posts: n/a
Default Re: swfupload class problem


Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal w
wiadomosci
news:d487a3f1-1154-482d-b18f-cd59db78e15f@o4g2000pra.googlegroups.com...
Quote:
On Oct 8, 2:32 pm, "K." <halinaciern...@poczta.onet.plwrote:
Quote:
>Hello! I have a problem with SWFupload class1. I have the page with uses
>SWFUpload class. Everything worked fine until
>(I suppose my admin) implemented some changes into the server. Now
>uploading file doesn`t work
>2. I select one small file which is uploading
>3. I get the status "Complete", but file is not being uploaded, because
>it
>doesn`t exist on my server. On the beginning of the upload.php file I`ve
>added easy insert query into the table and this is also not executed.
>4. I suppose that my web page cannot find upload.php, but I`ve put it
>into
>the place where I store swfupload_f8.swf file that is
>/js/SWFUpload/FlashDevelop/Flash8/
>5. I don`t know what it is going on and why I get "Complete" status
>message
>but file and insert query doesn`t execute.
>6. I have set /tmp folder for upload_tmp_dir but it also didn`t help
>solving problem.
>>
>I see "Complete" status, but file is not uploaded and insert into table
>query in upload.php folder also didn`t execute.
>
Check php.ini settings (upload size, max post size) and session
fixation that needed Flash user agent to sync with browser's.
>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
What do you mean by saying "session fixation"?

Thank you
HC

  #5  
Old October 14th, 2008, 03:15 AM
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
Default Re: swfupload class problem

On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
<snip>
Quote:
Quote:
Check php.ini settings (upload size, max post size) and session
fixation that needed Flash user agent to sync with browser's.
>
What do you mean by saying "session fixation"?
By fixing session to whatever you want--either by passing in query
param (when trans sid is set) or by stuffing it in session_id()

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
  #6  
Old October 14th, 2008, 08:55 PM
HC
Guest
 
Posts: n/a
Default Re: swfupload class problem


Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal w
wiadomosci
news:c4600fc6-ea7d-43da-8c15-a03adb139d56@o4g2000pra.googlegroups.com...
Quote:
On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
<snip>
>
Quote:
Quote:
Check php.ini settings (upload size, max post size) and session
fixation that needed Flash user agent to sync with browser's.
>>
>What do you mean by saying "session fixation"?
>
By fixing session to whatever you want--either by passing in query
param (when trans sid is set) or by stuffing it in session_id()
>
--
I don`t know still what it`s going on.

I have checked
upload_max_filesize=50M
max_post_size=64M (local), 64M (master)
upload_tmp_dir =/tmp

I have also got:
session.cookie_domain - no value
session.save_path /tmp (local value) , null (master value)

I`ve tried to upload file which is more than 50 KB size.

SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.1.0 FP8 2008-05-12
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: ../upload.php
SWF DEBUG: File Types String: *.jpg;*.gif;*.png
SWF DEBUG: Parsed File Types: jpg,gif,png
SWF DEBUG: File Types Description: Zdjecia (*.jpg;*.gif;*.png)
SWF DEBUG: File Size Limit: 104857600 bytes
SWF DEBUG: File Upload Limit: 40
SWF DEBUG: File Queue Limit: 40
SWF DEBUG: Post Params:
SWF DEBUG: wgrywajacy=admin
SWF DEBUG:
PHPSESSID=76b9c0a31b44276f09d51d477ce39dca
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed
file types: *.jpg;*.gif;*.png
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 adding files
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: wgrywajacy=admin
SWF DEBUG: Global URL Item: PHPSESSID=76b9c0a31b44276f09d51d477ce39dca
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and
readied for upload. Starting upload to
.../upload.php?wgrywajacy=admin&PHPSESSID=76b9c0a31b44 276f09d51d477ce39dca
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: 3951.
Total: 3951
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in Flash 8
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

I have got the upload.php file put in pre-folder that`s why I have to use
"../upload.php", because
flash_url: js/swfupload_f8.swf


Settings:
upload_url: ../upload.php
use_query_string: false
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.gif;*.png
file_types_description: Zdjecia
file_size_limit: 102400
file_upload_limit: 40
file_queue_limit: 0
flash_url: js/swfupload_f8.swf
flash_color: #FFFFFF
debug: true
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: true
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true


Can you tell me what it is file_queue_limit - maybe I should make it not
zero.
Moreover I don`t understand the line just near the upload finishing:

SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in Flash 8

Why is it n/a? What does n/a shortage mean?

My upload.php looks like this:

<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_POST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GET["PHPSESSID"]);
}

session_save_path('/tmp');
session_start();
....
operation on file and database

Please help me, because I cannot solve the problem since the 2 weeks.

THANK YOU IN ADVANCE FOR ANY HELP

  #7  
Old October 15th, 2008, 12:15 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: swfupload class problem

HC wrote:
Quote:
>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal
w wiadomosci
news:c4600fc6-ea7d-43da-8c15-a03adb139d56@o4g2000pra.googlegroups.com...
Quote:
>On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
> <snip>
>>
Quote:
> Check php.ini settings (upload size, max post size) and session
>fixation that needed Flash user agent to sync with browser's.
>>>
>>What do you mean by saying "session fixation"?
>>
> By fixing session to whatever you want--either by passing in query
>param (when trans sid is set) or by stuffing it in session_id()
>>
>--
>
I don`t know still what it`s going on.
>
I have checked
upload_max_filesize=50M
max_post_size=64M (local), 64M (master)
upload_tmp_dir =/tmp
>
I have also got:
session.cookie_domain - no value
session.save_path /tmp (local value) , null (master value)
>
I`ve tried to upload file which is more than 50 KB size.
>
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.1.0 FP8 2008-05-12
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: ../upload.php
SWF DEBUG: File Types String: *.jpg;*.gif;*.png
SWF DEBUG: Parsed File Types: jpg,gif,png
SWF DEBUG: File Types Description: Zdjecia (*.jpg;*.gif;*.png)
SWF DEBUG: File Size Limit: 104857600 bytes
SWF DEBUG: File Upload Limit: 40
SWF DEBUG: File Queue Limit: 40
SWF DEBUG: Post Params:
SWF DEBUG: wgrywajacy=admin
SWF DEBUG: PHPSESSID=76b9c0a31b44276f09d51d477ce39dca
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select.
Allowed file types: *.jpg;*.gif;*.png
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 adding files
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: wgrywajacy=admin
SWF DEBUG: Global URL Item: PHPSESSID=76b9c0a31b44276f09d51d477ce39dca
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and
readied for upload. Starting upload to
../upload.php?wgrywajacy=admin&PHPSESSID=76b9c0a31b44 276f09d51d477ce39dca
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: 3951.
Total: 3951
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in
Flash 8
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
>
I have got the upload.php file put in pre-folder that`s why I have to
use "../upload.php", because
flash_url: js/swfupload_f8.swf
>
>
Settings:
upload_url: ../upload.php
use_query_string: false
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.gif;*.png
file_types_description: Zdjecia
file_size_limit: 102400
file_upload_limit: 40
file_queue_limit: 0
flash_url: js/swfupload_f8.swf
flash_color: #FFFFFF
debug: true
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: true
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
>
>
Can you tell me what it is file_queue_limit - maybe I should make it not
zero.
Moreover I don`t understand the line just near the upload finishing:
>
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: n/a in
Flash 8
>
Why is it n/a? What does n/a shortage mean?
>
My upload.php looks like this:
>
<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_POST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GET["PHPSESSID"]);
}
>
session_save_path('/tmp');
session_start();
...
operation on file and database
>
Please help me, because I cannot solve the problem since the 2 weeks.
>
THANK YOU IN ADVANCE FOR ANY HELP
>
As with almost any product, your best source of support is the support
structure for that product. I suggest you work with them to solve your
problems.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  #8  
Old October 16th, 2008, 05:15 PM
HC
Guest
 
Posts: n/a
Default Re: swfupload class problem

I moved the whole web page codes into the different server and everything
works
properly without doing anything, so I think it was the problem with apache -
so
hosting company is not so good.

Thank you in advance for interests
HC

  #9  
Old October 19th, 2008, 11:35 AM
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
Default Re: swfupload class problem

On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
Quote:
Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.comnapisal w
<snip>
Quote:
My upload.php looks like this:
>
<?php
if (isset($_POST["PHPSESSID"]))
{
session_id($_POST["PHPSESSID"]);
}
elseif (isset($_GET["PHPSESSID"]))
{
session_id($_GET["PHPSESSID"]);
}
>
session_save_path('/tmp');
session_start();
Code looks ok. You don't have to set session_save_path()
explicitly. My guess is that the session id is not getting fixed.

Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
get the data. Also, check if the session_id is same for both the
sessions (it should be).

If all are ok, post the session related settings from php.ini

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
  #10  
Old October 19th, 2008, 12:15 PM
HC
Guest
 
Posts: n/a
Default Re: swfupload class problem


Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal w
wiadomosci
news:fb8c4e5f-c8ac-493f-8bef-8db75ebf424d@u29g2000pro.googlegroups.com...
Quote:
On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
Quote:
>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.comnapisal
>w
<snip>
Quote:
>My upload.php looks like this:
>>
><?php
> if (isset($_POST["PHPSESSID"]))
> {
> session_id($_POST["PHPSESSID"]);
> }
> elseif (isset($_GET["PHPSESSID"]))
> {
> session_id($_GET["PHPSESSID"]);
> }
>>
>session_save_path('/tmp');
>session_start();
>
Code looks ok. You don't have to set session_save_path()
explicitly. My guess is that the session id is not getting fixed.
>
Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
get the data. Also, check if the session_id is same for both the
sessions (it should be).
>
If all are ok, post the session related settings from php.ini
>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Problem is that nothing from the upload.php file is being executed.
It looks like this that script cannot get into the upload.php file.

Thank u

  #11  
Old October 19th, 2008, 02:55 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: swfupload class problem

HC wrote:
Quote:
>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal
w wiadomosci
news:fb8c4e5f-c8ac-493f-8bef-8db75ebf424d@u29g2000pro.googlegroups.com...
Quote:
>On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
Quote:
>>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.com>
>>napisal w
> <snip>
Quote:
>>My upload.php looks like this:
>>>
>><?php
>> if (isset($_POST["PHPSESSID"]))
>> {
>> session_id($_POST["PHPSESSID"]);
>> }
>> elseif (isset($_GET["PHPSESSID"]))
>> {
>> session_id($_GET["PHPSESSID"]);
>> }
>>>
>>session_save_path('/tmp');
>>session_start();
>>
> Code looks ok. You don't have to set session_save_path()
>explicitly. My guess is that the session id is not getting fixed.
>>
> Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
>get the data. Also, check if the session_id is same for both the
>sessions (it should be).
>>
> If all are ok, post the session related settings from php.ini
>>
>--
> <?php echo 'Just another PHP saint'; ?>
>Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
>
Problem is that nothing from the upload.php file is being executed.
It looks like this that script cannot get into the upload.php file.
>
Thank u
>
>
That doesn't make sense. Why couldn't the script "get into the
upload.php file"? That means you've done something wrong somewhere
else. You need to post that code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  #12  
Old October 19th, 2008, 07:35 PM
HC
Guest
 
Posts: n/a
Default Re: swfupload class problem


Uzytkownik "Jerry Stuckle" <jstucklex@attglobal.netnapisal w wiadomosci
news:gdfe36$hp6$3@registered.motzarella.org...
Quote:
HC wrote:
Quote:
>>
>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.comnapisal
>w wiadomosci
>news:fb8c4e5f-c8ac-493f-8bef-8db75ebf424d@u29g2000pro.googlegroups.com...
Quote:
>>On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
>>>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.com>
>>>napisal w
>> <snip>
>>>My upload.php looks like this:
>>>>
>>><?php
>>> if (isset($_POST["PHPSESSID"]))
>>> {
>>> session_id($_POST["PHPSESSID"]);
>>> }
>>> elseif (isset($_GET["PHPSESSID"]))
>>> {
>>> session_id($_GET["PHPSESSID"]);
>>> }
>>>>
>>>session_save_path('/tmp');
>>>session_start();
>>>
>> Code looks ok. You don't have to set session_save_path()
>>explicitly. My guess is that the session id is not getting fixed.
>>>
>> Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
>>get the data. Also, check if the session_id is same for both the
>>sessions (it should be).
>>>
>> If all are ok, post the session related settings from php.ini
>>>
>>--
>> <?php echo 'Just another PHP saint'; ?>
>>Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
>>
>Problem is that nothing from the upload.php file is being executed.
>It looks like this that script cannot get into the upload.php file.
>>
>Thank u
>>
>>
>
That doesn't make sense. Why couldn't the script "get into the upload.php
file"? That means you've done something wrong somewhere else. You need
to post that code.
>
--
Code is the same as in the post from 2008-10-15.
The problem is either in Flash file (swf upload flash file) or in the apache
configuration.
I moved all the files without change into the other server and everything
works fine
without any changes.

  #13  
Old October 19th, 2008, 08:15 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: swfupload class problem

HC wrote:
Quote:
>
Uzytkownik "Jerry Stuckle" <jstucklex@attglobal.netnapisal w
wiadomosci news:gdfe36$hp6$3@registered.motzarella.org...
Quote:
>HC wrote:
Quote:
>>>
>>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.com>
>>napisal w wiadomosci
>>news:fb8c4e5f-c8ac-493f-8bef-8db75ebf424d@u29g2000pro.googlegroups.com...
>>>
>>>On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
>>>>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.com>
>>>>napisal w
>>> <snip>
>>>>My upload.php looks like this:
>>>>>
>>>><?php
>>>> if (isset($_POST["PHPSESSID"]))
>>>> {
>>>> session_id($_POST["PHPSESSID"]);
>>>> }
>>>> elseif (isset($_GET["PHPSESSID"]))
>>>> {
>>>> session_id($_GET["PHPSESSID"]);
>>>> }
>>>>>
>>>>session_save_path('/tmp');
>>>>session_start();
>>>>
>>> Code looks ok. You don't have to set session_save_path()
>>>explicitly. My guess is that the session id is not getting fixed.
>>>>
>>> Try to log the $GLOBALS or $_FILES['Filedata'] and see if you can
>>>get the data. Also, check if the session_id is same for both the
>>>sessions (it should be).
>>>>
>>> If all are ok, post the session related settings from php.ini
>>>>
>>>--
>>> <?php echo 'Just another PHP saint'; ?>
>>>Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
>>>
>>Problem is that nothing from the upload.php file is being executed.
>>It looks like this that script cannot get into the upload.php file.
>>>
>>Thank u
>>>
>>>
>>
>That doesn't make sense. Why couldn't the script "get into the
>upload.php file"? That means you've done something wrong somewhere
>else. You need to post that code.
>>
>--
>
Code is the same as in the post from 2008-10-15.
The problem is either in Flash file (swf upload flash file) or in the
apache configuration.
I moved all the files without change into the other server and
everything works fine
without any changes.
>
Then find out what's wrong with your flash class.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles