Posts
 
Reputation
Joined
Last Seen
Ranked #590
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
96% Quality Score
Upvotes Received
24
Posts with Upvotes
18
Upvoting Members
15
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
4 Endorsements
Ranked #397
Ranked #2K
~31.4K People Reached
About Me

Senior PHP and .NET Framework developer

Interests
Programming
PC Specs
The beast: Custom EmperorLinux Koala E7240 i7 Dual Core 2.1 GHz, 16 GB DDR3, 500 GB mSATA SSD, Gobi…
Favorite Tags
Member Avatar for Shilpa_5

The plugin itself is not that important. Make sure that your site: 1) Works well with the social media sites you use (e.g. pulls in the right thumbnail and summary text when you share a page) 2) Write good content that is relevant to your target market There are dozens …

Member Avatar for johnp72014
0
281
Member Avatar for Ritesh_4

You may have done this but often I find a reboot or two resolves this type of issue for me. Open up Settings > Windows Update and click Check for updates, wait for it to finish, then reboot. Do this twice and it is likely to clear up, otherwise it …

Member Avatar for rproffitt
0
505
Member Avatar for priyanshi_1

You should mention what your goals are -- e.g. what do you want this site to accomplish, what process or existing manual system does it replace -- and try to list a few sites that do similar things online that you have found, otherwise it would be really hard to …

Member Avatar for priyanshi_1
-1
233
Member Avatar for find_1

After your main loop possibly just do another loop to go from 1 - $max_id and tar up then rm -rf each lower numbered directory? Maybe I'm missing something but it seems like you're 99% there. Make sure you make a complete backup of your directory before testing anything that …

Member Avatar for find_1
0
332
Member Avatar for reminem

Just wanted to comment that I recommend strongly using prepare and execute instead of escaping strings, as that is a very error-prone method and may lead to SQL injections. See [this code snippet](https://www.daniweb.com/programming/web-development/code/486471/safe-and-simple-database-inserts-and-other-queries) for an easy to use function you can use instead.

Member Avatar for Isaac_4
0
369
Member Avatar for Tony_20

The general approach is to do two queries. Since you didn't include the code that generated your result set, I will use a simple example. The idea is to do a SELECT COUNT(\*) query to figure out how many rows there are in the table, then do a separate SELECT …

Member Avatar for diafol
0
3K
Member Avatar for ram_10

Agreed that more context is needed in general. What type of object is chart1? One thing I noticed is that displayData_Event is invoked by DataReceivedHandler but this seems to not do anything. It might be that you need to ask the chart to refresh itself (can't really be sure without …

Member Avatar for ram_10
0
1K
Member Avatar for Usman_11

Looks like maybe a simple typo, you open a file named "modifiedrecords." (without any extension) then try to rename a file named "modifiedrecords.txt" to "newrecords.txt".

Member Avatar for Nisar_3
0
367
Member Avatar for joshl_1995

If there is an existing AC connection between the two buildings you may be able to get by with an ethernet over powerline adapter such as http://www.amazon.com/TP-LINK-TL-PA4010KIT-Powerline-Adapter-Starter/dp/B00AWRUICG/ref=sr_1_3?ie=UTF8&qid=1457965921&sr=8-3&keywords=ethernet+over+power

Member Avatar for rubberman
0
677
Member Avatar for rhodoscoder

If I am guessing correctly, you are just trying to get some basics to work before you implement the actual functionality. There's nothing wrong with that! The problem basically is just that you need to declare the $title variable as global in each of the functions that references it. I …

Member Avatar for rhodoscoder
0
203
Member Avatar for SimonIoa

What is the URL to your page? The ISP's notes sound more related to a frontend (i.e. your browser can't load that many videos at once) than something you could solve in PHP, but it would be impossible for us to know without looking at the page as it loads.

Member Avatar for SimonIoa
0
595
Member Avatar for ashalatha

Be really careful when you use On DELETE CASCADE - if you do not set it up exactly correct you will end up removing records that you didn't intend to. As Bin_2 says, it would be better to post the schema of your tables and then we can tell you …

Member Avatar for Isaac_4
0
547
Member Avatar for Nirmala_1

Diafol is very right, your code is subject to injection attachs. As hey says, you should at least call `mysql_real_escape_string()` on every value before putting them into your `$sql` variable. Even better would be to use my sample [Safe and SIMPLE database inserts](https://www.daniweb.com/web-development/php/code/486471/safe-and-simple-database-inserts-and-other-queries) which should actually be even easier (less …

Member Avatar for Isaac_4
0
2K
Member Avatar for davy_yg

Those are not really errors - they are PHP code that isn't getting parsed. Somewhere you have a line that starts with "load->model(array('Mediatutorialaccount'))" which is not inside of a `<?php` block. I would recommend searching the whole directory for the word "Mediatutorialaccount" to try to find where this is. You …

Member Avatar for davy_yg
0
353
Member Avatar for davy_yg

I suggest using DataTables to do this. Their [zero configuration example](http://www.datatables.net/examples/basic_init/zero_configuration.html) does exactly what you want to an existing HTML table. It does also add search and a few things, so you may want to remove those extra features: <!-- previous code the same --> <table id="admintable" border="1" cellpadding="2" cellspacing="0"> …

Member Avatar for davy_yg
0
342
Member Avatar for bro_1

You need to define what you want to redirect *from* as well as what you want to redirect *to*. Assuming that you want to go from: http://example.com/test to: http://example.com/media.php?page=test Then this should do the trick: <IfModule mod_rewrite.c> # Turn on the engine RewriteEngine On # If your pages are under …

Member Avatar for Isaac_4
0
223
Member Avatar for Isaac_4

Here is a simple way to insert into a database that isn't much harder than using string concatenation - which we all know is very dangerous due to SQL injection attacks. Put the code snippet into `database.php`. Now, in a script handling a form post, such as `post_reply.php`: <?php require_once("database.php"); …

Member Avatar for diafol
4
498
Member Avatar for shayan_doust

Try adding these lines to the top of your PHP script to make sure errors show up: define('DEBUG', true); // change true to false to disable errors showing up if(DEBUG) { ini_set('display_errors', 1); } else { ini_set('display_errors', 0); } error_reporting(E_ALL & ~E_NOTICE); This might help you track down the error …

Member Avatar for matrixdevuk
0
2K
Member Avatar for awahqn

Couple things: 1. Use phpinfo() to make sure that the value is actually being changed or not. If your host runs PHP as FastCGI, you may need to kill the cgi processes. 2. Your host may be killing the process using a different mechanism. This is common on many hosting …

Member Avatar for gabrielcastillo
0
4K
Member Avatar for fheppell

I believe you need to set CURLOPT_RETURNTRANSFER before CURLOPT_FILE: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FILE, $fp);

Member Avatar for Isaac_4
0
289
Member Avatar for sammry

Also all the data in the CURLOPT_POSTFIELDS will not be in the URL but rather part of the POST body, so don't worry about problems with URL length. gabrielcastillo's suggestion is a good way to do this.

Member Avatar for Isaac_4
0
2K
Member Avatar for grakovski

The problem is that the return result is not a valid JSON string: jsonUptimeRobotApi({"stat": "fail","id":"100","message":"apiKey not mentioned or in a wrong format"}) This is, rather, a JavaScript function call. This type of "JSON" return is meant for consumption on the front-end of a website, inside the browser. The easiest fix …

Member Avatar for Isaac_4
0
385
Member Avatar for spiderling

I recommend [FPDF](http://www.fpdf.org/) for this. Here is some sample code extracted from a project I did recently that filled out a complex employment application based on a web form. This won't quite run without adjustments but it should get you on the right track and includes a helper class to …

Member Avatar for Isaac_4
0
7K
Member Avatar for davy_yg

Your Google SMTP account can send email to any address - if you are able to send email to yourself on Google without getting any warning bars at the top of the email view, it will work with any other email address as well. If you do get any of …

Member Avatar for davy_yg
0
493
Member Avatar for davy_yg

You may want to move the file to a permanant location first using [move_uploaded_file](http://php.net/manual/en/function.move-uploaded-file.php). The temp directory may have unusual permissions preventing you from reading the file, and these temp files are deleted very quickly as well. Without the rest of the context for your script it is hard to …

Member Avatar for davy_yg
0
2K
Member Avatar for shammi.khan.73

[This article](http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#v451) has notes on the changes in 4.5.1. An example of something that could cause a problem - there do appear to be new datatypes. If you rely on those datatypes or the other changes this might actually matter a lot.

Member Avatar for Mark_28
0
213
Member Avatar for javed.iqbal.3979

I recommend that you do indeed use MVC, it is (in my opinion) easiest to learn and superior as well. I learned MVC 4 from these two books: http://www.amazon.com/Professional-ASP-NET-MVC-Jon-Galloway/dp/111834846X/ - basics of MVC development http://www.amazon.com/Microsoft-NET-Architecting-Applications-Enterprise/dp/073562609X/ - teaches good architecture which is useful even beyond .NET One more book, which is …

Member Avatar for JorgeM
0
328
Member Avatar for chaze
Member Avatar for Sumith Asanka

Open up your browser's [JavaScript console](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers). I bet the script manager is causing a syntax error or other error to occur which breaks the other JS on your page.

Member Avatar for Isaac_4
0
158
Member Avatar for HardikParmar