|
|
|
|
Like you see i almost done with the tasks. I have to reorganizate everything because of the new way of ge the language, that is really comfortable.
The RSS is working, again our sponsor is FeedBurner.
To have an idea of how to make a RS you just need to create a new file (in my case with .php extension) and make a print in it of all the news, after that link it with FeedBurner.
Remember that the RSS should be XML files, so before put your PHP code (we save it as PHP so we want it that work as it) you should put the next labels:
<?
header("Content-type: application/xml");
echo "<?";
echo "xml version=\"1.0\" encoding=\"iso-8859-1\"";
echo "?>\r\n";
echo "<?";
echo "xml-stylesheet type=\"text/css\" href=\"".$style."\"";
echo "?>\r\n";?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
// Here should be your code for the RSS
</channel>
</rss>
* Its a simple way to do it, where your PHP should print the records of the database should be between the labels <item></item>, read something about how to do RSS and you would understand me.
Also i finally implemeted the code to not html insertions in my comments and with this dont allow to the users to insert images or frames with inappropiate webpages. And a code that dont allow to make PHP injections, this were teach it by Hsilamot, this is a little paranoic with the safety and he have amazing results with ALL his methods.el es un poco paranoico con eso de la seguridad y ha tenido muy buenos resultados con TODOS los métodos que utiliza.
<?
function nospammers($code){
$s1=array("&", "<", ">");
$s2=array("", "", "");
return str_replace($s1, $s2, $code);
}
function nophpinjection($code){
$s1=array("'", "\"");
$s2=array("\'", "\"");
return str_replace($s1, $s2, $code);
}
?>
* The codes only replace symbols. In the HTML code it replace HTML labels for nothing making all plain text. In the case of the injections code it replace the quotes of any kind for quotes that cant be manipulated to make an injection.
The WDB structure (Web-data-base) is just to edit all the frames that you are seeing, just making a relation between the friendly urls and the data base.
The other things you already know them and also i need to develop somethings else.
This website had been test in the next browsers (% of efficient):
95%
100%
95%
95%
98%
* The variations are about tables interpretations. |
|
|
|
Comments There is no comments by the moment. |
|
|
|
|
|
|
|
|
•
RSS
•
Multimedia system
•
Anti-injection
•
WBD structure
•
PDF creator
•
Notes
•
Search engine
•
Contact
•
Links
•
Curriculum
•
Profile
•
Flash images
•
Login
•
FLV player
•
Shop
|
|
|
|
|
|
|
|
 |
|
|
|
|
 |
|
|
 |
|