473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

swfupload class problem

K.
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
Oct 8 '08 #1
12 3347
K. schreef:
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
Oct 8 '08 #2
On Oct 8, 2:32 pm, "K." <halinaciern...@poczta.onet.plwrote:
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/
Oct 9 '08 #3
HC

Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal w
wiadomosci
news:d4**********************************@o4g2000p ra.googlegroups.com...
On Oct 8, 2:32 pm, "K." <halinaciern...@poczta.onet.plwrote:
>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

Oct 9 '08 #4
On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
<snip>
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/
Oct 14 '08 #5
HC

Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal w
wiadomosci
news:c4**********************************@o4g2000p ra.googlegroups.com...
On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
<snip>
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

Oct 14 '08 #6
HC wrote:
>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal
w wiadomosci
news:c4**********************************@o4g2000p ra.googlegroups.com...
>On Oct 9, 11:35 pm, "HC" <halinaciern...@poczta.onet.plwrote:
<snip>
> 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.
js*******@attglobal.net
==================

Oct 15 '08 #7
HC
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

Oct 16 '08 #8
On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.comnapisal 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/
Oct 19 '08 #9
HC

Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal w
wiadomosci
news:fb**********************************@u29g2000 pro.googlegroups.com...
On Oct 15, 12:46 am, "HC" <halinaciern...@poczta.onet.plwrote:
>Uzytkownik "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.comnapisal
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

Oct 19 '08 #10
HC wrote:
>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal
w wiadomosci
news:fb**********************************@u29g2000 pro.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.

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

Oct 19 '08 #11
HC

Uzytkownik "Jerry Stuckle" <js*******@attglobal.netnapisal w wiadomosci
news:gd**********@registered.motzarella.org...
HC wrote:
>>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.comnapisal
w wiadomosci
news:fb**********************************@u29g200 0pro.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.

Oct 19 '08 #12
HC wrote:
>
Uzytkownik "Jerry Stuckle" <js*******@attglobal.netnapisal w
wiadomosci news:gd**********@registered.motzarella.org...
>HC wrote:
>>>
Uzytkownik "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com>
napisal w wiadomosci
news:fb**********************************@u29g20 00pro.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.
js*******@attglobal.net
==================

Oct 19 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve | last post by:
Hello, I'm encountering an unexpected behavior when using the "new" modifier in a derived class to hide an inherited base class property. I use "new" intentionally so I can change the Type of...
9
by: Banaticus Bart | last post by:
I wrote an abstract base class from which I've derived a few other classes. I'd like to create a base class array where each element is an instance of a derived object. I can create a base class...
21
by: Jon Slaughter | last post by:
I have a class that is basicaly duplicated throughout several files with only members names changing according to the class name yet with virtually the exact same coding going on. e.g. class...
9
by: Daniel Kay | last post by:
Hello! I have written two template classes which implement the observerpattern in C++. I hope I manage to desribe the problem I have. template<class T> class Observer { /* ... */ }; ...
21
by: Mark Broadbent | last post by:
Consider the following statements //------- Item i = Basket.Items; //indexer is used to return instance of class Item Basket.Items.Remove(); //method on class item is fired item i = new...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
3
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and...
1
by: K. | last post by:
Hello! Can you write me some flash class name to multi file upload? I have been using swfupload class, but unfortunately I have problem with it, and I cannot solve it. Do you know some similar...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.