How to Generate Dynamic Certificate in PHP

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 345

  • @_theshashwat_
    @_theshashwat_ 4 роки тому +4

    Mai kal yek website me aise certificate wala form dekha aur certificate banaya aur phir maine socha ki ab youtube me kya search karu is tarah apne website me banane k liye yahi abhi soch rha tab apki video ki notifation agayi aise bahut bar hua hai jisko mai banana chahta hu, AAP JAISE mera man hi padh lete ho usi ka videos bna dete hai
    THANKU

  • @rivagupta5449
    @rivagupta5449 4 роки тому +2

    Vishal Sir ab toh subha uthne ke baad bus yahi wait hota hai ki aapka video kab aayega or apke video ka notification aate hee smile aajati hai ki aaj kuch naya sikhne ko milega or wo mil jata hai. Thank you Sir for making our life blessed

  • @ashishgujjr903
    @ashishgujjr903 4 роки тому +6

    Sir Ji bahut hard. Aapka explain karne ka tarika bahut acha hai. Sab samaj aa jata hai. Lagta hai php toh bahut easy hai. Thanks a lot Sir ji

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      Thanks a lot Ashish

    • @unnativarshney4057
      @unnativarshney4057 4 роки тому +1

      hey u do this suceesfully

    • @unnativarshney4057
      @unnativarshney4057 4 роки тому +1

      plzzz help me

    • @rumaakter1715
      @rumaakter1715 3 роки тому

      Is any one helo me. When i written the code perfectly. But when i open it in the browser its shown small box size Picture. Not the expected output.. What would the problem.. Please can any one find where is i done wrong.

  • @paragsharma1922
    @paragsharma1922 4 роки тому +1

    Thank you so much Sir, Sir aap ke jaise UA-cam pe explain karne wala maine koi nahi dekha. Thank you Sir,

  • @ashishprajapati1922
    @ashishprajapati1922 4 роки тому +2

    Nice video sir 👌👌👌👌👌

  • @isabellasmith5801
    @isabellasmith5801 4 роки тому +4

    I have just 1 word for you Vishal Sir and that is outstanding, I wish I know your language, You are doing great job for society, Please start some series for JS like react or angular.

  • @Share_Market_with_M_Sharma
    @Share_Market_with_M_Sharma 4 роки тому +1

    Vishal ji you are the world best teacher.

  • @rks1509
    @rks1509 4 роки тому +1

    Very well explained sir. Aap bahut hi simple aur aasaan tareeke se samjha dete h. Bahut badhiya. Your channel has everything I need.❤️

  • @DigiSevak
    @DigiSevak 4 роки тому +1

    tum bahot mast kam karta hai vishal sir - very informative content!

  • @msa_1439
    @msa_1439 2 роки тому +2

    As Overseas students, We Would like The English Version of This Wonderful tutorial

  • @brakfoundation8237
    @brakfoundation8237 Рік тому

    sir, I need your help, my codes are not functioning for the dynamic certificate downloading... in pdf format...

  • @kbrawat
    @kbrawat 4 роки тому +1

    you are great sir !
    I have no words to praise you. May god bless you !

  • @pawanagarwal4513
    @pawanagarwal4513 4 роки тому

    bahut accha, aapke video hamehsa motivate kartay ha ...

  • @shyamalnath9992
    @shyamalnath9992 Рік тому

    Very useful content. Thank you so much sir 😊

  • @manasmathematics
    @manasmathematics 4 роки тому +1

    Great
    I'm eagerly waiting this video

  • @asifalimca.2011
    @asifalimca.2011 Рік тому

    Thanks for the video when i am trying to generate certificate name an date is displaying on certificate on localhost and when i am uploading code on server name and date not showing while gd library is enabled.

  • @mathsforclass11
    @mathsforclass11 8 місяців тому

    How can we download the generated image by php to user's device, sir? Can you please help me out of that?

  • @deepakkumarverma6282
    @deepakkumarverma6282 3 роки тому +2

    Sir, First of all thank you so much for this awesome video tutorial. But we face text positioning issue the position of text vary on different length of texts. Sir please resolve this problem and make the text always center of the image.

  • @paragsharma1922
    @paragsharma1922 4 роки тому +2

    OMG Dislike kaise kar sakta hai koi ye video ko. Pata nahi kaise log hai, is duniya main. Waise sahi baat hai, Log Sachin Tendulkar Sir ko bhi bura boalte hain toh aap ka video bhi dislike kar sakte hain, Sachin Sir mere lite cricket ke bhagvan hain or aap Technology main mere bhagvan hain. :)

  • @codedheart
    @codedheart 4 роки тому +3

    Thank you sir😍

  • @zakariahossain2857
    @zakariahossain2857 10 місяців тому

    Excellent video, sir please give a video on how to extract text and images from PDF and insert them into automatic ID card template.

  • @ManojKashyap-ow8mw
    @ManojKashyap-ow8mw 3 роки тому

    i have a dobt that you are saving cert in the folder
    is it possible when you are displaying the cert can you download from browser when you display the cert
    ?

  • @jeelkarkar1952
    @jeelkarkar1952 2 роки тому

    hello sir ek admisstion form banana he or requritment ye he ki ek photo and yase background me bydefual ana chahiye

  • @rahilbanerjee44
    @rahilbanerjee44 4 роки тому +2

    Very informative, thanks for the video, waiting for your next video and thanks in advance 👍

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Thanks Rahil. Next video will be out tomorrow morning about certificate convert to PDF and sent email to user

  • @jamalhossain2653
    @jamalhossain2653 3 роки тому

    Thanks Sir,
    From Bangladesh.

  • @letme4931
    @letme4931 2 роки тому

    Hello,
    Can i insert certificate in sql for users after created ?

  • @jigneshraval9902
    @jigneshraval9902 4 роки тому +1

    Thanks you sir your method is very nice

  • @danishrajvala9684
    @danishrajvala9684 3 роки тому +1

    Sir, I'm getting the name from the user through a form but whenever the name becomes longer it gets offset on the image so what should I do to keep it in the center always?

  • @avirupmondal4480
    @avirupmondal4480 4 роки тому +1

    Awsome technique sir thank you

  • @mirirshad8133
    @mirirshad8133 Рік тому

    Can u add certificate number that can be VARIFIED online

  • @Vkb6698
    @Vkb6698 2 роки тому

    Hi sir . How to add multiple text in certificate using gd library

  • @arnav5year
    @arnav5year 9 місяців тому

    Dear sir good morning can we use the qr code image on this certificate

  • @StudyShades
    @StudyShades 2 роки тому

    Can u please let me know that how a user can instantly download it

  • @jagdishchaudhari8661
    @jagdishchaudhari8661 2 роки тому

    Very well explained sir. but i need submit information through form & show certificates with download Certificate button option below Certificate image. how is it?

  • @queenbella1057
    @queenbella1057 4 роки тому

    Sir kaya hum is ko wordpress main lay kar a sakty hain aur edit ho jye ga

  • @istiakahammad7074
    @istiakahammad7074 4 роки тому

    Sir keya aice nahi hosakte ke agar hum submit button pe click korta ho to certificate browser me hi show honge

  • @wasss3745
    @wasss3745 2 роки тому

    That is really good from PH

  • @vikasmishra218
    @vikasmishra218 3 роки тому

    is this code is supportable in php7.3?

  • @shanilpatil3176
    @shanilpatil3176 4 роки тому

    Vishal ji database se naam lete vakt o marathi / hindi ya other indian language me save ho to image pe display barabar nahi hota, uska kya solution hoga ?

  • @abuseenaschool3548
    @abuseenaschool3548 4 роки тому +1

    Great great teaching

  • @pvcool123
    @pvcool123 4 роки тому +1

    Thank you sir...i want this video.. thank you sir

  • @kumarrohit700
    @kumarrohit700 Рік тому

    Sir aap font kaise add kar rahe ho mai add nhi kar pa raha hu and codeigniter 4 php me dono please bataye

  • @ravimourya1341
    @ravimourya1341 3 роки тому

    Thank you vishal sir.❤️

  • @kumarrohit700
    @kumarrohit700 Рік тому

    Sir one question hai mere ye photo pe Text write hone ke bad auto download ho Jaye fir index redirect ho Jaye ye kaise ho Kyo ki path hame mil nhi raha haj to download kaise hoga auto please reply me sir please 🙏🏼

  • @MrJyotiarjun
    @MrJyotiarjun 8 місяців тому

    But If The Name Has Too Much characters Long then how to fix it dynamically

  • @darakhshan2697
    @darakhshan2697 3 роки тому +1

    Sir, I follow your video but my browser does not show certificate image , instead of this, it shows a too small box like image. Can someone help me to resolve this?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому +1

      Use font file full path

    • @darakhshan2697
      @darakhshan2697 3 роки тому

      @@ProgrammingwithVishal Thank You sir

    • @ChandanBV
      @ChandanBV 3 роки тому

      @@ProgrammingwithVishal when i run your same file its showing me same small box like image

  • @awara_zindagi_69
    @awara_zindagi_69 4 роки тому +1

    Great video...
    Can we make desktop application using php

    • @AmitGupta-ck5tj
      @AmitGupta-ck5tj 4 роки тому

      Bro php is servers side scripting language so we cannot make desktop applications using php

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +2

      Danish/Amit you can create desktop applications with PHP. But you required some third party software for this,

    • @AmitGupta-ck5tj
      @AmitGupta-ck5tj 4 роки тому

      @@ProgrammingwithVishal thanks sir for valuable information mujhse laga php only browsing ka kaam karta hai

    • @awara_zindagi_69
      @awara_zindagi_69 4 роки тому

      @@ProgrammingwithVishal can you please explain
      Or make a video on this topic
      Or you can send me notes of this topic at danishpraza@gmail.com
      It will be great thankful for you

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Yes, will do a video soon

  • @veedfriendforever5990
    @veedfriendforever5990 3 роки тому

    or jab y code server pr jaega tab kon sa path dena hai kyun ki waha per ye code nhi chal rha hai mean text add nhi ho rhe hai image pr local me hone lage hai server me full path kede denge. please help

  • @chandansbangre
    @chandansbangre 4 роки тому

    How do i implement the above in a Wordpress plugin where the image is stored in media lib after creation?

  • @Entertainment-sh4ew
    @Entertainment-sh4ew 4 роки тому

    awesome sir i always wanted to use GD library in php , sir i am facing issue in learning laravel framework and in the entire youtube no tutorials are good to understand so please sir make laravel series ASAP.

  • @vikAsh-ie3us
    @vikAsh-ie3us 4 роки тому +1

    Very informative video

  • @rikkyvish456
    @rikkyvish456 2 роки тому

    How can I insert image also in certificate image ??

  • @AmanShah-dy6uw
    @AmanShah-dy6uw 7 місяців тому

    Not working on live server, please make complete video for live server, i try gd library also

  • @ziaullah1902
    @ziaullah1902 4 роки тому

    Great work by great person thank u sir

  • @veedfriendforever5990
    @veedfriendforever5990 3 роки тому +1

    sir save ho rahi hai file but browser pr nhi aa rahi hai ek chota sa icon aa raha hai and saved image me jo Text print krna tha wo bhi print nhi ho rha hai mene aap ka hi code download kr ke run kiya but wo image per text nhi likh raha hai. please help.

  • @debanjandey3267
    @debanjandey3267 4 роки тому

    could not find font in f:/xampp/htdocs/php/index.php on line 10 .............. aisa warnig aa rha hai

  • @dastgirakhtar9782
    @dastgirakhtar9782 4 роки тому +2

    Jhakas

  • @zahoorahmed1448
    @zahoorahmed1448 2 роки тому

    how can do work on gif images and write text on that

  • @1966naresh
    @1966naresh 2 роки тому

    Good Work Sir But I Muje kahna he ki ham name ko center se kaise start kare? kyu ki angle se use bar bare badlana padta he app ne likha he Vishal Gupta to bad me use thik kiya agar app Vishal likhte ho to vo to left me chala jayega har student ka name alag alag sa hota he to mera matala he ke use center se start karke dikho or ek bat hum us per immage bhi kaise la sakte he .. Reply avsya karna ji ... Have a nice day Ahead

  • @chrakesh5181
    @chrakesh5181 2 роки тому

    Very Useful Video Sir.
    Please explain how to use user required certificate i.e.,
    First create a Page which contains certificate models, when we select a certificate model the text should appear on that selected certificate....
    Please help sir..
    Also how to wrap text...if text size is big..

  • @rivagupta5449
    @rivagupta5449 4 роки тому +1

    Once again thank you so much sir for this wonderful video. Just abhi complete kiya. Mujhe bus ye samaj nahi aata koi ye video ko dislike kaise kar sakta hai. Pagal hai log

  • @AMIRKHAN-si1te
    @AMIRKHAN-si1te 3 роки тому

    Great job.
    but i got error that the image not displayed because it has errors.
    every time i get this error . I changed lots of pictures but still this out put.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому

      Use font full path

    • @AMIRKHAN-si1te
      @AMIRKHAN-si1te 3 роки тому

      @@ProgrammingwithVishal thanks sir.
      There was a mistake in parameters of one method i solved that.
      Thanks.
      Be Success

    • @alleefattah8045
      @alleefattah8045 5 місяців тому

      @@ProgrammingwithVishal Also did not work it shows black screen with image thumb

  • @ChandanBV
    @ChandanBV 3 роки тому

    sir im trying this but getting a too little blank white image.

  • @ajaynautiyal1345
    @ajaynautiyal1345 4 роки тому +1

    Nic sir.
    If I want this certificate as pdf while click on user table download list. Thn what will be do?

  • @roheel1983
    @roheel1983 4 роки тому

    Hi Vishal, can you please advice how i can use this code in wordpress with input form to take name and email. thanks

    • @roheel1983
      @roheel1983 4 роки тому

      even with the same code i am unable to load the certificate, its showing me nothing ,just smal white outline box with black background is there. please help, thanks

  • @arifdevcoding
    @arifdevcoding 4 роки тому +2

    you really saved me, my friend. thanks

  • @dabhikrishna5575
    @dabhikrishna5575 4 роки тому

    How to create sub categories menu in e commerce website?????

  • @rumoncontent
    @rumoncontent 4 роки тому

    If I want to create a system where people will input their data online and admin will issue the certificate and mail then what will be the process?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Please check part2.
      ua-cam.com/video/oinWXAbHK74/v-deo.html

    • @rumoncontent
      @rumoncontent 4 роки тому

      @@ProgrammingwithVishal When I am putting header than its showing a black screen with a small white box instead of the image. I have tried in xampp and web server. Cant find the reason. Any idea why this is happening?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      Comment your header and check the error

    • @rumoncontent
      @rumoncontent 4 роки тому

      @@ProgrammingwithVishal I solved it. IT was not the header. It was the font path. I had to use the full path for the font.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      I know. If you comment your header only then you will get the font error. That why I said to comment header.

  • @keshavkunthe
    @keshavkunthe 3 роки тому

    Awesome Video 👍👍👍

  • @deepaknautiyal3621
    @deepaknautiyal3621 3 роки тому

    making header as comment....it is displaying error : ==> Warning: imagettftext(): Could not find/open font in C:\xampp\htdocs\DREAMS\diploma_format.php on line 19; This type error is displaying as I have tried other fonts coping there in current folder.

  • @AmitGupta-ck5tj
    @AmitGupta-ck5tj 4 роки тому

    Sir jee wordress ki dabase ki complete video wp_termmeta and wp_post_meta ki retrieve karne ki videos banegee ki nhi.?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      give me your email id I will send you code.

    • @AmitGupta-ck5tj
      @AmitGupta-ck5tj 4 роки тому

      @@ProgrammingwithVishal ok sir coolamitgupta009@gmail.com please sir comment ke sath explain bhi kar dena sir

  • @amjadawan4150
    @amjadawan4150 4 роки тому

    sir i didnt get $file=time()."_".$row[' id']; ................... what does time() show ?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      It will give you a seconds from 1st January 1970 to till the time you hit the file

  • @KaushalJain-yo7wj
    @KaushalJain-yo7wj 2 роки тому

    Sir, is there any way to extract data from a CSV FILE & then download certificates in bulk?

    • @krishnareddy6792
      @krishnareddy6792 2 роки тому

      by querying line by line of csv
      render the images by passing the arguments
      then save it

  • @anshumangaikwad9850
    @anshumangaikwad9850 4 роки тому

    Sir, already humare Paas jo form rehta hai, hard copy wala(kousa bhi), woh pura form html me kaise design karte he? Users se data leke, uski blank fields kaise fill karte hai? Blank fields fill karke us form same format me pdf me kaise convert kargene?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      Database se data retrive karke form ka html banao or PDF main convert karne ke liye, check below video
      ua-cam.com/video/pXyAVWdck7c/v-deo.html

  • @amitkumarbiswas6597
    @amitkumarbiswas6597 4 роки тому

    Sir imagettftext Kam nehi Kar ra hay... Warning dikhara hay imagettftext(): could not find/open font in C:\xampp.....

  • @AVDHESHKUMAR-iv6iq
    @AVDHESHKUMAR-iv6iq 4 роки тому +2

    Great work and your explanation trick is amazing can you provide a video about school fees management system in php

  • @abhimanyusinghdangi5063
    @abhimanyusinghdangi5063 3 роки тому

    Sir kindly please tell us how to text center, auto justify set, because I mention the big college name so out of certificate format like this big college name etc. I want to make multiple institution certificate. Regards Abhimanyu

  • @vikaskashyap3924
    @vikaskashyap3924 4 роки тому

    Sir I couldn't found gd library in xamp .and I also install the latest one .but the problem is there .I'm not able to enable it sir. Sir if you don't I'll give you any desk.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      GD library default available on xampp. When u r runing my code are u getting any error?

    • @vikaskashyap3924
      @vikaskashyap3924 4 роки тому

      @@ProgrammingwithVishal the image cannot be displayed because it contains errors..

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      What error?

    • @vikaskashyap3924
      @vikaskashyap3924 4 роки тому

      @@ProgrammingwithVishal the image "local host/demo/index.php" cannot be displayed because it contains errors.

  • @beingshanal
    @beingshanal 4 роки тому

    Sir jts osm...please ye btaiye ki isme student ki image b lagani hai..plz rply fast image k liye kon sa function hota hai

  • @alvinpratama2817
    @alvinpratama2817 3 роки тому

    sir, why it doesn't work on me? and i can click 'view page source' when open the php file

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому

      use font full path

    • @alvinpratama2817
      @alvinpratama2817 3 роки тому

      @@ProgrammingwithVishal how? change the font variable? but if i delete the imagettftext, it works fine.

  • @mispasolutions2078
    @mispasolutions2078 2 роки тому

    How to insert generated image into MySQL database based on student ?

  • @DEEPAKSHARMA-lt6yc
    @DEEPAKSHARMA-lt6yc 4 роки тому

    Full font path????
    C drive font folder or where xammp install kaun sa path lena h
    Please help me out..

  • @co-host7758
    @co-host7758 4 роки тому

    can we add qrcode to this certificate using php?

  • @chandandubey7280
    @chandandubey7280 4 роки тому

    imagettftext(): Could not find/open font in C:\xampp\htdocs\test\script1.php on line 10 showing this error

  • @avirupmondal4480
    @avirupmondal4480 4 роки тому +1

    sir i am facing a problem in this project with the font. I am getting an error as this :
    Warning: imagettftext(): Could not find/open font in C:\xampp\htdocs\certificate\form_certificate.php on line 7
    can you please help me with this

  • @ckoba-h9j
    @ckoba-h9j 3 роки тому +1

    Many Thanks!!!!! :)

  • @rooh332
    @rooh332 3 роки тому +1

    Thanks, Sir

  • @ashishaggarwal2595
    @ashishaggarwal2595 4 роки тому

    how can we generate certificate & record the form data in excel same time

  • @Rajkumarpandey95
    @Rajkumarpandey95 3 роки тому

    Sir agar hme isme QR Code add krna ho to vo kaise hoga

  • @mdminhajuddin6646
    @mdminhajuddin6646 2 роки тому

    I am doing the same everything is ok but your code is not work on live server

  • @Khapa123
    @Khapa123 Рік тому

    Imagettftext() replied with could not find /open file

  • @robinsaifullah6692
    @robinsaifullah6692 3 роки тому

    Vishal Sir u r just awesome,last few day ago i face this problems and ur this video solve my problems. whan First time i faced this problem so i think i should share my experience. i get an error which is image is not displayed .So i go to php.ini file and remove the semicolon before "extension=gd" and save then restart my xampp. and my problem is solved.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому +1

      Right. Actually now days it's already enabled in localhost and server. If u have old version then u need to enable this

  • @masum.ahammed
    @masum.ahammed 2 роки тому

    not working in php8.1

  • @shreshapatel7460
    @shreshapatel7460 4 роки тому

    Sir mene ye code mete template. E use kiya to baki sab run huva but browser par display nai ho raha jab submit button par click krte heto
    Extension change hojata he and vo support nai krta browser ko

  • @sritech-solutions
    @sritech-solutions 2 роки тому

    sir that is not working for me
    please clarify the problem

  • @webali2358
    @webali2358 Рік тому

    How can i contact you sir?

  • @VijayaLakshmi-jr8cf
    @VijayaLakshmi-jr8cf 6 місяців тому

    jpg file not support windows 11
    what can i do

  • @bishnupokhrel1592
    @bishnupokhrel1592 3 роки тому

    sir how to insert photo from database inside certificate?

  • @_theshashwat_
    @_theshashwat_ 4 роки тому

    Sir mujhe yek php program banana hai ki jaise yek image select ho aur database se usko face milaye agar face mila to uska naam aaye jiski image ho,
    image har bar alag ho sakti hai bas php ko face match karna hai data base me yek log ki 4 ya 5 image face detect karne k liye dal de
    Aisa ban sakta hai php program

  • @abdulwadoodkhan826
    @abdulwadoodkhan826 3 роки тому

    i got that error first comment header file then run the code and check that error if error belongs to image then change that image or use same image as that is used by vishal sir
    if error belongs to font then change the path like $font='C:\xampp\htdocs\generat_Certificate\font\CURLZ___.TTF'