Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am tinkering with a php script and I am having a hell of a time getting it to call the images correctly.
I am receiving the following errors.
Warning: fopen(.txt) [function.fopen]: failed to open stream: No such file or directory in /home8/roanekar/public_html/title.php on line 10Warning: fgets(): supplied argument is not a valid stream resource in /home8/roanekar/public_html/title.php on line 11
Warning: fopen(.txt) [function.fopen]: failed to open stream: No such file or directory in /home8/roanekar/public_html/gallery.php on line 14
Warning: fgets(): supplied argument is not a valid stream resource in /home8/roanekar/public_html/gallery.php on line 15
I have the following code in gallery .php and title.php
location of error in lines 10/11 of Title.php
$fp = fopen($piclist, 'r');while ($buffer= fgets($fp,4096)) {
$image[$y] = explode("|", $buffer);
$photo[$y] = str_replace(".", "_tn.", $image[$y][0]);
$y++;
and gallery.php
$fp = fopen($piclist, 'r');while ($buffer= fgets($fp,4096)) {
$image[$y] = explode("|", $buffer);
$photo[$y] = str_replace(".", "_tn.", $image[$y][0]);
$y++;
}

![]() |
Error code message respon...
|
Count comma in each line ...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |