Posts

पानी की लड़ाई: कल की प्यास या आज की ज़िम्मेदारी?

पानी की लड़ाई: कल की प्यास या आज की ज़िम्मेदारी? " तीसरा विश्व युद्ध पानी के लिए होगा "—यह बात हमने कई बार सुनी है, लेकिन अब यह सिर्फ एक डरावनी भविष्यवाणी नहीं, बल्कि हमारे दरवाज़े पर दस्तक देती एक कड़वी सच्चाई है। " पानी की लड़ाई " आज देशों की सीमाओं पर नहीं लड़ी जा रही, बल्कि यह हर रोज़ शहरों की कॉलोनियों, गांवों के कुओं और पानी के टैंकरों की लंबी कतारों में लड़ी जा रही है। क्या है इस लड़ाई की ज़मीनी हकीकत? हम उस दौर में जी रहे हैं जहाँ नदियां सिमट रही हैं और ज़मीन के नीचे का पानी (Groundwater) खतरनाक स्तर तक नीचे जा चुका है। गर्मियों के आते ही शहरों में पानी के टैंकरों के पीछे दौड़ते लोग एक आम दृश्य बन गए हैं। कई इलाकों में खेती के लिए पानी नहीं है, जिससे किसानों का संघर्ष दोगुना हो गया है। हम तकनीकी रूप से तो बहुत आगे बढ़ गए हैं, लेकिन प्रकृति के इस सबसे अनमोल संसाधन को सहेजने में हम लगातार पिछड़ रहे हैं। यह लड़ाई किसकी है? यह लड़ाई सिर्फ सरकारों या प्रशासन की नहीं है। यह हम सब की है। जब हम अपनी गाड़ी धोने के लिए या ब्रश करते समय नल खुला छोड़कर बेतहाशा पानी बहात...

इंसान और कुत्ते का अनकहा रिश्ता: वफादारी, प्यार और परिवार

Image
इंसान और कुत्ते का अनकहा रिश्ता: वफादारी, प्यार और परिवार कल्पना कीजिए एक तस्वीर की (An Imaginary Image): एक शांत शाम है, हल्की-हल्की ढलती हुई धूप आँगन में पड़ रही है। एक आदमी ज़मीन पर बैठा है और उसका कुत्ता अपना सिर उसकी गोद में रखकर शांति से आँखें मूंदे हुए है। आदमी के चेहरे पर एक सुकून भरी मुस्कान है, और कुत्ते की आँखों में अपने इंसान के लिए ब्रह्मांड भर का प्यार है। यह सिर्फ एक तस्वीर नहीं है; यह दो धड़कते दिलों के बीच का वह पुल है जिसे केवल महसूस किया जा सकता है।  इंसान और कुत्ते का रिश्ता दुनिया के सबसे पवित्र रिश्तों में से एक है। यह एक ऐसा बंधन है जो शब्दों का मोहताज नहीं होता। इसमें सिर्फ भावनाएं (Emotions), वफादारी और एक-दूसरे के लिए अटूट परवाह होती है। सच्ची दोस्ती और निस्वार्थ प्यार (Friendship & Love) दुनिया में शायद ही कोई ऐसा इंसान हो जो आपको आपकी कमियों के साथ पूरी तरह से स्वीकार करे, लेकिन एक कुत्ता हमेशा ऐसा करता है। आप अमीर हैं या गरीब, सफल हैं या संघर्ष कर रहे हैं—आपके कुत्ते के लिए आप ही उसकी पूरी दुनिया हैं। जब आप थके-हारे घर लौटते हैं, तो दरवाजे पर उ...

Traits का सबसे बड़ा फ़ायदा और सबसे बड़ी चुनौती (Conflict) समझने के लिए यह उदाहरण देखें

Traits का सबसे बड़ा फ़ायदा और सबसे बड़ी चुनौती (Conflict) समझने के लिए यह उदाहरण देखें मान लीजिए हमारे पास दो Traits हैं और दोनों में share() नाम का एक जैसा फंक्शन है। जब हम इन्हें एक ही क्लास में इस्तेमाल करेंगे, तो हमें PHP को बताना होगा कि कौन सा फंक्शन चुनना है। प्रैक्टिकल कोड उदाहरण (Conflict Resolution) <?php trait WhatsApp {     public function share() {         echo "Sharing content via WhatsApp \n";     } } trait Telegram {     public function share() {         echo "Sharing content via Telegram \n";     } } class Post {     // यहाँ Conflict होगा क्योंकि दोनों Traits में share() मेथड है     use WhatsApp, Telegram {         // WhatsApp वाले share को Telegram वाले पर प्राथमिकता दें         WhatsApp::share insteadof Telegram;                  // Telegram वाले share को एक नया नाम (Alias) दें त...

Experience about PHP, Laravel, Prestashop

Experience about PHP, Laravel, Prestashop PHP is a popular server-side programming language used to create dynamic websites and web applications. It is widely used for creating content management systems, e-commerce platforms, social networking sites, and more. PHP is known for its simplicity, flexibility, and scalability, and it is supported by most web hosting providers. Laravel is a free, open-source PHP web application framework used to build web applications. It provides a variety of features and tools to make web development faster and more efficient. Laravel is known for its elegant syntax, ease of use, and clear documentation, making it a popular choice for building web applications. PrestaShop is an open-source e-commerce platform written in PHP. It is designed to help businesses create online stores with ease. PrestaShop provides a range of features, including product catalog management, payment processing, and customer management. It also includes a range of mark...

How to Insert Data in Database using PHP OOPS Classes and Objects

Image
Insert Data into database using classes and object. Create database and table into you localhost server ( phpmyadmin ) Add fields that you require to insert, i'm doing here users related information name, email, contact, gender, education, address. When you done with table we can work on next step. Create a form inside users.php file where we can get information from user to insert into database. Full Name : Email : Contact no. : Gender : Male   Female Education : Select 10th 12th Graduate Post Graduate Address :   Lets create database connection and class inside functions.php for insert operation and function for insert data into database using mysqli_query. define('DB_HOST','localhost'); define('DB_USER','root'); define('DB_PASS',''); define('DB_NAME','demo'); class dbcon { public $con; public function __construct() { $this->con = mysqli_connect(DB_HOST,DB_USER,DB_P...

Step by Step Process For Wordpress Installation on Localhost using Xampp Server

Image
Step by Step Process For Wordpress Installation on Localhost using Xampp Server First download the fresh wordpress zip file by clicking here . and download xampp if you don't have according to your system configuration 32/64 bit by clicking here . After download go to xampp's htdocs folder and create folder with any name and extract your downloaded wordpress zip file there. Go to your favorite browser and run your localhost and go to phpMyAdmin and create new database by clicking on new link on left sidebar with any name and use that database name during installation of wordpress. And for full step follow the given video. If you have any question and error during installation comment me. I will help you to resolve it.

How To Create Your Own Custom Widgets Wordpress

How To Create Your Own Custom Widgets Wordpress Wordpress provide a functionality to create your own custom widgets for this we have function that initilize your widget widgets_init . By using this function you can initilize your custom widget and call them by using dynamic_sidebar('customsidebarwidget') . Let create our own widget function custom_sidebar_widget(){ register_sidebar(array( 'name' => __('Custom Sidebar Widget', 'customsidebarwidget'), 'id' => 'customsidebarwidget', 'description'=> __('Your description about your widget', 'customsidebarwidget'), )); } add_action( 'widgets_init', 'custom_sidebar_widget' ); custom_sidebar_widget it's name of function that you used with widgets_init in Hook i.e. add_action( 'widgets_init', 'custom_sidebar_widget' ) . and inside this function you can describe your widget detail inside re...