Validating sub domain URLS

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
kendall
Forum Regular
Posts: 852
Joined: Tue Jul 30, 2002 10:21 am
Location: Trinidad, West Indies
Contact:

Validating sub domain URLS

Post by kendall »

Hello,

I just need some advice on something...

I am building a search engine and would like to be able to validate sub domains? can this be done?

also...i have heard instances where by submitting a url you can grab the description adn keywords fromt hat URL...

how effecient is this and is this an effective solution also for validating domains/ URL's

Kendall
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

can you please explain in more detail what you're trying to achieve?
User avatar
kendall
Forum Regular
Posts: 852
Joined: Tue Jul 30, 2002 10:21 am
Location: Trinidad, West Indies
Contact:

Validating sub domain URLS

Post by kendall »

Volka,

I am building a lite search engine directory listing and i want to be able to validate domain names before they insert there information i also want to include subdomains like subdomain.thedomain.com and thedomain.com/thewebsite submissions. I have seen that PHP offers a get_meta_tags() which retrieves meta tags from remote webpages. I wanted to build the submission part to be able to auto fill out the form using the information from a get_meta_tags()...

i have been doing some test but i find that i am having trouble with subdomains.thedomain.com type websites. i was hoping that anyone had any advice or encountered this problem and had a work around.

i am currently researching the path_info and parse url functions aloong with a readfile scenario to try to get a workl around...just wondered if anybody had any experience with this to point me in a direction

Kendall
Post Reply