11,570 Posted Topics

Member Avatar for Begginnerdev

Yup ... it's attempting to syntax highlight with C/C++ style highlighting. To force VB-style highlighting, use fenced blocks like this: ~~~ vb Code goes here (not indented) ~~~

Member Avatar for Dani
0
295
Member Avatar for silvercats

The old DaniWeb was really flawed :( It *really* was. This new system has much better bones but it's still an evolution process. To receive email notifications, click the Watch this Article button at the bottom of the page. You can also go into your Edit Profile page and select …

Member Avatar for silvercats
0
244
Member Avatar for jackbauer24

Line 30 of report.php is trying to send out email. Apache is a web server which can serve PHP pages. MySQL is a database server which manages the database. You need a mail server in order to send out email.

Member Avatar for diafol
0
308
Member Avatar for Dani

I have the following queries (as examples): ~~~ sql SELECT articles.* FROM articles WHERE articles.forumid IN (2,8,118,9,61,58,34,114,112,113,125,124,4,134,42,14,71,181) ORDER BY lastpost DESC LIMIT 0, 30 ~~~ ~~~ sql SELECT articles.* FROM articles WHERE articles.forumid IN (2,8,118,9,61,58,34,114,112,113,125,124,4,134,42,14,71,181) AND NOT deleted ORDER BY lastpost DESC LIMIT 0, 30 ~~~ ~~~ sql SELECT articles.*, …

Member Avatar for Dani
0
285
Member Avatar for Miss Scarlet

> The "1." under the book.php code should not be in the code. I don't know why it shows up there. I fixed the formatting. Please be sure to properly format your code.

Member Avatar for Miss Scarlet
0
202
Member Avatar for Sahil89

When viewing an article, you can click the "Watch this Article" button towards the bottom of the page. There's also an option in the profile editor to automatically watch articles that you post in.

Member Avatar for Sahil89
0
169
Member Avatar for triptikumbhat@g
Member Avatar for zeroliken

Probably, but not right away. It wasn't a very used feature at all.

Member Avatar for Topi Ojala
0
362
Member Avatar for Dani

I've been working on our editor a bit tonight, and there are some changes to its functionality. Now, when you click the buttons such as Bold, Italic, etc., the editor automatically gets focus and highlights the dummy text. Therefore, you can immediately start typing to replace it. Also, I went …

Member Avatar for Dani
4
196
Member Avatar for idiotguy

Do you mean you want to scrape their content? Check out what's available through their APIs, as elbeato said.

Member Avatar for LaxLoafer
0
212
Member Avatar for deceptikon
Member Avatar for Philippe.Lahaie
Member Avatar for Reverend Jim

A DaniWeb cookie does not prefill your username and password in for you. In fact, we would have no way of filling in the password field because we do not store your password in plain text in a cookie on your machine. As James #2 mentioned, this is a browser …

Member Avatar for Sahil89
0
181
Member Avatar for entrylvl

This is a big problem nowadays with the recession, because everyone is getting laid off and taking lesser jobs. So all of the entry-level jobs that typically require very little experience are now being filled by people with lots of experience willing to work for less money. Try investigating internships. …

Member Avatar for drjohn
0
264
Member Avatar for globalseo

> Most forums, like Daniweb, use 'nofollow' so if you are looking for backlinks from this site, it's not going to happen. To take it a step further, signatures are not shown at all to guests (which includes bots).

Member Avatar for addlinkweb
-1
356
Member Avatar for vizz

There's some type of bug ... you're posting a legit site, but for some reason the hover is showing an asian porn site of some kind!

Member Avatar for vizz
0
298
Member Avatar for svcj92
Member Avatar for ~s.o.s~

And we're forgetting one ... Congrats to Sanjay for being promoted to co-Administrator! :)

Member Avatar for Nick Evan
1
323
Member Avatar for globalseo

Is it just me, or is everyone listing all the same things, but just in a different order?? On-page optimization are things you have direct control of because they are ON your actual page. Off-page submission are things you don't have direct control of because they are on other sites. …

Member Avatar for happygeek
0
195
Member Avatar for vbDotMe
Member Avatar for tez

Using a P2P file sharing problem is completely legal ... as long as you use it to share files you have the right to own. File sharing programs are just tools. Like any tool, you can use it legally or illegally. I can chop a salad with a knife or …

Member Avatar for tez
0
164
Member Avatar for C0ding
Member Avatar for P.manidas
Member Avatar for zjbarden

I would assume that the live tech agents are work @ home people who can multitask, responding to quite a handful of people at once. I would agree with the $8-10 range. That being said, I definitely think it's a good thing to have. I enjoy the instant gratification of …

Member Avatar for Dani
0
355
Member Avatar for tadisaus2

You can use other contextual ads with AdSense as long as they don't mimic the look and feel of AdSense ads, or in any way cause confusion as to what is an AdSense ad and what isn't. Of course, you can put every ad known to man on your site, …

Member Avatar for Dani
0
176
Member Avatar for C0ding

Hi there ... Sorry about all the problems you've been having posting, but I REALLY appreciate your help in diagnosing the problem. You can just post in the Windows category under Hardware and Software, or under the Shell Scripting category in Software Development.

Member Avatar for C0ding
0
59
Member Avatar for Ancient Dragon

I was making a change to the posts table, and that locked the entire posts table for a good 20 minutes. :(

Member Avatar for Ancient Dragon
0
147
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

Just as the title asks ... can selenium be used to automate forum spamming? If so, what are some techniques to combat that?

Member Avatar for cereal
0
169
Member Avatar for Reverend Jim

> With the old system, I was able to click "Edit" to immediately correct the typo. Will look into this :) > Wouldn't it make more sense to label that control "Save" Hmm, I'll think about it. :)

Member Avatar for TrustyTony
1
262
Member Avatar for katiew88

Haha, Hi Katie! Welcome to DaniWeb!! :) Your class assignment is to post a question here? That's really cool! I wish I got credit for posting here when I was in school!

Member Avatar for firzakhan155
0
28
Member Avatar for Dani

Is anyone else seeing this?! There's a little musical note icon next to my Google Analytics charts, and when I click on it, Analytics "plays" my graph with synthesized piano tunes! I think this is the most useless, ridiculous feature ever to come out of Google.

Member Avatar for JorgeM
0
147
Member Avatar for Dani
Member Avatar for Dani
0
526
Member Avatar for hubertj

So your question is whether => means the same thing as =. In the world of multi-dimensional arrays, no, they aren't quite the same. However, according to the code you're showing us, '=>' is being literally printed as a result of the echo statement. Literally *anything* could be printed there. …

Member Avatar for Dani
0
73
Member Avatar for JamesCherrill
Member Avatar for Dani
2
191
Member Avatar for CCBB

What have you tried yourself? Where specifically are you stuck? We won't just do your homework for you.

Member Avatar for CCBB
0
136
Member Avatar for WaltP
Member Avatar for Dani
0
184
Member Avatar for ratazoit

Here's the code properly formatted: <?php require_once('auth.php'); // only for registered users ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TCK Portal | Profile</title> <style type="text/css"> <!-- body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; background: #4E5869; margin: 0; padding: 0; …

Member Avatar for Dani
0
713
Member Avatar for baig772

Hi, Firstly, thanks! Secondly, please bare with us :) It actually isn't just a design change. The entire site was completely migrated over to a new platform, so a lot of things are different under the hood. As of right now, you will only receive one email a day with …

Member Avatar for Dani
0
117
Member Avatar for Stevo812

Yes, unfortunately I can't think of an easy way to copy/paste this code. :( Stevo, can you repost it without your manually-added line numbers?

Member Avatar for NormR1
1
1K
Member Avatar for Dani

What is a reasonable number of queries to Memcached per page? We do use getMulti to try to fetch what we know we'll need in advance all at once, but we mostly use getDelayed() (which is a two-part call with fetchAll(), and we do some other processing in between them. …

Member Avatar for Dani
0
127
Member Avatar for Jx_Man

Testing ... ~~~ c 'This is a comments Dim i as Integer ' declare i as integer type Dim j as String For i = 0 to 5 ' This comments too Msgbox i Next i ~~~

Member Avatar for Dani
0
226
Member Avatar for ruen

I think it depends on what accounting system you are currently using, and whether or not you are going to be flexible with it. For example, suppose you are using QuickBooks and you want to continue to use that. Your options as to what will tie in with the QuickBooks …

Member Avatar for musicbox
0
152
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 Labdabeta

Let me know if the problem has been fixed ... made some changes, but I'm not experiencing the problem myself so it's hard to debug!

Member Avatar for Dani
0
311
Member Avatar for Pgmer
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 Pgmer
Member Avatar for Troy III
Member Avatar for sameershah21
Member Avatar for drinfo21
0
121

The End.