988 Archived Topics
Remove Filter I have always known that urlencode() encodes spaces as plus signs and rawurlencode encodes spaces as %20. However, I always struggled to know when to use which. I just finally learned today that you should use rawurlencode() if encoding URI paths and urlencode() if encoding query strings. Who woulda thunk … | |
I'm the founder of DaniWeb. Here's my [about me](https://www.daniweb.com/welcome/about) **Ask Me Anything!! :)** | |
This page keeps crashing on my iPhone, both in Mobile Safari as well as Chrome. https://www.daniweb.com/connect/developers/endpoints | |
Does anyone have any experience using Ezoic to increase site speed? Namely ... * Is their site speed increase predictor accurate? * Does complicated Javascript still work perfectly? What are the trade-offs? * What is their pricing?! It says it's based on traffic, once the free trial ends, but I … | |
This is the code behind the demo at https://www.daniweb.com/connect/oauth/demo | |
I'm not quite sure what happened, but at some point fairly recently, Chrome DevTools stopped showing things in the Console. As a web developer, I obviously frequently use this to debug Javascript. Now, instead, there will be a little red circle with an error count in the top right corner … | |
You might be familiar with the dreaded blank page when your PHP script doesn't work. Here's how to spit out errors to the screen, instead of getting just a blank page, as well as logging errors to a file. | |
We just recently (read, today) implemented SameSite cookies to prevent CSRF attacks. The thing is, while there's a decent amount of information online about the benefits of them, I can't find any other sites that implement them. Not even any of the big ones I would suspect were spearheading something … | |
I need help with implementing MySQL transactions with PHP. Specifically, I'm confused between the flags `WITH CONSISTENT SNAPSHOT`, `READ WRITE`, and `READ ONLY`, what their differences are, and how they relate to table locking. I already read the MySQL reference manual but I'm still confused. | |
I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it. | |
I just noticed yesterday that FB Messenger ate my asterisks. Today, I just noticed that it was actually parsing my asterisks into bold! And it parses Markdown's syntax for italics too! I swear this is new. Try sending someone a message with Facebook and you can do: `*bold* or _italics_` … | |
I was up working on SEO until 5 am last night, and now it's 4:30 and I'm coding away. Does anyone have any good tips to help with insomnia? I tend to work late into the evenings, and I get such an adrenaline rush from coding (I'm a nerd, I … | |
I'm excited I just discovered a way to remove unused MySQL indexes and I wanted to share it with you guys. I'm following the tutorial here: https://www.percona.com/blog/2012/06/30/find-unused-indexes/ We happened to have already been using a Percona-fork of MySQL. It just so happens that Percona has been our database consultants for … | |
Any entrepreneurs in India out there in Internet land? I just stumbled upon this article https://developers.google.com/startups/ called the Google Launchpad Accelerator where Google is bringing startups from India all expenses paid for a 2 week accelerator program in Silicon Valley. Obviously the goal is so that startups will have more … | |
I'm trying to design a landing page for my API product, and it seriously is lacking any images. Where are the best places to get those Photoshop-ready backdrops that all of the paid themes seem to have? Deviant Art? Looking for ones that are optimized for this sorta thing, and … ![]() | |
Funnily enough, I have absolutely no experience with MySQL foreign keys. I'd like to change that :) My database schema is rather complicated, and I have a lot of work ahead of me, but let's simplify things. Suppose I have **Members Table:** id (PRIMARY KEY) username first_name last_name company etc … | |
Just a show of hands, how many people have taken the plunge and migrated to HTTPS since Google's announcement? I was really against it at first, because I just don't like to do things just for SEO's sake, and it seemed to me like this was one of those things. … | |
A couple of days ago, in Google Webmaster Tools, kilobytes downloaded per day skyrocketed like 3X, while pages crawled per day remained consistant. It's been like this for a couple of days now. I haven't make any big changes that I can think of that would cause this type of … | |
Google already talks about using ATOM activitystrea.ms for the social hub in Google Analytics. Does Google also use activitystrea.ms in its search algorithm? How beneficial might it be? I know they put a lot of emphasis on microdata as of late but this is a different beast entirely. | |
I have a Verizon FiOS Internet line coming into my office here at DaniPad, and it has a block of 5 static IPs (x.x.x.18 - x.x.x.22) that I'm paying for. The line is connected to a switch. Also connected to the switch, among other things (such as our security system), … | |
I've been in bed with the flu for the past week and haven't even looked at my computer. I'm finally starting to feel better! I'm going through everything that I missed, slowly but surely, but I'm likely not going to catch *everything*. Were there any important things that I missed … | |
My weekend project = CVs in member profiles!! Check it out and submit yours!!!! :) | |
This is a program I wrote for my x86 assembly class which generates matrices, multiplies them, and computes how long the arithmetic took. It uses Irvine32.inc which came with the textbook. | |
At first I thought it was just me. I restarted my DNS server after noticing intermittent connection issues. But nope! It looks like Facebook, Twitter and a handful of other sites are currently down in parts of the United States. At least here with Time Warner in NYC, and according … ![]() | |
As we all know, the latest version of Panda (hit in March 2013) was the last one to be pushed out manually. Google announced that from now on, Panda will be integrated into the main Google algorithm and will be a rolling update. As someone who was hit in November … | |
Is it no longer possible to change the crawl rate for a site in Google Webmaster Tools? Can't find the option anymore. | |
Google Panda rollout this week, confirmed by Google today, even though they previously said they were no longer going to confirm Panda updates. Word on the street is that they've softened the algorithm to not penalize border cases, and I've heard that some people are talking about recovery. DaniWeb hasn't, … | |
We log complete daily transcripts of our live web chat. There are a lot of interesting conversations that go on here, but of course they are posted as short, concise messages, as one would expect from a live chat room. What are the chances that Googlebot would eat our chat … ![]() | |
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({}); … | |
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 … | |
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? | |
Cast your vote in the Summer 2012 Code Snippet Contest :) **http://www.surveymonkey.com/s/CodeContest** | |
Sooo ... I learned during my schema migration that our webpages use UTF-8 encoding but our MySQL database (all InnoDB tables) uses latin1. After finally running some utf8_decode() php magic, I was finally able to successfully get all posts to display correctly again. However, now that I realize there's an … | |
Hi, I'm getting really frustrated with an issue that Ancient Dragon discovered is happening here. Anytime that the combination `% 02` (without the space) is submitted via a textbox, it's recieved by PHP $_POST[] array just as a space. It's like URL decoding is happening on the fly. This happens … | |
When is it appropriate to use InnoDB table types? What about for a forum such as this one with huge post and thread and memberlist tables? I was reading on dev.mysql.com that it is more efficient than MyISAM for large table types? Is this always the case? Would it make … | |
After being requested to write a tutorial a few times, I've finally found the time to create a mod_rewrite tutorial for vBulletin 3. What this tutorial will allow you to do is make your vBulletin forum search engine spiderable - for Google and all the others. [i]<< update >>[/i] [i][b]This … | |
Hey, peeps ... Any comp sci ppl out there in internet land? I'm trying to do my CSC110 homework but because of my car accident I wasn't in class for the last 2 lectures. I was wondering of someone might be able to give me a hand with minterms, maxterms, … | |
A program similar to ComputeMortgage.java utilizing a mathematical formula and multiple methods to calculate a loan payment. | |
So I'm not happy right now ... just woke up to an IM on my screen that Sun is buying MySQL. Look what Sun did to Java. Good or bad move for the developers out there? Cheers | |
[i]I found this in a few different places around the 'net - hopefully it's helpful:[/i] [font=Arial][size=5][color=#0000ff]Stop Getting Tricked into Running Viruses[/color][/size][/font] [font=Arial][size=2]Stop getting tricked into running viruses because you don't see the file extension of an attachment.[/size] [list] [*][size=2]Click Start, click My Computer, and on the Tools menu, click Folder … | |
I was thinking of going with these guys: [url]http://www.logodesignz.net[/url] Anyone hear of anything good or bad about them? | |
When looking for an information-based forum where you could learn, would you rather belong to a close-knit community or a professional corporate site? For example, we all want to feel welcome in a forum. But there is a more family-oriented feel (such as this forum) or the more corporate feel … | |
Which of the following is the proper syntax for the latest version of PHP? [code]echo "My name is $name. How are you?";[/code] [code]echo "My name is " . $name . ". How are you?";[/code] | |
[font=Arial][size=5][color=#0000ff][i][size=2][color=black][font=Verdana][color=black][i]I found this in a few different places around the 'net - hopefully it's helpful:[/i][/color][/font] [/color][/size][/i][/color][/size][/font][font=Arial][size=5][color=#0000ff]Search for Information From the Address Bar in Internet Explorer[/color][/size][/font] [font=Arial][size=2]You can quickly search for information on the Web using the AutoSearch feature in Internet Explorer 6 in Windows XP: [/size][/font] [list] [*][font=Arial][size=2]In the Address … | |
[i]I found this in a few different places around the 'net - hopefully it's helpful:[/i] [font=Arial][size=5][color=#0000ff]How to Change the Length of Time That Your Computer Is Inactive Before Your Status Becomes "Away" [/color][/size][size=2]This article describes the "Away" status in Windows Messenger. This article also describes how to change the length … | |
Digital Publishers: Do you block AI bots either via robots.txt, with HTTP 403s, or both? Why or why not? Currently on the fence about it and looking to get opinions from other publishers as to their reasoning and how it's influenced their SEO, etc. | |
I use Github for DaniWeb's code base. I was just wondering though. How secure is it? Would you ever store passwords or other sensitive information in Github (Don't worry. We use .gitignore.)? What about code that could be considered a trade secret, or that type of thing? | |
How can I identify and delete unused MySQL indexes? I have a large table that has somehow accumulated way too many indexes over the years, and I'd now like to identify and delete indexes that are no longer used by the application. |
The End.