Содержание
- 2. OnlyKiosk.com
- 3. OnlyKiosk.com Cross-File Communication
- 4. OnlyKiosk.com how to assemble two files together
- 5. OnlyKiosk.com how to assemble two files together echo “Hello,” ?> echo “OnlyKiosk! ?>
- 6. OnlyKiosk.com require( ) include( ) Cross-File Communication
- 7. OnlyKiosk.com include() and require() are basically identical, the difference is how they handle failures: require() will
- 8. OnlyKiosk.com require_once( ) assembling two files together loading files consumes system resources, one file should be
- 9. OnlyKiosk.com URL + file name require_once( )
- 10. OnlyKiosk.com “file name” require_once( ) ‘./file name’ the two files are in the SAME file folder
- 11. OnlyKiosk.com but most of the time, the two files are NOT in the same file folder…
- 12. OnlyKiosk.com url absolute URL relative URL Absolute URL: www folder, disc: c Relative URL: go to
- 13. OnlyKiosk.com ../ ../street_2/ blue_file.php
- 14. OnlyKiosk.com ../ ../ ../../city_2/street_3/ red_file.php
- 15. OnlyKiosk.com www/ blue/earth/ url.php www/ blue/ moon/ function.php ../ means go back to the previous level
- 17. Скачать презентацию