L
Leszek
Hi.
Is it possible to pass to a script a path to a file which is outside
public_html?
I have this function :
function okno( film ){
gora = screen.height/2-315;
lewy = screen.width/2-350;
oknoFilm =
window.open(film,'oknoFilm','menubar=no,location=no,toolbar=no,scrollbars=no,status=no,resizable=yes,width=700,height=630,left='+lewy
+',top='+gora +'');
oknoFilm.focus();
}
film should be a path to html file...
but when later i'm trying to call
okno('/home/ab17661/domains/szachy.biz/filmy/film2.html');
but i'm getting IE error "file not found"
When the file was in public_html folder
okno('filmy/film2.html');
was working fine
I need to make sure that only registered users will access this file that's
why i put it outside public_html
Could you help me?
Thanks.
Leszek
Is it possible to pass to a script a path to a file which is outside
public_html?
I have this function :
function okno( film ){
gora = screen.height/2-315;
lewy = screen.width/2-350;
oknoFilm =
window.open(film,'oknoFilm','menubar=no,location=no,toolbar=no,scrollbars=no,status=no,resizable=yes,width=700,height=630,left='+lewy
+',top='+gora +'');
oknoFilm.focus();
}
film should be a path to html file...
but when later i'm trying to call
okno('/home/ab17661/domains/szachy.biz/filmy/film2.html');
but i'm getting IE error "file not found"
When the file was in public_html folder
okno('filmy/film2.html');
was working fine
I need to make sure that only registered users will access this file that's
why i put it outside public_html
Could you help me?
Thanks.
Leszek