No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
46 Posted Topics
Re: [url]http://www.ohloh.net/p/phpbb[/url] [url]http://www.invisionfree.com[/url] Or, write your own script. | |
Re: The problem is that your database is titled test, but the table inside that databse is named "name". So when you use [icode]$sql = "SELECT * FROM test";[/icode], it's trying to find the table "test" within the database that you connected to at the top of your file. (By the … | |
Re: He's a sicko-but life in prison? That's a little over the top. And by a little, I mean extremely. | |
Re: Bluefish/N++ (I think N++ runs on Ubuntu, at least.) Go do some research; Most people who use Ubuntu are excellent programmers, so I'm positive there are great solutions for you. | |
[url]http://images.fixya.com/0/2wire/177x150/41879178.JPG[/url] I installed Windows 7 on a seperate drive, and everything works fine, but I can't get the above network adapter to work properly. It's displayed in Device Manager as a USB device, and I have the driver that makes it function in Vista, but when I run the Driver … | |
I want take all the usernames from this webpage and output them on my site. How would I go about that? [url]http://runehead.com/clans/ml.php?clan=gotskills[/url] | |
Re: So...soooomeeeeoneeee likes to hear their own words... I mean, seriously--Microsoft is the computer hardware powerhouse. Linux is never going to be more popular, unless you're talking about people who are serious about their computers. (I mean, the woman who loves blogging about her favorite restaurant isn't going to want to … | |
Re: Aren't all operating systems tools? I mean, that's what computers are-tools. Isn't linux (or any other OS) just a nice, squishy, comfortable hand grip on that tool? | |
Re: For people who work in the other million job fields that don't have anything to do with programming or some other form of computer/web development, the computer is a tool. It's purpose is to get things accomplished quicker and with better quality. Saying that "normal" computer users should use Linux … | |
Re: First time I've seen a slip up from Google in nearly a decade. | |
I can't run .exe's, so I can't install JRE 6u15, even though it's harmless. Can anyone zip their jre directory and upload it for me as a .zip (not a .rar) file? I'd really appreciate it. | |
Re: I wouldn't, simply because it'd take more time in the long run. Stick with one, get a grasp on it, then move to the other. It's quicker to tackle one thing at a time than two things at a time. | |
Re: [url]http://blogs.popart.com/2009/07/twitter-php-caching/[/url] | |
Re: Set session variables on login, and then on "members only" pages, check to see if the variable exists. If not, deny access. In short: [CODE]<?php if(empty($_SESSION['username'])) { echo "Please login."; } else { echo "You are logged in as: " . $_SESSION['username']; //members only content... //members only content... } ?>[/CODE] | |
Re: Why not just write a .css file for the portion of the site they can edit (you can do so with PHP), then import the CSS file. Also: [url]http://us2.php.net/manual/en/function.mysql-real-escape-string.php[/url] | |
Re: Oh, just to throw this in-MySql has a built-in search "help" $input = 'blue fox'; $query = mysql_query("SELECT * FROM `table`WHERE `column` LIKE '%$input%'"); while($show = mysql_fetch_assoc($query)) { echo $show['column'] . "<br ."; } Of course, you'd want to check if there is anything returned. use mysql_num_rows(); for that. If … | |
| |
I have two files, index.php and config.php. Config.php has a lot of variables, such as $CONF['sql_user'], $CONF['installed'], etc. How can I edit those variables from index.php? For example, if someone hasn't used my script yet, then $CONF['installed'] = 'no'. When they do use it, I want $CONF['installed'] = 'yes'. How … | |
Re: For the love of God, use [code] tags. +, there's way too much code for a contact form. Not going to read it without code tags, though. Too much work. | |
Re: You can't really upload a picture to a database...save it to your server, save the title to your database, then call it using the title from your database. You can run a quick Google search to figure out how to do each of those. | |
I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the … | |
I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the … | |
Re: Why not just do it all on one page? Anyways, contact forms are quite simple. (As in, if you put some effort into a Google search, you'd find hundreds of thousands of tutorials.) We're not here to code for you, we're here to help you when you're stumped. Have you … | |
Re: It's not as hard as you'd think. Say that that you're creating a Pastebin. You'd have (simplified) the fields id, title, and filename. The filename could be random. For our purposes, $input is what the user is saving in the document, $title is the title, and we'll create the filename. … | |
Re: Download the files from phpbb.com, install the desired directory, and then just go to that webpage. It's an easy installation; all you have to do how to do via phpMyAdmin is to create a database. (No tables or anything, just the database.) Consult: [url]http://www.phpbb.com/support/[/url] | |
I have IPB 2.3.5. I need to decrypt (or encrypt) the passwords from the database so I can compare them to user input from another page. So, how does anyone happen to know how IPB encrypts their passwords? (Or how to decrypt them?) | |
Re: Wait, what are you trying to do? Access Orkut from your own website? That's a waste of time, just go to [url]www.orkut.com[/url] and log in... | |
Re: Name: That's simple, just use your session variable. ($_SESSION['username'] or something similiar. Last logged in: Make a row in users named time(), update it each time they log in *after* you set a variable for current time + run a query to get the one in the database, otherwise it'll … | |
Re: [CODE]$conn = mysql_connect("localhost","username","psswd"); // wrote these like this for security reasons while the post is up[/CODE] That's why. You didn't run that query, thus you didn't connect to your database, thus you can't get the information. Here: [CODE]$db = mysql_connect("host", "user", "pass"); mysql_select_db("database", $db);[/CODE] | |
Re: Hit CTRL-ALT-DELETE > File > New Task > explorer.exe Explorer is, put simply, the user interface of Windows. (Start Bar, Icons, etc.) Once you restart, you should be fine. | |
Re: Why do you have backticks in the VALUES()? Backticks around the fields doesn't hurt anything, your query should run with them. In response to the above posts: You can definitely use backticks with fields. (Like INSERT INTO `table`(`field1`, `field2`), but you can't use them in VALUES. Use this character: ' … | |
Re: 1. Does it happen regularly on any other webpages [Help & Support is actually HTML code in a simple browser.] 2. Is your Windows Firewall on? If no, turn it on. 3. Disable third-party firewalls. The problem most likely [i]isn't[/i] with corrupted files, but when did this start happening? | |
Re: [url]http://localhost[/url] for the index [url]http://localhost/yourprojectfolderinhtdocsdirectory[/url] You don't really *need* to have a listing in the index, but if you want it, you'll have to edit the index.php file in the /htdocs directory and add the links manually. Not too hard, but not worth the time. | |
Hai. I'm Andrew, or Andrieux as I got by on the internet. I'm 15, and I live in South Carolina. I plan on majoring in Computer Sciences, because I've heard that having a bachelor's degree helps you out later on. Anyways, I'm not sure [i]exactly[/i] what I want to do … | |
Re: Tried to read through it, didn't see anything-but could you implement the CODE tags? That way I can see what's code easier, and read what you're writing easier. ![]() | |
Re: [QUOTE=lordspace;786646]You could use PHP Mailer and then configure an external mail server e.g. Gmail that's just an idea. Maybe you are running Windows ?[/QUOTE] Windows has nothing to do with it, he's probably using WAMP or XAMPP, and doesn't know how to configure the .ini file. Google, my friend; Google. | |
Re: Go to the main database page of phpMyAdmin. Look for a input box for creating tables. Name it dbUsers Use the information above in the form. Click Save Use Google for simple things. Don't rely on tutorials. All done. | |
![]() | Re: Give administrative access to your limited account and try changing the settings from there, since you know you can access them from that account. (And then you can always change that account's status [i]back[/i] to limited.) Edit: Do you have any problems when you're laptop is plugged into its charger? |
Re: Wait, what? Hang up as in...slow down? You probably need more RAM, which is Random Access Memory. Do you know how much RAM you have? In WinXP, click Start, then [b]Right Click[/b] My Computer. It will be listed under Computer, at the bottom. In simple terms, how much RAM you … | |
Re: +1 to Obama. +2 to Bush for putting up with ignorant people who actually think the President is powerful enough to do anything without Congress' consent. *cough* Checks and balances *cough* | |
Re: The problem probably lies in your MTU (maximum transmission unit) in either your cable/dsl modem, your router, or your computer itself. (Or all three.) I'm guessing that you notice the problem the most when you're viewing a website with a lot of videos and pictures on it, which uses a … | |
Re: Wouldn't you want to make use of the while(); function? Assuming your query returns the id and username: [CODE]<? while($online = mysql_fetch_assoc($query) { echo "<a href='/profile.php?'" . $online[id] . "'>" . $online[username] . "</a>"; ?>[/CODE] | |
Re: An OS isn't something that you can make in a few weeks, especially without a development team. If you really want to make an OS that'd be competitive with the major three (XP, Linux [Ubuntu, specifically], and Mac OS X), you're going to need to invest an amazing amount of … | |
Re: Yayo, that'd output: "DAniweb [B]I[/B]t DISCUSSION Community" You need to use strtolower(), and ucwords(). strtolower() makes all characters in a string lowercase; ucwords() capitalizes the first letter of each word in a string. [code] <?php $str="DAniweb it DISCUSSION Community" $str = strtolower($str); $str = ucwords($str); ?> [/code] or [code] <?php … |
The End.