Page 1 of 1

Linking PHP PAGES

Posted: Tue Feb 24, 2009 1:03 pm
by fionaom87
Hey i know this may seem to be a basic question but i am having a slight problem linking my pages

i think its better i use an examples

I have a folder called test and inside test an index.php file...I want to link index.php to outside the folder to update.html

how would i say this would it be

http://localhost/www/update.html this doesnt seem to work for me. Update.html is not in a folder only my www folder in my wampserver.
THanks
F :D

Re: Linking PHP PAGES

Posted: Tue Feb 24, 2009 3:15 pm
by Bill H
Folders not in the www folder are not available through the "public" url, that is the link beginning with "http://" etc. You can link to it with relative address such as "../folder/update.html" or whatever the routing is, or you can use your "server root" if you know what that is.