Joe Gimeno
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by Joe Gimeno
-
-
I am new to PHP and have tried hard to find a function that would return the title of the page in which the php script is contained.
Explanation....
I am using "jalbum" a skin generator program written in java to generate slide HTML pages for my images with a htt template.
Within the template I have my html code and the link to the css styles file. Now I want to insert a basic php script which will retrive the page title and send it to another php script for further processing. i.e. query the database so that the item(which happens to be the page title) information is retreived and put into a shopping cart ....among other things..
I would appreciate any help ...
Joseph
something like a summit button that calls another script and returns the page title of the calling script as an argument.....
page title function
in PHP Coding Help
Posted
there is no interaction . The template htt is written in java and it generates as many HTML pages as I have images.....
Each page has a unique name (the image name ext html).
There is no Databse interaction so far....strictly HTML
I can include a php script which will then be part of each page.
<HTML........
<Title ..............
<Head..................
Contents..........................
Image....................
Text info .....................
The script goes here............
<?php
$title="Title" from top of page
/* This script should retrive the "<Title>Image_name</title> to a variable $title and post it to another script with a submit button, for further processing"
The $title variable already exists in java but I don't know how to have php see it .
?>
</HTML>