1) realpath kullanırken aldığım hata
*Warning*: include()
[function.include<http://localhost/IEEE/function.include>]:
Failed opening '' for inclusion (include_path='.:/usr/share/php5/PEAR') in *
/var/www/localhost/htdocs/IEEE/MenuProcess/Settings.php* on line *3
2) realpath KULLANMADAN aldığım hata
*
*Warning*: include(../Settings/Mysql.php)
[function.include<http://localhost/IEEE/function.include>]:
failed to open stream: No such file or directory in *
/var/www/localhost/htdocs/IEEE/MenuProcess/Settings.php* on line *2*
*Warning*: include()
[function.include<http://localhost/IEEE/function.include>]:
Failed opening '../Settings/Mysql.php' for inclusion
(include_path='.:/usr/share/php5/PEAR') in *
/var/www/localhost/htdocs/IEEE/MenuProcess/Settings.php* on line *2
İlgili dosyalar yerlerinde mevcuttur.
*
23 Ağustos 2008 Cumartesi 13:03 tarihinde Mehmet Gürevin <
mehmetgurevin_at_gmail.com> yazdı:
> yaptığınız işlemde bir sorun yok. include '../Settings/Mysql.php"
> komutu ile dosya belirtildiği gibi varsa yani bir üst klasörde
> Settings adında bir klasör ve onun içinde de Mysql.php dosyası varsa
> yüklenmeli. sanırım başka bir sorun var.
>
> almış olduğunuz hatayıda yazsaydınız daha fazla yardımcı olabilidik
> sanırım.
>
> 2008/8/23 Erdem ARTAN <badibere_at_gmail.com>:
> > Merhaba,
> >
> > Php'de bir üst dizindeki Settings dizininin içerisinde bulunan Mysql.php
> yi
> > dahil etmeye çalışıyorum.
> >
> > Bunun için
> >
> > include "../Settings/Mysql.php";
> >
> > ve
> >
> > $a = realpath("../Settings/Mysql.php");
> > include $a;
> >
> > komutlarını ayrı ayrı denedim. Fakat her ikisi de hata verdi.
> >
> > PHP 5 yüklü sistemde.
> >
> > Sorun nedir?
> >
> > --
> > Yarınları Görebilmem İçin Sadece Bir Işık!
> >
> > _______________________________________________
> > Linux-programlama mailing list
> > Linux-programlama_at_liste.linux.org.tr
> > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
> >
> >
> _______________________________________________
> Linux-programlama mailing list
> Linux-programlama_at_liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
-- Yarınları Görebilmem İçin Sadece Bir Işık!
_______________________________________________
Linux-programlama mailing list
Linux-programlama_at_liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
Received on Sat 23 Aug 2008 - 12:30:57 EEST