- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- ASUS P4P800-E Deluxe Motherboard Western Digital 80GB HDD 512 MB SDRAM Sony DVD+-RW/DL Sony DVD-ROM…
35 Posted Topics
This little snippet will teach you all about arrays and arrays of arrays, and so on and so forth. ![]() | |
Re: Might I make a suggestion: Open up Notepad. Copy and paste this into it: [code]Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop] "NoChangingWallpaper"=dword:00000000 "NoComponents"=dword:00000001 "NoAddingComponents"=dword:00000001 "NoDeletingComponents"=dword:00000000 "NoEditingComponents"=dword:00000000 "NoHTMLWallPaper"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:00000000 "NoActiveDesktop"=dword:00000001 "ClassicShell"=dword:00000000 "ForceActiveDesktopOn"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableRegistryTools"=dword:00000000 "NoDispAppearancePage"=dword:00000000 "DisableTaskMgr"=dword:00000000[/code]Then, go to Save As... Under file type, click All (*.*) (not *.txt), type in … | |
| |
Re: Well, your code is, shall we say, less than perfect, but, then again, we all have to learn sometime, right? See if this helps: [php]<?php if (isset($_POST['add'])) { include ('config.php'); include ('opendb.php'); mysql_select_db('DB_NAME', $mysql); // You must tell it what the connection resource is, as well // as which databse … | |
Re: If you want a free one, here's a nice list of names: [list][*]Drupal [*]Geeklog [*]Mambo Open Source [*]PHP-Nuke [*]phpWCMS [*]phpWebSite [*]Post-Nuke [*]Siteframe [*]Typo3 [*]Xoops[/list]Sorry if I can't give you links, just Google them, that'll be fine. | |
Re: Gah! Did I misread (happens a lot), or did we forget the trusty and classic Visual Basic 6? [code]Option Explicit Private Sub Form_Load() Print "Hello, World! in VB6" End Sub[/code] | |
I'm writing a CMS-style application, and I can't quite figure out templating. I have a function that returns the file contents of a templaet file within a themes directory. That part works fine. Inside one of those files is a mix between HTML and PHP variables, for example:[code]<html> <title>$title</title> <link … | |
This is a really strange bug... I'm doing a 'game' of sorts for Computer Science, and it works wonderfully. We have a main method that initializes things and starts the game loop. The game itself works when GUI.java is executed. Every method call in the main method is static. Now, … | |
Re: No, this is a browser feature and there isn't anything you can do to stop it from happening. The browser is just detecting some data that you have already sent, and when you go back, it wants to know if maybe you want to resend the data or not. There's … | |
I'm learning Java right now, and one of the projects I've been working on as practice lately is just a simple text editor (using Swing). The one thing, though, that I can't for the life of me figure out, is how to add scroll bars to the text box if … ![]() | |
Re: [QUOTE=TheAlex]I think it's best to build up a bit of feedback buying before you start selling stuff on ebay anyway. I don't bid for things when the seller has 0 feedback.[/QUOTE] Agreed, but what's the appropriate amount before you start to sell items? 20? 50? 100? | |
I'm writing a program to communicate with my Cisco switch via COM port using MScomm. I've gotten it to work perfectly, with one exception. If you've ever dealt with Cisco software before, you know that if there's a long list of things, it wil display "--More--" prompting you to scroll … | |
Re: I have a few boards running vBulletin 3.0.7, and might I say, that is one little powerhouse. I almost drooled when I saw the AdminCP :o If you can, I would [b]Strongly[/b] recommend getting vBulletin. It definately is worth it. | |
Hello everyone. I have a page that echos success on a successful login, and I want it to then sleep(2); and then redirect to another page. Unfortunately and obviously, the headers are already sent if I'm in the body of the page. So, is there a way (with any language, … | |
Re: Umm...Yeah, you kinda forgot a " in there, that's why the code looks all messed up. StrikeFreedom, don't copy and paste that, it's not right, anyway. I haven't done a "search" in a database, per se, but I would definately thing that you need to have the user select either … | |
Re: Should you be selecting the Selex database all the time, or do you want both?[php]mysql_select_db("selex", $dbcnx);[/php] | |
I currently use Kanoodle, which used to pay me some decent money, but they have seriously lowered their CTR in the past two months for me, and it's hurting. Would the switch to Google be sensible, and would I make more money? (Looking now, I only made $5 in the … | |
Re: Right, in the first few lines, I have a few comments. Firstly, you cannot do this: [code]<?php -CODE HERE- php?> // The above example is WRONG. You can do either of the following: <?php -CODE HERE- ?> --or-- <? -CODE HERE- ?> // for code snippets, or... <?=$var ?> // … | |
Re: Microsoft Word Documents are nothing but text underneath a ton of formatting. Just use fopen() or fread() to put it in a variable, then search through it. | |
Re: I know why you're complaining about your POST variables not working, heh! NEVER do and IfThen Statement with ONE equals sign. This will always evaluate the statement to be true. Do this instead: [php]<?php if ($_POST['COL'] !== 'All') { }; ?>[/php]Heh, hope it works now! =) | |
Re: [QUOTE=server_crash]Is there a really simple mod out there for creating subforums? Specifically for 2.0.16[/QUOTE] Ummm...Can you specify which forum software you're using? vBulletin has the feature implemented already, but I'm not sure about others. | |
Re: Gah! Your PHP Code is an absolute disaster, sorry to say, and it hurts my eyes. This might help: [php]<?php // Here is the code from my processing page that redirects it: $user = $_REQUEST['username']; $pass = $_REQUEST['password']; $logintype = $_REQUEST['logintype']; // Gah! ALWAYS, when using preset variables, use // … | |
Re: Ummm...What do you mean by "help"? If you just need locations and names, you can try out [url=http://phpbb.com/]phpBB2[/url] or [url=http://simplemachines.org/]SMF[/url], both free. Make sure that [i]you[/i] are the owner of your site and that you have FTP access to it. | |
Hello, everyone, I'm Spike. I run a few forum boards myself, so I'm quite acquainted with vBulletin. I really like how you've customized it, though, this looks great. Let's see...My hobbies include Snow Skiing, SysAdminning, Web Development, and Netowrk Adminnning. :cool: ![]() | |
Re: [QUOTE=md16185]Is there a way to do sigs? I tries to look in the profile thing, and nothing is listed...[/QUOTE] You haven't earned the right yet, all of yuor posts are spam. | |
I've been thinking for awhile now that I should code a nice news system, and I have the structure all figured out, but what stumped me was: How do you display the articles with the latest first? I would set up a MySQL table with columns Title, Date&Time, Body, ID, … | |
Re: Well, from your post, I'm unclear as to what exactly you want to do, but I hope this helps: [php] <?php $var = array('1' => 'foo' '2' => 'bar' 'heh' => 'Hello, World!'); echo $array['1'] . '-' . $array['2'] . '-' . $array['heh']; // The following would echo 'foo-bar-Hello, World!'; … | |
Re: The name of a MySQL table should be private, there is no way to display it, as it is a security risk. | |
Re: Well, I for one, am hopeful that Microsoft has improved their OS experience, even with the addition of Microsoft Internet Explorer 7 soon to be released. | |
Re: Case by itself serves little or no purpose. I think you're looking for the [url=http://us3.php.net/switch]switch[/url] function, instead. | |
Re: I really don't see how much more short that could get, you did everything right, and if you're worried about computer load, don't worry, a small application like this has no effect on a computer whatsoever. I attached your program, but I cleaned it up a bit, added the underscores … | |
I was curious (this is kind of directed towards Dani), can you make users able to switch between Legacy and Standard Postbit Styles? The folks over at [url=http://bigblueball.com/forums/]BBB[/url] have it all figured out, so I'm assuming it wouldn't be that hard. Thanks! | |
Re: I have an idea: Make it so that a user can only add one item each time they visit the website or clear their cookies. Here's some code: [PHP]<?php session_start(); if ($_SESSION['spamcheck']) { die('You have already submitted data to this database!'); // Or put whatever you like as an error … | |
What else can they think of? [url=http://moon.google.com/]Google Moon[/url] | |
Re: The following are spyware and should probably be deleted: [code]C:\Program Files\Media Access\MediaAccK.exe C:\Program Files\Media Access\MediaAccess.exe O8 - Extra context menu item: &Search - http://bar.mywebsearch.com/menusear...?p=ZNxdm799YYFR O9 - Extra button: ShopperReports - Compare travel rates - {946B3E9E-E21A-49c8-9F63-900533FAFE14} - C:\Program Files\ShopperReports\Bin\1.0.5.0\ShprRprt.dll O9 - Extra button: Related - {c95fe080-8f5d-11d2-a20b-00aa003c157a} - C:\WINDOWS\web\related.htm O9 - Extra … |
The End.