dear friends m using strtotime () function to compare two dates , but it is not working for the date greater then '19-jan-2038'.my os is win 7 32 bit and php 5.2 and apache 2.2.plz if any body having any solution , kindly share it

Member Avatar
Member Avatar
+0 forum 6

dear friend i want to insert a row in orecal which is insert into employee ('AMIT D'SOZA', 'MANAGER','500') thorugth php but there is problem to insert data like 'AMIT D'SOZA' so i want to restrict "'" (singal quets ) to enter in text fields plz help me if you have any other solution then plz shere it

Member Avatar
Member Avatar
+0 forum 4

hi friend , m facing problem to generate pdf file. i m using following code:- if(isset($_POST['pro'])) { include "common.php";// for db conectivity $tablename="rentsum"; $sql = "Select empcode,ticket_no,ctgcode,empname,allot_dt,to_char(qtrno) qtrno,type,seccode,wt,lf,'0' arr ,CONSERV con,met_chg,'0' eu from $tablename where MONTH='$month' AND YEAR='$year' and type not in ('4','5','0') order by qtrno "; $result =oci_parse($conn,$sql); oci_execute($result); $filename="hrent.pdf"; header("Content-type: application/pdf"); header("Content-disposition: pdf" . date("Y-m-d") . ".pdf"); //header("Content-disposition: attachment;filename=$filename"); while($result=oci_fetch_array($sqldata,OCI_BOTH)) { $empcode=$result['EMPCODE']; echo $empcode."\r\n"; } } but it is not working. means pdf flie is generate but when im open the file it show error nmassage the this file is in damage format. plz help me that

Member Avatar
Member Avatar
+0 forum 23

i have create the report.txt on serverside, now i want to print that file on client side , without open for user (to avoid alteration/ammenent in original report) i.e send that file to local printer. plz send the sampal code in php for it

Member Avatar
Member Avatar
+0 forum 2

i have download php 5.3.27 windows installer from php.net then i download apache 2.4.4 windows installer from apache site. now i have successfuly installed apache 2.4.4. to check this i have write` http://localhost/` on the address bar and the out put is "its work". now the step to install php 5.3.27 now i restart my pc.

Member Avatar
Member Avatar
+0 forum 4

hi friends i want to draw graphs by feching data from database through php code . plz help me

Member Avatar
Member Avatar
+0 forum 4

hi friends i have develpoed a prog. for pay calculation for my office in php. now i want to show some thing like employee name in my pge which is currently processing or progress bar with persent if calcution has done. plz note i m useing POST methord

Member Avatar
Member Avatar
+0 forum 3

i want to create a text report and i have use this coding:- <?php $f=fopen("c:\amit.txt", "wb"); // adding header $text="\n Your text to write \n ".date('d')."-".date('m')."-".date('Y')."\n\n"; fputs($f, $text); fclose($f); ?> which results me some thing like when i open it in windows [i.e my computer->c drive->mit.txt] :- > []Your text to write[]09-09-2012[][] but i want it like this Your text to write 09-09-2012 and in fanfold paper size 14" * 12" as i have a huge data to create a report for ex payslip of all employee in my company plz help me

Member Avatar
Member Avatar
+0 forum 7

The End.