96 Solved Topics
Remove Filter 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 … | |
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>` … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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. … | |
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 … | |
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 … | |
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. | |
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 … | |
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? | |
What exactly is the point of the <tbody> tag? Can one table consist of more than one pair of these tags? | |
I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as and & 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 … | |
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. … | |
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 … | |
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 :( | |
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! | |
Is it possible to submit a sitemap to Yahoo much the same way one uses Google Webmaster Tools? | |
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? | |
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 … | |
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 … | |
Can someone please tell me the code where clicking on a link populates a textarea with a little paragraph. | |
Is there any proof that graphical links don't weigh as much as text link ads do? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
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] | |
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) … | |
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 … |
The End.