Jump to content

GET variables on an already mod rewritten URL (youtube)


mort

Recommended Posts

Hey all

 

I am using the youtube api to upload some vids for a site, it fires it off and returns to my returnurl and appends some GET data onto the end

looks like this - http://domain.com/upload-film/projectname?status=200&id=xxxxxxxxxxx

 

as I use mod_rewrite already it doesnt like the ? bcos upload-film and projectname are already GET data

I manually change the ? to a & in the address bar and it works, however i dont think you can set that in youtube API

 

so any idea how i can get it to stop being funny about the ?

yeah of course, the whole point is if you already have a mod_rewritten URL, and then add some not mod_rewritten variables onto the end it doesnt seem to accept them

 

example 1 (the variables after the ? are ignored)

 

http://domain.com/upload-film/projectname?status=200&id=xxxxxxxxxxx

page => upload-film
project => projectname

 

example 2 (manually change the ? for a &)

 

http://domain.com/upload-film/projectname&status=200&id=xxxxxxxxxxx

page => upload-film
project => projectname
status => 200
id => xxxxxxxxxxx

 

any ideas or have i missed something obvious?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.