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

[Code] তৈরি করুন javascript Random image লিংক

Googleplus Pint
#1
এখন আপনি যেকোনো এড এর মতো আপনিও নিজেই এড পিকচার বানাতে পারবেন, যেটা এড সো এর মতই browser রিফ্রেশ করলে প্রতিবার আলাদা আলাদ পিকচার আসবে, এবং আপনি সেই একাকটা পিকচারে একাক রকম নিদিষ্ট লিংক দিতে পারবেন।

আপনি নিচের javascript কোডটাতে মোট ৬ টা ছবি এবি ৬ টা লিংক দিতে পারবেন। এবং এই কোডটি আপনার ওয়েবসাইটে পেস্ট করলে সেটা এড সো এর মতো দেখাবে, এবং প্রতিবার browser রিফ্রেশ করলে প্রতিবার আলাদা আলাদা ছবি আসবে।

তো নিচ থেকে কোডটি কপি করেনিন

Code:
<script language="JavaScript">
<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="http://asikurbd.xtgem.com/ad/2.jpg"
myimages[2]="http://asikurbd.xtgem.com/ad/1.jpg"
myimages[3]="http://asikurbd.xtgem.com/ad/Abc24.jpg"
myimages[4]="http://asikurbd.xtgem.com/ad/2.jpg"
myimages[5]="http://asikurbd.xtgem.com/ad/1.jpg"
myimages[6]="http://asikurbd.xtgem.com/ad/ad.jpg"

//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="http://bdyousufctg.blogspot.com"
imagelinks[2]="https://archive.org/download/bdyousufctg/app259895.apk"
imagelinks[3]="https://www.youtube.com/channel/UCypjy9uoWMWs6YpqQMIAvMg"
imagelinks[4]="https://facebook.com/bdyousufctg.blogspot.in"
imagelinks[5]="https://facebook.com/Bdnews24-1846233279036074"
imagelinks[6]="http://bdyousufctg.blogspot.com"

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}
random_imglink()
//-->
</script>

এই কোডটিতে আপনি আপনার ইচ্ছা মতো ইমেজ লিংক + সাইট লিক দিয়ে সেভ করতে পারবেন।

ধন্যবাদ।
create by bdyousufctg
★★★আল্লাহ হাফেজ★★★
Reply
#2
nc post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  এবার জাভা ফোনেও পিসির মতো Refresh ব্যবহার করুন,আর ফোনকে রাখুবন ফাস্ট Maghanath Das 0 3,271 02-19-2017, 07:11 PM
Last Post: Maghanath Das
  জাভাস্ক্রিপ্ট Hasan 1 3,706 01-09-2017, 11:59 PM
Last Post: Test

Forum Jump:


Users browsing this thread: 1 Guest(s)