Tokens for PHP
Posted: Thu Aug 25, 2005 9:19 pm
Hi everyone
I have noticed programs on the net that create optimized pages for the search engines by using keywords that you enter in. e.g you can take a list of 100 keywords and the php scripts create 100 html pages optimized with those keywords. I believe it works on a token system e.g. %KEYWORD% and the php script runs through each keyword and replaces %keyword% with the actual keyword.
My question is I want to create my own tokens and run through a list of html documents which have the %token% variable and replace %token% with whatever I define the token to be.
Any ideas how I would go about it and where to look for more information?
Kind Regards,
Nikhil
I have noticed programs on the net that create optimized pages for the search engines by using keywords that you enter in. e.g you can take a list of 100 keywords and the php scripts create 100 html pages optimized with those keywords. I believe it works on a token system e.g. %KEYWORD% and the php script runs through each keyword and replaces %keyword% with the actual keyword.
My question is I want to create my own tokens and run through a list of html documents which have the %token% variable and replace %token% with whatever I define the token to be.
Any ideas how I would go about it and where to look for more information?
Kind Regards,
Nikhil