Welcome to WebmasterWorld Guest from 34.235.143.190

Forum Moderators: open

Message Too Old, No Replies

Creating content based on the inbound link. Dynamic content script,

dynamic content link, link text

     
2:24 pm on Jul 31, 2007 (gmt 0)

New User

10+ Year Member

joined:July 31, 2007
posts:3
votes: 0


Hi
I want to make dynamic content which takes information from the link used to reach the page.

For example, if someone linked to my page with

www.mysite.com/dynamic.php?variable1=tom&variable2=smith&variable3=USA

It would serve up a page looking something like this:

Hello and welcome [Tom] [smith]
God Bless the [USA]

I need a really simple script, it doesnt really need to process anything - only to have some static content and take certain strings of text from the inbound link and use that text in a certain place in the content of the page.

Any information would be greatly appreciated

5:28 am on Aug 4, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Apr 21, 2004
posts:306
votes: 0


I think this is more of a scripting question than a database question, but...

echo("Hello and welcome [" . $_GET['variable1']. "] [" . $_GET['variable2'] . "]<br />God Bless the [" . $_GET['variable3'] ."]");

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members