Multimedia system
17/08/2008 @ 18:16:05 hrs, published in Editing
I finished with this, it would help me to administrate all my media files that i would publish here.

Example: http://www.zseven.net/multimedia/view/20080817155900


Base URL: http://www.zseven.net/multimedia

RSS, WDB, Anti-injection, Anti-HTML
17/08/2008 @ 01:41:04 hrs, published in Editing
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.

Cookies
15/08/2008 @ 23:10:00 hrs, published in Editing
Since now this website use cookies, i decided that have yoursite.com/es or yoursite.com/en (the language) didnt seems nice.

Now i use cookies to save the preferences of language of the user, if you want to know how read this: (actually are sessions i think that are more safety than the cookies)

<?
// Session start
session_start();
// If the user want to change the language the variable 'language_of_user' from the URL should have it
if($_GET['language_of_user']=="") {
// This verify that the session doesnt have another language
if($_SESSION['language_in_session']=="") {
// If it doesnt have it, the code take it from the browser
$language_default=substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0, 2);
// In my case i just use two languages, so if the browser are not any of this it take English as a default
if($language_default=="es"){ }
if($language_default=="en"){ } else { $language_default="en"; }
} else { $LANGUAGE=$_SESSION['LANGUAGESESSION'];
if($language_default=="es"){ }
if($language_default=="en"){ } else { $language_default="en"; } }
} else {
// If 'language_of_user' have a language it take it over everything else in the session.
$language_default=$_GET['language_of_user'];
$_SESSION['language_in_session']=$language_default;
}
?>

I hope that this will help you, if you have some doubts you can read the last article about this topic.

FLV, just the beginning
22/07/2008 @ 20:40:02 hrs, published in Editing
Like you see my flv player works without any troubble, you can download if you want it here:
http://rapidshare.com/files/131760630/22072008z7.rar
Source: http://www.jeroenwijering.com/

And the code:
<embed src="player.swf" width="300" height="250" allowscriptaccess="always"
allowfullscreen="true" flashvars="file=file.flv"/></embed>

With this script i want to do a multimedia system where i can put all my videos, photos and sounds, more advanced that anything that i ever done but very funtional, the idea is that it give me the code just to paste it here and also give it to you.


Note: You can customized this player with logotype, colors, and other things just changing this line:
flashvars="file=file.flv&screencolor=0x000000&logo=logo.png&link=http://www.zseven.net"

The jump
22/07/2008 @ 03:21:00 hrs, published in Going out of home
The thursday of the last week i decided to jump from a airplane, finally i have the chance and i take it. With more than 40,000 jumps my instructor convinced me.
Im really thing that i going to have fear to jump, but actually in the video i jump late because the instructor stop me like 2 times, in the third time he let me go, im still without know why.
It feels like flight, until you realized that that you are going to see if the parachute open or not and of that depends your life.
What is the worst part?, when the parachute open and a strong force pull you up from 200-250km/h to 80km/h in 2 seconds. Then you remember where you come from...
Where a hell you are jumping?, Abbotsford, BC, Canada.
What do i think feeling the ground?, first jump, two more i can do it alone.
How much did i fly?, 1 mile.

Nothing more to add, is cool. :)
Unless know i now that im not afraid form the high just to make me strawberry mermelade on the floor.

* With this i start my videos module, good bye YouTube, i dont need you anymore. More information in the week, i make a database of videos, based me in a script that i will put later to download.

Note: If you ever play Grand Theft Auto the last versions and jump in a parachute it seems equal, but feels better.

The bored part, not too bored but in contrast it is...

Facebook returns
21/07/2008 @ 11:35:00 hrs, published in Linking
Again im using the facebook, even if i hate this kind of webpages in my trip (what trip? i'll tell you later) i meet a lot of people that i wish still in contact, so i need to use this system for my fortune private system of communication.

Also is one of the strongest systems that exist until now, better than Hi5, Metroflog, Myspace.


Francisco Márquez is my name if you look me.

Dont play
21/06/2008 @ 00:39:02 hrs, published in Editing

I have some, but not all. I finish something that come to my mind, “Notes”, in this section I will write my projects and all I finish,

In this moment you can register in the webpage, but you still cant log in. But is something.

I start the shop, but I need to finish the registration, I will use it to the shop.




• RSS
• Multimedia system
• Anti-injection
• WBD structure
• PDF creator
• Notes
• Search engine
• Contact
• Links
• Curriculum
• Profile
• Flash images
• Login
• FLV player
• Shop
• Calendar
If you want to be here, contact us.
• PXNDX magazine


Akapon Networks


PandaSux


ZSeven Diary


Nice Site! http://excellent-credit-card.blogspot.com
secured writed this comment the 01/07/2008 @ 13:32:09 hrs
Nice Site! http://google.com
euphora credit writed this comment the 23/06/2008 @ 11:29:25 hrs
This is a test comment. I started with the creation of this web design more new and with more possibilitys that i ever had. I hope that this will be of your likeness and more important it help you in something.
ZSeven writed this comment the 30/05/2008 @ 01:35:03 hrs
General editor: Francisco Márquez [ ZSeven ] | E-mail | AIM | Contact form
Language(s):
Subscribe:



Home :: Profile :: Curriculum :: Links :: Contact

Copyright © 2004-2008 Akapon Networks