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 12. Dec 2017, 00:57

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 15. Mar 2007, 13:08 
Offline

Joined: 15. Mar 2007, 12:42
Posts: 9
Hi there,

i want to give the "tfu_upload.php" additional parameters e.g. customerid.

$upload_file = "&upload_file=tfu_upload.php".rawurlencode('?customerid='.$customer['id']);

But if i do so, the customerid looks like this:
123345678?dir=./temp

Is it possible to do something like this?

Or maybe i can put my parameters at the end (with "&" of course), so i think the problem will not occure.
How can i do this?

Greets
Yasin


Top
 Profile  
 
 Post subject:
PostPosted: 15. Mar 2007, 13:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Only possible if you get the sources and add this by yourself.

Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Mar 2007, 14:00 
Offline

Joined: 15. Mar 2007, 12:42
Posts: 9
Ok thanks, so i have to do it with Session.

But it would be very practicable if there is a variable like $additional_param for this reason.

Bye
Yasin


Top
 Profile  
 
 Post subject:
PostPosted: 15. Mar 2007, 14:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
maybe in 2.6 ;) - I m planning to do a joomla component.
There I have to add some things there anyway.

Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Mar 2007, 18:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
will work in the final 2.5 too ;).

Michael


Top
 Profile  
 
 Post subject: Hi Michael
PostPosted: 29. Jun 2007, 16:01 
Offline

Joined: 15. Mar 2007, 12:42
Posts: 9
Is this now included ?

I couldn't find any information about that.

Thanks

Yasin


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jun 2007, 16:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
should work already - I'll check if a ? is in the url and add and & instead an ?.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jun 2007, 16:46 
Offline

Joined: 15. Mar 2007, 12:42
Posts: 9
I have tested this:
Code:
$upload_file = "&upload_file=tfu_upload.php?firstvar=123456";


This works fine.

But a second Param i don't get.

I tried this:
Code:
$upload_file = "&upload_file=tfu_upload.php?firstvar=123456&secondvar=7890";


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jun 2007, 16:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
this is not possible right now because the parameters are sent to the flash as parameterlist - and your 2nd parameter is a new parameter. You have to put both parameters into 1 and parse it.

I can only make it that you use e.g. ___ instead of & and I replace this in the flash.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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® Forum Software © phpBB Group

phpBB SEO