The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 5138 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 5138 header
/global.php 37 send_page_headers
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 395 my_setcookie
/inc/class_session.php 116 session->load_guest
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 400 my_setcookie
/inc/class_session.php 116 session->load_guest
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 123 my_setcookie
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/functions.php 2396 my_setcookie
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 682 mark_thread_read
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/functions.php 2396 my_setcookie
/inc/functions_indicators.php 255 my_set_array_cookie
/inc/functions_indicators.php 47 mark_forum_read
/showthread.php 682 mark_thread_read




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Create a url shortener site using Php

Googleplus Pint
#1
আসসালামু আলাইকুম আমি facebook.com/bdyousufctg আমি প্রযুক্তি কে ভালোবাসি তাই আসক্তি টাউ অনেক বেশি।

আমি আপনাদের শেখাবো কিভাবে নিজের একটি লিনক শর্ট করার সাইট বানাতে হয়।

আমরা যে স্ক্রিপ্টের সাহায্যে এটা করবো সেটা হলো “Yourls”।
যা যা প্রয়োজন
১. Php সমৃদ্ধ সার্ভার

২. MySQL ডেটাবেস সুবিধা

৩. একটি ডোমেইন বা সাব-ডোমেইন

৪. Yourls স্ক্রিপ্ট ( ডাউনলোড করুন)
ইনস্টলেশন
১. প্রথমেই আপনার হোস্টিং প্যানেলে যেয়ে স্ক্রিপ্টটির জন্য একটি ডেটাবেস তৈরী করুন।

২. এবার ডাউনলোড করা Yourls স্ক্রিপ্টের zip ফাইলটি extract করুন।

৩. এবার extract কৃত ফোল্ডারের admin ফোল্ডারে যান ও config-sample.php ফাইলটি Notepad এ ওপেন করুন।

৪. এখানে অনেকগুলো কোড দেখতে পাবেন।

এগুলোর ভ্যালু আপনার সার্ভারের মান দিয়ে রিপ্লেস করুন।
কি কি রিপ্লেস করতে হবে তার একটি তালিকা

দেয়া হল
Values এখানে লিখতে হবে

*dbuser আপনার database user name…

*dbpassword আপনার database user password…

*yourls আপনার database name…

*localhost আপনার database Host Name…

*http://site.com আপনার wesites address…

*username আপনার Admin username…

*username2 আপনার Admin2 username…

*password আপনার Admin password…

*password2 আপনার Admin2 password…
এগুলো পাল্টাতেই হবে, তাছাড়া আরো কিছু পাল্টাতে পারেন।

৫. এবার ফাইলটি সেভ করুন ও ফাইলটি config.php তে রিনেম করুন ।

৬. এবার extract কৃত ফোল্ডারে আসুন ও sample-public-front-page.php.txt কে index.php তে রিনেম করুন । এটি আপনার হোমপেজ হবে তাই চাইলে এখানে কিছু পরিবর্তন

করতে পারেন যেমন Website Title, Head, ইত্যাদি।

৭. এবার এই ফোল্ডারের কমপোনেন্টগুলো নিয়ে একটি zip ফাইল বানান। অর্থাৎ এটি extract করলেই যাতে admin ফোল্ডার , index.php ফাইল সহ অন্যান্য ফাইল-ফোল্ডার গুলো দেখা যায়।

৮. এবার এই নতুন zip ফাইলটি আপনার হোস্টিংয়ে আপলোড ও extract করুন।

এবার ওয়েব ব্রাউজারে সাইটটি ভিজিট করুন।

সব ঠিক থাকলে এখানে আপনার ইউআরএল শর্টেনার সার্ভিসটি দেখতে পাবেন। তা না হলে প্রতিটি স্টেপ আবার চেক করুন। নিরাপত্তার জন্য install.php ফাইলটি মুছে দিতে পারেন।


Attached Files Thumbnail(s)
   
Reply
#2
বাহ ! সুন্দর জিনিষ। ট্রাই করে দেখব। শেয়ার করার জন্য ধন্যবাদ Smile
সাব এডিটর pest control services
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Hot] কিভাবে forum.likebd.com এর মত ফোরাম সাইট তৈরি করবেন [Part-1] Hasan 6 5,653 10-08-2017, 01:20 AM
Last Post: タ タ
  [Exclusive] কেউ এই সাইটের স্ক্রিপ্ট দিন প্লিজ... টিউটোরিয়েল সহ.... rjmister24 3 5,551 08-28-2017, 03:13 PM
Last Post: Hasan
  ওয়েব ডেভেলপমেন্ট এর ভবিষ্যত এবং ফ্রিল্যান্সিং এ ক্যারিয়ার Maghanath Das 0 3,460 02-19-2017, 07:16 PM
Last Post: Maghanath Das
  PHP ইমেইল পাঠানোর স্ক্রিপ্ট Maghanath Das 1 3,126 02-19-2017, 04:08 PM
Last Post: Piom Kumar
  সবচেয়ে বেশি দামে বিক্রি হওয়া ১০টি ডোমেইন Maghanath Das 0 2,630 02-19-2017, 04:05 PM
Last Post: Maghanath Das
  আপনার ওয়েবসাইট থেকে কপি-পেস্ট বন্ধ করে দিন Maghanath Das 0 2,575 02-19-2017, 04:03 PM
Last Post: Maghanath Das
  পিএইচপি Hasan 0 21,719 01-09-2017, 11:43 PM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 1 Guest(s)