Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for adityamadhira

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: …

Member Avatar for TonyG_cyprus
0
143
Member Avatar for adityamadhira

Hi I want to clear back button history in browser after log out in php Thanks in advance

Member Avatar for rajesh1158
0
107
Member Avatar for adityamadhira

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

Member Avatar for phoenix_2000
0
165
Member Avatar for adityamadhira

$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

Member Avatar for almostbob
0
131
Member Avatar for adityamadhira

Hi I need regular expression for 9 digit number example - 800443142 In php Thanks

Member Avatar for pritaeas
0
54
Member Avatar for adityamadhira

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.

Member Avatar for adityamadhira
0
137
Member Avatar for adityamadhira

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

Member Avatar for diafol
0
2K
Member Avatar for adityamadhira

Hi I am new to PHP and need a help regarding data controls in PHP. Like grid view? Thanks

Member Avatar for pritaeas
0
285
Member Avatar for adityamadhira

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 …

Member Avatar for vaultdweller123
0
156
Member Avatar for adityamadhira

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 …

Member Avatar for cigoL..:)
0
298