forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: kozmonaut on December 06, 2006, 11:16:44 pm

Title: Help with my test.php
Post by: kozmonaut on December 06, 2006, 11:16:44 pm
Heya, Before i start with my problem, thanks for writing a money script to run in conjunction with coppermine. Very coool.. Anyways, im a php noob, im developing a site for a client, and learning as i go. I got coppermine working perfectly, i got the test php file to work that came with your program, so its all good.

My prob is this check out this http://www.talithastar.com/test/fetch/cpmfetch/test.php

as you can see it works, its pulling images out, and again no problem.

My problem is this, i want to show that in my html page, but dont know how to do it. if you look at this area http://www.talithastar.com/test/
i want to embed the test.php data into one of the tables/css fields i get up, i wrote in text where i want it to go,

Can you tell me how i can call the php test.php script, so it will call up the images in a certain segmented area? I apologise for the questions, but this is the support forum after all!

thanks

michael
Title: Re: Help with my test.php
Post by: vuud on December 07, 2006, 02:35:31 am
Heya, Before i start with my problem, thanks for writing a money script to run in conjunction with coppermine. Very coool.. Anyways, im a php noob, im developing a site for a client, and learning as i go. I got coppermine working perfectly, i got the test php file to work that came with your program, so its all good.

My prob is this check out this http://www.talithastar.com/test/fetch/cpmfetch/test.php

as you can see it works, its pulling images out, and again no problem.

My problem is this, i want to show that in my html page, but dont know how to do it. if you look at this area http://www.talithastar.com/test/
i want to embed the test.php data into one of the tables/css fields i get up, i wrote in text where i want it to go,

Can you tell me how i can call the php test.php script, so it will call up the images in a certain segmented area? I apologise for the questions, but this is the support forum after all!

thanks

michael


To show images from a php script in an HTML page, you need to do a server side include to get it to run.

See your web servers documentation for how to do this...

Title: Re: Help with my test.php
Post by: kozmonaut on December 07, 2006, 02:49:51 am
what do you mean a server side?
Title: Re: Help with my test.php
Post by: vuud on December 07, 2006, 02:59:14 am
what do you mean a server side?


I mean a "server side include".  You put something in your html file to run the php file.

You need to find a forum for your web server.
Title: Re: Help with my test.php
Post by: kozmonaut on December 07, 2006, 03:08:59 am
you mean like if my server is using apache that sort of thing?
Title: Re: Help with my test.php
Post by: Joachim Müller on December 07, 2006, 06:49:24 am
Read up the documentation of your webserver. This is not the proper place to teach you webserver basics.
Title: Re: Help with my test.php
Post by: kozmonaut on December 07, 2006, 11:53:06 am
ok, im very sorry to trouble you all