fwrite is the command you are looking for to write to a file
what are you trying to insert to all pages?
Bastien
From: "Ron Piggott" <[EMAIL PROTECTED]>
Reply-To: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Subject: [PHP-DB] One additional thought
Date: Sun, 11 Sep 2005 12:07:48 -0500
I
I have this PHP code below that loads a web page into the "$message"
variable
$lineArray = file($web_page);
// make an empty variable first
$message = "";
// concat all array element
foreach($lineArray as $eachLine) {
$message .= $eachLine;
}
$additional_text = "blah blah blah";
$message = $
Do any of you know of software that is able to open up my web site HTML
files (text based) and insert text as the first few rows of each file? This
isn't a search & replace operation. Ron
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think yes. PHP default_charset = win-1250, mysql: def. char. set cp1250,
apahce 2: AddDefaultCharset WINDOWS-1250 (AddCharset WINDOWS-1250 .cp-1250
.win-1250)
With php4 with same configuration apache2 and mysql server is all OK.
""Bastien Koert"" <[EMAIL PROTECTED]> pùe v diskusnÃm pøÃspÃ
does your web server, php and db all use the same charset? they all should
match
From: "Dominik Fi¹er" <[EMAIL PROTECTED]>
To: php-db@lists.php.net
Subject: [PHP-DB] MySQL in PHP5 - problem with charset
Date: Sun, 11 Sep 2005 14:35:44 +0200
I have problem with MySQL in PHP 5.0.4 (WIN XP). I
I have problem with MySQL in PHP 5.0.4 (WIN XP). I use charset cp1250
(win-1250, Czech) and PHP5 show results from db in incorect charset. When i
use PHP 4, there is no problem! Configuration MySQL server is in both case
the same.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe
I have problem with MySQL in PHP 5.0.4 (WIN XP). I use charset cp1250
(win-1250, Czech) and PHP5 show results from db in incorect charset. When i
use PHP 4, there is no problem! Configuration MySQL server is in both case
the same.
--
PHP Database Mailing List (http://www.php.net/)
To unsubsc