By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,967 Members | 843 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,967 IT Pros & Developers. It's quick & easy.

swfupload class problem

P: n/a
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
Share this Question
Share on Google+
12 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.