Search found 21 matches

by Mo
Thu Aug 19, 2004 12:19 pm
Forum: PHP - Code
Topic: Problem with array and function...
Replies: 9
Views: 942

Still having trouble...

What do you mean by capturing it?
by Mo
Thu Aug 19, 2004 11:49 am
Forum: PHP - Code
Topic: Problem with array and function...
Replies: 9
Views: 942

feyd and Lord Sauron
The fact that it doesnt return anything is my problem. try this: remove the two slashes (//) from the following line and try it again.

//echo "myDirList[$i] = $myAbsolutePath<br>";
by Mo
Thu Aug 19, 2004 11:17 am
Forum: PHP - Code
Topic: Problem with array and function...
Replies: 9
Views: 942

what are you saying? That is not my problem.

My problem is that I cannot get this to work:

echo "myDirList = $myDirList[0]<br>";
by Mo
Thu Aug 19, 2004 10:51 am
Forum: PHP - Code
Topic: Problem with array and function...
Replies: 9
Views: 942

Problem with array and function...

Why cant I get this to work? <?php function Test($myPath) { $myDirList = array(); static $i=0; $dh = opendir($myPath); while (($dirItem = readdir($dh)) !== false) { if ($dirItem != "." && $dirItem != "..") { $myAbsolutePath = $myPath . $dirItem; if (is_dir($myAbsolutePath...
by Mo
Mon Jan 05, 2004 8:38 am
Forum: PHP - Code
Topic: Displaying Video Description
Replies: 4
Views: 398

Yes, I think that is a good way. I use one text file for all of my videos, correct?
by Mo
Sat Jan 03, 2004 9:47 pm
Forum: PHP - Code
Topic: Displaying Video Description
Replies: 4
Views: 398

Displaying Video Description

Using PHP I am scanning a directory for .AVI files then listing the file names and sizes as links to play them. I do not want to display the file names, but rather a description of the file. I do not want to use a database. Can this be done? I know that an image stores a description (by right-clicki...
by Mo
Thu Dec 11, 2003 6:24 am
Forum: PHP - Code
Topic: Display image in javascript pop up window in PHP problem
Replies: 5
Views: 534

Try any of the links on this page:

http://babejordan.com/photos.php
by Mo
Wed Dec 10, 2003 1:58 pm
Forum: PHP - Code
Topic: Display image in javascript pop up window in PHP problem
Replies: 5
Views: 534

I did this and it didn't fix my problem. You can see the problem here http://babejordan.com/photo_imaging.php?dir=images/airplane/ . I dont even know if I did it correctly. This is what my code looks like after the change: <?php echo "<a href="javascript:showPic('$dir/$image[$j]', '$image[...
by Mo
Tue Dec 02, 2003 12:32 pm
Forum: PHP - Code
Topic: Displaying one image at a time
Replies: 3
Views: 382

I am not familioar with javascript. Could you give me an example?
by Mo
Tue Dec 02, 2003 11:24 am
Forum: PHP - Code
Topic: Displaying one image at a time
Replies: 3
Views: 382

Displaying one image at a time

I want to display a few images on the screen - 1 at a time. Meaning: display the first image wait one second display the second image wait one second display the third image <?php echo "<img src='image_1' width=320 height=240>"; flush(); sleep(1); echo "<img src='image_2' width=320 he...
by Mo
Fri Nov 28, 2003 6:50 pm
Forum: PHP - Code
Topic: Display image in javascript pop up window in PHP problem
Replies: 5
Views: 534

Can anyone help me with this?
by Mo
Wed Nov 26, 2003 11:12 am
Forum: PHP - Code
Topic: Display image in javascript pop up window in PHP problem
Replies: 5
Views: 534

Display image in javascript pop up window in PHP problem

I have PHP and Javascript together to display an image in a pup up window. All seems to be working correctly ecxept for one thing. Some of the pictures show up on the bottom right hand corner of the screen, a little off the screen. And the pop up window is larger than the image. I think this happend...
by Mo
Fri Nov 21, 2003 9:33 pm
Forum: PHP - Code
Topic: Display image from PHP script
Replies: 8
Views: 1213

vigge89,
my apologies
by Mo
Fri Nov 21, 2003 9:50 am
Forum: PHP - Code
Topic: Display image from PHP script
Replies: 8
Views: 1213

viggie89,
Yes I understand. Thank you. I clicked on the link from Nay's responce. It says that it is extremely important that there are no spaces or other characters before or after the <<<END statement.

It finally worked.

Thanks to all!
by Mo
Thu Nov 20, 2003 12:47 pm
Forum: PHP - Code
Topic: Display image from PHP script
Replies: 8
Views: 1213

C'mon, I am a newbie, but I know that much. Yes, I did.

What does this mean?

Code: Select all

echo <<< START