|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
|||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Nov 2003
Location: Prague
Posts: 2,733
|
Batch find and replace with input from database
does anyone know a script or program that does bath find and replaces with the input coming from a database, csv, mysql, ...
thanks
__________________
|
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jul 2006
Location: Philadelphia
Posts: 1,282
|
what do you mean. Is it an mysql database? mysql does this
|
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Nov 2003
Location: Prague
Posts: 2,733
|
Quote:
eg on the html template values like model, website, country, etc should be replaced with values from a database or csv.
__________________
|
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Nov 2003
Location: Prague
Posts: 2,733
|
bump bump bump
__________________
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Aug 2005
Posts: 1,295
|
php can do it... hire a php programmer that will make that kind of script for you..
__________________
Email: [email protected] | Skype: ross.alcazar
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Feb 2006
Posts: 11
|
genearate pages
yes you can, the possible scenario there is that you have a admin side of your site wherein you re-generate .html and better .shtml file. Better if .shtml so that you can call an SSI includes.
for example upon pressing the button: $content="Characters or conditions that you filter from mysql": @unlink("{$filename}.shtml"); $page=fopen("{$filename}.shtml","w"); flock($page,2); fputs($page, $content); flock($page,3); fclose($page); chmod("{$filename}.shtml", 0777); another alternative is using the SSI includes. example <!--#include VIRTUAL="dynamic.php"--> where dynamic.php contains the script that extracts data from mysql. I hope this help. thanks, gigamike Quote:
|
|
|
|
|