PHP: PHP Version 4.3.10
MySQL: Client API version 4.1.12
Still... I'm kinda lost...

Cheers
Code: Select all
function exdfix($string){
$html_str = htmlentities($string, ENT_QUOTES);
return $html_str;
}
Code: Select all
$html_str = htmlentities($string);
Code: Select all
$html_str = htmlentities($string, ENT_QUOTES);
Code: Select all
$i=0;
while ($row = mysql_fetch_array($result)) {
$i++;
$row = array_map("stripslashes", $row);
$row = array_map("htmlspecialchars", $row);
$row = array_map("exdfix", $row);
Code: Select all
$i=0;
while ($row = mysql_fetch_array($result)) {
$i++;
$row = array_map("stripslashes", $row);
$row = array_map("exdfix", $row);
Code: Select all
$xml .= $events;
return $xml;
Code: Select all
$xml .= $events;
$xml = html_entity_decode($xml);
return $xml;
Code: Select all
$row = array_map("stripslashes", $row);
$row = array_map("htmlspecialchars", $row);
$row = array_map("exdfix", $row);
Code: Select all
//$row = array_map("stripslashes", $row);
//$row = array_map("htmlspecialchars", $row);
//$row = array_map("exdfix", $row);
Code: Select all
function insert_entry($values) {
$values["id"] = $this->get_next_setid();
Code: Select all
function insert_entry($values) {
$values = array_map("stripslashes", $values);
$values = array_map("exdfix", $values);
$values["id"] = $this->get_next_setid();
Code: Select all
function update_entry($values) {
//$values = array_map("addslashes", $values);
$setid = $this->get_next_setid();
Code: Select all
function update_entry($values) {
$values = array_map("stripslashes", $values);
$values = array_map("exdfix", $values);
$setid = $this->get_next_setid();
what phpwcms-version do you use?Juhana wrote:I got the module working quite ok but images doesn't work on the frontend.
Hi breitsch,breitsch wrote:Hi people
I'm working hard on the update-version 1.1 of ExData-Mod for phpwcms!
Most of the mentioned things here are now included and some bugs eliminated.
(A try) in Englishbreitsch wrote:Hi people
I'm working hard on the update-version 1.1 of ExData-Mod for phpwcms!
Most of the mentioned things here are now included and some bugs eliminated.
If you have other requests, please let me know, maybe I can include some of them in this new version too.