Get the full URL

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
roice
Forum Commoner
Posts: 35
Joined: Tue Mar 02, 2010 9:14 am

Get the full URL

Post by roice »

Hello,
How can I get the full page path for some website?
For example, the address that I see is: someSite.com/
How can I know what is the name of the file in the end of the path (index.asp, index. php, welcome. html and ect...) ?

Thank you in advance,
Roi.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Get the full URL

Post by social_experiment »

Check the source code? It's possible the names of the pages are visible there.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply