Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
94% Quality Score
Upvotes Received
22
Posts with Upvotes
15
Upvoting Members
15
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
6 Commented Posts
4 Endorsements
Ranked #397
Ranked #718
~63.0K People Reached
Interests
bikes
PC Specs
WordPress, jQuery, CSS, ASP.NET
Favorite Tags

64 Posted Topics

Member Avatar for hirenpatel53

[wordpress](http://wordpress.org) is the best bet for blogging website. if u want a .net solution you can try [blogengine](http://www.dotnetblogengine.net/)

Member Avatar for shahid.tariq
1
3K
Member Avatar for vindyauwu

1) In you users table store the user type 2) while checking for loging creadentials against database, if username and password is correct, check the usertype. 3) if admin redirect to admin page, if user, redirect to user page 4) and do store the usertype in session for checking on …

Member Avatar for VINITHAPRIYA R
0
36K
Member Avatar for Rizi004

i doubt if there's any full proof way of handling the browser close event.. Ideally what should happen is : 1) javascript captures the browser's close event 2) and makes an ajax call to the server for further processing But a browsers behaviour would be to stop doing anything(stop sending …

Member Avatar for juniors464
1
6K
Member Avatar for ckchaudhary

Hi guys, first of all i am new to php, so please bear with me. I have this requirement wherein i need to automatically create email accounts with my hosting provider through my website's php code. I have a linux hosting account with cpanel interface (its bluehost.com btw, if that …

Member Avatar for ckchaudhary
0
428
Member Avatar for rubai

keep footer outside the 'main' div. a strucute like below should work fine: <div id='main'> <div id='left'>....</div> <ul id='sidebar'>...</div> <!-- to clear the float--> <div style="clear:both;"></div> </div> <div id='footer'>....</div>

Member Avatar for rubai
0
232
Member Avatar for wasim kazi

leave the original sidebar as it is, you can register a new sidebar, configure the new sidebar to have <h4> ... before_title' => '<h4>', 'after_title' => '</h4>',.. etc.. and then add the required widget in new sidebar.. you can then include both the sidebars if you want makes sense?

Member Avatar for ckchaudhary
0
136
Member Avatar for jrosh

Since you are fine with some javascript solution, you should check google graphs. see [this](http://webdeveloperswall.com/javascript/using-google-graphs-on-your-website) page.

Member Avatar for jrosh
0
163
Member Avatar for geneh23

else { $_SESSION['user_id'] = $login; header('Location: index.php'); exit(); } so you are setting user_id in session. But where are you setting user_level in session?

Member Avatar for geneh23
0
612
Member Avatar for Buppy

excuse me for going off the topic... >If you don't have access to FTP at all then you would not be able to install a plugin The statement isn't entirely wrong. I've experienced it more than once on separate wordpress installs on different servers. I dont know the exact reasons …

Member Avatar for ckchaudhary
0
125
Member Avatar for HunainHafeez

>$Dep = "select departmentName from department where userid='$Userid' "; Most likely the column userid would be an int or bigint. In that case you shouldn't enclose its value in quotes. So it should rather be .... where userid=$Userid I can see the same possible error in second sql command as …

Member Avatar for jstfsklh211
0
249
Member Avatar for martin11ph

I can see a workaround ;) so you just want the footer to come from wordpress (installed on a subdomain/or separate domain). Here's what can be done 1) Add a page template into your wordpress theme which just includes footer, no header, no content no nothing :) something like <?php …

Member Avatar for ckchaudhary
0
138
Member Avatar for chira9na9pal
Member Avatar for OrangeTree

What is the problem? One problem i can see is that u've not cleared the float, so you wont be seeing the blue background color of the container div.

Member Avatar for OrangeTree
0
189
Member Avatar for Hypalink

How'd i do it? lets see.. 1 - 5 is $1 (or rather 1unit price), 6 - 10 is $2... so i have a 'range' of 5 I'll need 2 variables $range = 5; $unit_price = 1; /*$1 or may be $10*/ then i'll accept the product count from user …

Member Avatar for Hypalink
0
188
Member Avatar for ckchaudhary

i have this strange report in my profile about the upvotes/downvotes i received.. check the image ![votes](/attachments/small/3/votes.png "align-left") . Check the down votes part. The data says that there's one member who has down voted 5 of my separate posts , each once. Second, when i click on the link …

Member Avatar for ckchaudhary
0
182
Member Avatar for kaosjon

> creates a javascript variable out of it I am not sure how you can 'create' a variable dynamically. I can think of having a predefined array, when user selects any product its quantity get added add the next index of array. Does it work for your purpose?

Member Avatar for ckchaudhary
0
190
Member Avatar for ckchaudhary

sorry couldn't frame a better title. So here's the problem i have a function inside functions.php function show_news(){ $id_counter = 1; $json_news = array( "id" => 0, "title" => "" ); $json_o = json_decode(file_get_contents(JSON_DATA_FOLDER.'news.json')); foreach ($json_o as $id => $news_category) { echo '<h2>'.$id.'<h2>'; foreach ($news_category as $news) { if(IsNullOrEmptyString($news->id)){$json_news['id'] = …

Member Avatar for diafol
0
217
Member Avatar for king03

One way would be iterating through all controls on the form, checking if its a textbox and then checking if its blank. Something like foreach (Control cl in this.Controls) { if (cl is TextBox) { if (cl.Text.Trim() == String.Empty) { MessageBox.Show("Please fill all textboxes"); break; } } } Makes sense …

Member Avatar for ckchaudhary
0
203
Member Avatar for freakthemighty

Have you already checked that 1) the forms action attribute's path is correct to the main page ? 2) and the form is actually submitting and there isn't any javascript intercepting the forms submit event ?

Member Avatar for freakthemighty
0
369
Member Avatar for hcbckwidpeace93

string output=""; for (int j = 0; j<8; j++) { //how to convert array into string with help of loop. output += ar[j]; } Console.WriteLine(output); you can convert the character array into string like that... On a second note, why are u taking a character array?? you can directly use …

Member Avatar for vinnitro
-1
129
Member Avatar for opawix

i dont know if its a simple way (well its not free so not simple :) ) but you can try [ioncube](http://www.ioncube.com/)

Member Avatar for simasj
0
1K
Member Avatar for ckchaudhary

Hi all, i have the data coming from a json file. I need to print (echo) this into html. here's a part of json file "title": null, "about_us": "Asteria Grill welcomes you! I have tried many times to convince myself not to pursue another restaurant. However, it's my favorite hobby …

Member Avatar for ckchaudhary
0
96
Member Avatar for ckchaudhary

Hi all, m a .net programmer, fairly new to php can anyone explain me (m not asking to explain in detail) this php code. its in the index.php of an application. I am not gonna irritate you by posting the whole code. so here's the outline: <?php if(!extension_loaded('ionCube Loader')){ $__oc=strtolower(substr(php_uname(),0,3)); …

Member Avatar for ckchaudhary
0
290
Member Avatar for gk1993

$q = "SELECT * FROM profile WHERE email=`$u` AND passwd=`$p`"; replace it with $q = "SELECT * FROM profile WHERE email='$u' AND passwd='$p'";

Member Avatar for gk1993
0
162
Member Avatar for Violet_82

how about this: (i haven't tested it) 1) you return false on click of <a> 2) you bind a function to the <span> which is inside <a>, the fuction picks the link from its parent's href attribute and then loads that url.. something like: $("a.someclass span").click(function(){ var link_to_go = $(this).parent().attr('href'); …

Member Avatar for jwelsh
0
139
Member Avatar for tapuwa2002

lemme see if i understood you correctly... you want to check if a visitor has already viewed some page in past. If so then use cookies. update the value of a cookie everytime user visits any page. So next time user visits any page, you check the cookie values to …

Member Avatar for JorgeM
0
476
Member Avatar for mzeewashooo

check [this thread](http://www.daniweb.com/web-development/aspnet/threads/426631/how-to-connect-a-application-to-mysqlwhich-has-been-connected-to-sql-server#post1825084)

Member Avatar for riteshbest
0
143
Member Avatar for rotten69

> var sub1 = document.getElementById("input1") ; sub1 doesn't contain the value of 'input1', its a DOM object so when you do > var GPA = (sub1+sub2+sub3+sub4)/4; GPA doesn't contain the 'average value' of the four inputs, you are adding objects! which obviously will give you null or undefined (unless of …

Member Avatar for rotten69
0
3K
Member Avatar for tanu.jain.39566

try 'innerHTML' instead of 'innertext'.. . . and BTW you should've rather posted this in javascript forum, isn't it?

Member Avatar for ckchaudhary
0
90
Member Avatar for Pride

I'd love to do something of that sort, but as said by zachattack05, time is an issue for me as m on a full time job. But trust me i'd do anything to be a part of any open source development project :)

Member Avatar for hericles
0
236
Member Avatar for YPsarathy

there's already a web browser control provided in .net.. If all goes well i can suggest you a solution for your task.. 1) create a form which has a webbrowser control 2) load the required url in webbrowser control 3) write a javascript which extracts values from all the dropdowns …

Member Avatar for ckchaudhary
0
94
Member Avatar for smoothe19

i doubt you can do it straightaway.. coz javascript wont be executed server side.. so while your php code is getting interpreted at server level you can't increment a javscript variable..

Member Avatar for ckchaudhary
0
190
Member Avatar for ampo

if i understood correctly..... you should try `float`, floating all the inner divs inside container

Member Avatar for Fernando_Gomez
0
127
Member Avatar for Sciprios

if your Main_Form is closed:- you create a new object of Main_Form, pass the variable as a constructor paramter of the Main_Form object, close the Add_New_Student form and show the newly created Main_Form if both your forms are open simultaneously:- If you have a controller which holds references to objects …

Member Avatar for skatamatic
0
179
Member Avatar for Violet_82

yes #div_1 #div_2 .div_3 .div_4_button a and .more_text .more_paragraph .div_4_button a are different selectors and hence will apply different css rules to those two links even though their immediate parent <div> has same class.. **But are you telling this or asking this !!!!??**

Member Avatar for Violet_82
0
82
Member Avatar for dualzNZ

why dont you just add an if statement $del_id = $checkbox[$i]; if($del_id !=0) { /*your db operation*/ }

Member Avatar for ckchaudhary
0
102
Member Avatar for rayidi

i had a similar requirement some time ago.. here's how i did it [http://webdeveloperswall.com/php/cpanel-xmlapi-create-email-accounts-through-your-code](http://webdeveloperswall.com/php/cpanel-xmlapi-create-email-accounts-through-your-code)

Member Avatar for ckchaudhary
0
342
Member Avatar for khizer03

as hericles said, you gonna have to do the necessary changes..If u looking for helper classes to connect to mysql may be this will help you [http://webdeveloperswall.com/dot-net/connecting-to-a-mysql-database-from-asp-net-application](http://webdeveloperswall.com/dot-net/connecting-to-a-mysql-database-from-asp-net-application)

Member Avatar for ckchaudhary
0
248
Member Avatar for ckchaudhary

Hi all, ok so i want to make a programme to speed up the internet, may be someting like [idm](http://www.internetdownloadmanager.com/). I googled but all i could find was download managers, nothing related to boost up the downloads or something.. I am looking for a c# solution. I am not expecting …

Member Avatar for ckchaudhary
0
415
Member Avatar for willjohanz

the javascript code is doing the following: 1. storing 5 images as variables 2. replaces an image with the said images every 1.5 seconds one by one

Member Avatar for Troy III
0
363
Member Avatar for Rimmi90

your *if* block inside try returns a string.. But there's no *else* block, if code execution doesn't enter inside *if* block then your method exits without returning any value !!. And thus compiler is giving the error.. so you have to include an *else* block as well, or do some …

Member Avatar for Mitja Bonca
0
246
Member Avatar for hwoarang69

you have to include the user id in the where clause to further filter the records for the concerned user $userId = 124;//you program logic to fetch user id $query = mysql_query( "Select * FROM image " . "WHERE image_short_name = '$image_short_name_p' " . "AND user_id=$userId" ); (considering userId is …

Member Avatar for ckchaudhary
0
144
Member Avatar for riahc3

was just passing by and thought of adding something which BTW is not anywhere near to an answer to your question... I am a .net programmer myself(never got to work with a .net cms though), recently laid my hands on Wordpress and fell in love with it.. there's this wordpress …

Member Avatar for riahc3
0
154
Member Avatar for denmarkstan

check out this link [sending email from asp.net](http://webdeveloperswall.com/dot-net/sending-email-attachement-using-smtp-in-asp-net)

Member Avatar for danielgr
0
220
Member Avatar for denmarkstan

i've compliled a list of functions(and their overloads) to send emails (with or without multiple file attachements) into a single dll which is available for download here [here](http://webdeveloperswall.com/dot-net/sending-email-attachement-using-smtp-in-asp-net) . you may find it useful

Member Avatar for ckchaudhary
0
236
Member Avatar for gspeedtech

if you are on [url]http://youdomain.com/[/url][B]process.aspx?id=124[/B]&param2=val2 and after the post back you want to redirect to [url]http://youdomain.com/[/url][B]process.aspx?id=982[/B]&param2=val2 yu can simply use [CODE]Response.Redirect("process.aspx?id="+var_id+"&param2="+var_param2value)[/CODE] which i believe you already know but dont wanna do.... if you dont want to hard code the page name ([ICODE]process.aspx[/ICODE]) then you can use [ICODE]Request.Path[/ICODE] which will return …

Member Avatar for ckchaudhary
0
1K
Member Avatar for rotemorb

see the source of the page in any browser wen u run your page. Most of the times your controls doesn't have the id as you have specified. your button's id might have changed from 'Button1' to something like 'ctplh100_Button1....' and thus jquery can't find any element with the id …

Member Avatar for rotemorb
-1
117
Member Avatar for Martin C++

put these inside your <head> tag [CODE]<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("div#sidebar > ul > li > a").click(function () { $(this).parent().find(" > ul").slideToggle(500); }); )}; </script> [/CODE]

Member Avatar for ckchaudhary
0
189
Member Avatar for varoluscu_prens

you gonna have to use some server side technology to do that. for instance in php you define a header.php file, footer.php file and put common elements there. Then on content pages like aboutus.php you simply include header.php and footer.php in proper places.. have a look on w3schools for php …

Member Avatar for ckchaudhary
0
121
Member Avatar for zooferic

There are some good articles on msdn on url rewriting.. I recenlty worked on a project wherein i implemented url rewriting with http modules. Rules are defined in an xml file. and each incoming request is first intercepted by the httpmodule. internally httpmodule converts 'http://domain.com/products/mouse' to 'http://domain.come/productList.aspx?categoryname=mouse' and 'http://domain.com/product/eyeball-mouse' to …

Member Avatar for mani-hellboy
0
145

The End.