jlhaslip
Jan 18 2006, 05:34 AM
In the Head portion of an Html file, there are usually several Meta Tags that contain data about various things, like the tag for keywords, an Author's name or maybe a description field. Here are two example Meta tags: HTML <meta name="Keywords" content="keyword1, keyword2" /> <meta name="Description" content=" A Description of the file's content is here" />
So, what I have a question about concerns checking a file to see what information is included in these tags and using that information as variables or content in the output of the page. For example, if I wanted to find the information included in the content="..." field in either of these two meta tags, what php variable would I check or how would I find it from inside the php page? Then I wish to output it using an echo or print command. Is this possible? Okay.... Never mind, I found the answer. How about I just use "get_meta_tags ()" and the array elements found in that? R T F M
Reply
Similar Topics
Keywords : finding, data, meta, tags, php, search, meta, tags, data
- How Do I Get The Result To "stick" And Add Html Tags?
Help please? (14)
Php Calculator That Calculates Genetic Percentages?
I need help finding sites or tutorials. (2) Okay, I have created, looked, and generally studied simple PHP calculators. However, I can not seem
to find any tutorials on how to create a genetic calculator. One that calculates genetic percentages
similar to that of Punnette Squares. I have seen plenty of websites that have these types of
calculators, but I have yet to see any websites offer tutorials on how to create these types of
calculators. So.. does anyone know of any tutorials I can find or sites that might have the tutorial
I am looking for? Maybe even a tutorial here? Reason for asking: I am creating a webs....
Php + Mysql Question!
While inserting data into MySQL, how can I know if the data I'm in (4) Basically, I want to know if the Data I'm inserting through a Form is already there or not. Sort
of a Username registration page. I have this, but it doesn't appear to work... CODE
$result = mysql_query("SELECT * FROM users WHERE
username='$username'"); if($result == 1) { echo
'<h1>ERROR!</h1>The username you have chosen already exists!'; }
....
Php Email Validation
A PHP data validation class with many functions (1) I've been reading through my old php book (PHP 4.1) and came across this data validation class.
It can check a number of things ranging from telephone numbers , credit card number formats, email
address and some others. I checked out some of the methods although I didnt expect it to work 100%
because I've found source code errors thoughout the book and CD. I tested out a few of the
methods to check and some of them did return expected results but some didnt either so the data
validation class was not perfect and it didnt really bother me. The cool thing I found....
Script To Translate Into Bbcode From Html Tags
(1) I was wanting to know how to make a form like they use here for the website form. I want to be able
to turn stuff in to bbcode. If you know how or would be willing to write the script for me could
you email me. will@darkzone3.com . I am william to give all credit to who ever makes it. and i can
put a link back to a site if you want. Please be specific with the topic title. "Help" is never a
good topic title. This is explained in our forum rules. Title modified. ....
Using Multiple Selection Array In Table To Order Data
Using multiple selection array in table to order data (1) have a form that has a multiple select choice, like this: CODE <form method="post"
action="display.php" <select multiple name="selectsort[]">
<option value="code">Code</option> <option
value="amount">Amount</option> <option value="dateammended">Date
Ammended</option> <option value="expreviewdate">Expiration/Review
Date</option> <option value="effectivedate">Effective Date</option>
<option value="e....
<?php ?> Marking Up With Php
How to simply add HTML tags with PHP (0) Just a simple function to mark your queries /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" /> CODE <?php $uzorak = 'Hosting credit'; //use
post to get $uzorak variable $tapeti = "Hosting credits are collected by posting at
the forums. The hosting credits are given after your posts are filtered and depending on its size,
you get proportional hosting credits. Once you get the required credits you can post an application
for hosting. One of our admins will then approve your application after which you c....
What Does This Do?
$ban = ($data->login) ? $lban : $iban; (4) I'm correcting a 'few' php-files for a friend, but I got this line of code: CODE
$ban = ($data->login) ? $lban : $iban; and I don't know
what it does xD Could someone please explain me what this line does? Thanks....
Problems With Data Formatting
(2) I have a MySQL database which stores articles. A sample article would look like this: CODE This
is a body. This is a body.This is a body.This is a body.This is a body.This is a body.This is a
body.This is a body.This is a body.This is a body.This is a body.This is a body.This is a body.This
is a body.This is a body.This is a body.This is a body. This is a body.This is a body.This is a
body.This is a body.This is a body.This is a body.This is a body.This is a body.This is a body.This
is a body.This is a body.This is a body.This is a body.This is a body. That'....
Putting Data Of 2 Pages In Mysql At Once
(1) suppose i have a page, page.php?part=1 there i have some text fields. user will give input, but
after taking input, it will not put the data in mysql .. but it will take to the next step..
page.php?part=2 (if any field is left blank, it will not go to next page.. ) . and there also some
fields.. after the user has filled that form also, then it will insert all data (from part1 and
part 2) in mysql. i want to ask, how i can collect data from 2 pages and put in mysql at once.....
How Good Is This Data Cleaning Function?
(2) Hi all, this is my first function and as part of a script and i just want to know a couple of
things. here is the code for the function: CODE <? function
clean($dirty_string) { $muddy_string = stripslashes($dirty_string);
$murky_string = strip_tags($muddy_string); $clean_string =
htmlentities($murky_string); }; ?> So the first thing is how secure is
it? the script this will be used in connects to a database and sends an email so it needs to stop
SQL injections and any email ab....
A Script To Close All Bbcode Tags In Php
can you help me write one? (1) ok, ive got a chat that I made from scratch in flash. Its actually pretty damn cool! I just
coded it so bbcode is allowed, but ive got a sligt problem. if sobody dosnt close a tag, then the
tag stays active for the following messges. /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> , so i thout, why not add the end of every tag, at the end of every
message example: CODE [/b][/u][/i][/url][/color]
but then i relized, flash's html encoding is very propor, and all tags must be closed....
Meta Tage On My Phpnuke
(5) when i view source on my website i can see my meta tags displayed right on the top of the file, but
i can seem to find the file that containt the meta tag content. I want to be able to edit it and
change and/or add into it. please someone help this is probably an easy problem to solve =/....
Php And Disabling Html Tags
how can i do this? (10) Hello everyone Im TRYING to make a forum and obviously for security i need to disable HTML tags
being used in posts. i know how to use the str_replace() function but to be honest i think id have
to do that for every single tag. I also trued using the html CODE <XMP> stuff
</XMP> tag but i need to be able to use the new line tag to make a new line as all the
posts are stored as HTML. if this isnt clear let me give an example: QUOTE NEW POST PAGE >
user makes new post and posts it > PHP PROCCESSOR PAGE MAKES HTML FILE > NEW HTML FILE CONTAINI....
Loading Mysql Data Into A Table
(10) Hey i have a little problem with my php script. i dont really know how to make it work ^^; I want to
have this exact table: ' I made mysql table that has one column for id(auto-increment,
primary key), and then it has row and collumn and text. row means which row in the html table and
collumn wich collum. (obviously /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
alt="tongue.gif" />) here is the mysql table screenshoted from phpMyAdmin: r means row and c
collumn /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue....
Same 1 Registeration Data For Different Purposes
(4) I want to install 4 scripts on my website .. 1- Gallery 2-Classfied Ads 3-Game Cheats Script (A
simple script where ppl can register and then submit the cheats) 4-Php Nuke The problem is that all
of 4 scripts needs registeration of members (use 4 different databases).... I want that all the
member which is registered at one place can login at all of the services..i mean , one registeration
form , that can work for all.. how i can do it ? Please tell in details..thanks.....
Listing From Table Row Data
Listing all members (5) Hello, it's been a while since i've been active in the PHP Board ( i used to be really
active in here ), not only to help others but also to request help ( people knowing those requests,
dont share your bad experience with my requests /tongue.gif' border='0'
style='vertical-align:middle' alt='tongue.gif' /> ) Anyway, i am requesting help on a listing of
members, i totally forgot about how to fetch the rows from a table and display each row, i thought
it was: CODE $result=mysql_query("SELECT * FROM $usertable ORDER BY id
DESC") or....
Help With Reading Files
Read and replace/insert data from form (5) Hi, Does anyone know how i can do this, or scripts that will work on Trap17's servers and will
do the following: I have a .doc file form. Which i want to have filled in automactically, by HTML
Form and emailed to my address, with the data filled in. Any ideas? I have heard many differing
things, like XML, RTF, DOC, PDF... I have serched through many places and come up empty handed with
anything that works. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /> ....
Form To Pdf, With Email?
Wanting to Submitt Data to PDF (3) Hi all, This sounds like a good place to ask this, I have a form Click Here to View that when
submitted will put the values into the PDF Here Is there a way in which to have the filled in
form both viewed to the user? and also have it emailed to me as an attachment. Any code or help
would be good... I get basics, but this stuff is hard to get to work and i can't get it to.....
Php Tutorials
plz help me finding a tutorial for php (7) does anybody know a website or abook or something where i can learn PHP. i want to make a website
but HTML is too soft:P i want more options and i think that is possible in php. And another question
is how can i make a phpnuke style?? plz post in this forum:) (I didný post in the tutorials forum
becaues i thought it woulkd be a really long TUT) /wink.gif' border='0'
style='vertical-align:middle' alt='wink.gif' /> ....
How To Redirct Post Data ?
(4) I have a form, from where the data is being posted to a php script. Now in the php script the script
has to forward the data to another script with posted data. I know this can be done using header but
i don't know how to keep the data posted with form in POST method. For example: The form
below: Code: Now its posting data using POST method to 1.php...and now 1.php will
redirect everything to another php script with the data and it should be in POST method ... How can
i do this ? Thanks. ....
Html Font Tags In Php
editing fonts using html? (11) I have a php script thats is fully written in php (no html at all). Now for my question, how can i
edit the fonts? Ill make it easier to understand, the following is a data script (found the
script): CODE <? $mese[0]="-"; $mese[1]="January";
$mese[2]="February"; $mese[3]="March";
$mese[4]="April"; $mese[5]="May";
$mese[6]="June"; $mese[7]="July";
$mese[8]="August"; $mese....
Flash Games And Post Data
(0) i want to put a highscore section for a bunch of flash games on a website. i know that when most
games are done the score is in the post data, which can be viewed if you have the firefox live http
headers extension. but how would you insert the postdata from the flash games into the database?....
Looking for finding, data, meta, tags, php, search, meta, tags, data
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for finding, data, meta, tags, php, search, meta, tags, data
*MORE FROM TRAP17.COM*
|
advertisement
|
|