Skip navigation
viji84
Currently Being Moderated

absolute path and relative path

Jun 15, 2012 12:54 AM

hi,

 

 

I have uisng php file in flash actionscript3.0.

 

How to use this .php file absolute path and relative path.

 

how to call absolute path and relative path in php?

 

can u explain the absolute path and relative path?

 

 

thks,

 
Replies
  • Currently Being Moderated
    Jun 15, 2012 4:21 AM   in reply to viji84

    An absolute path includes the entire address from a base reference (server or system drive), as in:

     

         http://www.somedomain.com/somefolder/somefile.php

     

         C:\Program Files\somefolder\somefile.php

     

    A relative path to that same file requires the file specifying it to be somewhere within that same file structure.  So a relative path could be...

     

         somefolder/somefile.php            if the targeting file is in the main (public_html) folder

     

         somefile.php                                if the targeting file is in the same somefolder

     

         ../somefolder/somefile.php        if the targeting file is in a folder that is parallel to somefolder

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points