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 ?

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.