Click here to Skip to main content
15,887,776 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionprevent Click Jacking in PHP Pin
Shama Shahzadi20-Sep-11 19:07
Shama Shahzadi20-Sep-11 19:07 
AnswerRe: prevent Click Jacking in PHP Pin
Mohibur Rashid30-Sep-11 21:30
professionalMohibur Rashid30-Sep-11 21:30 
QuestionCurrency Converter using PHP Pin
lovelyMAT20-Sep-11 9:32
lovelyMAT20-Sep-11 9:32 
AnswerRe: Currency Converter using PHP Pin
CodingLover21-Sep-11 21:54
CodingLover21-Sep-11 21:54 
AnswerRe: Currency Converter using PHP Pin
Smithers-Jones22-Sep-11 1:01
Smithers-Jones22-Sep-11 1:01 
QuestionGenerate quotation using FPDF Pin
Shah Rizal13-Sep-11 20:59
Shah Rizal13-Sep-11 20:59 
AnswerRe: Generate quotation using FPDF Pin
Mohibur Rashid14-Sep-11 17:42
professionalMohibur Rashid14-Sep-11 17:42 
GeneralRe: Generate quotation using FPDF Pin
Shah Rizal14-Sep-11 21:54
Shah Rizal14-Sep-11 21:54 
I have no problem with either download or creating the pdf file. The problem is method that i used. I used this code to call dldata.php after i create it.

PHP
$pdf = new PDF();
// Column headings
$header = array('Product ID', 'Product No', 'Product Description', 'Subtotal#39;);
// Data load from the file and it will be=>1;#13,21321;Pencil;$1.00
$data = $pdf->LoadData('dldata.php');


I followed tutorial based on fpdf official website.
Tutorial:
http://www.fpdf.org/en/tutorial/tuto5.htm[^]

Example for dldata.php shape of data:
http://www.fpdf.org/en/tutorial/countries.txt[^]

After load back to the createquotation.php,I destroy dldata.php file. I'm afraid, it will be issue if more than 2 user do this process at the same time. It will be last in,first out. Only The last data store will be appear. Can I just use dldata.php without delete it and call the data without any user can access it by type the url.
GeneralReview of Python Tools for Visual Studio Pin
AditSheth13-Sep-11 20:35
AditSheth13-Sep-11 20:35 
GeneralRe: Review of Python Tools for Visual Studio Pin
Pete O'Hanlon13-Sep-11 22:01
mvePete O'Hanlon13-Sep-11 22:01 
Questionxml to html Pin
AndyInUK13-Sep-11 1:00
AndyInUK13-Sep-11 1:00 
AnswerRe: xml to html Pin
Matt Meyer13-Sep-11 11:19
Matt Meyer13-Sep-11 11:19 
AnswerRe: xml to html Pin
cjoki15-Sep-11 7:31
cjoki15-Sep-11 7:31 
AnswerRe: xml to html Pin
timoteui21-Sep-11 21:18
timoteui21-Sep-11 21:18 
QuestionOpenGL PinPopular
Iranian MM12-Sep-11 5:56
Iranian MM12-Sep-11 5:56 
AnswerRe: OpenGL Pin
TheGreatAndPowerfulOz12-Sep-11 12:32
TheGreatAndPowerfulOz12-Sep-11 12:32 
QuestionMono Pin
Iranian MM11-Sep-11 1:25
Iranian MM11-Sep-11 1:25 
AnswerRe: Mono Pin
fmiboy77711-Sep-11 22:50
fmiboy77711-Sep-11 22:50 
AnswerRe: Mono Pin
TheGreatAndPowerfulOz12-Sep-11 12:34
TheGreatAndPowerfulOz12-Sep-11 12:34 
AnswerRe: Mono Pin
Eddy Vluggen13-Sep-11 8:42
professionalEddy Vluggen13-Sep-11 8:42 
AnswerRe: Mono Pin
thatraja12-Nov-11 18:39
professionalthatraja12-Nov-11 18:39 
Questionlogin script returns blank page Pin
komanche10-Sep-11 2:05
komanche10-Sep-11 2:05 
AnswerRe: login script returns blank page Pin
Gerben Jongerius10-Sep-11 3:56
Gerben Jongerius10-Sep-11 3:56 
GeneralRe: login script returns blank page Pin
komanche12-Sep-11 1:42
komanche12-Sep-11 1:42 
AnswerRe: login script returns blank page Pin
Vasudevan Deepak Kumar10-Sep-11 12:57
Vasudevan Deepak Kumar10-Sep-11 12:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.