PHP

E

Essam

Hi to all,

I try to add and "PHP script " to my HTML to Random view images.

but the script didn't work,. is there aomething that I have to add first the
document?

Dows anyOne know a script that I can add to html to view a random images
from directory?



thanks
 
D

DavidF

I haven't seen any "php script" inserted into a Publisher web page, or tried
it myself. I have seen a lot of javascript inserted that does work. I would
google for "javascript slide shows" or something similar to find one of the
zillion free scripts that are out there, and try that approach, if you can't
figure out how to get your script to work.

DavidF
 
M

Mike Koewler

David,

I've used php some but it has always been a program, not a code snippet.
If that is what the OP is referring to, the only way that I know to get
it to work would be to use an i-frame pointing to the program, such as
http://www.yourwebsite.com/album/index.php

There is a php program for albums here:
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm that
combines the above with the need to insert code into the <head> </head>
section as well as the <body> </body> section, which I presume can be
done with the code fragment.

Mike
 
D

DavidF

Thanks Mike,

dynamicdrive.com is a good source for javascript too.

Some of the script that requires part of it being in the head, will still
work if you insert it via a code fragment in the body of a Pub doc...some
don't.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top