No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi This is my pdf file upload code [CODE]<html><head> <title>Upload a .pdf to a database</title> <h2>Please select your .pdf</h2> <form enctype=multipart/form-data action=test.php method=post> <input type=hidden name=MAX_FILE_SIZE value=1000000> <input type=hidden name=completed value=1> Please choose a .pdf to upload: <input type=file name=imagefile><br> Please enter the title of that document: <input name=whatsit><br> then: … |
|
Hi I want to clear back button history in browser after log out in php Thanks in advance |
|
Hi I am new to php. How to implement credit card payment for a site (no 3rd party tool) and how insert them in database? validations for credit card numbers and check 3 digit number of the card. Thanks |
|
$date =date("m-d-Y"); $selected =$_REQUEST['sel_day'];// Selected date $today = strtotime($date); $expiration_date = strtotime($selected); if ($expiration_date > $today) { echo $valid = "yes"; } else { echo $valid = "no"; } not working? please help |
|
Hi I need regular expression for 9 digit number example - 800443142 In php Thanks |
|
Hi I need help regarding file download. $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $id = strrchr($url,"/"); $id= substr($id,1,strlen($id)); retrieving name of the pdf from url header('Content-disposition: attachment; filename='.$id); header('Content-type: application/pdf'); readfile($id); code for downloading file but it is not working? So i need help from you guys. Thanks in advance. |
|
HI I have a drop down box after selecting it page must be refreshed and it must show the selected value. How to do it example I select one item in a dropdown and page must be refresh and show the selected value in drop down after refresh? thanks |
|
Hi I am new to PHP and need a help regarding data controls in PHP. Like grid view? Thanks |
|
Hi I am retrieving values from database for edit profile... I have one query ..... i.e. Based on department Id in database i am showing selected value in drop down box.... but while inserting how to insert department id. $data = @mysql_query("select * from Department"); $array = array(); while ($row … |
|
My code of drop down box is [CODE]<select name="dname"> <?php $data = @mysql_query("select * from Department"); while ($row = mysql_fetch_assoc($data)) { $ID = $row['dept_ID']; $dname = $row['department_name']; echo "<option value=$ID name=not>$dname \n"; } ?> </select>[/CODE] I retrieving department name into dropdown box.. ID - is department ID.....when user click submit … |