Search Results

Showing results 1 to 40 of 311
Search took 0.02 seconds.
Search: Posts Made By: Gary King
Forum: Ruby Jul 21st, 2007
Replies: 4
Views: 2,878
Posted By Gary King
Here's a good book to learn how to use Ruby: http://www.math.umd.edu/~dcarrera/ruby/0.3/
Forum: Ruby Jul 21st, 2007
Replies: 1
Views: 2,339
Posted By Gary King
The send method, when used on any object, can have an indefinite number of arguments passed to it.
Forum: HTML and CSS Jun 8th, 2007
Replies: 18
Views: 4,855
Posted By Gary King
Just because it's deprecated doesn't mean it can't be used anymore. We'll have to wait another 10 years for that to happen ;)
Forum: Ruby May 23rd, 2007
Replies: 8
Views: 6,143
Posted By Gary King
Try using controller.env['QUERY_STRING'], where controller is the name of the controller where you are using this.
Forum: Ruby May 22nd, 2007
Replies: 1
Views: 3,082
Posted By Gary King
Here's (http://www.erikveen.dds.nl/rubyscript2exe/index.html) a good place to start.
Forum: Ruby May 22nd, 2007
Replies: 13
Views: 8,660
Posted By Gary King
I would prefer seeing this forum renamed Ruby on Rails because Rails is really what gave Ruby a huge boost in familiarity among most people.
Forum: Ruby May 22nd, 2007
Replies: 4
Views: 4,935
Posted By Gary King
The JavaScript forum (http://www.daniweb.com/techtalkforums/forum117.html) would better serve your question :)
Forum: Ruby May 22nd, 2007
Replies: 5
Views: 3,436
Posted By Gary King
I give another vote to http://poignantguide.net/ruby/ :)

Also, I think that the Wikipedia article for RoR is not really a good resource for learning how to write Ruby.
Forum: Ruby May 22nd, 2007
Replies: 8
Views: 6,143
Posted By Gary King
env["QUERY_STRING"] should work.
Forum: Ruby May 22nd, 2007
Replies: 4
Views: 4,220
Posted By Gary King
I give another vote to http://poignantguide.net/ruby/ :)
Forum: PHP Feb 9th, 2007
Replies: 3
Views: 2,821
Posted By Gary King
Use www.php.net/preg_match to match the particular contents that you want from the page.
Forum: PHP Feb 7th, 2007
Replies: 3
Views: 2,821
Posted By Gary King
There isn't much that you need besides www.php.net/file and www.php.net/file_get_contents

Those should get you started.
Forum: PHP Feb 7th, 2007
Replies: 3
Views: 3,369
Posted By Gary King
<?php

if ($_GET['dlurl'])
{
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
readfile('original.pdf');
}

?> as an example.
Forum: PHP Feb 7th, 2007
Replies: 1
Views: 924
Posted By Gary King
Which version of PHP do you have? I would have thought MediaWiki supports all the way to PHP 4.
Forum: PHP Jan 5th, 2007
Replies: 2
Views: 2,772
Posted By Gary King
So $message = "The following was submitted:\n\n";
foreach($fields as $f => $v)
{
if ($v)
$message .= sprintf("%20s: %s\n",$v,$_REQUEST[$f]);
}?
Forum: DaniWeb Community Feedback Jan 5th, 2007
Replies: 19
Views: 4,880
Posted By Gary King
I know Ruby on Rails, but there aren't enough posts right now on DaniWeb about RoR to justify a new forum for it. It is becoming more and more popular each day, but that doesn't mean that every...
Forum: PHP Jul 23rd, 2006
Replies: 2
Views: 9,185
Posted By Gary King
Use <input type="checkbox" name="checkbox[]" value="your value" />
Keep using that for your checkboxes, but just change value="". It will put all your checkbox values into the $_REQUEST[checkbox][]...
Forum: Geeks' Lounge Jan 2nd, 2006
Replies: 19
Views: 8,965
Posted By Gary King
I use SnagIt too. I like the company's products in general, such as Camtasia Studio, for making videos of your desktop.
Forum: PHP Dec 9th, 2005
Replies: 4
Views: 1,613
Posted By Gary King
Yeah, a Java applet is better, or a Flash file, than PHP for video chat.
Forum: PHP Dec 9th, 2005
Replies: 3
Views: 1,478
Posted By Gary King
I'm sure you can, although I don't know the specifics.
Forum: DaniWeb Community Feedback Nov 14th, 2005
Replies: 5
Views: 2,608
Posted By Gary King
If you read my post carefully, you will see that I said As you can see, I said the subforums IN that forum. There are 3, last time I checked. (At least for me. Certain users can see more or less,...
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 16
Views: 3,643
Posted By Gary King
I'm sure there are more students than professionals on these forums :)
Forum: DaniWeb Community Feedback Nov 13th, 2005
Replies: 5
Views: 2,608
Posted By Gary King
The subforums are poorly laid out. Take the subforums in DaniWeb News and Feedback (http://forum26.html) as an example.
Forum: DaniWeb Community Feedback Nov 13th, 2005
Replies: 5
Views: 2,608
Posted By Gary King
Show the subforums on the forum index so we can see what subforums exist. With the way it is now, people don't even know that most of the subforums exist. I wasn't even aware that this forum (DaniWeb...
Forum: PHP Nov 13th, 2005
Replies: 2
Solved: Php With Time
Views: 1,811
Posted By Gary King
You don't have to get really advanced to get the time :) There is already a built-in function for that that can do all of that in one line.


if (date('A') == 'AM')
{
// it is AM
}
else
{
...
Forum: PHP Nov 13th, 2005
Replies: 2
Views: 3,092
Posted By Gary King
http://ca3.php.net/manual/en/function.asort.php
Forum: Site Layout and Usability Nov 6th, 2005
Replies: 5
Views: 3,867
Posted By Gary King
http://statcounter.com/ is another good service for this. I suggest using whatever control panel you have available to you and using that instead, though, since those are often more powerful. I'm...
Forum: MySQL Nov 6th, 2005
Replies: 4
Views: 4,161
Posted By Gary King
The MySQL server also needs to be running before using it. It is not like PHP, since PHP only runs when it needs to. Start -> Run -> "services.msc" -> Enter. Then select the MySQL service and hit...
Forum: JavaScript / DHTML / AJAX Nov 6th, 2005
Replies: 3
Views: 5,198
Posted By Gary King
I don't think these are what he wants. He wants something like: http://www.php.net/quickref.php
Forum: PHP Nov 6th, 2005
Replies: 15
Views: 4,909
Posted By Gary King
Just download WAMP for Windows or LAMP for Linux. I'm unsure if those complete packages still exist, but give it a try. It downloads the entire set for you and you can install it as a bundle... I...
Forum: PHP Nov 6th, 2005
Replies: 2
Views: 1,802
Posted By Gary King
You'll need to explain your problem more clearly. I have a hard time understanding what you are trying to accomplish.
Forum: Geeks' Lounge Nov 6th, 2005
Replies: 48
Views: 8,484
Posted By Gary King
Probably about 7 hours for me on a typical weekday?
Forum: Geeks' Lounge Nov 5th, 2005
Replies: 17
Views: 3,291
Posted By Gary King
I like it, it's attractive.
Forum: Upcoming News Stories Nov 1st, 2005
Replies: 6
Views: 2,272
Posted By Gary King
Yep, congratulations on the job well done from me too, Dani.

Also, on a side note sarahk, that is precisely how I operate every morning as well (or late at night), since those emails are typically...
Forum: DaniWeb Community Feedback Oct 30th, 2005
Replies: 18
Views: 4,152
Posted By Gary King
I think the space between the last post of the thread and the Quick Reply box is too far. There are the ads, and then the Similar Threads. I suggest making the Google ad a leaderboard instead, so...
Forum: DaniWeb Community Feedback Oct 30th, 2005
Replies: 18
Views: 4,152
Posted By Gary King
Nice job, Dani!

But, where's vBulletin 3.5 (Ajax)? Different colors for each category? And please increase depth of forums shown on forum index. This new layout has a bit of a learning curve for...
Forum: DaniWeb Community Feedback Oct 23rd, 2005
Replies: 9
Views: 2,269
Posted By Gary King
I still think that this suggestion of mine should be implemented.
Forum: OS X Oct 20th, 2005
Replies: 2
Views: 6,016
Posted By Gary King
I'm certain that there is an AppleScript for this.

Directory: http://www.dougscripts.com/itunes/index.php
Forum: C Oct 12th, 2005
Replies: 1
Views: 3,310
Posted By Gary King
Code: http://www.google.com/search?num=30&hl=en&lr=&q=Fibonacci+number+C%2B%2B&btnG=Search

They all do the same thing. So I'm sure you can just pick one and use that. Or, compare it with yours to...
Forum: PHP Sep 15th, 2005
Replies: 29
Views: 62,060
Posted By Gary King
I use this to make executable files from PHP files. I mean, you run the code in something such as DOS, but at least it works. I use it when I don't have a PHP server in hand.
Showing results 1 to 40 of 311

 


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

©2003 - 2009 DaniWeb® LLC