96 Solved Topics

Remove Filter
Member Avatar for Dani

There is currently a bug where Internet Explorer 8 users cannot reply to existing threads. I am aware of the problem and am still working on a resolution. IE 9 works fine, as do Firefox, Chrome, and Safari. If you are affected, it is highly recommended that you upgrade from …

Member Avatar for Dani
0
231
Member Avatar for Dani

Soooo ... quick question :) I need to do some HTML parsing with regex :) I currently use `$output = preg_replace('/>\s+</', "> <", $output)` to strip whitespace between any two HTML tags. What can I do to strip whitespace only between paragraph tags. For example, only between `</p>` and `<p>` …

Member Avatar for Dani
0
418
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

Quick question ... What happens if you use array_slice() and specify a length that is longer than the length of the array? Sorry but I couldn't find the answer on PHP's doc pages or in a quick G search.

Member Avatar for Dani
0
183
Member Avatar for Dani

Hi, I just started using the Memcached php client instead of Memcache client. It's able to connect, but now when I run a get(), I get the following error: Memcached::get(): bad type specifier while parsing parameters It worked fine with Memcache? There's just one parameter ... the key to be …

Member Avatar for Dani
0
111
Member Avatar for Dani

DFP Small Business offers a feature where you can display a creative on a page of your site, for testing purposes. This feature always worked using the Google Ad Manager tag. However, it completely doesn't work using the asynchronous version of the Google Publisher Tag (with single request enabled). Has …

Member Avatar for Dani
0
148
Member Avatar for Dani

Hi, How can I use preg_replace to determine if a string contains a word beginning with a pattern, and if it does, remove it? Basically I want to capture query strings from a search, but throw away search modifiers. For example, the search query string: site:daniweb.com query would just become …

Member Avatar for diafol
0
2K
Member Avatar for Dani

I have page1.html that is being 302 redirected (temporary redirect) to page2.html page2.html is disallowed in my robots.txt file Under normal circumstances, when googlebot encounters a 301 redirect from page1.html to page2.html, it will index page2.html, and when googlebot encounters a 302 redirect from page1.html to page2.html, it will index …

Member Avatar for joeyoungblood
0
982
Member Avatar for Dani

I currently use Sphinx search, and am attempting to sort my results in time segments mode, which means time segments in descending order and then relevance in descending order. Currently I use SPH_SORT_RELEVANCE, and it works fine. But every time I switch to time segments mode, it returns zero results. …

Member Avatar for Dani
0
214
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

Help! I am freaking out right now. I have a ridiculous amount of work to do today, and in the middle of it all, I cannot get to any of my mail. When I open Microsoft Outlook, the Outlook Today screen appears and a little bubble appears near the system …

Member Avatar for vinayb_in
0
376
Member Avatar for Dani

Do you do freelance work as an Internet marketing or SEO consultant? If you do custom work for clients, you're welcome to advertise your service in our [URL="http://www.daniweb.com/techtalkforums/forum52.html"]Custom Services For Hire[/URL] forum within the Webmaster Marketplace.

Member Avatar for jbennet
0
350
Member Avatar for Dani

Well, I started using AdSense's new channels a few hours ago (about 11pm). It's now 2:30 a.m. and I still can't display any reports by channels. It just says no data available. But meanwhile my AdSense data has updated. Is anyone else experiencing this? Will it go into effect tomorrow …

Member Avatar for Web Peak
0
257
Member Avatar for Dani

Please help me :( I am in dire need of a scientific / mathematical word processor for either Windows XP or Mac OS X. Something that utilizes LaTeX maybe?

Member Avatar for ScienceOffice
0
327
Member Avatar for Dani

What exactly is the point of the <tbody> tag? Can one table consist of more than one pair of these tags?

Member Avatar for MidiMagic
0
228
Member Avatar for Dani

I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as &nbsp; and &amp; What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my …

Member Avatar for aparvaiz
0
244
Member Avatar for Dani

I'm embarassed to be posting this here, but I've been having a problem with my computer lately. It runs Windows Vista 64-bit and has a whopping 8 gigs of ram. However, for the past few weeks, there has been a constant RAM usage of 30-40% being eaten up by svchost.exe. …

Member Avatar for crunchie
0
183
Member Avatar for Dani

Hi, I have a 24" Intel iMac in the same room as an Apple TV that is connected to a big screen plasma TV. Both the iMac as well as the Apple TV come with Apple remotes. However, everything seems to be on the same frequency. Whenever I want to …

Member Avatar for Dani
0
176
Member Avatar for Dani

Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(

Member Avatar for tracedef
0
582
Member Avatar for Dani

I am trying to debug a browser-related issue with a company and was asked to tell them what Flash plugin version my Firefox is using. Where can I find this? Thanks!

Member Avatar for Dani
0
114
Member Avatar for Dani

Is it possible to submit a sitemap to Yahoo much the same way one uses Google Webmaster Tools?

Member Avatar for Dani
0
126
Member Avatar for Dani

I'm confused between LEFT JOIN and INNER JOIN - the differences and when it's appropriate to use one over the other. I tried to wrap my mind around it but it seems to me that INNER JOIN statements can always be rewritten as LEFT JOINs?

Member Avatar for campkev
0
192
Member Avatar for Dani

I just found out about a shell script /etc/daily that mac users recommend running daily or weekly. It supposedly removes old system messages and junk. Does OS X invoke this script automatically every so often or must it be manually invoked? Is it very necessary?

Member Avatar for yellow
0
385
Member Avatar for Dani

I am working on a project for my uncle's medical office. However, I'm a little stumped coding the design. I want it to be tableless. It's currently set up for testing here: [url="http://www.daniweb.com/sneezy/"]http://www.daniweb.com/sneezy/[/url] It looks fine in IE but the design is all screwed up in Firefox and Safari. It …

Member Avatar for Dani
0
156
Member Avatar for Dani

I am using MySQL 4 and trying to cache my queries per this tutorial: [url="http://dev.mysql.com/doc/refman/4.1/en/query-cache-configuration.html"]http://dev.mysql.com/doc/refman/4.1/en/query-cache-configuration.html[/url] Right now, my query_cache_size is set to 0. I would like to set both the query_cache_size and query_cache_limit parameters. However, I'm receiving the following error message: [code]mysql > ERROR 1227: Access denied. You need the …

Member Avatar for Dani
0
164
Member Avatar for Dani

Can someone please tell me the code where clicking on a link populates a textarea with a little paragraph.

Member Avatar for Dani
0
120
Member Avatar for Dani

Is there any proof that graphical links don't weigh as much as text link ads do?

Member Avatar for Dani
0
242
Member Avatar for Dani

I am currently finishing up my B.S. in Computer Science at a local private University. When I started a couple of years ago, C++ was taught in the intro to programming course for freshmen. About two years later, Java was taught as a first language. (I disagree with that because …

Member Avatar for vegaseat
0
157
Member Avatar for Dani

I recently received an email from a DaniWeb member saying they're trying to use the blog RSS feed with the Bloglines feed reader, and it doesn't seem to be working. However, the forum RSS feed does work. The forum RSS feed is at [url="http://www.daniweb.com/techtalkforums/external.php?type=rss2"]www.daniweb.com/techtalkforums/external.php?type=rss2[/url] The blog RSS feed is at …

Member Avatar for Dani
0
213
Member Avatar for Dani

I'm currently using phpMyAdmin with Plesk 7.5. Well first of all there's the known problem with the CSS not working, but that's besides the point. My question is actually whether it's possible to access phpMyAdmin directly through some URL instead of first logging into Plesk and then navigating all the …

Member Avatar for Dani
0
253
Member Avatar for Dani

I am taking a Computer Graphics course where we are doing some c++ programming using the OpenGL API. I'm writing a C++ program in Visual Studio.NET, where I've installed GLUT (Open GL Utility Toolkit). OpenGL, itself, apparently comes with VS. The only include that I have in my one-file program …

Member Avatar for Intel
0
1K
Member Avatar for Dani

I heard some people talk in a different thread about PCI-e and I wanted to step in and ask what it was, but I didn't want to hijack the thread. So my question is ... what is PCI-e? I've never heard of it before. I have heard of PCI-X though. …

Member Avatar for Catweazle
0
237
Member Avatar for Dani

Please help me. I'm completely stumped. As of yesterday, AdWords just completely stopped working for me. Ads just completely stopped showing up. It is as if my campaign is paused, but it isn't. The campaign shows up as active. I have a pretty large budget. The ads are set to …

Member Avatar for Dani
0
207
Member Avatar for Dani

To all those who have G5s, check out the removable side panel from your tower. The inside of it has strips of tape on 3 of the sides. Thinking this was just packing tape, I removed it. However, I was since told that it was special static tape. Does anyone …

Member Avatar for Dani
0
116
Member Avatar for Dani

This might sound silly. But I'm working on a C# assignment for school right now, and I can't get a simple if-else statement to work. Isn't the syntax the same as in C++ or Java? I want to do one thing if a boolean variable is true, something else if …

Member Avatar for guitarded
0
421
Member Avatar for Dani

I have been hearing hype for so long now about a 30" cinema display. Is this just another rumor? As the owner of dual 23" cinema hd displays, I'm very interested in this ;) I heard awhile ago that supposedly Apple was going to release the new monitor with a …

Member Avatar for kc0arf
0
129
Member Avatar for Dani

Hey there guys. Yesterday during a really bad storm, I was at work with my mom. We got a phone call from the alarm company for my house saying that the shocks had gone off and the police were called. Thinking that lightning struck the house, I went home to …

Member Avatar for Catweazle
0
200
Member Avatar for Dani

I know that spiders are incapable of filling out forms and the like. But if I have links that have been dynamically generated client-side by some simple javascript, are they capable of following these links?

Member Avatar for Dani
0
220
Member Avatar for Dani

I am not able to see any of the AdSense ads on any page throughout DaniWeb. Does anyone know what's up? Is this system-wide? - Dani

Member Avatar for Dani
0
174
Member Avatar for Dani

How can I read a string in from the user? For example, I am writing a console-based java application which prompt the user to enter a string and then reads that string in. What is the opposite of System.out.println? ;) System.in.readln? I can't get it to work and I'm a …

Member Avatar for gusano79
0
263
Member Avatar for Dani

I tried using the LinkAutomate software available at [url="http://www.linkautomate.com"]www.linkautomate.com[/url]. However, I couldn't get the damn thing to install. It was pretty weird because I'm on a dedicated server and have NEVER had any problems of the sort. Just wondering if anyone else has tried this thing and what they think …

Member Avatar for Dani
0
156
Member Avatar for Dani

I'm having a problem. I just upgraded from Office X to Office 2004. At the same time, I upgraded my Panther install. Now I just realized while browsing the web, that if I try to send an e-mail, it says "Safari doesn't recognize links beginning with mailto:" or a message …

Member Avatar for Dani
0
165
Member Avatar for Dani

SEO-Guy is doing a great job getting links to DaniWeb out there. My question now is how long before Google acknowledges this? Usually my PR fluctuates near the 1st of the month. Do I have to wait until July before I receive any benefit?

Member Avatar for SEO Guy
0
198
Member Avatar for Dani

I didn't realize how to do this until just now so I thought I'd post about it. Suppose you have a directory on your box called "my_files" and you wish to compress it into a zip file. One level above the directory, use the following command [code]zip -r files.zip my_files/[/code]

Member Avatar for i686-linux
0
181
Member Avatar for Dani

What's wrong with the following line in my .htaccess file? All of my other rewrites work, just not this one. I want [url]http://www.techtalkforums.com/forums/viewtopic.php?t=10&view=previous[/url] [url]http://www.techtalkforums.com/forums/viewtopic.php?t=10&view=next[/url] [url]http://www.techtalkforums.com/forums/viewtopic.php?t=10&view=newest[/url] to look like [url]http://www.techtalkforums.com/forums/t10previous.html[/url] [url]http://www.techtalkforums.com/forums/t10next.html[/url] [url]http://www.techtalkforums.com/forums/t10newest.html[/url] I'm using the following code but it doesn't seem to work? It just goes to topic 10 (for example) …

Member Avatar for Dani
0
238
Member Avatar for Dani

At the expense of sounding cliche, our web server is experiencing some technical difficulties. The site has been running awfully slow for the past half hour or so, but this is being worked on, and will be fixed as soon as possible. Thank you for your patience while this is …

Member Avatar for Dani
0
635

The End.