4,455 Topics
![]() | |
Please Help me. I am coding PHP using below code but out put is not perfect. i am also attach output picture below. <?php require_once 'core.php'; include_once("../fpdf182/fpdf.php"); $pdf = new FPDF(); $pdf->AddPage(); $pdf->setFont("Arial","B",16); $orderId = $_POST['orderId']; $sql = "SELECT orders.order_id, orders.order_date, customer.customer_name, customer.customer_mobile, orders.sub_total, orders.vat, orders.total_amount, orders.discount, orders.grand_total, orders.paid, orders.due, … | |
$select = "SELECT * FROM `success-stories` where id='$id'"; $result = $conn->query($select); $row = $result->fetch_assoc(); $file = $row["download_pdf"]; $file_arr = explode("/", $file); $path = $file_arr[0] . "/" . $file_arr[1] . "/" . $file_arr[2]; header('Content-Description: File Transfer'); header('Content-Type: application/pdf'); header('Content-Disposition: attachment; filename="' . basename($file) . '"'); header('Expires: 0'); header('Pragma: no-cache'); header('Content-Length: ' … | |
I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the … | |
Hello everyone, I have some problems with my program , hope you can help me to solve it. 1- I need a method for the** Clear Time** button that remove the counter to be 0. ` private void btclearActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: min=0;sec=0; lblsec.remove(lblsec); … | |
I have written a code to generate bar codes and saved them to a pdf file . The code executes successfylly but the PDF file does not open saying giving an error whome picture I am uploading. Please see my code and Picture with the error.  public void createPDF(String … | |
**How to create pdf report in php easily ?** | |
I have a project. People will buy an e-book or pdf file. And the price of it will be only $ 5. Send me a private message if you say I can edit an external home page so people can buy and buy this book. There is no material expectation. … | |
I'm trying to setup the links on this page: http://limitlesshoops.com/levels.html to lead to specific pages within this PDF: https://fiftyallstars.com/a2z.pdf --- I've found I can lead people to whatever page like this: https://fiftyallstars.com/a2z.pdf#page=7 but I'd like to lead them to a page based on Today's date. I've added a few example … | |
**Dear** I have the hyperspectral image --- how to preprocess data need time Traditional CNN cannot be applied to project directly --- it needs a lot of time to test (may be take 3 months) Need to do many experiments to get good result --- especially when compared to other … | |
Logfile of HijackThis v1.97.3 Scan saved at 19:54:12, on 14/10/2003 Platform: Windows XP (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP1 (6.00.2600.0000) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\System32\cisvc.exe C:\Archivos de programa\Archivos comunes\Microsoft Shared\VS7Debug\mdm.exe C:\Archivos de programa\Norton AntiVirus\navapsvc.exe C:\WINDOWS\System32\cidaemon.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\System32\RunDll32.exe C:\Archivos de programa\Iomega HotBurn\Autolaunch.exe C:\Archivos de … | |
In mysql database i created "leave" table: CREATE TABLE `leave` ( `ID_LEAVE` int(11) NOT NULL, `ID_WORKER` int(11) NOT NULL, `BEGIN_DATE` datetime DEFAULT NULL, `END_DATE` datetime DEFAULT NULL ); INSERT INTO `leave` (`ID_LEAVE`, `ID_WORKER`, `BEGIN_DATE`, `END_DATE`) VALUES (1, 26, '2019-03-19 07:00:00', '2019-03-19 15:00:00'), (6, 26, '2019-03-22 07:00:00', '2019-03-25 15:00:00'); "Sickness" table: … | |
Hi i'm Anis. I want to ask how i can attach image from database in FPDF? | |
I need to check the validity of the URL to different files without opening the link document/image. I used the below code in ASP.net 4.7.2 in validation attribute. The current code is as follows : (working fine with jpg) public override bool IsValid(object DocumentURL) { try { string urlLink = … | |
Hi, Hope this makes sense and hope someone can help me. I have a database table with the following columns: person_id, firstname, surname, email_address. Periodically I am given a set of files to send to some of the contacts in the database table. The filenames contain the person_id and they … | |
Hi, Was wondering if anyone had any information on how to create a word document on the client side in Angular? I was using jspdf to create PDF's which was really good but the documents need to be editable so having to look at how to create word documents. I … | |
php-pdf attachment is in wrong format on webmails | |
php-pdf attachment is in wrong format on webmails | |
I am created a homework tutorial webpage where i have to make an image clickable and what I meant is that when the image is click, it should open up a pdf file and that is where iI am having the problems this is what i have tried on numerous … | |
Hi, I do need help with the PDF2Text, as this is my first time doing that function in the practice web PHP project created from Laravel. When I remove the PDF2Text.php controller, the error message controller is not found. When I restore the same file, the error message says class … | |
Hello good people, I am having an issue with including subreports, lists and table datasets in the main report using jasper reports since i want to include two separate sql queries in my report. I am using the same connection to my database for both the main report and the … | |
Im not sure what code to use as I am not that experienced with VBA. No matter what i try i cannot get this macros to stop once it reaches a blank cell in E column. Here is the code: Option Explicit Sub PDFTemplate() Dim PDFFldr As FileDialog Set PDFFldr … | |
Hi, I haven't been on this community forum for quite a while. I have been getting an annoying problem with my file uploads (i.e. pdf documents), to my remote server. The upload_file form was working great for a long time, but just recently it stopped working. The problem there, was, … | |
Hi, I am working on parsing pdf layers from a pdf file into separate images. It was really hard to find an library that does this and now I am digging into iTextSharp which seems like it's handling layers. public static void CreatePDF( string fileName, string destinationFolder ) { PdfReader … | |
Hello, I'm trying to edit existing pdf file. More precisely add new text or replace some text with another text. When i try to replace some text with another the problem is that it simply overlays ontop of the field which is not what I need. I need the text … | |
Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] … | |
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog charges for the new versions, the final version from MicroAPL is available for free at [this page](http://www.dyalog.com/aplx.htm). It comes complete … | |
Hi, I am working on a project to view pdf files online and merge it into single pdf file. For that, I don't know which programming language and tool is best for it. Kindly assist me in this issue. Personally i know PHP very well. So if you know tools … | |
I want to add digital signature into pdf document, with help of php. I have the .pfx digital signature format with me. | |
I often use the Parallel port (D-Sub DB-25 female) of PC to communicate with MCU or a processor card with my unique and self developed software and interface circuit . Now it looks like I've found a functional bug in the USI hardware of AVR ATtiny45/85 MCU. I wanted to … | |
I want to advertise my online shop but I am not entirly sure what the best tools are for that. I was thinking about creating a digital flip magazine where I would display my current/new products and then either embed it in my website and/or send it via mail to … | |
Hello guys, I need a concise explanation of the minimax algorithm... I understand it perfectly when explained with trees but the confusion comes in the code implementation... How do I get to implement depth search using code? I understand that calling minimax follows a recursive pattern but getting the AI … | |
Hello, I am trying to create a sitemap to improve my seo. My site is: www.advance-web-studio.com I create a free sitemap generator through google: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <!-- created with Free Online Sitemap Generator www.xml-sitemaps.com --> <url> <loc>http://www.advance-web-studio.com/</loc> <lastmod>2018-02-20T14:48:27+00:00</lastmod> <priority>1.00</priority> </url> <url> <loc>http://www.advance-web-studio.com/public/innovation_book.pdf</loc> <lastmod>2017-08-04T06:56:36+00:00</lastmod> <priority>0.80</priority> … | |
Hi, I got a project to load a pdf into a picturebox in vb6. How do I handle that? Is there anyone who sell that .ocx? is there anyway to do it? Thanks | |
The present code snippet just does an especific task. This is, given an ordered sequence of natural numbers, starting at zero, generate all the different permutations there can be. When we talk about permutations, the order of the sequence does matter. So, the sequence 0, 1, 2 differs from 2, … | |
I have a PDF form that I created in Adobe and made it fillable. I was able to upload it to the website. The problem is the submit button does not work. What should I do? | |
Generally speaking, when it comes to being as secure as possible (and, just as importantly, staying as secure as possible) newer is better. This is certainly the case if we are talking mobile operating systems such as Android and iOS. As of the start of March 2017, according to [Apple's … | |
I want to attach two excel files (sealing_production.xls & sealing_assembly.xls)to my email using php,but I have no idea on how to do it. **Problem** When I click on my send mail button, I gets the mail. with all details. but attachment is not working. **Try** I echo the file name, … | |
# Am looking for best practises of displaying document info in tkinter messagebox from tkinter import * from tkinter import messagebox def profile(): messagebox.showinfo("info","college\tNew student\tGraduating students\noak institue\t202\t210\nPine college\t143\t121") root =Tk() root.geometry("200x200") C = Button(text="copyright",command=profile).pack() root.mainloop() #I think if am going to type all the info in the document the arrangement … | |
Following the recent ransomware attacks that leveraged the WannaCrypt0r malware and NSA-developed EternalBlue vulnerability exploit, there was [plenty of advice](https://happygeek.com/?p=812) that backup, backup, backup was the best mitigation. Data backups are, of course, an important part of any business continuity strategy. However, what happens when your backups are also encrypted … | |
hello everyone [{ "uid": "BR-M12068", "registeredDate": "Thursday May 11th 2017 03:56:37 PM", "file_path": "BR-M12068.pdf", "file_thumbnail_path": "BR-M12068thumb.png", "test_type": "Free", "title": "Medical Bills", "createdAt": "Thursday June 29th 2017 05:02:19", "chkTime": "Thursday June 29th 2017 05:01:53 PM", "chkoutTime": "Thursday June 29th 2017 05:02:29 PM" }, { "uid": "BR-M12068", /// first data "registeredDate": "Thursday … | |
Good Morning.. I Stored an pdf file to varbinary field in Sql Server successfully and retrieved is as it is but my problem is during retrieve i have to put some watermark on it , for that i tried fpdf methods but it didnt parse it so please help me … | |
The goal of this project is to create a dll that will take in employee and employer information then return W2(s) in pdf form. Then the main program will cycle through them and email/print. Currently, the program is adding the SSN and the edited pdf to a dictionary and returning … | |
Output PDF is overwrite, please solve this. advanced thanks <?php require('mysql_table.php'); class PDF extends PDF_MySQL_Table { function Header() { //Title $this->SetFont('Arial','',18); $this->Cell(0,6,'World populations',0,1,'C'); $this->Ln(10); //Ensure table header is output parent::Header(); } } //Connect to database mysql_connect('localhost','root',''); mysql_select_db('pro'); $pdf=new PDF(); $pdf->AddPage(); //First table: put all columns automatically $pdf->Table('select * from products'); … | |
hi..so i am facing problelm how to upload data on my websites in which format (.pdf,etc) should upload data and how to do it. | |
Guys,I have my table data ,I want to retrieve them to pdf file using php,The problem is,when I use 'where condition' in a select statement, I do not receive any data,but when I do not use ,I get data from one row from the database table.Any help please!! <?php session_start(); … ![]() | |
Hi guys, I'm looking into the possibility of writing some javascript (or using an API of course) to be able to search a collection of PDFs and return the results in a Json format for processing (mainly displaying them back to the user). I've played around a little bit with … | |
Hi! Anyone can help please? I am searching around like crazy to make this work but no luck... There are allot of articles with some solutions but nothing works for me... Here is my code <?php require_once('../tcpdf/config/lang/eng.php'); require_once('../tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, … | |
Hello all, I am facing some problem what i have now is there are images render in a div and and there anchor tag inside div when user clicks on image an overlay screen will open where i have to display pdf files i have used TouchPdf plugin now what … |
The End.