Dosyaları dahil

0 Cevap php

Ok guys, i was wondering: How could i access every file by every file in the same way. I mean, let's say i have this folder & files schema:

A/index.php
A/B/dosya1.php
A/B/famous.php
A/B/C/file2.php

Ben böyle bir şey yapabilmek istiyorum:

index.php

include('B/famous.php');

dosya1.php

include('B/famous.php');

file2.php

include('B/famous.php');

Bunu nasıl?

0 Cevap