Webmaster Forum

Go Back   Webmaster Forum > Search Forums


Showing results 1 to 25 of 160
Search took 0.02 seconds.
Search: Posts Made By: cbsmth
Forum: Coding Forum 07-24-2012, 04:36 AM
Replies: 7
Views: 7,810
Posted By cbsmth
This is just nitpicking from my part, but there...

This is just nitpicking from my part, but there really is a difference: the three consecutive ifs will always be evaluated, whereas in the if/elseif variant, the interpreter will only proceed...
Forum: Coding Forum 03-10-2012, 08:45 PM
Replies: 1
Views: 1,180
Posted By cbsmth
Supposing you're using the Apache web server, you...

Supposing you're using the Apache web server, you can force the download by adding the following line to your .htaccess-file.

AddType application/octet-stream .vcard-filetype

vcard-filetype...
Forum: Coding Forum 12-07-2011, 11:12 PM
Replies: 7
Views: 1,406
Posted By cbsmth
You should note that it's difficult to manage...

You should note that it's difficult to manage user actions with certainty without having logged in users; I could just clear the cookie, for instance, or what if I'm accessing the site from a shared...
Forum: Coding Forum 12-07-2011, 10:54 PM
Replies: 11
Views: 1,900
Posted By cbsmth
Do you always want <choose> to be the default...

Do you always want <choose> to be the default option? If so, the part checking for an existing $cat_name is superfluous. I'd assume you want it to remain from a usability perspective though.

Given...
Forum: Coding Forum 11-04-2011, 01:07 AM
Replies: 4
Views: 1,048
Posted By cbsmth
If you're using software such as phpMyAdmin,...

If you're using software such as phpMyAdmin, there should an option to upload a file as input.

If for any reason the interface doesn't take files without extensions as valid input, all you need to...
Forum: Coding Forum 11-03-2011, 11:55 PM
Replies: 4
Views: 1,048
Posted By cbsmth
The --all-databases flag makes mysqldump do just...

The --all-databases flag makes mysqldump do just that; output all database information at once, meaning it all ends up in one file. If you want them separated, you had better create a script that...
Forum: Online Business Forum 10-26-2011, 03:31 AM
Replies: 0
Views: 931
Posted By cbsmth
Online content creators that disclose their revenue?

Having my curiosity piqued by a coincidence just recently, I've decided to do a bit of research and put together an article about some successful online content creators that manage to turn a profit...
Forum: Coding Forum 10-16-2011, 01:37 AM
Replies: 5
Views: 1,268
Posted By cbsmth
Hello again Pop-Tart, Thank you for the PM,...

Hello again Pop-Tart,

Thank you for the PM, I'm glad you found my answer useful. I'll post my reply in this thread so that others with similar questions have a chance to find it by searching, I...
Forum: Coding Forum 10-16-2011, 12:53 AM
Replies: 12
Views: 5,691
Posted By cbsmth
I have not tried it myself, but I believe this...

I have not tried it myself, but I believe this could work:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.example.com/? [R=301,L]

( From...
Forum: Coding Forum 10-14-2011, 08:26 PM
Replies: 6
Views: 856
Posted By cbsmth
There is no obfuscated code in the OP's post....

There is no obfuscated code in the OP's post. There's only a very simple nested solution of passing the return value of one function as an argument to another - a very common approach to repetitive...
Forum: Coding Forum 10-14-2011, 01:18 AM
Replies: 3
Views: 1,174
Posted By cbsmth
I'm not entirely sure I understand your question,...

I'm not entirely sure I understand your question, but let's try to clear a few things up:

First of all, I assume you're "linking out" to an affiliate website - the ones that provided you with the...
Forum: Coding Forum 10-14-2011, 12:58 AM
Replies: 6
Views: 856
Posted By cbsmth
If you add in a LIMIT you won't fetch all...

If you add in a LIMIT you won't fetch all existing records, which will speed things up a bit.

Given that you have an ID (preferably indexed), this will fetch you the most recent result (highest...
Forum: Coding Forum 10-14-2011, 12:56 AM
Replies: 5
Views: 1,268
Posted By cbsmth
If your website is static HTML code, which it...

If your website is static HTML code, which it sounds like from your explanation, it can be done - but it's rather complex. You would need to host a script (PHP, ASP, etc.) that parses the page you...
Forum: Coding Forum 10-14-2011, 12:48 AM
Replies: 6
Views: 1,833
Posted By cbsmth
Frankly speaking; no, that is not possible. The...

Frankly speaking; no, that is not possible. The code that structures your website - HTML and CSS - is sent from your server upon requested, most commonly to a browser such as Google Chrome. The...
Forum: Coding Forum 10-09-2011, 03:28 PM
Replies: 9
Views: 1,223
Posted By cbsmth
Please take caution to actually send an Error 404...

Please take caution to actually send an Error 404 response code when the visitor tries to load an nonexistent page. Many times people make the mistake of creating "themed" 404 pages, which display...
Forum: Coding Forum 10-09-2011, 02:45 PM
Replies: 3
Views: 831
Posted By cbsmth
Actually yes, if you only have a static HTML page...

Actually yes, if you only have a static HTML page void of user interaction (and no listed e-mail addresses, etc.)

To prevent comment spam, integrating a service such as Akismet...
Forum: Coding Forum 10-09-2011, 02:31 PM
Replies: 10
Views: 1,120
Posted By cbsmth
Good to hear you got it back up and running; it...

Good to hear you got it back up and running; it really is a pain when you let a domain name expire, isn't it?

A few years back, a year or so before Windows 7 was released, I got the domain...
Forum: Coding Forum 10-09-2011, 02:17 PM
Replies: 4
Views: 731
Posted By cbsmth
I'm guessing the conditional is meant to check if...

I'm guessing the conditional is meant to check if the e-mail form has been posted at all. If so, better use the isset() (http://mx.php.net/manual/en/function.isset.php) function:

...
Forum: Coding Forum 10-09-2011, 02:13 PM
Replies: 7
Views: 1,988
Posted By cbsmth
If you want to keep up with the latest and...

If you want to keep up with the latest and greatest in compatibility, you might want to read this A List Apart article on Responsive Web Design...
Forum: Forum Lobby 10-05-2011, 05:04 PM
Replies: 21
Views: 1,880
Posted By cbsmth
Steve Jobs has passed away

Quite a few times, premature stories has been run claiming that Apple co-founder and general legend Steve Jobs has passed away. It seems that this time, however, the news are true.

Although I...
Forum: Coding Forum 09-30-2011, 12:20 AM
Replies: 7
Views: 1,988
Posted By cbsmth
Two major components would be including a...

Two major components would be including a stylesheet for mobile browsers, and generating (or perhaps in more cases - not generating) certain dynamic elements by identifying mobile user-agents in the...
Forum: Coding Forum 09-20-2011, 03:49 AM
Replies: 13
Views: 3,233
Posted By cbsmth
Hello yet again, I just thought I'd let...

Hello yet again,

I just thought I'd let those who might be interested know that I've finally gotten around to making tinyFeedback into a WordPress plugin.

I put down a bit more effort this...
Forum: Coding Forum 08-19-2011, 02:36 PM
Replies: 11
Views: 1,757
Posted By cbsmth
If you want to pick up on JavaScript coding, and...

If you want to pick up on JavaScript coding, and coding fundamentals in general, I stumbled upon something brilliant just yesterday - it's called "Codecademy (http://codecademy.com)," and it's a very...
Forum: Coding Forum 08-17-2011, 10:13 AM
Replies: 2
Views: 3,926
Posted By cbsmth
The div class "menu" most likely has a padding....

The div class "menu" most likely has a padding. If so, you can fix it either by removing that padding (which naturally will effect all content within), or set a negative left- and right-margin on the...
Forum: Tech Talk 08-07-2011, 01:07 AM
Replies: 6
Views: 2,076
Posted By cbsmth
If I understand you correctly and you're getting...

If I understand you correctly and you're getting your Internet connection through another persons subscription, then "yes" (kind of). Although he probably won't be able to "get into" your PC without...
Showing results 1 to 25 of 160

 
Forum Jump

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:38 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC