Search Results

Showing results 1 to 36 of 36
Search took 0.01 seconds.
Search: Posts Made By: R0bb0b
Forum: Geeks' Lounge Oct 24th, 2008
Replies: 11
Views: 1,022
Posted By R0bb0b
According to Google it is somewhere in IL. Just go to google maps and search "Scottland USA".
Forum: Geeks' Lounge Oct 15th, 2008
Replies: 15
Views: 1,256
Posted By R0bb0b
Oooh ya. Let me tell you about my wonderful life. I didn't realize how wonderful I had it when I was a bachelor. Went to school for 3 yrs full time while working full time so that my wife could...
Forum: PHP Oct 14th, 2008
Replies: 4
Views: 583
Posted By R0bb0b
Close.
Like this

$query="SELECT *FROM rad ";
$result="mysql_query($query)";
while($row=mysql_fetch_array($result)){
$text=$row['text'];
echo wordwrap($text, 14, "<br />\n", true);
}
Forum: PHP Oct 12th, 2008
Replies: 12
Views: 1,149
Posted By R0bb0b
You will have to either design it yourself or look for one online: http://www.google.com/search?hl=en&q=php+ftp+online+script&btnG=Search
Forum: PHP Oct 12th, 2008
Replies: 12
Views: 1,149
Posted By R0bb0b
You do not include the protocol with the servername when you use ftp_connect so change this line:
$ftp_server = "ftp://MyFtpSite.com";
to this:
$ftp_server = "MyFtpSite.com";
Forum: Geeks' Lounge Oct 1st, 2008
Replies: 12
Views: 1,395
Posted By R0bb0b
Not really,
Drop out of high school:considered a bum
Graduated high school, no college degree:considered a burger flipper
Currently in college:considered a party animal
College degree:considered...
Forum: Geeks' Lounge Sep 20th, 2008
Replies: 41
Views: 3,337
Posted By R0bb0b
I'm rich. I have more than most people. I've got a wonderful family made up of the three cutest kids I've ever seen and a wife that just adores me. My family is very healthy, I have a career and a...
Forum: Geeks' Lounge Sep 17th, 2008
Replies: 42
Views: 3,423
Posted By R0bb0b
You all state a problem, not a solution.

Have you ever heard the term "I wish I were never born", well some people mean it. I just heard a story today that a 14 yr old girl dumped her new born...
Forum: PHP Aug 29th, 2008
Replies: 28
Views: 1,942
Posted By R0bb0b
Not for me, I copied that script, refreshed my page about 7 or 8 times and got this in pets_feed_20080829.txt

ID Category Description
ID Category Description
ID Category Description
ID...
Forum: PHP Aug 21st, 2008
Replies: 6
Views: 529
Posted By R0bb0b
How I would do it

<?
$stringlen = 15;
$randvarray = str_split("abcdefghijklmnopqrstuvwxyz0123456789");
$stringid = "";

for($i = 0; $i < $stringlen; $i++)
{
$value = rand(0,...
Forum: Geeks' Lounge Aug 19th, 2008
Replies: 27
Views: 3,143
Posted By R0bb0b
All hail joshSCH
http://upload.wikimedia.org/wikipedia/commons/4/45/Mooning.jpg
Forum: PHP Aug 18th, 2008
Replies: 19
Views: 1,950
Posted By R0bb0b
Also speaking of session exploitation, if you post any user input directly to the webpage, make sure to use htmlentities() to verify that no javascript is being slipped in. This will also ensure...
Forum: PHP Aug 15th, 2008
Replies: 13
Views: 770
Posted By R0bb0b
Yes, this is secure. I actually do this normally to not only verify that the session variable isset but that it isn't empty either:

<?php
if(isset($_SESSION['id']) && trim($_SESSION['id']) !=...
Forum: Geeks' Lounge Aug 14th, 2008
Replies: 42
Views: 3,077
Posted By R0bb0b
lol, ya or my house be ripped out of the ground and I'll be cool.
Forum: Geeks' Lounge Aug 13th, 2008
Replies: 42
Views: 3,077
Posted By R0bb0b
Actually if you stand by the ocean you can see a slight curve so its actually more like pringle shaped.
Forum: Geeks' Lounge Aug 13th, 2008
Replies: 42
Views: 3,077
Posted By R0bb0b
You know, jibber-jabber or not, this is actually pretty funny. http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm
Forum: Geeks' Lounge Aug 9th, 2008
Replies: 26
Views: 2,026
Posted By R0bb0b
This has nothing to do with the thread, I just think that is a great signature.
Forum: Geeks' Lounge Aug 7th, 2008
Replies: 85
Views: 12,752
Posted By R0bb0b
Personally, I think relationships and personalities can be represented by throwing 5 billion 300 sided dice on the ground. If one die tries to match itself to every die that it finds it will find...
Forum: Geeks' Lounge Aug 7th, 2008
Replies: 45
Views: 4,346
Posted By R0bb0b
So what you are saying is that you have worked in several environments and never have been in a situation where you had to put up with any shit from your boss or any number of your boss' bosses? ...
Forum: JavaScript / DHTML / AJAX Jul 28th, 2008
Replies: 7
Views: 918
Posted By R0bb0b
If you can get something to work in firefox, with few exceptions, chances are it will work in most browsers. Once you get it working in firefox, then adjust it for ie. Once that is done then you...
Forum: PHP Jul 24th, 2008
Replies: 111
Views: 6,235
Posted By R0bb0b
:sweat: :sweat: :sweat: :sweat: :sweat: :sweat:
cool
Forum: PHP Jul 21st, 2008
Replies: 111
Views: 6,235
Posted By R0bb0b
I never include them. You could also try an if(isset($_POST['varname'])) statement
Forum: PHP Jul 15th, 2008
Replies: 16
Views: 1,322
Posted By R0bb0b
C++ is probably as fast as you're going to get, you can view the comparison to PHP here, comes out to about 90 times faster:
http://www.janitha.com/archives/38

Even then we're talking about...
Forum: PHP Jul 15th, 2008
Replies: 16
Views: 1,322
Posted By R0bb0b
Still rollin an hour later. Wheeeeeeeeew
Forum: PHP Jul 10th, 2008
Replies: 12
Views: 724
Posted By R0bb0b
I guess you could also do that in the database too. Have like an faq_activity table that updates every time a user views an faq and then you could just pull the 4 most recent for that user. You'd...
Forum: JavaScript / DHTML / AJAX Jun 26th, 2008
Replies: 2
Views: 2,210
Posted By R0bb0b
This will give you the basic functionality:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html...
Forum: PHP Jun 23rd, 2008
Replies: 5
Views: 2,193
Posted By R0bb0b
You have to declare it as global in the function, view the last function in the class

<?
$globalTestArray = array('Hello', ' ', 'World', '2');
$objtest = new Test(array('Hello', ' ', 'World'));...
Forum: PHP Jun 22nd, 2008
Replies: 65
Views: 3,900
Posted By R0bb0b
OK, so the script works. I think it has something to do with the syntax within the file, let's debug.

replace line 225:

$qry = mysql_query($query,$conn);


with

$qry =...
Forum: PHP Jun 20th, 2008
Replies: 3
Views: 1,379
Posted By R0bb0b
you could try:

str_replace(" ", "\t" $string);
Forum: PHP Jun 20th, 2008
Replies: 8
Solved: Divide time
Views: 946
Posted By R0bb0b
Actually it does exactly what I was thinking:
27:30
(30 + (27 * 60)) / 5 = 330 minutes
Forum: PHP Jun 18th, 2008
Replies: 24
Views: 2,838
Posted By R0bb0b
as long as they are spaced by the " " character, yes.

and if the number of values is unknown, you could also assign them directly to an array like so
$alpha = "11 22 33 44 55 66";
$array =...
Forum: PHP Jun 18th, 2008
Replies: 6
Views: 1,675
Posted By R0bb0b
As many studies in OOP as I had through school and even after school, didn't really do me any good either. It wasn't until about 2 yrs into my career that I actually learned the value of inheritance...
Forum: PHP Jun 17th, 2008
Replies: 6
Views: 1,675
Posted By R0bb0b
I've never seen it done that way and actually its not done to reference the parenting function but rather $this refers to the parenting class. Here's how it works.

If you know a little about OOP...
Forum: PHP Jun 13th, 2008
Replies: 24
Views: 3,286
Posted By R0bb0b
I tried it myself and the javascript works fine for me in IE and FF. Your talking about the date and time up in the top right I assume, yeah it works for me just fine.
Forum: PHP Jun 12th, 2008
Replies: 2
Views: 564
Posted By R0bb0b
Declare all of your variables and assign them a value innitially.
use constants if used on included files and such.
validate all user input, leave no open doors.
For one example, I often times use...
Forum: PHP Jun 12th, 2008
Replies: 29
Views: 2,668
Posted By R0bb0b
I don't know if it will throw an error but you don't need $this-> if you are not in object context.
Another thing, I don't know if you did already but you may want to check the permissions of that...
Showing results 1 to 36 of 36

 


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

©2003 - 2009 DaniWeb® LLC