Search Results

Showing results 1 to 40 of 45
Search took 0.02 seconds.
Search: Posts Made By: Sp!ke
Forum: PHP Jun 30th, 2007
Replies: 7
Solved: PHP Templates
Views: 1,782
Posted By Sp!ke
Oh, I get it. It just stores a list of variables and values and replaces accordingly. Not really what I wanted, but I guess it'll have to do. It's good to know something like that exists, thanks.
Forum: PHP Jun 23rd, 2007
Replies: 7
Solved: PHP Templates
Views: 1,782
Posted By Sp!ke
execute is a PHPBB-specific function which probably uses eval() anyway (going to php.net/execute doesn't exist, and exec() executes shell commands on Linux). And what do you mean by 'trace' them?
Forum: PHP Jun 22nd, 2007
Replies: 7
Solved: PHP Templates
Views: 1,782
Posted By Sp!ke
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....
Forum: PHP Jun 1st, 2007
Replies: 3
Views: 1,482
Posted By Sp!ke
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...
Forum: Java Jun 1st, 2007
Replies: 2
Views: 1,575
Posted By Sp!ke
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...
Forum: Java Jan 25th, 2007
Replies: 3
Views: 6,070
Posted By Sp!ke
Sorry, that didn't work. In fact, nothing changed about the program. Any other ideas?
Forum: Java Jan 24th, 2007
Replies: 3
Views: 6,070
Posted By Sp!ke
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...
Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2006
Replies: 0
Views: 1,925
Posted By Sp!ke
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...
Forum: Website Reviews Feb 1st, 2006
Replies: 3
Views: 1,744
Posted By Sp!ke
Are you a Star Trek Fan? Well, even if you're not, I'd still like you to take a look at my recently finished forums.

http://stoforums.com/

I'd like your honest feedback (not too harsh!) on what...
Forum: PHP Aug 9th, 2005
Replies: 2
Views: 8,949
Posted By Sp!ke
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...
Forum: PHP Aug 8th, 2005
Replies: 2
Views: 1,646
Posted By Sp!ke
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,...
Forum: PHP Aug 5th, 2005
Replies: 4
Views: 1,558
Posted By Sp!ke
Should you be selecting the Selex database all the time, or do you want both?mysql_select_db("selex", $dbcnx);
Forum: PHP Aug 1st, 2005
Replies: 2
Views: 5,119
Posted By Sp!ke
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.
Forum: Existing Scripts Aug 1st, 2005
Replies: 15
Views: 6,116
Posted By Sp!ke
If you want a free one, here's a nice list of names:
Drupal
Geeklog
Mambo Open Source
PHP-Nuke
phpWCMS
phpWebSite
Post-Nuke
Siteframe
Typo3
Forum: Legacy and Other Languages Aug 1st, 2005
Replies: 90
Views: 29,223
Posted By Sp!ke
Gah! Did I misread (happens a lot), or did we forget the trusty and classic Visual Basic 6?
Option Explicit
Private Sub Form_Load()
Print "Hello, World! in VB6"
End Sub
Forum: PHP Jul 31st, 2005
Replies: 3
Views: 3,501
Posted By Sp!ke
Possibly try this:

http://www.phpbbstyles.com/viewtopic.php?t=5553
Forum: PHP Jul 31st, 2005
Replies: 2
Views: 2,396
Posted By Sp!ke
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:...
Forum: PHP Jul 31st, 2005
Replies: 5
Views: 5,326
Posted By Sp!ke
Right, in the first few lines, I have a few comments.

Firstly, you cannot do this:
<?php -CODE HERE- php?>
// The above example is WRONG. You can do either of the following:

<?php -CODE HERE-...
Forum: PHP Jul 31st, 2005
Replies: 3
Views: 3,501
Posted By Sp!ke
Ummm...Can you specify which forum software you're using? vBulletin has the feature implemented already, but I'm not sure about others.
Forum: PHP Jul 31st, 2005
Replies: 8
Views: 9,077
Posted By Sp!ke
Ahh, yes, that's right, many HTML editing programs, such as Macromedia Dreamweaver add that to every page, so removing it (since it is a header) will allow the Location Header to be sent, even with a...
Forum: PHP Jul 29th, 2005
Replies: 0
Code Snippet: Array Example
Views: 3,397
Posted By Sp!ke
This little snippet will teach you all about arrays and arrays of arrays, and so on and so forth.
Forum: PHP Jul 29th, 2005
Replies: 8
Code Snippet: Hello world
Views: 3,487
Posted By Sp!ke
No no no...it's

<?php echo 'Foo Bar :P'; ?>
Forum: PHP Jul 29th, 2005
Replies: 8
Views: 9,077
Posted By Sp!ke
Gah! Your PHP Code is an absolute disaster, sorry to say, and it hurts my eyes. This might help:
<?php
// Here is the code from my processing page that redirects it:
$user =...
Forum: PHP Jul 28th, 2005
Replies: 6
Views: 1,618
Posted By Sp!ke
Ummm...What do you mean by "help"? If you just need locations and names, you can try out phpBB2 (http://phpbb.com/) or SMF (http://simplemachines.org/), both free. Make sure that you are the owner of...
Forum: PHP Jul 27th, 2005
Replies: 7
Views: 5,229
Posted By Sp!ke
Oh, shoot, we're both wrong, heh! ;)

This will most DEFINATELY work.

<?php
if (isset($_POST['add'])) {
include ('config.php');
include ('opendb.php');

...
Forum: Geeks' Lounge Jul 26th, 2005
Replies: 3
Views: 1,487
Posted By Sp!ke
You haven't earned the right yet, all of yuor posts are spam.
Forum: PHP Jul 26th, 2005
Replies: 3
Views: 1,685
Posted By Sp!ke
Ahh, that helps greatly. Thanks!
Forum: PHP Jul 25th, 2005
Replies: 3
Views: 1,685
Posted By Sp!ke
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...
Forum: PHP Jul 25th, 2005
Replies: 4
Views: 1,546
Posted By Sp!ke
The name of a MySQL table should be private, there is no way to display it, as it is a security risk.
Forum: PHP Jul 25th, 2005
Replies: 4
Views: 1,571
Posted By Sp!ke
Well, from your post, I'm unclear as to what exactly you want to do, but I hope this helps:

<?php
$var = array('1' => 'foo'
'2' => 'bar'
'heh' => 'Hello, World!');...
Forum: PHP Jul 25th, 2005
Replies: 7
Views: 5,229
Posted By Sp!ke
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
if (isset($_POST['add'])) {
include ('config.php');
...
Forum: PHP Jul 24th, 2005
Replies: 3
Views: 1,613
Posted By Sp!ke
Case by itself serves little or no purpose. I think you're looking for the switch (http://us3.php.net/switch) function, instead.
Forum: DaniWeb Community Feedback Jul 23rd, 2005
Replies: 0
Views: 1,629
Posted By Sp!ke
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 BBB (http://bigblueball.com/forums/) have it all...
Forum: Website Reviews Jul 23rd, 2005
Replies: 0
Views: 1,293
Posted By Sp!ke
http://guipowered.com/

We sport a band-new vBulletin skin, custom-designed, a new domain name to better describe the site's content (old was SpikeLtd.com, very indescriptive). Some features...
Forum: Pay-Per-Click Advertising Jul 23rd, 2005
Replies: 3
Views: 3,649
Posted By Sp!ke
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,...
Forum: Geeks' Lounge Jul 23rd, 2005
Replies: 21
Views: 5,165
Posted By Sp!ke
Agreed, but what's the appropriate amount before you start to sell items? 20? 50? 100?
Forum: Visual Basic 4 / 5 / 6 Jul 23rd, 2005
Replies: 2
Views: 1,718
Posted By Sp!ke
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...
Forum: IT Professionals' Lounge Jul 23rd, 2005
Replies: 6
Views: 1,991
Posted By Sp!ke
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.
Forum: PHP Jul 23rd, 2005
Replies: 4
Views: 3,332
Posted By Sp!ke
MediaWiki, although all of its pages are freely editable, yes, they make constant backups to ensure somebody doesn't come in and just delete everything. For your purposes, I'd recommend adding a...
Forum: Geeks' Lounge Jul 23rd, 2005
Replies: 2
Views: 1,273
Posted By Sp!ke
What else can they think of?

Google Moon (http://moon.google.com/)
Showing results 1 to 40 of 45

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC