Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
83% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
~45.7K People Reached
About Me

very friendly nature, and little stubborn in work

Interests
singing and dancing and watching t.v
PC Specs
core2duo processormemory 160gb, 1gb ram
Favorite Tags

146 Posted Topics

Member Avatar for anish.anick

hi roberts, in login page we first write like this right [code=php]<? session_start(); include('functions.php'); if($_SERVER['REQUEST_METHOD']=="POST"){ $qer="select * from users where username='".$_POST['username']."' and password='".$_POST['password']."'"; $res=mysql_query($qer); $num=mysql_num_rows($res); if($num==0) { $msg=1; } else if($num==1) { session_unregister("user_name"); session_register("user_name"); $_SESSION['user_name']=$_POST['username']; session_unregister("adminid"); session_register("adminid"); $_SESSION['userid']=getdata("user","id","username='".$_POST['username']."' and password='".$_POST['password']."'"); echo'<script language="javascript">window.location.href="welcome.php";</script>'; } } ?>[/code] so,every time user forget to …

Member Avatar for syaifulrijzal10
0
19K
Member Avatar for hno

online games can be done in flash,php is not a good option for games site,entertainment site can be done in php, if you want a entertainment site we can do it for u, leave me a private message if you are intrested

Member Avatar for thomas88
-1
238
Member Avatar for praveen_dusari

Hi All,i am using sass in my current project, due to some restrictions iam not able to install sass in ruby using gem install sass.. i have downloaded sass from github (https://github.com/sass/sass) not sure where to place this sass in ruby.. tried in ruby->bin folder but not use when i …

Member Avatar for rch1231
0
316
Member Avatar for praveen_dusari

Hi All, i am using angular 1.0.5 and when i am using $logprovider then iam getting error TypeError: $logProvider.debugEnabled is not a function. how to solver this issue? do i need to download any module for this? i googled but didnt find any?

0
72
Member Avatar for Siberian
Member Avatar for Siberian
0
258
Member Avatar for sandy4a0

Hi there are formating issues in your code and document.getElementById doesnt exist in you code! <html> <head> <title>Row Added</title> </head> <script> function sample(){ var table='<table width="100" id="'+sample+'">'; table=table.concat('<tr>'); table=table.concat('<td>Add rows</td>'); table=table.concat('<td><input type="button" name="Add" value="Add"></td>'); table=table.concat('<td><input type="button" name="Delete" value="Delete"></td>'); table=table.concat('</tr>'); table=table.concat('</table>'); document.getElementById("someid").innerHTML+=table; } </script> <body> <table> <tr> <td>Enter the rows</td> <td><input …

Member Avatar for AleMonteiro
0
292
Member Avatar for ishlux

hi, [CODE]# $mailid1 = $_GET['mail_id']; session_register('mailid1'); [/CODE]code from where you are getting mailid if you have mailid in autoalto_mail table then you have to write like this [code]$qer="select * from autoalto_mail"; $res=mysql_query($qer); $num=mysql_num_rows($res); if($num==1) { session_unregister("mailid"); session_register("mailid"); }[/code]

Member Avatar for Hegneous
0
923
Member Avatar for praveen_dusari

Hi All, i was just wondering that can i store the data of a form using html,javascript. firstly i thought of using localstorage or session storage in html but if i save the data in my form others cant see the data if they open that page, and if i …

Member Avatar for gon1387
0
170
Member Avatar for praveen_dusari

Hi all, I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td. <table width="100%" border="0" id="datetime"> …

Member Avatar for Taywin
0
199
Member Avatar for levsha
Member Avatar for praveen_dusari

hi all, i have an array like this one [CODE]Array ( Array ( [0] => Array ( [id] => 12 [name] => praveen ) [1] => Array ( [id] => 14 [name] => pandu ) [2] => Array ( [id] => 16 [name] => phani ) [/CODE] and i have …

Member Avatar for diafol
0
371
Member Avatar for nil_gh_80

hi nil checkout this code which will upload only avi,dat,mpg and wmv video files only create uplodedvideos in ur folder [code=php]if($_SERVER['REQUEST_METHOD']=='POST') { if($HTTP_POST_FILES["video"]["size"] >1) { // for large image 1 $ext = substr($HTTP_POST_FILES['video']['name'],strpos($HTTP_POST_FILES['video']['name'],'.')+1); $ext_arr=array("avi","dat","mpg","wmv"); //if (in_array($ext,$ext_arr)) { $prlvideo=substr($HTTP_POST_FILES['video']['name'],0,strpos($HTTP_POST_FILES['video']['name'],'.')); $prlvideo.=time(); $prlvideo.=strstr($HTTP_POST_FILES['video']['name'],'.'); $prlvideo="uplodedvideos/".$prlvideo; if(!move_uploaded_file($HTTP_POST_FILES['video']['tmp_name'],$prlvideo)) { $prlvideo=""; } chmod($prlvideo,0777); } else { $prlvideo=""; …

Member Avatar for amit.singh9
0
1K
Member Avatar for praveen_dusari

hi all, i have two three dimensional array like this [CODE] $array1 =Array ( [0]= array ( [0]=array ( [name]= praveen [id] = 20 ) [1]=array ( [name]= kumar [id] = 25 ) ) ) $array2 =Array ( [0]= array ( [0]=array ( [name]= pandu [id] = 21 ) [1]=array …

Member Avatar for cereal
0
163
Member Avatar for praveen_dusari

hi, Iam developing the website in ipad,using html5 database and html5 concepts...i am facing trouble in integrating my website which is developied in php and xslt..here we are using soap to get the articles and displaying it using xslt and php...here iam loading those articles in html5 database in php …

Member Avatar for kws.mumbai
0
157
Member Avatar for praveen_dusari

hi all, I have a site where i need to add columns automatically and if the columns exceed certain width then scroll should appear... if any one can fix this please let me know.. Thanks, Praveen

Member Avatar for ko ko
0
165
Member Avatar for Shanti C

today i learned that thinking :-/ is such a waste of time because it took 2 hours to me thinking what to do next after watching ajax tutorials videos

Member Avatar for Netcode
0
923
Member Avatar for praveen_dusari

hi, i am developing a website of reading newspapers and magazines..in a page where it shows 6 different newspapers in grid view in horizontal view in tablet, same page when twisted vertically should show only 4 in grid view.... how this can be done...any ideas please Regards, Praveen

Member Avatar for pritaeas
0
117
Member Avatar for praveen_dusari

hi all, i have developed a joomla custom components and in the front end when the language is changed the text is not changing...even though i reloaded the language on refresh.. [CODE] $language =& JFactory::getLanguage(); $extension = 'com_raffle'; $base_dir = dirname(__FILE__); $language_tag = $language->getTag(); // loads the current language-tag $language->load($extension, …

0
79
Member Avatar for praveen_dusari

hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen

Member Avatar for twiss
0
83
Member Avatar for saikishore

hi sai, checkout this link[URL="http://www.phpreg.com/index.php?option=com_content&task=view&id=117&Itemid=1"]http://www.phpreg.com/index.php?option=com_content&task=view&id=117&Itemid=1[/URL]

Member Avatar for digital-ether
0
356
Member Avatar for praveen_dusari

hi all, i am new to asp and i have a problem in editing the data...here is the code can someone please help... [ICODE]protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("Default.aspx?msg=1"); } if (Request.QueryString["id"] != null) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = helper.ConnectionString; …

Member Avatar for kvprajapati
0
176
Member Avatar for praveen_dusari

hi, iam developing a website where i need to prevent users from downloading my images. i tried using javascript by disabling rightclick but in mozilla there is a option to disable javascript. any help? please..........

Member Avatar for DanielTulp
0
826
Member Avatar for praveen_dusari

hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", …

Member Avatar for eaksin
0
150
Member Avatar for praveen_dusari

hi all, iam newbie to c sharp and still trying to learn..iam developing a new windowsapplicattion in csharp and i am trying to open a new form onbtnclickevent and close current form here is my code form1 [CODE] private void btnInd_Click(object sender, EventArgs e) { Tab1 dlg = new Tab1(); …

Member Avatar for finito
0
116
Member Avatar for elamigosam

hi here is the attachment in javascript and to make html sortable just add class="sortable" to table u want sorting and for td u don`t wanna sort just add class="sorttable_nosort" and include this javascript file since it is in javascript page will not get refreshed

Member Avatar for leela83
1
250
Member Avatar for praveen_dusari

hi all, i am trying to create a thubnail image and want to insert in a folder and path into database.. i uploaded image into folder but not able to create thumbnail from it [CODE]string s = @"~\uploads\" + FileUpload1.FileName; FileUpload1.PostedFile.SaveAs(Server.MapPath(s)); SqlConnection cn = new SqlConnection("Server=praveen;Integrated Security=True;User Id=sa;Password=sa;Initial Catalog=banking"); string …

Member Avatar for carrzkiss
0
422
Member Avatar for praveen_dusari

hi all, i am new to asp.net can some one point to correct direction or suggest me..here is my problem i am developing a e commerce site and when ever i bind my data with grid view it is showing all the rows in my database..i want only selected fields …

Member Avatar for kvprajapati
0
73
Member Avatar for ayesha789

link to num rows? do you mean like this [CODE]echo "<a href='youpage.php?id=$num_rows'>$num_rows</a>";[/CODE]

Member Avatar for praveen_dusari
0
74
Member Avatar for praveen_dusari

hi all, i have added a simplemodal box in my project which is using jquery problem is i am using it for dynamic php application. i want a id of clicked item iam not getting it here is my code in php page [CODE]<div id='contact-form'><a href='#' class='contact'><input src="images/email-icon.png" type="image" value="<? …

0
84
Member Avatar for sidra 100

professionally iam very fast learner .personally iam good at heart

Member Avatar for zortec
0
141
Member Avatar for praveen_dusari

hi all, iam familier to php forum here but completely new to vb.net, i am developing a web application using oracle database,vb.net and asp.net,just stuck up with generating manage content table with edit and delete you can see it in image file attached which is done in php here is …

Member Avatar for praveen_dusari
0
113
Member Avatar for nehashri

hi neha, try like this i didn`t try it but this is only my suggession pass some value to yes radiobox and if that value sets then goto form3 else form4 like this [CODE]if(isset($_post(id))) echo '<script language="javascript">window.location.href="form3.php?msg=sts"</script>'; else echo '<script language="javascript">window.location.href="form4.php?msg=sts"</script>';[/CODE]

Member Avatar for amd_k8
0
116
Member Avatar for takeshi

[CODE] <a href="javascript:del('<?=$p_row['p_id_pk']?>)">delete</a> <script type="text/javascript"> function del(x) { if(confirm("Do You Really want to delete this product")) { document.form.action="product.php?delid="+x; document.form.submit(); } } </script>[/CODE] and in php [CODE]mysql_query("delete from table where id='".$_GET['delid']."'")[/CODE]

Member Avatar for vaultdweller123
0
136
Member Avatar for muralibobby2015

u can send the select box parameters through url like this [CODE]<select name="order" id="order" onChange="changeval(this.value)"> <? $sel_merch="select * from table"; $merch_res=mysql_query($sel_merch); $i=0; while($fetch=mysql_fetch_assoc($merch_res)){ ?><option value="<? echo $i;?>_<? echo $fetch['m_id_pk'];?>"><? echo $i;?></option><? $i++; }?> </select>[/CODE] and javascript function is [CODE]function changeval(id){ window.location.href="manage_merchants.php?order="+id; }[/CODE]

Member Avatar for diafol
0
115
Member Avatar for praveen_dusari

hi all, i have a newsletter module which works perfectly fine but i have a doubt ,in mail the images are not displaying automatically it is asking me to download images . i heard if a tag is included with html code it will automatically download images. does any one …

Member Avatar for hemgoyal_1990
0
81
Member Avatar for mandysaini

just write[CODE]<? phpinfo();?>[/CODE] in page and upload to your server .view this page in browser shows php support and details

Member Avatar for digital-ether
0
142
Member Avatar for praveen_dusari

hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings …

Member Avatar for quadrant
0
213
Member Avatar for rogerse

hi, change database like this one [CODE]Category='$ud_Category' [/CODE]to [CODE]Category='".$ud_Category."' [/CODE]just to make it perfect and just see whether parameters are posting are not put [CODE]print_r($_POST)[/CODE] after submit. post here if any doubts

Member Avatar for rogerse
0
95
Member Avatar for Kparas

hi, check out this attachments, in dump_not1.php page edit the sql code and give a link to that page [CODE]<a href="dump_not1.php?type=1" class="slinks">Download To CSV </a>[/CODE] you will get it

Member Avatar for Thamaraikani
0
123
Member Avatar for bouncycastle
Member Avatar for anu.reka85

default session time 1440 sec. we can change it by $garbaze="14400"; ini_set(session_gc_maxlifetime,$garbaze);

Member Avatar for rajabhaskar525
0
87
Member Avatar for praveen_dusari

hi all, i have downloaded my site from ftp to make changes there is a virus in that server my sir told me to clear that and upload. In the source code i found a line which i thought is a virus containing a trojen program i deleted that line …

Member Avatar for network18
0
99
Member Avatar for praveen_dusari

hi ,members currently browsing this forum is showing multiple times screen shot included,i have seen this many days ago but it didn`t change hope after this post they will change thank you

Member Avatar for cwarn23
0
83
Member Avatar for praveen_dusari

hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change …

Member Avatar for pritaeas
0
109
Member Avatar for nadnakinam

its bit complecating when you use database pagination in many pages why dont you use function for pagination,here is the function i use for pagination [CODE]function Navigation($start,$total,$link){ global $len;$en = $start +$len;if($start==0){if($total>0){$start1=1;}else {$start1=0;}}else{$start1=$start+1;}if($en>$total)$en = $total;if($total!=0)$pagecount=($total % $len)?(intval($total / $len)+1):($total / $len); else{$pagecount=0;return;}print "<table cellpading=0 cellspacing=0 width=100% nowrap><tr>";print "<td width=40% class='dlinks' …

Member Avatar for nadnakinam
0
138
Member Avatar for praveen_dusari

hi all, i want to update one field from one database to another database my query is [CODE]mysql_connect('localhost', 'root', '') ; mysql_select_db('db1'); mysql_connect('localhost', 'root', '') ; mysql_select_db('db2'); $query1=mysql_query("select * from db1.tbl_products"); while($fetch=mysql_fetch_assoc($query1)){ echo "update db2.tbl_products set p_price='".$fetch['p_price']."' where p_id='".$fetch['p_id']."'"; echo "<br>"; echo "<br>"; } [/CODE] in local it is executing …

Member Avatar for pritaeas
0
81
Member Avatar for praveen_dusari

hi all, iam familier to php forum in this daniweb but new to asp.net pretty confident in php programming now i want to learn .net too,can anyone suggest me some tutorial sites. i want to develop web application in .net. thanks

Member Avatar for lenj
0
78
Member Avatar for praveen_dusari

hi all, i am generting a report where i need to display the monthly wise reports iam not able to display correctly [code=php] <?php ob_start(); include_once('login_check.php'); include_once('functions.php'); $mon=date("m"); $year=date("y"); $num = cal_days_in_month(CAL_GREGORIAN, $mon, $year); ?> <html> <head> <title>..</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <link rel="stylesheet" type="text/css" href="../styles.css"> <style type="text/css"> <!-- body …

Member Avatar for praveen_dusari
0
149
Member Avatar for praveen_dusari

hi all, a few days ago my brother did something wrong with my computer when ever in click on some folder, search is displaying and when i right click on folder it shows search as first option how to remove this thanks

Member Avatar for Rik_
0
94
Member Avatar for praveen_dusari

hi, in my shopping cart we have a phone orders and when user tells products we will click on that product and calculate the total and insert in to database my code is like [code=php]<table width="100%" border="0" align="left" cellpadding="3" cellspacing="1" class="borent"> <? $s=-1; while ($prow = mysql_fetch_assoc($pres)) { $s++; $item[$s]=$prow['p_id']; …

Member Avatar for noelthefish
0
99

The End.