Help with my test.php Help with my test.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Help with my test.php

Started by kozmonaut, December 06, 2006, 11:16:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kozmonaut

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

vuud

Quote from: 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


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...

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

kozmonaut

what do you mean a server side?

vuud

Quote from: kozmonaut on December 07, 2006, 02:49:51 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.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

kozmonaut

you mean like if my server is using apache that sort of thing?

Joachim Müller

Read up the documentation of your webserver. This is not the proper place to teach you webserver basics.

kozmonaut

ok, im very sorry to trouble you all