Comments

 (2) 
  1. Everything
  2. Snippets
geez commented on PHP Snippet: Dynamic Title and Meta Tags  -  Aug 24, 2010
this is what i have in my meta_tags.txt.

"index.php|page title1|meta tags|meta description"

i apparently lied as i said that it contains the exact text as shown in the article... but i had just changed the obvious...

Still tried to wiggle out of this swamp but nothing.. the tittle just aint showing.
geez commented on PHP Snippet: Dynamic Title and Meta Tags  -  Aug 09, 2010
I have a bit of a problem with getting the code to work for some reason unkown..

A little test i did indicates that my "get_meta.php" and "meta_text.php" files are being linked the right way.. you see when i change "meta_tags.txt" link to Anything but that.. or just plain rename the file.. i will get error saying "cant find the damn file *sniff*" Anyways.. when everything should be linked right i cant see the code that "get_meta.php" creates.. theres only big blank space there.. it should be showing right? (no effect when i tried to apply "get_meta.php" content straight to header.php) Also title and meta keywords tags are empty.. And yes.. i copied the exact content to "meta_tags.txt" as shown in the article..

Could this happend because im running my php test site with xampp lite from my desktop?
Could it be related to the fact that for even stranger reason my stylesheet link is showing in my body Even thought its in the head in my code..? havent been able to figure that one out yet... however i did find out that thats the way firebug sees it.. source code viewer shows its in the head... ive tried to delete practically everything top see where the shoe is thight.. and im only able to fix it if i remove all includes so that i have body tags in the same file..... :(

heres some info about my files..
index.php (Contains include header and include footer)
header.php (Contains all the basic tags html, head, stylesheet link, include get_meta.php, title with print title, meta keywords with print keywords, meta content language, meta content type, /head, body )
footer.php (Contains /body, /html)
get_meta.php (Contains the exact text shown in the article)
meta_tags.txt (Contains the exact text shown in the article)

Put that in your pipe and smoke it! ..and hopefully give it some thought and tell me what im doing wrong.. ?
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.