Comment by lfx on How to compile a C++ source code written for Linux/Unix on...
Format code correctly and what errors you are getting?
View ArticleComment by lfx on how to upload .txt files to sql database using asp.net(C#)
Could you be more specific? txt files with sql's in side, witch must be executed, or txt files with some random text inside for storing info only?
View ArticleComment by lfx on can anybody help me with using wp_print_scripts,...
I looked deeper and found that all functions above goes throw one wp_enqueue_script function -> codex.wordpress.org/Function_Reference/wp_enqueue_script
View ArticleComment by lfx on Reading any well-formed RSS/ATOM file using PHP
Sure it is possible :) If you say that you want to read well formated rss/atom feed, first what you want to do is examine rss/atom specifications ( cyber.law.harvard.edu/rss/rss.html /...
View ArticleComment by lfx on zipping file problem on the server PHP
First of all try to error_reporting(E_ALL); then you see all errors which may cause your problem.
View ArticleComment by lfx on jquery refresh php loop?
That function should get all data which you need for page. Like open new page, etc.
View ArticleComment by lfx on Validation is not working
In way you asked I can tell one think - your code does not working ;) Show your code pleas.
View ArticleComment by lfx on Asterisk click to call
Yes, exactly what I needed, not so nice, but works :) Thanks!
View ArticleComment by lfx on PHP syntax error when installing pear on mac OS X 10.6.6
Pleas show your php.ini about 1050 line.
View ArticleComment by lfx on How can I echo HTML in PHP?
@MhdSyrwan just random chars, you can read more here php.net/manual/en/…
View ArticleComment by lfx on Register web.xml listeners using guice servlet module
Very helpful! Just in my case getInjector() is called before contextInitialized(). This is bit odd, but still works!
View ArticleComment by lfx on Grunt wiredep:app no such file or directory bower.json
I got this message this morning too. But for grunt serve. Yesterday it worked without any problems.
View ArticleAnswer by lfx for Worst security hole you've seen?
Web app on IIS, there was no file upload filter. So you could upload exe, and do smf fun ;)
View ArticleAnswer by lfx for Wordpress And Zend
Try this http://blueberryware.net/2008/09/04/wp-library-autoloader-pluginI think all you need is there.
View ArticleAnswer by lfx for C# and MySql integration
May be this links be use full for you, was for me, when I started :)windows-programming.suite101.com and bitdaddys.com
View ArticleAnswer by lfx for How do other development teams approach version numbers?
My company develops product for 19 years, and we have only version - 3. Although we had 1.2, 1.5 and so on. I think this is the best practice.
View ArticleAnswer by lfx for PHP - Drop down list to display .txt contents
This is quick solution, but highly insecure, use it only as example, how could be done, but shouldn't: <?// your page code here// this is body where you want to put song...
View ArticleAnswer by lfx for page not redirecting
You can't echo and print_r or give any other output before function header.
View ArticleAnswer by lfx for PHP: Set Variable to Get Value
if(empty($_GET['swf']) and empty($_GET['name']) and empty($_GET['description']) and empty($_GET['instruction']){/// code here}else{/// and here}
View ArticleAnswer by lfx for mysql concate check not null
You may use case condition for this http://dev.mysql.com/doc/refman/5.0/en/case-statement.html
View ArticleAnswer by lfx for Will data order in post form be the same to it in web form?
Better way to do in html: <input name='the_same[]' value='different' />Then in server:$the_same = new array();foreach($_POST['the_same'] as $data) // or $_GET if you prefer $the_same[] = $data;In...
View ArticleAnswer by lfx for c#: adding two strings
Try @ before first quote (") like this:html = new WebClient().DownloadString(@"http://www.google.com/search?sourceid=chrome&ie=UTF-8&q="+ biocompany);
View ArticleAnswer by lfx for Cookie is setting twice (duplicated)
Now you cookie stores for 60 sec.time()+60*60*24*30 //this makes store it for 30 days.from php.netexpire - The time the cookie expires. This is a Unix timestamp so is in number of seconds since the...
View ArticleAnswer by lfx for filter by multiple attributes
Em... like this? Or what do you want? SELECT * FROM tableWHEREid_products=13 and name="audio" and value="2.1" and name="hdd" and value="200 gb"
View ArticleAnswer by lfx for get the records for the latest timestamp mysql
Or if you want todays resultsSELECT * FROM table WHERE recordEntryDate > DATE( NOW( ) )
View ArticleAnswer by lfx for Publish news feed through cron job
Via cron job - no. Cron is server side tool.You can do it with JavaScript's setTimeout() function.
View ArticleAnswer by lfx for Drupal, mysql server settings
server.com? I think you must change localhost to server.com in your string.$db_url = 'mysql://user:password@server.com/databaseName';
View ArticleHow to open connection to local network path protected by password in smart...
I developing program witch have to write some data in file whom are stored in network computer witch are protected by password. Now I'm doing this way - open connection with cmd then write data. static...
View ArticleAnswer by lfx for Print $name value in php
header('Content-Disposition: attachment; filename='.$name);
View ArticleAnswer by lfx for Decompressing a .gz file via PHP
Did you tried gzuncompress? http://www.php.net/manual/en/function.gzuncompress.php
View ArticleAnswer by lfx for Add Text editor to my web application
You can try tinymce or ckeditor if you need extra features.
View ArticleAnswer by lfx for How to add keydown/up event listener on eclipse rcp editor...
I found the way (thanks guys in irc)// ITextEditor editor;((StyledText)editor.getAdapter(org.eclipse.swt.widgets.Control.class)).addKeyListener(new KeyListener() { @Override public void...
View ArticleHow to add keydown/up event listener on eclipse rcp editor view?
So I basically need to get key press up/down event from eclipse editor view. I googled it for couple hours but only found keypress events from shell (like in here). But this method do not work in/from...
View ArticleIs it possible to track if someone printed a web page?
I think it's not possible, but I want to make sure.
View ArticlejQuery hover animation keeps running. Stop() variations don't help
I have weird problem with this code $('img').hover(function(){ var $cap = $(this).parent().find('.cap'); window.setTimeout(function(){$cap.stop(true,false).animate({bottom:164},500)},500);...
View ArticleAsterisk click to call
Maybe some of you may know how to achieve this. I want something like this:Click on link/button My phone rings, I pick it up Asterisk dials number for me Recipient phone rings I'm using asterisk 1.2.I...
View ArticleHow to reset css in middle of html document?
I wonder if there are any possibility to reset css in middle of page? I have main style, but in one area I would like to use style from tinyMCE generated source. So in tinyMCE source are elements which...
View Article