988 Archived Topics

Remove Filter
Member Avatar for Dani

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 …

1
1K
Member Avatar for Dani

I'm the founder of DaniWeb. Here's my [about me](https://www.daniweb.com/welcome/about) **Ask Me Anything!! :)**

1
981
Member Avatar for Dani

This page keeps crashing on my iPhone, both in Mobile Safari as well as Chrome. https://www.daniweb.com/connect/developers/endpoints

Member Avatar for Dani
1
2K
Member Avatar for Dani

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 …

Member Avatar for adaomacarl
1
1,000
Member Avatar for Dani

This is the code behind the demo at https://www.daniweb.com/connect/oauth/demo

1
3K
Member Avatar for Dani

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 …

Member Avatar for rproffitt
1
2K
Member Avatar for Dani

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.

1
2K
Member Avatar for Dani

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 …

1
3K
Member Avatar for Dani

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.

Member Avatar for Dani
1
2K
Member Avatar for Dani

I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it.

Member Avatar for PARDEEP_2
1
1K
Member Avatar for Dani

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_` …

Member Avatar for pty
1
3K
Member Avatar for Dani

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 …

Member Avatar for jwenting
1
964
Member Avatar for Dani

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 …

Member Avatar for Dani
1
136
Member Avatar for Dani

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 …

1
147
Member Avatar for Dani

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 …

Member Avatar for diafol
1
496
Member Avatar for Dani

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 …

Member Avatar for cereal
1
327
Member Avatar for Dani

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. …

Member Avatar for rinston
1
412
Member Avatar for Dani

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 …

Member Avatar for almostbob
1
126
Member Avatar for Dani

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.

Member Avatar for Dani
1
188
Member Avatar for Dani

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), …

Member Avatar for rch1231
1
872
Member Avatar for Dani

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 …

Member Avatar for KrYPt0NiTEâ„¢
1
179
Member Avatar for Dani

My weekend project = CVs in member profiles!! Check it out and submit yours!!!! :)

Member Avatar for Dani
1
395
Member Avatar for Dani

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.

Member Avatar for ESLAMIKA
1
5K
Member Avatar for Dani

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 …

Member Avatar for Warrens80
1
311
Member Avatar for Dani

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 …

Member Avatar for winstanleyf1
1
792
Member Avatar for Dani

Is it no longer possible to change the crawl rate for a site in Google Webmaster Tools? Can't find the option anymore.

Member Avatar for ellena980
1
95
Member Avatar for Dani

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, …

Member Avatar for omalchemical
1
263
Member Avatar for Dani

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 …

Member Avatar for LastMitch
1
193
Member Avatar for Dani

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({}); …

Member Avatar for zardari
1
371
Member Avatar for Dani

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 …

Member Avatar for Dani
1
108
Member Avatar for Dani

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 …

1
103
Member Avatar for Dani
Member Avatar for JorgeM
1
1K
Member Avatar for Dani

I currently have SVN down pat in Zend Studio. However, I can't figure out how to upload the changed files?

Member Avatar for Dani
1
253
Member Avatar for Dani

Cast your vote in the Summer 2012 Code Snippet Contest :) **http://www.surveymonkey.com/s/CodeContest**

Member Avatar for TrustyTony
1
460
Member Avatar for Dani

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 …

Member Avatar for smantscheff
1
344
Member Avatar for Dani

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 …

Member Avatar for Dani
1
330
Member Avatar for Dani

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 …

Member Avatar for devpk
1
1K
Member Avatar for Dani

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 …

Member Avatar for zuerich-finanz
1
8K
Member Avatar for Dani

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, …

Member Avatar for BestJewSinceJC
1
624
Member Avatar for Dani

A program similar to ComputeMortgage.java utilizing a mathematical formula and multiple methods to calculate a loan payment.

1
200
Member Avatar for Dani

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

Member Avatar for TopDogger
1
115
Member Avatar for Dani

[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 …

Member Avatar for maui_mallard
1
149
Member Avatar for Dani

I was thinking of going with these guys: [url]http://www.logodesignz.net[/url] Anyone hear of anything good or bad about them?

Member Avatar for staceyhamman
1
454
Member Avatar for Dani

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 …

Member Avatar for Dani
1
788
Member Avatar for Dani

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]

Member Avatar for knight42
1
4K
Member Avatar for Dani

[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 …

1
132
Member Avatar for Dani

[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 …

1
135
Member Avatar for Dani

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.

Member Avatar for Dani
0
28
Member Avatar for Dani

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?

Member Avatar for Dani
0
217
Member Avatar for Dani

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.

Member Avatar for Dani
0
121

The End.