15,898,222 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Er. Tushar Srivastava (Top 189 by date)
Er. Tushar Srivastava
1-Aug-18 7:40am
View
Hi,
In "access.php" there's an if-else condition. In that condition (file_exists(...)) is used. This is used only to check if the file exist in filesystem (not from URL). So, you need to change that function to if(@fopen("https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4","r")==true) {} and it should work.
Best of luck.
Er. Tushar Srivastava
13-Jul-17 3:09am
View
Have looked at it already. This solution might allow me to control the flow of traffic per device (mobile phone) connected to my Pi Server (Raspberry Pi). But I want to limit the traffic to a single application (i.e. my android application)... so that I can provide internet to my application only and other applications will not be able to use internet.
Er. Tushar Srivastava
12-Jul-17 4:14am
View
Hi, I am happy that you asked the question but this is an answer section and you should put these comments/questions in comment section only. Anyways, I have used a USB port to connect a USB to Ethernet adapter to get two Ethernet ports eth0 (default) and eth1 (USB). I hope this answers your concern.
Er. Tushar Srivastava
1-Oct-16 10:42am
View
Thank you for your concern and the time you took to weave the reply. I am glad to tell you that I did the miracle in the given time frame without anyone's help.
Er. Tushar Srivastava
17-Apr-15 7:58am
View
This is of great help. Thank you very much.
Er. Tushar Srivastava
17-Apr-15 7:57am
View
Thank you very much for this great info. Now I can see beyond the horizon. Thank you very much.
Er. Tushar Srivastava
5-Mar-15 6:17am
View
BTW, how can we implement Abstract Syntax Tree based obfuscation. If you have some reference that will be very helpful :) :) :)
Er. Tushar Srivastava
5-Mar-15 6:15am
View
Sir, Great Answer :) I just need a quick info. If the game is Tetris. Then can we elaborate as to how game logic can be controlled on server end without creating a time lag.
Er. Tushar Srivastava
12-Jun-14 14:23pm
View
Ok :) I haven't yet watched these videos but based on their title, I guess they are not directly related to Entity Framework, are they?
BTW, I guess your answer might help me solve the problem. Thank you very much :) :) :)
Er. Tushar Srivastava
9-Jun-14 11:13am
View
:) :) :) Thank you very much I will look at that website but just let me know, if I need some connection engine (like MySQL uses with .Net) then is there a way to embbed it in my program as a dll?
Er. Tushar Srivastava
9-Jun-14 11:08am
View
Thank You very much :) I guess that is the my only hope.... :) :) :)
Er. Tushar Srivastava
9-Jun-14 10:51am
View
Yes It is... I have been stuck for around 1 night and Finally I thought of asking for help.
Er. Tushar Srivastava
9-Jun-14 10:50am
View
Actually I am making a software (like Data Entry etc) where a client can use my software as an interface to do CRUD on database. He/She might have any of the following Database Server: MS-SQL, MS Access or MySQL Server. So, I might need to provide my users with an option to select his own database server and other credentials as I have mentioned.
Er. Tushar Srivastava
9-Jun-14 10:47am
View
You might need to elaborate your question.... Use "Improve Question" to improve it. It is not clear what you are asking. Please improve the question or provide an example of what you want to accomplish.
Er. Tushar Srivastava
27-Jan-14 3:05am
View
I guess, I have understood the problem.... :/ Well the solution can not be much difficult if we use javaScript or jQuery (a library in javaScript). What can be done, is use AJAX to get the jSon encoded url and then replace that with the dummy url in the video Tag.... :) moreover, the jScript can generate a token which will be scrambled so that no user can use that token to directly request to video.php :) That can be a lot of client side programming in javaScript though... Best of Luck :)
Er. Tushar Srivastava
26-Jan-14 6:11am
View
Logically, if the page is loaded successfully in browser, the first request has been made by video tag and thus.... the given link should no longer be valid.... :/ i.e. if the user will click on the generated link, he will no longer be able to request the same file again :/ (it was a one time token link).... Please do review the code if I had missed some check... :)
Er. Tushar Srivastava
22-Jan-14 3:33am
View
It's not vague... Read my comment... down.. :)
Er. Tushar Srivastava
22-Jan-14 3:32am
View
I am sorry but I am sure the question is not at all vague.... I am Electronics Student, I know what I was asking for. I do not had any Serial Port in my laptop and I did not want to use emulated USB to Serial Interface. That's why I thought of working directly with USB port (no emulation of serial port etc.)... and I just wanted some pointers to go ahead... BTW, those were old days... :D now I have a much more mature knowledge of things and I know how to implement it too .... Thank you very much for your answer.. I did not vote it down even though I know it is not even an answer... ;)
Er. Tushar Srivastava
1-Jan-14 12:09pm
View
Please have a look at the question now :)
Er. Tushar Srivastava
1-Jan-14 12:00pm
View
Sure :) Thank you :)
Er. Tushar Srivastava
1-Jan-14 11:53am
View
Actually, I surely would have mentioned this, I am sorry for that but actually, I have this already setup. Actually, I am unable to upload an image otherwise I would have shown you my layout. And, The way you have put it here, It is working fine. The problem is when I used WindowChrome, there is somekind of overlapping issue and so, my labels (I have styled them to look like the three buttons on the top of a window) are not taking these mouse events. Otherwise, my problem would have solved :) Thank you very much for your efforts :)
Er. Tushar Srivastava
1-Jan-14 11:21am
View
The What?? Please Elaborate the question. Otherwise someone will down-vote it.
Er. Tushar Srivastava
29-Dec-13 18:44pm
View
Very thoughtful explanation. Very Thank You :-) and a Very Happy New Year to You too :-) Interestingly I found that books remain your best friend forever. The book called "WPF 4 Unleashed" actually has touched some concept and explanation about those beautiful dockable panes (as mentioned in the book) :-) +5 for your answer :)
Er. Tushar Srivastava
29-Dec-13 18:40pm
View
:) really sorry for I didn't see the correction you had made
Er. Tushar Srivastava
29-Dec-13 18:16pm
View
Ok I got it, sorry I didn't look at the next corrected step. My eyes scrolled too fast off the codes :-P
Er. Tushar Srivastava
29-Dec-13 18:14pm
View
I wrote line 3 as you have written and it throw an error (Unbalanced Something....)
Er. Tushar Srivastava
29-Dec-13 17:44pm
View
Actually if line 3 is written as x(n) instead of x[n], the result will be a vector. Considering line 3 in question as x[n] being a typo error and assuming it as x(n). It is also valid. The main problem is with line 4 i.e. y(n) = x(n./k) or x(n/k); Here, n/k will result in a non integer and so the error (that's what you said is correct).
Er. Tushar Srivastava
29-Dec-13 16:52pm
View
Thank You :) and A Very Happy New Year to you :) I hope he will understand it :)
Er. Tushar Srivastava
29-Dec-13 16:22pm
View
Actually, Yes, VS 2012 is a complete makeover in term of GUI and it's so beautiful you must have a look at it :) and Actually I just wanted to learn new thing as I have just completed my student's life and will soon be going into some industry as a professional ans so I just wanted to learn it and implement it. After a little research on the Internet. I have found that VS 2012 is designed in WPF and so now I have started learning it so as to design something cool asap :D Thank you very much for your support :)
Er. Tushar Srivastava
29-Dec-13 15:25pm
View
I said that already. index of a vector in MatLab starts with 1 i.e. x(1), x(2), x(3) ... so on. So you cannot have x(0) or x(0.5) etc. This is the reason of your error. when you do x(n/k), the first value of n = 1 so, it becomes x(1/0.5) = x(0.5) which exceeds the range i.e x(n) where n is a natural number excluding 0 i.e. from 1 to infinity. I hope it explained the error :)
Er. Tushar Srivastava
29-Dec-13 15:05pm
View
that is obvious. Matrix Index start from 1 and if you will divide 1 by 0.5 = 0.5. That's why Matrix Index exceeds. Are you are trying to do x(n)/k ?
Er. Tushar Srivastava
29-Dec-13 14:47pm
View
I guess you need to loop while using n in x(n) and y(n)
Er. Tushar Srivastava
29-Dec-13 14:45pm
View
:) Sir, You have seen the Solution Explorer in VS 2012. It is hidden to the left/right hand side of the Application as a small tab. And when it is expanded, it is docked to the left/right hand of the window and the tab itself is hidden. It also offer you an option to pin it etc. I am trying to do similar. :) Please help if this is more explanatory and you have some pointers :) A very Thank you again.
Er. Tushar Srivastava
29-Dec-13 14:32pm
View
:)
Er. Tushar Srivastava
29-Dec-13 14:18pm
View
+5 it :) I hope that the links provided may help me moving ahead :) Thank you and a very Happy New Year to you too :)
Er. Tushar Srivastava
29-Dec-13 14:15pm
View
Oops!! Actually I that is the reason I didn't find anything on google so I thought that human Intellgence might understand my poorly asked question and give me some pointer (no offense). Actually, you have seen VS 2012, it has a whole new look. That new GUI, theme, design or skin (whatever you say) is what I am talking about. Please do understand, I am enjoying my vacations and so I asked silly questions (yet not silly for me). If guys at Microsoft can design that beautiful GUI that why can't I. Just what I need is some pointers.
Er. Tushar Srivastava
29-Dec-13 13:58pm
View
Please tell me one good reason why has this answer down-voted 5-6 times till now?
Er. Tushar Srivastava
29-Dec-13 13:33pm
View
Then you have to try using sprintf function to build the query and then execute it using mysql_query. That will possibly solve the problem.
Er. Tushar Srivastava
27-Dec-13 16:32pm
View
Nice pointers :)
Er. Tushar Srivastava
27-Dec-13 16:28pm
View
You need to at least provide with a small config data of your server. Is the folder in which your script is residing is accessible? Please consider revising the question. :)
Er. Tushar Srivastava
27-Dec-13 16:25pm
View
I guess you haven't pointed out any error that you are getting. Please consider revising the question. :)
Er. Tushar Srivastava
27-Dec-13 16:16pm
View
You have confused me. Why are you incrementing $i when you are not using it?
Er. Tushar Srivastava
27-Dec-13 16:13pm
View
Have you commented out the line echo (job_no) It is an error as per I can see.
Er. Tushar Srivastava
26-Dec-13 4:48am
View
I am happy to help :)
Er. Tushar Srivastava
25-Dec-13 9:25am
View
My Friend, I understand your point and the second important thing is, point isn't making me rich or poor and obviously it's a passion to help others. I am not obligated to help someone but the point is, when you write an answer just that someone might get help out of it and you actually put your valuable time into it and then someone just down vote it even without telling you a 'why', then it not just hurt, It kills me. That's why I put this request. I guess now you understand my point :)
Er. Tushar Srivastava
25-Dec-13 6:29am
View
Thank you very much for your valuable feedback. and very thank you for telling where should I post this question as I dodn't know where to post it. Very Thank you :)
Er. Tushar Srivastava
25-Dec-13 6:11am
View
Alright, :) Actually you have to use json for that.... Plase have a look at this link :) http://stackoverflow.com/questions/7313173/ajax-post-json-and-php-how-do-i-do-it This will help you :)
Er. Tushar Srivastava
25-Dec-13 6:09am
View
Thank you Sir and a very Merry Christmas to you :)
Er. Tushar Srivastava
23-Dec-13 10:57am
View
You have not explained your question and what have you done till now and where are you stuck. Seems like you are just demanding for some codes written by others. Please Improve the question otherwise people will down-vote this question.
Er. Tushar Srivastava
23-Dec-13 8:20am
View
Do you get any error on your server when you run the website you have created on your local machine in PHP 5.3.1 ? I am sure, you will see no error.
Er. Tushar Srivastava
23-Dec-13 7:50am
View
Please point out the mistake in the answer as it maybe helpful to someone who like you also get into similar problem :) If you just want to comment then please move it to Comment Section. This box is to submit answer.
Er. Tushar Srivastava
23-Dec-13 6:42am
View
Actually, some black-hat i.e. hacking related tools probably are available. Yet, it will not be ethical to do so. You can try to search on google for more information though.
Er. Tushar Srivastava
23-Dec-13 6:37am
View
You should not ask a question like give me code or like that. Better you Improve the Question and explain the problem you are having before someone down voted your question. I just told you the same. Be Cool...
Er. Tushar Srivastava
23-Dec-13 6:34am
View
Try this : http://www.developerfusion.com/code/3242/how-to-get-information-about-the-current-browser/ :)
Er. Tushar Srivastava
23-Dec-13 6:03am
View
Why does it get down-voted ?
Er. Tushar Srivastava
23-Dec-13 5:53am
View
Not a Question
Er. Tushar Srivastava
23-Dec-13 5:52am
View
I am not any ASP.Net guy but I am sure of one thing, you are using a client-side script (javascript) to manipulate a Server-Side Script (ASP.Net tag GridView) since you can see the runat="server". You have to look at the generated html and then try to manipulate that html using javascript
Er. Tushar Srivastava
23-Dec-13 5:48am
View
Do you want to translate or just want to change the script from Roman to Devnaagari?
Er. Tushar Srivastava
23-Dec-13 5:04am
View
The whole tutorial actually explains how to create these dialogs. What do you want? If you are finding it difficult to understand then you probably should learn some basic ASP.Net first.
Er. Tushar Srivastava
23-Dec-13 4:53am
View
I have read that a Rewrite Module for ASP.NET is there which is very simple and you can use it to generate these pretty urls or as it is called SEO friendly urls. Check google or Microsoft Site for this Rewrite Module.
Er. Tushar Srivastava
23-Dec-13 4:50am
View
Obviously its some logic error. You have to post some (not whole) possibly faulty code snippet to help someone who may answer you. I guess your login script or session manager has some fault. Try to review it and if you find the culprit you are good else you should post some code snippet here using Improve Question Link.
Er. Tushar Srivastava
23-Dec-13 4:47am
View
Have you tried to google it?
Er. Tushar Srivastava
23-Dec-13 4:46am
View
You have dumped your whole code without any formatting. Please consider revising it using Improve Question Link and put the codes in the Code or Pre Tag. Also, add your observed and expected response. It will help others while reading the question :)
Er. Tushar Srivastava
23-Dec-13 4:42am
View
alright :) even though I am happy to help :)
Er. Tushar Srivastava
23-Dec-13 4:35am
View
Actually, single link is never giving you all the concept to build it. You have to try to search with different keywords and then using different results to figure out a work plan and then you will finally have the result. I will suggest you to start google-ing with all the concepts. You obviously may know about the VIDEO tag in HTML5 and you need few divs, some pretty CSS and jQuery to change src of image or video without reloading the page. I guess you really should have to google and make some progress before anyone here will help you.
Er. Tushar Srivastava
23-Dec-13 4:20am
View
Have you tried to google it?
Er. Tushar Srivastava
23-Dec-13 4:11am
View
Please Use improve Question to post what error you are seeing when you use firebug or similar tool like chrome's web developer tool.
Er. Tushar Srivastava
23-Dec-13 4:06am
View
Remove this: Not a Question
Er. Tushar Srivastava
23-Dec-13 3:56am
View
What is the data type of your effdate column?
Er. Tushar Srivastava
23-Dec-13 3:44am
View
Thank you :) I am more than happy to help. Please mark it as solved if it helped you ;) :P
Er. Tushar Srivastava
23-Dec-13 3:43am
View
I am more than happy to help :) Please do mark it as solved if it help you though :P ;)
Er. Tushar Srivastava
23-Dec-13 3:42am
View
Alright! and Sorry I didn't actually looked at ASP I only looked at RSS Feed and since I had implemented it already so I tried to help
Er. Tushar Srivastava
23-Dec-13 3:41am
View
Thank you Sir, I updated the Answer and corrected all the formatting related issues :)
Er. Tushar Srivastava
22-Dec-13 15:23pm
View
Please Sir have a look at my answer I just posted :) BTW, you are right. It's difficult to explain basics. It take too much time to explain things as simple as you can and then typing it :D Anyways, a Very Merry Christmas to you :)
Er. Tushar Srivastava
22-Dec-13 14:46pm
View
I appreciate your response, but I am pretty sure you have confused a beginner here ... Though, brilliant response.
Er. Tushar Srivastava
22-Dec-13 14:43pm
View
Have you tried this: $('.item-box').height(maxHeight + 'px'); Try it, this really will make some change....
Er. Tushar Srivastava
22-Dec-13 14:35pm
View
You are pointing to the src attribute of the video tag to video.php This simply implies that either you have inserted wrong source or if there really is a video.php that actually is accessing the video for you, then there is a problem in the script. You should consider revising the question and adding the code for video.php if it is present.
Er. Tushar Srivastava
22-Dec-13 13:09pm
View
There is a Space between Vereine and Ve ... Is that correct ? :)
Er. Tushar Srivastava
22-Dec-13 12:13pm
View
Okay, there's an issue. You may be needing code in ASP.NET but I can only provide you code in PHP.... You are you going to manage?
Er. Tushar Srivastava
22-Dec-13 11:59am
View
You should start by looking at programming a simple neural network in C or C++. With the use of that knowledge and a little practice, you will start to get idea about ANN Programming. Then, the rest, i.e. porting is cheese cake. You can surely write a code in php if you have written the same in C or C++. The only change is syntax.
Er. Tushar Srivastava
22-Dec-13 11:14am
View
Merry Christmas to you too sir :)
Er. Tushar Srivastava
22-Dec-13 11:06am
View
No I am not, but if I tell you, when I noticed that I did wrong, I felt so bad. But yeah... if you are cool then I am fine :) Thank you :)
Er. Tushar Srivastava
22-Dec-13 10:54am
View
I rerated it 5
Er. Tushar Srivastava
22-Dec-13 10:54am
View
Oops.... I am sorry
Er. Tushar Srivastava
22-Dec-13 10:39am
View
What's the error? If you didn't create any table then the query above will fail. You will have to create a table first before doing anything else.
Er. Tushar Srivastava
22-Dec-13 9:01am
View
Try to do this, add a form load event and shift this statement to that part I guess that will solve the issue. BTW, i am no expert in this... yet, try it please :)
Er. Tushar Srivastava
22-Dec-13 8:54am
View
Is there any text inside the textbox when the application is loaded?
Er. Tushar Srivastava
22-Dec-13 8:52am
View
Have you tried google?
Er. Tushar Srivastava
22-Dec-13 8:50am
View
This is a comment/question that you may have possibly by mistake posted in answers block :)
Er. Tushar Srivastava
22-Dec-13 8:36am
View
Sorry, but I didn't understand the question completely. do you want to somehow highlight any link when it is clicked or you want to highlight the current page in the navigation bar? If it is the first case, the method is a.mylink:active { background: yellow; } where any link having class mylink will get background color yellow when clicked :) If the case is latter, then there is another method using javascript simply. Just let me know. I will respond :)
Er. Tushar Srivastava
22-Dec-13 8:24am
View
Thank you very much friend :) I have been in top list of 24 hours for the first time :) Thank you very much
Er. Tushar Srivastava
22-Dec-13 8:22am
View
:) Alright, I will give you a code soon... possibly very soon... :)
Er. Tushar Srivastava
22-Dec-13 8:19am
View
Absolutely :) this is what it is used for, to make code clean and beautiful :) Though there maybe some other use but I cannot see any :)
Er. Tushar Srivastava
22-Dec-13 8:17am
View
Cool... I will solve this soon and come up with an answer :) Actually I have got a plan... You you say, I can give you the idea i.e. the general plan of attack. If you need complete code, then you have to wait a little while I design the complete code :)
Er. Tushar Srivastava
22-Dec-13 7:39am
View
Initially, the blocks should be hidden using display: none in css and then revealing it on page load complete action $(document).ready(function(){}); This will generate neat html page in browser while the site is loading on a slow internet connection :)
Er. Tushar Srivastava
22-Dec-13 7:35am
View
I would suggest you looking at simplepie.org and about simplepie. It is a php based script which will help you get rss feeds from different url and then parse it and show it on your own website... Have a look at this news scroller on this website... Is this somehow relating to your problem. http://server.homesoft.cu.cc/
Er. Tushar Srivastava
22-Dec-13 6:51am
View
Alright, I just want to ask you a question. Do you want to host the feed on your server or you want the url mysite.com/rss points to feedburner.com/mysite ?
Er. Tushar Srivastava
22-Dec-13 5:59am
View
Alright friend, I have a comment to make and a few questions to ask. The comment is, You have to put <script type="text/javascript" src="slider.js"></script> since the short hand closing might not work though I am not 100% sure about it. The question is, where exactly are the slider HTML part of code? and Where is <style type="text/javascript"> $(document).ready(function(){ $('.slider').slimSlider(); }); </style> part of code?
Er. Tushar Srivastava
22-Dec-13 5:18am
View
It is this .... <style type="text/javascript"> $(document).ready(function(){ $('.slider').slimSlider(); }); </style>
Er. Tushar Srivastava
22-Dec-13 5:16am
View
Yes, See when you open the link of code, you see three columns. The first is the HTML code. It must be placed inside the body tag where you want to display it. For example, if you want to display the slider in header, you should put the code there. The second column is CSS, it will go in your stylesheet file. The third column is a javascript file which uses jQuery. So, you have to copy this code in a new file for example slider.jquery.js and save it in the folder where your javascripts are residing. then import it in your html like this. <html><head> <!-- HERE --> <script type="text/javascript" src="<!--Source to JavaScript-->"></script></head><body></body></html>
Now, as per I am seeing, the javascript in the code is actually a plugin created using jQuery. So, you have to write extra codes for running the plugin.
Er. Tushar Srivastava
21-Dec-13 22:55pm
View
Alright I will be posting an example using arrays. Actually that is simple.
Er. Tushar Srivastava
21-Dec-13 22:52pm
View
There are three types of arrays in php. The most common is indexed array. In this array, all the elements are indexed like 0, 1, 2 ... The next type is enumerated array where instead of fixed index you can have variable number (enumeration) for each element. The last type is called associative array. In this type of array the key also is a string so it is easy to use. For example, an array's element represented by $arr['ID'] is more understandable than indexed array $arr[0]. Now in your case I guess that simple index array will solve the problem. Yet it's upto your logic for what you want to use. :)
Er. Tushar Srivastava
19-Dec-13 13:12pm
View
Actually The Video Tag in HTML5 has this issue.... I would recommend you to to use either flash player or some other player maybe written in Java like jwPlayer ..... Best of Luck
Er. Tushar Srivastava
18-Dec-13 5:09am
View
Send me the code... I need to reformat a few things and then everything will work :)
Er. Tushar Srivastava
18-Dec-13 5:07am
View
Actually it is possible but I am sure the code will look seriously clumsy using that technique 'cause then you have to build an array containing the code as element and then you will be using the index received via a GET request to echo that element. It is better to stick to this solution :) BTW, you can try doing what I have given you as a homework hint ;) Best of Luck Buddy!!!
Er. Tushar Srivastava
18-Dec-13 5:04am
View
My code actually looks at what's in between the
tags i.e.
{ME}
. So, it doesn't matter what you have put in href
Er. Tushar Srivastava
18-Dec-13 5:02am
View
Alright mail me.... Here's my email id razieldecarte<at>gmail<dot>com
Er. Tushar Srivastava
17-Dec-13 23:41pm
View
Have you added the return false; line? It will stop the main event from firing. Btw I will check it after about 3 hrs 'cause I have to leave at the moment.
Er. Tushar Srivastava
17-Dec-13 12:50pm
View
Absolutely Try it and tell me if it is not working as an expected :)
Er. Tushar Srivastava
17-Dec-13 11:03am
View
you should comment in comment box not here in answer box.
Er. Tushar Srivastava
17-Dec-13 10:35am
View
You should either post a code snippet or update your question and make your explanation in a clear understandable points (Short and Concise) ... It will be more readable.. Hope that you understand :)
Er. Tushar Srivastava
17-Dec-13 10:11am
View
No, Actually I meant that jQuery is going to be very easy for solving this problem... Let me post an answer Give me a little time :)
Er. Tushar Srivastava
17-Dec-13 9:53am
View
please can you reformat the code... it is not simple for everyone to look at the code in this way.. Use tabs and spacing to make the code look more readable. Also, I am seeing you used the word "tabel" instead of "table". Is is surely correct?
Er. Tushar Srivastava
17-Dec-13 9:51am
View
Are you willing to use jQuery AJAX 'cause then it is going to be only a few lines of Code...
Er. Tushar Srivastava
17-Dec-13 9:36am
View
Have you tried using urldecode($_GET['key']); ... Try it... It will solve the problem
Er. Tushar Srivastava
17-Dec-13 7:07am
View
If I am not wrong the guy in the question said PHP 5.25 and we are discussing PHP 3 which is been obsolete years ago. :)
Er. Tushar Srivastava
17-Dec-13 7:03am
View
It is a pleasure to help peoples :) I am always here to help. Well for learning resources on internet, I would like to tell you two things. If you retain or learn better by audio visual source then you can go for video tutorials on youtube or net.tutsplus but if you are more comfortable in reading and understanding than no one is better friend's of yours than your favorite books :) Enjoy learning and always challange yourself to do big. Its how I have learned :) Best of Luck
Er. Tushar Srivastava
16-Dec-13 14:12pm
View
Alright... Logically Correct.... Fine, I need time but I will make an unbreakable code :) :) :)
Er. Tushar Srivastava
16-Dec-13 12:51pm
View
Have a look at the code now, I have updated my code....
Er. Tushar Srivastava
16-Dec-13 12:40pm
View
All Right... There is another solution then... Do one thing... in the if condition in video.php... decrypt the token, regenrate the session id and use new session id to re-encrypt the token and send it to access.php Now, is the problem solved? :)
Er. Tushar Srivastava
16-Dec-13 12:37pm
View
My Friend, I have a question.... Can you tell me the data type of the last_login column in your database in table users? I am damn sure that the problem is with the data type... Try to change the data type to VARCHAR(100) this will probably solve the issue...
Er. Tushar Srivastava
16-Dec-13 12:17pm
View
Check if the Rewrite Module in your Apache Server running or not... The htaccess file uses RewrtieEngine to generate user friendly url and if Rewrite Module is not activated or enabled then the htaccess file will generate error...
Er. Tushar Srivastava
16-Dec-13 8:50am
View
I have posted a similar example as an answer below... Check it... Hope that it will help :)
Er. Tushar Srivastava
16-Dec-13 8:04am
View
All right my friend..... I will be posting the reply soon.... sorry for the delay... I was busy with my exams :)
Er. Tushar Srivastava
10-Sep-13 6:53am
View
My Question actually was, What is _PVFV and _PIFV :) Thank you for the reply by the way :)
Er. Tushar Srivastava
6-Feb-13 9:06am
View
Yes Sure sir, Yet interesting news is that I have solved it using your method already :-) By the way Thank You again for your answer. I will surely be posting up my software code as it will be completed :-)
Er. Tushar Srivastava
6-Feb-13 8:41am
View
Yes, actually I have to get deep into the WPF before doing anything that uses advanced techniques and I am just going to get a good Book on advanced approach in WPF to get stated as I am finding it very interesting. :-)
Er. Tushar Srivastava
6-Feb-13 8:20am
View
Thank you Very Much Sir, I will definitely try this approach too but before that I have to master few of the fundamentals of WPF as I am hobbyist and just love to play with codes. :-)
Er. Tushar Srivastava
6-Feb-13 8:12am
View
OK Thank you very Much Sir :-)
Er. Tushar Srivastava
6-Feb-13 8:06am
View
Thank You Very Much Friend(or Sir), Seems like good to me. Just a query, is it fine to redefine wrapPanel object as it has been already defined it in the next Partial Class generated dynamically by Visual Studio? Correct me if I am wrong :)
Er. Tushar Srivastava
6-Feb-13 8:01am
View
Sorry, actually, I have reviewed my question and updated it. :-(
Er. Tushar Srivastava
6-Feb-13 7:57am
View
Thank You very Much Friend(or Sir), I have just a quick query, I can code, but, can the above method applicable in a way like this. I have an integer variable. I just want to create 'n' instances of User Control and Display it on Screen where 'n' is the value stored in the integer variable. :-)
Er. Tushar Srivastava
21-Dec-12 5:44am
View
Thank you Sir... hope that it may help me... I will be trying it right now... :-)
Er. Tushar Srivastava
20-Dec-12 7:11am
View
Okay! Let me check these things Thank You..... Yet even though the case is that if the problem is arising in my IDM which actually works perfect for all the files on internet then the same problem will arise if some other user will try to download the file from my website.... assume it not as IDM error yet the website scripting error or something. Thank you....
Er. Tushar Srivastava
14-Oct-12 2:50am
View
Thank you Sir :-)
Er. Tushar Srivastava
25-Sep-12 9:32am
View
You have included connect_db.php can I see the file....
Er. Tushar Srivastava
22-Sep-12 10:58am
View
Hi friend, Please take your time to explain the question. No one is going to understand a question like this not even me :(
Er. Tushar Srivastava
22-Sep-12 10:52am
View
Do your homework on your own, I have learned the same way. Hope you will also learn by doing so, it's not at all difficult :-)
Er. Tushar Srivastava
22-Sep-12 10:00am
View
The function seems to be good, I tried this
<pre lang="C#">
private void mytest()
{
DateTime myday = DateTime.Parse(label1.Text);
DateTime myevent = DateTime.Parse(label1.Text).AddDays(double.Parse(label2.Text));
if(myday < myevent)
MessageBox.Show(myevent.ToString());
}
</pre>
The result was, from today, 29-09-2012 PM 05:00:00 when I set the value of days equals 7 in label2 and 22-09-2012 PM 05:00 in label1.
Now this means that the function is working fine.
So, the code must work correctly, now if it is looping back to it's initial date then you can use this code and test it also,
<pre lang="c#">
private void mytest()
{
DateTime currday = DateTime.Now;
DateTime myday = DateTime.Parse(label1.Text);
DateTime myevent = DateTime.Parse(label1.Text).AddDays(double.Parse(label2.Text));
if (currday < myevent)
MessageBox.Show(myevent.ToString());
}
</pre>
ie. Instead of comparing it to the date already saved inside label, compare it with current date :-) Hope it helped you.
Er. Tushar Srivastava
21-Sep-12 18:13pm
View
I have updated the answer...
Er. Tushar Srivastava
21-Sep-12 18:07pm
View
Deleted
Actually I had put a php code in between the loginproc.php?from="here and it is lost :(
Er. Tushar Srivastava
21-Sep-12 17:58pm
View
Deleted
Okay, have you seen one mistake, actually, I noticed it just now, You are not sending the 'from' variable while you go through the real login .... I found this flaw when I logged out and logged in again :O
See you have to do this
<form method="get" action="loginproc.php?from=".."">
Now it's correct :-)
Er. Tushar Srivastava
21-Sep-12 17:53pm
View
Actually , your code didn't answered me one thing, where is the entry point... Is it the fullprofile.php since it is the only point I can see.. and seriously, I have tested your codes they are working perfectly on my system.. I copy pasted the codes and ran them.. I have IIS Server with PHP installed and I also have Xampp
Er. Tushar Srivastava
21-Sep-12 17:42pm
View
My friend, all the code is correct, and actually I ran the same same code on my system, and it is working fine that too in firefox :)
Er. Tushar Srivastava
21-Sep-12 17:37pm
View
Thank you sir, that you found it useful :-)
Er. Tushar Srivastava
21-Sep-12 17:36pm
View
Well the best method to get the url is, the same method you are using, but remove the encodeurl and test again, actually, I am also testing what makes your code not run, but till now I have not found any fault..
Er. Tushar Srivastava
21-Sep-12 17:28pm
View
Ok... then the generated url is correct, ok try to just use fullprofile.php?id=3 and test, it will work 101%
Er. Tushar Srivastava
21-Sep-12 17:21pm
View
That will work possibly.. by the way, are you saving this project under C://xampp/htdocs/xampp/shadi/ ?
Please tell me this :-)
Er. Tushar Srivastava
21-Sep-12 17:15pm
View
Ok.... Let me think for a while, since there is possible error in sending the address... Can you please post a snippet of code that you have just edited..
Er. Tushar Srivastava
21-Sep-12 16:58pm
View
And as I have just seen, you are actually sending the 'from' into the url, in that case the $_POST['from'] will not work at all, use $_REQUEST['from'] or $_GET['from'] :-)
Er. Tushar Srivastava
21-Sep-12 16:57pm
View
Since if it is the case, then you must have to check what you are posting, since otherwise this code is correct...
Er. Tushar Srivastava
21-Sep-12 16:56pm
View
are you posting the address of the url from where you have come to this (current page ie login page)... inside the form through some hidden links ?
Er. Tushar Srivastava
21-Sep-12 14:00pm
View
Maybe they don't know about electronics, since this problem is more related to electronics and I am actually an electronics engineer and I know that whatever I answered is correct :-) It's alright by the way, I never mind :-)
Er. Tushar Srivastava
21-Sep-12 13:04pm
View
Thank you for this quick tip :-) I really didn't knew about this one :-) Thanks a lot :-)
Er. Tushar Srivastava
21-Sep-12 12:49pm
View
I am talking about creating a horizontal scrollbar in dos text mode ... :-) Please it's a request
Er. Tushar Srivastava
21-Sep-12 12:16pm
View
It's all right :-)
Er. Tushar Srivastava
21-Sep-12 12:04pm
View
Oooooo......... And I didn't gave it a thought :-)
Er. Tushar Srivastava
21-Sep-12 11:59am
View
You only need answer in either Yes/No?
Well then I will certainly say YES...
And the reason for this is, that there are many dangerous guys out there who always tries to peep into your security and if they succeed, then they will get the list of all the users with the passwords as well, it can be dangerous for users of your website as well as for you :-( So, it's mandatory to use Encryption in real world application.
Er. Tushar Srivastava
21-Sep-12 11:39am
View
Sir, Please Help me implement this in this program in DOS TEXT MODE using C++ I will be very thankful to you. It's a kind request :-)
Er. Tushar Srivastava
21-Sep-12 11:28am
View
Ok... got your point, but what about windows console screen?
Er. Tushar Srivastava
21-Sep-12 11:22am
View
Please Explain....
Er. Tushar Srivastava
21-Sep-12 10:27am
View
What do you mean by a Machine? Do you mean Computer.....?
Well try using System Registry in Windows
Er. Tushar Srivastava
21-Sep-12 10:17am
View
Notice the $to = "ganeshxxxxxxx@yahoo.xxxxx" ..... what are these x's for?
Er. Tushar Srivastava
21-Sep-12 10:04am
View
Oh! it's all right :-)
Er. Tushar Srivastava
21-Sep-12 9:40am
View
Are you talking about system admin or some local admin of that application?
Er. Tushar Srivastava
21-Sep-12 8:25am
View
Then, will this code work?
Er. Tushar Srivastava
21-Sep-12 8:22am
View
My friend, the program that you have made here seems to me as a counting program that only counts the number of 1's in the file but nothing else. ok I will be posting a working code soon...... :-) Happy Programming :-)
Er. Tushar Srivastava
19-Sep-12 11:56am
View
I too forgot that the real location of desktop is C:\Users\Username\Desktop" and not C:\Users\Desktop ....... Very well done sir... but I guess he has tried other locations also....
Er. Tushar Srivastava
19-Sep-12 11:42am
View
I have tested the codes in my system and it is working perfectly...
Er. Tushar Srivastava
19-Sep-12 11:40am
View
Yes you are right....... Sorry for that.... and thank you for pointing it out..
Er. Tushar Srivastava
18-Sep-12 4:49am
View
I guess the user requires to read file header to know the exact type of file even if it's extension has been changed so as to protect some malicious content to be uploaded on the server.... Please review the question...
Er. Tushar Srivastava
18-Sep-12 3:59am
View
Yes sure, I am here in Chandigarh :-) Why?
Er. Tushar Srivastava
18-Sep-12 3:54am
View
Implies that you are making some kind of online Web builder application?
Well then I guess I cannot be of any help to you, sorry, because I have no experience in ASP yet I have worked with it too but not with ASP.Net... but it's all right... I will try for some sort of solution and possibly return to you with an answer... i never loose hope :-)
Regards
Tushar Srivastava
Er. Tushar Srivastava
18-Sep-12 2:47am
View
Well Now I am understanding it a bit.. What you are trying to do is, you have created a list of objects and use this list to render the control on the form only at runtime.. and now when they are created at runtime, you donot have any option to get values. directly... let me answer you in a while.. I will be doing a test and replying you. Please understand it.. I will surely be back with answer in no more that 10-15 mins... Thanks.. And yes, I have also created such a program long time ago :-) So it's sure that you will get the answer :-)
Er. Tushar Srivastava
18-Sep-12 2:27am
View
I am sorry, but I am not able to understand your problem. Please do clarify the question... It will be appreciated..... :-)
Er. Tushar Srivastava
17-Sep-12 15:41pm
View
Yes, that is the one.... Actually I haven't worked with C++ for long so I forget it, but yes it is the one I am talking about... :-) Thanks For Pointing it out.
Hope your Project successes
Regards
Tushar Srivastava
Er. Tushar Srivastava
15-Sep-12 10:40am
View
Thank you both :-)
Er. Tushar Srivastava
31-May-12 5:17am
View
Oh... I think you get me wrong, sorry I mean I am trying to figure out the algorithm, :-D Anyways thank you.
Er. Tushar Srivastava
28-May-12 23:41pm
View
I tried and it fails....
Er. Tushar Srivastava
26-May-12 14:54pm
View
As I have already mentioned, I have actually done everything. All that is required. Let me explain, First of all I setup a url at no-ip.com and linked it to my IP address, I also downloaded the automatic IP updater. Then I setup a static internal IP for my Laptop, and then setup port forwarding like this :
External Port Start/Stop = 8085 ; Internal Port Start/Stop = 80 ; IP Address = 192.168.1.11 (static internal IP of my Laptop) ; but even though I am getting Server not found error yet Port check wesite is telling that port is open and listening.
Er. Tushar Srivastava
26-May-12 14:41pm
View
Isn't that possible that I am testing it on the same laptop through which I have made all the connections (ie. host of my Web Server), so there is a case of loop back and so, I am unable to see my page.... is it the reason?
Er. Tushar Srivastava
26-May-12 13:52pm
View
Sir, i have gone through the above mentioned links, actually the port 8833 given there is just an example. By the way, I also read the other two links, and actually I havee setup everything according to that only.
Er. Tushar Srivastava
26-May-12 13:39pm
View
Ok thank you for your suggestion I will be going through these pages. Very thank you once again.
Er. Tushar Srivastava
26-May-12 12:56pm
View
Sir, I have turned off all the security checks that includes my firewall and everything else, but I am unable to access my page through that url.
Er. Tushar Srivastava
11-Jan-12 14:10pm
View
Actually the device is completely made by me using most general ICs and component and no standard seems to follow with my device. I wanted to command my device simply using some binary codes that are recieved by my device and it does it's job I also have to check busy flag of my device ie one bit reading. Help me. Thank you.
Er. Tushar Srivastava
11-Jan-12 14:05pm
View
Thank you for your valuable comments and replies. I will be using FT232R USB to serial converter. By the way tell me about very basic accessing after that since I haven't have any experience of interfacing.
Er. Tushar Srivastava
16-Dec-11 11:05am
View
It is certainly useful for me. Well actually I am not a programmer but I am an electronics engineer but for one of my interfacing design I am required to design this system. Well once again Thank you very much.
Er. Tushar Srivastava
16-Dec-11 10:58am
View
Thank you very much, but should I explain it again?
Er. Tushar Srivastava
16-Dec-11 10:55am
View
well, I mean that I have created a rectangle of 5px x 5px at that point
Show More