Forum Moderators: coopster

Message Too Old, No Replies

complete to full url

         

adjamlotfi

9:48 pm on Apr 17, 2004 (gmt 0)



Hi

I have a links extractor in PHP, but some links extracted are only relative e.g: test.htm
and other full, e.g: http:/www.sitesample.com/cgi/test2.htm

I would like to let all links full.

is there any php function to do that?
I am testing for a while with no satisfied results.

thanks

jatar_k

3:43 pm on Apr 18, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld adjamlotfi,

Given that you are extracting them from a specific page can you not use the full url of the page to construct them?