Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Help with my test.php  (Read 6076 times)

0 Members and 1 Guest are viewing this topic.

kozmonaut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Help with my test.php
« 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
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Help with my test.php
« Reply #1 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...

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with my test.php
« Reply #2 on: December 07, 2006, 02:49:51 am »

what do you mean a server side?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Help with my test.php
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with my test.php
« Reply #4 on: December 07, 2006, 03:08:59 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help with my test.php
« Reply #5 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.
Logged

kozmonaut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with my test.php
« Reply #6 on: December 07, 2006, 11:53:06 am »

ok, im very sorry to trouble you all
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.