Jump to content

Recommended Posts

header("LOCATION: http://www.test.com/additem.php");

 

when you have your thing like...

 

switch ($red) {

 

case additem:

header("LOCATION:http://www.test.com/additem.php");

break;

 

}

 

note that the header command will not work if any html has been passed before you call it.

my problem is, i got an url with an id, an this url will be redirected to some new url with some unkonwn id.

 

is there a way to get the new url with the new id?

 

i need a script where i can enter a url and the script returns me the new url where this page will be redirected

 

best

okay here is an eg from a nother page that explains such problem:

 

http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/constructing_youtube_1.php

 

on this page they are entering a url from youtube to get the real url of the flv file.

 

they create the new url with the action script an i would need something like this in php.

 

i hope this will help

 

best

 

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.