Please help me
I want to write url like http://mysite.com/cpanel/manager/subadmin/view_event.php?e_id=137 to http://myurl.mysite.com
in PHP

myurl comes from database on behalf of e_id.

If user enters http://myurl.mysite.com, on behalf of "myurl",e_id retrived from database and append to this url http://mysite.com/cpanel/manager/subadmin/view_event.php?e_id=137

My mail id is -<<Email Snipped>>

Thanks in Advance

Recommended Answers

All 2 Replies

So which part of your problem is it you don't know? Have a look at the server variables like $_SERVER and the preg_replace function. Anything else you need?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.