1,447 Discussion / Question Topics
Remove Filter It's here, here at last! Only about a decade too late, and about six or seven years after Google announced they were working on it. AdSense now offers asynchronous code, finally. It looks something like this: <script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-xxxxxx" data-ad-slot="xxxxxx"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); … | |
Is DaniWeb extremely slow for you?? It's alternating for me between pages being speedy and taking absolutely forever to load. Is this on my end with my ISP? | |
Driving up to Cape Cod today and driving back home on Monday. *yawnies* Take care of DaniWeb while I'm gone!!!!!!!!!!!!!! :) See everyone next week. | |
I just found out from Facebook that Ted Ulle (Tedster on WebmasterWorld) has passed away :( Story about it here: http://www.webmasterworld.com/webmasterworld/4588975.htm RIP Ted :( ![]() | |
What's the difference and which are you supposed to use? I typically stick to `else if` unless I am using short tags. Is this correct?? | |
Can you guys help me figure out what's wrong with www.daniweb.com/chat (Sorry, you need at least 5 posts to access the page) It looks fine in Chrome, Firefox, and even Internet Explorer. But the right column doesn't show up in Safari. :( | |
What's the best way to overwrite the show_error() function in Common.php? ![]() | |
My Linksys Dual-N Band Wireless router is not assigning IP addresses to my wireless devices. I accidentally reset the darn thing and now I forget what my settings were for the type of security mode and encryption. It says it can connect to the SSID with WPA2-Personal and WPA-TKIP or … | |
Spiceworks, one of DaniWeb's advertisers, has just rolled out their DaniWeb API integration!! Check it out here: http://www.spiceworks.com/p/daniweb Please be sure to give suggestions :) | |
Remember when Panda used to mean a sudden increase/decrease for everyone on a single day once every 6 weeks or so? Back in March, Google said that they would stop announcing Panda updates because they were now part of the main algorithm as a rolling update. New confirmation from Matt … | |
I need to set a cookie with an array as a value. Is the best way to run serialize() on the data? | |
I'm using pspell and I have a large text document of one word per line that I would like to add in addition to the US dictionary already being loaded. I don't need to be writing to this document so just loading it for the session would be fine, I … | |
How can I get my SSL certificate to work correctly with Windows 2012 Essentials (specifically the remote web access feature). I *think* I installed the certificate correctly but it's not working :( | |
I heard in the latest Matt Cutts webmaster video that Google is trying to shift towards a non-anonymous web with the use of rel=author. However, how many people *really* use Google+?!?! I, for example, use Facebook and Twitter, but not Google+. Can *I* make use of rel=author or is it … | |
CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | … | |
When testing a CAPTCHA, is it recommended to test that the IP address used to request the CAPTCHA is the same as that used to answer the CAPTCHA?? Is it a concern for people that have dynamic IP addresses that potentially could change pageview-to-pageview? ![]() | |
How can I split a string by word? When I do `$words = preg_split('/\b\w+\b/', $message);` then the resulting array has the correct number of keys, but the array values are all blank? | |
I've temporarily disabled the live preview when posting in the DaniWeb editor. I've been really looking seriously into why contributions to the forums have been ever-decreasing and so poor lately, and I was able to trace it back to a complete night and day difference the day that we switched … | |
Not that things are necessarily *that* bad here on DaniWeb (yet), but I thought I'd open up a discussion about ways to revive a dead (or dying) forum? | |
Recently read somewhere that some sites are starting to see Lycos.com (yes, the one that fell off the face of the earth a decade ago) pop up as a main referer for them according to G Analytics. I'm not seeing ANY traffic at all from them, but was wondering if … | |
Am I just clueless, or where can I find the coordinates of the cursor in the latest version of Photoshop or Illustrator when I have View Rulers turned on? | |
What is the difference between: isset($foo['bar']) array_key_exists('bar', $foo) Is there a performance difference? Is one way more correct than the other? | |
What does the PHP error message `Uninitialized string offset: 0` mean? | |
I understand that the HTML 5 spellcheck attribute works on any input, textareas, and editable divs. I want to get spellcheck to work with our wysiwyg editor, which uses a non-editable div with a hidden input field (for backwards compatability). Is there any trick to get the spellcheck attribute to … | |
Can anyone point me to a sample use case of a very lightweight PHP-based example of a Google Analytics API pull?? I'm looking for two things: * Registering a pageview * Fetching pageviews per day/week/month/all for a particular page Thanks! | |
As the title suggests, what do you think about noindexing forum threads with no replies?? We do it here once we got hit by Panda the first time around, but then we recovered, and now we're hit again, and I'm wondering if it's a good idea to remove it. We … ![]() | |
I was wondering if anyone had any experience with Cloudflare and what you thought of it? A *LOT* of big sites are using it, and from what I'm hearing, it's really good at caching entire webpages at the DNS server end without ever having to hit your web servers. However, … | |
I was wondering if anyone out there had any opinions (strong or otherwise) about Discourse (http://www.discourse.org), the new Javascript-based discussion system built using Ruby by the guy behind StackOverflow. It's meant to revolutionize forum systems. Do you think it does?? It's a nice JS-based skin, I'll give it that, but … | |
Anyone around here own a tech publication and use NetShelter. They just announced earlier this week that they were sold to Ziff Davis. They're a big player in the industry so just wondering if it impacts anyone out there in Internet land? | |
The very early workings of an API ... http://www.daniweb.com/api/documentation Any ideas churning?? | |
I'm trying to debug my PayPal IPN code. Here is my PHP code: if ($this->input->post('payment_status') == 'Completed' AND in_array($this->input->post('txn_type'), array('web_accept', 'subscr_payment'))) { $query = 'cmd=_notify-validate&' . http_build_query($this->input->post()); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.paypal.com/cgi-bin/webscr'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $query); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); if ($result == 'VERIFIED') … | |
I know I promised not to make anymore drastic changes to the API, but ... well ... I lied. The two API write operations (voting on posts and watching/unwatching articles) used to always respond with a JSON object in the format success: true or success: false Now, they return the … | |
We regularly expire pages at which time we start sending back a 410 status code. Is there a way that we can inform Google as soon as possible which pages to remove from its index? I know that Google Webmaster Tools has a URL removal tool, but is there a … | |
We use CodeIgniter custom session data to handle our login (among many other things). Our settings are as follows: $config['sess_cookie_name'] = 'danisession'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = TRUE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; ... $config['csrf_protection'] = true; … ![]() | |
We currently expire our marketplace listings after a certain timespan elapses. Currently, we send back a 410 status code for our expired pages (404 = we've never heard of this page compared to 410 = we know what you're talking about but it doesn't exist anymore and never will again … | |
What do you think of the list of related articles that appear beneath the first post of each thread? ![]() | |
Is it possible to generate a DFP Small Business ad tag that forces a particular creative or line item, that I can use as a backfill ad tag for an ad network? | |
I have an Office 365 account (Hosted MS Exchange). I deleted a few accidentally created calendars in my MS Exchange account. Everything is synced just fine (with the one remaining calendar) in Outlook 2013, my iPhone, and on the Office 365 website. However, the Windows 8 calendar app refuses to … | |
Just as the thread title suggests, how can I deploy printers via group policy in Windows 2012 Server Essentials? | |
I currently have SVN down pat in Zend Studio. However, I can't figure out how to upload the changed files? | |
Article pages on DaniWeb (for those of you who live in the US) have a hover effect (similar to that on our homepage for everybody). It works fine in all browsers *except* for Firefox. Firefox is just super temperamental: it works a few times and then just mysteriously stops working … | |
Aside from breadcrumbs, what rich snippets can be used for forums? Can authorship work since there are multiple authors per page? or no? | |
It took me a little bit of frustrating time to figure this out yesterday, so I thought I'd post it in case other people ran into the same issue. I set up PayPal Instant Payment Notification (IPN) and thoroughly tested it in the sandbox environment. Everything worked fine. However, when … ![]() | |
What is the correct way to track PayPal purchases that use the standard payment button? I see on https://www.x.com/developers/paypal/documentation-tools/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables I can fill out the return and rm parameters, but I read somewhere that it requires the user to click "continue" in their browser *after* the payment has been completed in … ![]() | |
I have an API that supports both JSON and JSONP. Obviously, being a data provider, I want the people who request my data to cache it. However, jQuery's $.ajax() function says the following about their caching feature: >cache (default: true, false for dataType 'script' and 'jsonp') Type: Boolean If set … | |
Currently, to check if something is serialized, I do this: function is_serialized($data) { return (@unserialize($data) !== false); } But it issues an E_NOTICE. The @ is great to suppress output, but it's still clogging up every other line of my error log (which is purposefully enabled for notices). Are there … | |
I have an associative array that is many levels deep. I want to convert it to an indexed array (i.e. remove the key names). I don't want to flatten it; I want it to remain a nested array with all of the values intact. What's the best way to accomplish … | |
As many of you know, DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and client-side implementations. The server-side method I have down pat. However, I had to hack together the clientside implementation, and although it works, I'm not sure it's done "correctly". I … |
The End.