Test Touchedme.com for me.

Status
Not open for further replies.


I updated the form to take the full tinypic url instead of breaking it down into two fields. It's still restricted to tinypic but least all you gota do is paste the direct pic url. And there's now a link to the new claimed name once submitted.
 
Yep ... this works fine (aside from it being a "name not claimed" page)

Usually with wildcard subdomains, all urls get directed to one file (usually index.php) ... from there you parse out the sub-domain and render the appropriate page (usually from a database). Think of it just like a $_GET variable except it has to be parsed out of the domain.

For your needs it might be very easy, just edit index.php to str_replace('.','_',$subdomain) and it will change the period to underscore by default and your script should work just as it is now.

Of course that means that gary_thiem and gary.thiem cannot be 2 different pages.

By the way I have updated the code so that periods are the default spaces in the url. However Azn.Kids and Azn_Kids pull up the same record because in the database its stored with a space (Which means . and _ are the same) , so you could choose to actually have My_Best.Friend and would be the same record as My.Best_Friend , though by default it'll tell you that your url is My.Best.Friend.TouchedMe.Com
 
Status
Not open for further replies.