Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 23. Nov 2024, 19:00

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 19. Feb 2008, 18:50 
Offline

Joined: 12. Nov 2007, 14:02
Posts: 17
would this work?

<param name="movie" value="twg_flash_uploader.swf?session_id=d31" />

if so, how do I grab that session id in the tfu_config.pgp file?


Top
 Profile  
 
 Post subject:
PostPosted: 19. Feb 2008, 19:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is automatically done!

But TFU does internally handle this as TFUSESSID because of some servers that do not allow session id's in the URL.

You see this at each file in TFU before the session is started the session id is set.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Feb 2008, 19:29 
Offline

Joined: 12. Nov 2007, 14:02
Posts: 17
Let me rephrase my question.. I have a folder name that I need to pass to the tfu_config file.

1) can I pass it through the SWF as a variable?
2) if so, how can I then access it in the tfu_config.php

if #1 = no, any suggestions as to how I can pass a variable to the tfu_config?


Top
 Profile  
 
 Post subject:
PostPosted: 19. Feb 2008, 19:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
#1 no - simply because of security reasons! Because changing an request is pretty simple and this would make the whole system unsave.

Simply set the folder to the session and then access it in TFU again.

I do this in TWG and JFU all the time. In JFU actually all settings are read from the joomla database - set there to the session and then read by TFU again.

After session_start(); all variables are available again.

A good thing is to pass the current session_id to the flash. But this os actually only needed on a couple of servers.

Simply start a session in the page where you include the swf - set the parameter and read it again in the tfu_config.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy