Posts
 
Reputation
Joined
Last Seen
Ranked #336
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
85% Quality Score
Upvotes Received
40
Posts with Upvotes
35
Upvoting Members
21
Downvotes Received
6
Posts with Downvotes
5
Downvoting Members
5
15 Commented Posts
2 Endorsements
Ranked #621
Ranked #207
~306.15K People Reached
Favorite Tags
Member Avatar for Jiaxin
Member Avatar for karthik_ppts

I have purchased SMS gateway from one hosting company. How can i integrate my SMS gateway with my website?

Member Avatar for swatisharma08
0
1K
Member Avatar for csshacker

[CODE=php]$result=mysql_query("select * from tbl_name"); function xlsBOF() { echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); return; } function xlsEOF() { echo pack("ss", 0x0A, 0x00); return; } function xlsWriteNumber($Row, $Col, $Value) { echo pack("sssss", 0x203, 14, $Row, $Col, 0x0); echo pack("d", $Value); return; } function xlsWriteLabel($Row, $Col, $Value ) { $L …

Member Avatar for diafol
0
17K
Member Avatar for Nybuler

Just try the following code and check wheather the calendar opens correctly or not. [CODE] header("Content-Type: text/Calendar"); header("Content-Disposition: inline; filename=calendar.ics"); $vcal = "BEGIN:VCALENDAR"; $vcal .= "VERSION:2.0"; $vcal .= "PRODID:-//CompanyName//ProductName//EN"; $vcal .= "METHOD:REQUEST"; $vcal .= "BEGIN:VEVENT"; $vcal .= "ATTENDEE;CN=\"Attendee1Name\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att1Mail@mail.com"; $vcal .= "ATTENDEE;CN=\"Attendee2Name\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att2Mail@mail.com"; $vcal .= "UID:".date('Ymd').'T'.date('His')."-".rand()."-besta.com.my"; $vcal .= "DTSTAMP:".date('Ymd').'T'.date('His'); $vcal .= "DTSTART:09/06/2011"; …

Member Avatar for Foo_1
0
4K
Member Avatar for jacob21
Member Avatar for diafol
1
7K
Member Avatar for karthik_ppts

Hi Frendz, I need to integrate collabrative editor in my application as code editor with socket programming. Kindly suggest me your thoughts.

Member Avatar for chrishea
0
107
Member Avatar for feblioz

you have missed the quote at the end of the method="POST try this [CODE=php] <form action = "upload.php" method="POST" enctype="multipart/form-data"> <input type="file" name="file"><BR><BR> <input type="submit" name = "Submit" value ="Submit"> </form> <?php if($_POST["submit"]) { echo $name = $_FILES['file']['name']; $size = $_FILES['file']['size']; $type = $_FILES['file']['type']; $tmp_name = $_FILES['file']['tmp_name']; } ?> [/CODE] …

Member Avatar for amindabj
0
438
Member Avatar for karthik_ppts

Hi Frendz, I need to login with a site to get the content. I'm using the below code to do the same. <?php include_once('simple_html_dom.php'); extract($_POST); if($submit) { $username = '*************'; $password = '*************'; $loginUrl = 'https://secure-admin.booking.com/booking.html?bn=685763648&hotel_id=439210&code=57ed501f25de55965e13ab29fcd936a3'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $loginUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'loginname='.$username.'&password='.$password); curl_setopt($ch, CURLOPT_COOKIEJAR, …

Member Avatar for karthik_ppts
0
320
Member Avatar for OldDeveloper01

May be you have mistaken in table name or fieldname. so just echo your query as given below. Copy that query and paste it in phpmyadmin's SQL Section and see the output. [CODE] echo $query="SELECT * FROM products ORDER BY dateadded DESC"; $sql = mysql_query($query); $productCount = mysql_num_rows($sql); // count …

Member Avatar for nandkishor.sharma.372_1
0
859
Member Avatar for carebear23
Member Avatar for OldDeveloper01

[QUOTE=Kaniki;1531926]Hi! GUyz could any one help me about this code i dont know what is wrong cuz the second html code is working but this php code it gives me error: Undefined index: username in C:\wamp\www\web.php on line 2... GET AND POSTcode does not working for me! plz any help …

Member Avatar for pzuurveen
0
1K
Member Avatar for sharathg.satya
Member Avatar for karthik_ppts

Dear Frendz, Alone with PHP, can we do a "CCTV security and surveillance System" like zoneminder.com? , Please give me an advice on this if any experts having experienced on this application. Regards, Karthik.R

Member Avatar for cereal
1
752
Member Avatar for SunnySideUp

This is the code that i have used in one of my application to upload video of any format. [CODE] include("media_handler.php"); if($Upload1) { //Flv Converter $_mediahandler=new media_handler(); $rootpath =""; $inputpath = $rootpath."Videos"; $outputpath = $rootpath. "FLV"; $thumbpath = $rootpath. "Thumbs"; $outfile = "sample.png"; $source = $HTTP_POST_FILES['video_upload']['tmp_name']; $name = $HTTP_POST_FILES['video_upload']['name']; $fileSize …

Member Avatar for phpapprentice
0
1K
Member Avatar for aruti
Member Avatar for karthik_ppts

Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line.

Member Avatar for msgrasser
0
5K
Member Avatar for sigit_p

goto the view source of your browser and check wheather the image path is correct or not in source.

Member Avatar for sigit_p
0
211
Member Avatar for lilfairy
Member Avatar for HasNor

gothrough these links http://www.w3schools.com/php/func_string_addslashes.asp http://www.w3schools.com/php/func_string_stripslashes.asp

Member Avatar for HasNor
0
233
Member Avatar for cse.avinash

without submit button you can't get the value of user input. Try with veedeoo's code

Member Avatar for cse.avinash
0
227
Member Avatar for karthik_ppts
Member Avatar for diafol
0
118
Member Avatar for karthik_ppts
Member Avatar for newbie1234
Member Avatar for tstory28
Member Avatar for mlhazan

try this and see what error it shows. [CODE=php]$connection = mysql_connect($server,$conn_username,$conn_password); if (!$connection) { die('Could not connect: ' . mysql_error()); }[/CODE]

Member Avatar for emclondon
0
170
Member Avatar for dtidmas1

Replace your line 17 [CODE=php]$booksSQL ="select class, title, author from l_stock WHERE (l_stock.class=$classification)";[/CODE] with [CODE=php]$booksSQL ="select class, title, author from l_stock $whereClause";[/CODE]

Member Avatar for dtidmas1
0
212
Member Avatar for HasNor
Member Avatar for HasNor
0
169
Member Avatar for ak47carbon
Member Avatar for ak47carbon
0
843
Member Avatar for darkiel21

You can't extract data from insert query resultset using mysql_fetch_array. Use [B]select [/B]query to extract the data.

Member Avatar for karthik_ppts
0
663
Member Avatar for HasNor

try this [CODE] <?php $dept="AB"; $dateStr=date("dmy"); $rs_max=mysql_query("select max(id) as maxid from your_tbl_name where your_date_field=date(now()) and your_dept_field='$dept'"); $max_id=mysql_result($rs_max,0,"maxid")+1; $needed_string=$dept."-".$dateStr."-".$max_id; ?> [/CODE]

Member Avatar for HasNor
0
159