Securizare Site (.htaccess)

 Securizare Site (.htaccess)

O metoda de a interzice accesul celor nedoriti pe site-ul tau este folosirea fisierului .htaccess
Motive:
– Restrictonarea accesului un hacker cunoscut / bot de la accesarea site-ul dvs.
РPermiterea doar anumitor adrese IP pentru a vizualiza site-ul dvs. (̨n timp ce se afla in dezvoltare, de exemplu)
– Permiterea numai persoanelor de încredere în site-ul dvs. (în cazul în care IP-urile utilizatorilor dvs. rămân aceleasi, pentru că e mai sigur)
– Interzicerea persoanelor dintr-o anumită Å£ară (sau orice locaÅ£ie necunoscută) sa acceseze site-ul dvs.
– Interzicerea persoanelor din site-ul dvs.
Continue reading

Permanent link to this article: https://www.xenno.org/589/securizare-site-htaccess/

Secure Your Site (.htaccess)

 Secure Your Site (.htaccess)

One way to prevent unwanted access of your site is using the file .htaccess

Reasons:
– Restrict access to a known hacker / bot from accessing your site
– Allowing only certain IP addresses to view your site (while in development, for example)
– Allow only trusted individuals in your site (if your users IPs remain the same, because it’s safer)
– Banning people from a particular country (or any location unknown) to access your site
– Ban people from your site
Continue reading

Permanent link to this article: https://www.xenno.org/595/secure-your-site-htaccess/

Server Amator – Debian cu Virtualmin

Server Amator – Debian cu Virtualmin

Stiu ca atunci cand e vorba de linux multi fug si spun ca e greu. Totusi aceasta impresie ramane doar o impresie de care iti aduci aminte cu drag cand te gandesti la ea ca ai avut-o vreodata. 

Avand nevoie de un server WEB ce contine de preferinta Apache, MySQL si PHP care sa nu fie conditionat de bani m-am apucat si am configurat unul folosind o unitate PC mai veche.
In Debian, ce se poate instala folosind manualele destul de intuitiv, cele mentionate mai sus se pot instala urmand mai multe variante dar varianta preferata de mine a fost una care include o instalare a unui gestionar de servere cum este Virtualmin. Acest gestionar imi da posibilitatea de administra mai multe servere pe aceeasi unitate (hardware), si am ales versiunea sub licenta GPL (Open Source). Continue reading

Permanent link to this article: https://www.xenno.org/530/server-amator-debian-cu-virtualmin/

Amateur Server – Debian & Virtualmin

I know that when it comes to linux and run many say it’s hard. However, this impression remains only an impression that you remember fondly when you think about it that you ever had.

Needing a web server preferably contains Apache , MySQL and PHP that is not conditional on the money I got and I set up a unit using an older PC.
In Debian , you can install using manuals quite intuitive, the above can be installed following several options but my favorite version was a installation that includes a server manager as Virtualmin . This manager gives me the opportunity to manage multiple servers on the same drive (hardware) and I chose version under GPL (Open Source). Continue reading

Permanent link to this article: https://www.xenno.org/534/amateur-server-debian-virtualmin/

HTML inserarea imaginilor in linie/galerie

Sa spunem ca am dori sa asezam într-o pagina html cateva fotografii pe orizontala. Acest lucru poate fi facut cel mai usor folosind un tabel.
Tag-urile <table> </table> definesc continutul unui tabel. Între aceste tag-uri trebuiesc incluse urmatoarele alte tag-uri <tr><td></td></tr> în asa fel incât un tabel va avea forma <table><tr><td></td></tr></table>.
Continue reading

Permanent link to this article: https://www.xenno.org/507/html-inserarea-imaginilor-in-liniegalerie/

HTML insert images in a line/gallery

Let’s say we want to put in a html page a few photos horizontally. This can be done easily using a table.
Tags <table> </ table> define the contents of a table. Between these tags must be included on these other tags <tr> <td> </ td> </ tr> so that the table will form <table> <tr> <td> </ td> </ tr> </table>.
Continue reading

Permanent link to this article: https://www.xenno.org/505/html-insert-images-in-a-linegallery/

Wallpapere HD

Navigand pe internet am gasit niste poze frumoase pentru a le utiliza pe monitorul laptop-ului meu.
Ele au o temă abstractă, dar mie imi plac şi sper că vă veţi bucura si voi de ele.
Continue reading

Permanent link to this article: https://www.xenno.org/456/wallpapere-hd/

HD Wallpapers

Surfing the internet I found some nice pictures to use on my laptop monitor .
They have an abstract theme but I like them and I hope you will enjoy too.
Continue reading

Permanent link to this article: https://www.xenno.org/413/hd-wallpapers/

Conexiunea MySQL

De ceva timp am descoperit cum se face o conexiune intre un document PHP (script) si o baza de date MySQL.
Pentru a creea site-uri dinamice ce scriu si citesc o baza de date este nevoie sa introducem in fisierele PHP o comanda care creeaza conexiunea dintre cele doua. Astfel este folosita functia prestabilita a limbajului PHP mysql_connect ce poate fi invocata ori de cate ori este nevoie de o conexiune catre o baza de date. Continue reading

Permanent link to this article: https://www.xenno.org/377/conexiunea-mysql/

PHP-MySQL Connection

For some time I discovered how to make a connection between a PHP document (script) and a MySQL database. To create dynamic sites that write and read a database is needed to introduce  into a PHP file that creates a connection between the two of them. This is a used predefined PHP function mysql_connect and can be invoked whenever we need a connection to a database. Continue reading

Permanent link to this article: https://www.xenno.org/385/php-mysql-connection/