Forum: HTML and CSS Dec 6th, 2008 |
| Replies: 2 Views: 4,992 Some of that (changing the colors of the text and whatnot) you can do with CSS styles. The rest (changing the actual text) requires that you use a scripting language like Javascript.
For the... |
Forum: Graphics and Multimedia Dec 6th, 2008 |
| Replies: 5 Views: 994 I'm a bit confused as to why all of the replies so far are about whether or not the site is a Flash site. The OP already stated that it is driven by Flash - he wants to know how to produce something... |
Forum: PHP Feb 24th, 2008 |
| Replies: 4 Views: 698 Well, if you're waiting for someone to do your homework for you... you'll probably keep waiting.
Here's a hint, though. Use a loop that will continue to execute until you get to the last person.... |
Forum: HTML and CSS Feb 22nd, 2008 |
| Replies: 9 Views: 2,690 Actually, using HTML would make the project impossible, not more difficult.
HTML (along with CSS) is just a way to mark-up and present information. It helps you organize content on a website.
... |
Forum: PHP Feb 14th, 2008 |
| Replies: 4 Views: 727 You can dynamically check to see whether or not the file was included, and then automatically display the regular page or some other content.
First thing you'll want to do (at least when you're... |
Forum: PHP Feb 14th, 2008 |
| Replies: 36 Views: 3,441 Well, the best way to do that would be to remember the password you used.
In lieu of that, you can log in as the root user and modify the password for the user 'pma' to something new.
Here's... |
Forum: PHP Feb 11th, 2008 |
| Replies: 4 Views: 537 What he's trying to say, is you should never insert user input directly into the database. There are a number of ways a malicious user can use that type of insert statement to hack into your... |
Forum: Promotion and Marketing Plans Feb 10th, 2008 |
| Replies: 12 Views: 4,675 This may be true. But your Yahoo Backlinks can be used as a measure of site popularity - good for advertisers and such. TNX, for example, looks at both Yahoo backlinks and Google pagerank.
Both... |
Forum: PHP Feb 9th, 2008 |
| Replies: 5 Views: 1,880 No problem. Always glad to help =)
- Walkere |
Forum: Promotion and Marketing Plans Feb 9th, 2008 |
| Replies: 12 Views: 4,675 You may have noticed that the "Visit XYZ's Homepage" link attached to your name is not nofollow.
However, I don't blame the webmaster for trying to limit spam on the forums. If sig links are... |
Forum: PHP Feb 9th, 2008 |
| Replies: 6 Views: 758 I don't think so. Flash does a good job of wrapping up all the information so that you can't easily manipulate or edit it.
Is there another site for Korean showtimes (like Fandango in the US)? ... |
Forum: Python Feb 8th, 2008 |
| Replies: 7 Views: 1,175 Well, then time for you to do a little data collection and research. =)
I'm sporting Ubuntu Gutsy Gibbon, and it came with Python pre-installed (although I had to install the mysqlDB package... |
Forum: PHP Feb 8th, 2008 |
| Replies: 1 Views: 689 If by "data feed" you mean an xml feed/file, then you can access it through PHP using either an XML parser or a pre-built package like SimpleXML.
I'd suggest reading through the section in... |
Forum: Search Engine Optimization Feb 7th, 2008 |
| Replies: 7 Views: 1,351 What did you do with all of the pages when you switched to Wordpress?
Presumably the posts now have new URLs. Did you use a 301 redirect to tell Google where to go? It might have crawled your... |
Forum: PHP Feb 7th, 2008 |
| Replies: 5 Views: 1,880 The easiest way would be to just add an html link to the page. Note that you can easily mix and match php and html on the same page. Just end your php block with a ?> and then print html.
For... |
Forum: HTML and CSS Feb 6th, 2008 |
| Replies: 5 Views: 733 You need to change the quotes around your doctype stuff. Notice how they slant in and out? That's a special type of quote (probably created an an escape sequence), that doesn't work for quoting... |
Forum: PHP Feb 4th, 2008 |
| Replies: 2 Views: 1,412 The link that Naveen posted has a good overview of these OOP concepts.
No, there are no other types - just these three.
As for when to use them... you should always try to use the most... |
Forum: PHP Feb 3rd, 2008 |
| Replies: 8 Views: 676 That would be your best bet. It's particularly hard to help someone that doesn't understand the code at all - so I would always suggest learning the basics before you try and implement someone... |
Forum: PHP Feb 3rd, 2008 |
| Replies: 1 Views: 3,857 In HTML, what you're looking for is the <select> tag. This creates a dropdown list, like...
<select>
<option value="value">Text</option>
<option value="value">Text</option>
</select>
... |
Forum: PHP Feb 3rd, 2008 |
| Replies: 7 Views: 836 Ahh, I thought that you were going to store a bunch (or at least a handful of users).
If you tried to add more records to the file, it would get more complicated to parse the variable names, make... |
Forum: PHP Feb 3rd, 2008 |
| Replies: 7 Views: 836 Should be plenty safe. No one will be able to see the password details, because it will be parsed by the php interpreter. Just like how your mySQL user/password information is floating around... |
Forum: PHP Feb 2nd, 2008 |
| Replies: 7 Views: 836 I'm not sure if this would be the best way to do it...
However, the basic functions you'll need to use are PHP's file functions. The simplest way to do it would be...
$fileContents =... |
Forum: Promotion and Marketing Plans Feb 2nd, 2008 |
| Replies: 6 Views: 2,089 DZone seems to be more geared towards programmers/developers than simple web designers.
With that in mind, I love DZone and go there far more than any other social bookmarking site. The rest are... |
Forum: Promotion and Marketing Plans Feb 2nd, 2008 |
| Replies: 26 Views: 13,983 Yup. Most link directories (and article submission sites) are just good for juicing up your pagerank and backlinks. They get few visits by people that are actually looking for information - so you... |
Forum: PHP Feb 1st, 2008 |
| Replies: 1 Views: 3,024 You need to do two things here.
First, order the results in descending order, so that the latest entry is first in the list. For this, you can use "ORDER BY userID DESC".
Then, you need to... |
Forum: PHP Feb 1st, 2008 |
| Replies: 2 Views: 767 I agree. That script is entirely unnecessary unless you're locking down Fort Knox.
One simple way to generate a random password would be...
$pw = md5( time() );
$pw = substr($pw, 0, 8);... |
Forum: PHP Feb 1st, 2008 |
| Replies: 16 Views: 2,434 This usually comes from having a missing semicolon. The previous statement was never closed, so PHP isn't ready to begin a new statement - like require_once.
Check that lines 25 and 26 look like... |
Forum: PHP Feb 1st, 2008 |
| Replies: 11 Views: 1,404 You've also got to watch out for scripts that get uploaded to your server and give someone remote access to your file system, db, etc (like this shell script... |
Forum: Promotion and Marketing Plans Jan 28th, 2008 |
| Replies: 15 Views: 4,594 I agree. The reason it appears to show lower numbers is because it shows actual, real visitors. Other scripts like webalizer or WP Slimstat will show any requests to your web server. If you're... |
Forum: PHP Jan 27th, 2008 |
| Replies: 2 Views: 1,120 Sometimes you can cut down on it. Other times it's necessary to open and close php tags a lot.
In your case, you can cut down significantly on the opening/closing brackets. In between the... |
Forum: PHP Jan 27th, 2008 |
| Replies: 8 Views: 1,750 So if you were to add this line (#2) ...
$row = mysql_fetch_assoc($result); // note assoc
echo $password . '<br />' . $row['password'] . '<br />';
if ($row['password'] == $password) {
echo "Login... |
Forum: PHP Jan 27th, 2008 |
| Replies: 8 Views: 1,750 How is the password stored in the database?
You say the code works fine without md5 but it doesn't work with md5. When you change the code to encrypt the password, do you also change the database... |
Forum: PHP Jan 27th, 2008 |
| Replies: 1 Views: 1,166 Now you need to execute the query, save the result, and get the values using one of the mysql_fetch functions (mysql_fetch_row(), mysql_fetch_assoc(), mysql_fetch_object() - go to php.net for more... |
Forum: PHP Jan 26th, 2008 |
| Replies: 8 Views: 2,205 I've never set one up on a windows server, but I would assume you would use your ISP's SMTP server. This is usually "smtp.isp.com" or "mail.isp.com" or some such thing. For example, mine is... |
Forum: PHP Jan 26th, 2008 |
| Replies: 8 Views: 2,205 If you didn't set up the smtp settings in your php.ini file, it won't work. Check the SMTP and smtp_port settings.
If you're determined not to use the mail function or need something more... |
Forum: HTML and CSS Jan 26th, 2008 |
| Replies: 9 Views: 2,690 Building a forum from scratch would be an interesting project... but long and unnecessary unless you're really interested in learning how to do it.
If you want to get something off the ground... |
Forum: HTML and CSS Jan 26th, 2008 |
| Replies: 7 Views: 1,827 I think that paints the problem with far too broad a brush. Why would you have to get rid of all hover images in order to be handicap accessible?
Example. A hover image could be used to change... |
Forum: PHP Jan 25th, 2008 |
| Replies: 2 Views: 675 I'm not sure if it's the best idea to just copy and paste a set of functions into a class. Doesn't quite live up to the most rigorous notions of OOP...
More to the point, I don't believe this is... |
Forum: PHP Jan 25th, 2008 |
| Replies: 7 Views: 1,001 I was able to create a border and style a fieldset fine with Firefox. What browser are you using?
If there's a problem with compatibility with a fieldset, you can wrap all of the form elements... |
Forum: PHP Jan 23rd, 2008 |
| Replies: 4 Views: 786 That's the name of the smtp server that I would use (for Optimum Online). You can find the name of the server from your ISP. If you use some kind of pop3 e-mail browser (like Outlook or Evolution),... |