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

Linux, Apache, MySQL, PHP

 
Questionhow to copy Pin
udch10-May-10 20:36
udch10-May-10 20:36 
AnswerRe: how to copy Pin
Marc Firth10-May-10 22:03
Marc Firth10-May-10 22:03 
AnswerRe: how to copy Pin
Peace ON17-May-10 3:43
Peace ON17-May-10 3:43 
GeneralRe: how to copy Pin
udch17-May-10 5:26
udch17-May-10 5:26 
AnswerRe: how to copy Pin
Peace ON17-May-10 21:20
Peace ON17-May-10 21:20 
AnswerRe: read/write functions working Pin
Richard MacCutchan10-May-10 3:56
mveRichard MacCutchan10-May-10 3:56 
GeneralRe: read/write functions working Pin
rupeshkp72810-May-10 21:14
rupeshkp72810-May-10 21:14 
Questionone more question about the deploying apps in Linux server Pin
alexyxj4-May-10 10:52
alexyxj4-May-10 10:52 
AnswerRe: one more question about the deploying apps in Linux server Pin
markkuk4-May-10 23:00
markkuk4-May-10 23:00 
GeneralRe: one more question about the deploying apps in Linux server Pin
alexyxj5-May-10 7:49
alexyxj5-May-10 7:49 
Questionhelp for deploying a PHP web application in a Linux server Pin
alexyxj3-May-10 10:25
alexyxj3-May-10 10:25 
AnswerRe: help for deploying a PHP web application in a Linux server Pin
alexyxj3-May-10 11:28
alexyxj3-May-10 11:28 
AnswerRe: help for deploying a PHP web application in a Linux server Pin
markkuk3-May-10 11:51
markkuk3-May-10 11:51 
GeneralRe: help for deploying a PHP web application in a Linux server Pin
alexyxj3-May-10 12:19
alexyxj3-May-10 12:19 
GeneralRe: help for deploying a PHP web application in a Linux server Pin
markkuk4-May-10 22:50
markkuk4-May-10 22:50 
Questionrecursive array search Pin
nhsal692-May-10 23:37
nhsal692-May-10 23:37 
AnswerRe: recursive array search Pin
fly9043-May-10 1:23
fly9043-May-10 1:23 
GeneralRe: recursive array search Pin
nhsal693-May-10 1:27
nhsal693-May-10 1:27 
GeneralRe: recursive array search Pin
fly9043-May-10 1:36
fly9043-May-10 1:36 
GeneralRe: recursive array search [modified] Pin
nhsal693-May-10 4:11
nhsal693-May-10 4:11 
Questionhow to open pdf files in browser Pin
umeshdaiya27-Apr-10 23:35
umeshdaiya27-Apr-10 23:35 
AnswerRe: how to open pdf files in browser Pin
Peter_in_278029-Apr-10 20:41
professionalPeter_in_278029-Apr-10 20:41 
AnswerRe: how to open pdf files in browser Pin
Peace ON29-Apr-10 21:10
Peace ON29-Apr-10 21:10 
Following code will be helpful to open pdf file.

<?php
// when form submitted, redirect to PDF file
if($file=="dick.pdf" || $file=="andrea.pdf" || $file=="lewis.pdf")
{
header("Location: $file");
exit();
}

// and else just display the thing
?>
<html>
<head>

<title>Download a PDF file</title>

</head>
<body>

<form action="thisfile.php" method="get">
<fieldset>
<legend>Please select a PDF file to download</legend>

<select name="file" size="1">
<option value="dick.pdf">Dick</option>
<option value="andrea.pdf">Andrea</option>
<option value="lewis.pdf">Lewis</option>
</select>
<input type="submit" value="Download!">

</form>

</body>
</html>

Hope this will help!
Jinal Desai

GeneralRe: how to open pdf files in browser Pin
Peter_in_27801-May-10 16:08
professionalPeter_in_27801-May-10 16:08 
AnswerRe: how to open pdf files in browser Pin
Peace ON2-May-10 23:20
Peace ON2-May-10 23:20 

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.