@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> is how i read that
<1> oh
<1> i didn't really read it
<2> http://pastebin.com/586058
<2> an ideas?
<2> error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'seclect id,img_name,img_height,img_width,img_size from portfolio
<0> well uh
<0> i mean, just read your query slowly
<0> k?
<0> just look at it word-by-word
<0> k?
<3> no k
<2> i am
<2> but i dont see it
<2> it's prolly something siple
<2> simple*



<0> $query = "seclect id,img_name,img_height,img_width,img_size from portfolio where id='$imgid'";
<0> that help?
<2> hah
<2> probably
<0> :)
<4> Hmm...
<4> @php time()
<5> insufficient "php" auth (have 10, need 15)
<4> Somebody suggested a few days ago that using time() was the best method to store/retrieve dates in a mySQL database.
<6> yeah
<4> *That's* what got me to program add/modify/delete admin pages for my DB-based pages...
<6> !php echo time();
<4> Since I realized that I'd need specialized php code to convert from/to, and couldn't do it in phpmyAdmin.
<7> 1141607019
<4> That would be a bigint, right?
<6> int length 11
<4> Will do.
<4> And that's in seconds since 1970, right?
<6> you really don't want to have to use phpmyadmin to maintain a web app
<6> yeah
<6> @date!
<4> Cool!
<6> the bot's pissed at me for some reason.
<4> You know, that means that I could probably use that number as the primary key!
<4> Couldn't I?
<6> hrm.
<6> still use an auto-incrementing value for primary key
<6> er
<6> put an "i'd" in front of that
<4> Okay.
<4> I'm gonna google up a conversion function to/from time(), but do you know of any really good ones right off the bat?
<6> yes. date()
<6> the function I just now tried to get mod_spox to pull up
<6> it's nothing special, just a function that takes a timestamp and displays the date however you want.
<2> !php echo date("M d Y : h m s",'1141607019');
<7> Mar 05 2006 : 08 03 39
<2> !php echo date("M d Y : h m s");
<7> Mar 05 2006 : 08 03 52
<4> And how would I sort something of that sort back into a time?
<6> you wouldn't. you'd already have it as a timestamp
<4> Would it be time([input])?
<6> why would you need to convert it back?
<6> only time you need to convert it to something readable is when you display it
<4> This would be a user-entered date/time.
<6> you wouldn't be storing the date() output anywhere
<6> for what?
<6> what would they be entering the date/time for?
<4> Tasks with due dates.
<6> I'd suggest using drop-downs to eliminate the possibility for something stupid happening
<4> I'd be the only person "using" it...
<6> oh.
<6> I'd still suggest using drop-downs. but look up strototime()
<6> !php print strtotime("August 12, 1980");
<7> 334900800
<3> re ansimation
<2> tyty
<3> ywyw
<8> is there a way to increase Binary result length at mssql_result('someBinaryResult') (default is 256) *so i didnt have to loop with SUBSTRING()*?



<9> There's user notes on the mssql_query page describing what to do.
<8> kicken, thanks
<8> by Rizwan Khan ? that not works :(
<8> aha!
<8> found... thanks kicken ^^
<8> php.ini: mssql.textlimit = 16384; mssql.textsize = 16384;
<10> hmm, go dalnet
<0> heh
<0> installed a program at 5:12:14 PM, and i just surfed C:\, right?
<0> there's a folder called 'www'
<0> with a subfile 'amazon.com\index.html'
<0> that looks a lot like amazon's front page, with referrer "theheartofmusic" plugged in to every link
<0> checked the creation time of the folder
<0> 5:12:14 PM
<4> :-O
<0> e-mailed the author of the program
<0> "so yeah, referrer sniping isn't cool, and is against amazon TOS"
<0> i just got an e-mail back
<0> "What?"
<4> What program?
<0> i'm trying to get a source of quotes for a cryptogram generator
<0> and i installed something called "notable quotables" with 4,000 quotes
<4> Heck of a scam, though.
<0> i don't know how they expect someone to mistype amazon.com as file:///c:/www/amazon.com/index.html though
<4> Ah.
<4> !
<4> ^<----- !
<11> nice.
<4> Run as in administrate...
<4> Or run as in use?
<0> wtf is dbt/zdb/mxf
<0> i'm sorry
<0> dbt/zdb/mdx
<0> i'm getting like six different database pragmas for those extensions
<9> never heard of them.
<12> hi fink
<12> !php $i = 0; while(1) { $i++; }
<12> >:|
<13> blessins
<12> !php $i = 0; while(1) { $i++; }
<11> yay
<7> Fatal error: Maximum execution time of 3 seconds exceeded in /usr/home/poutine/safe/raw.php(6) : eval()'d code on line 1
<12> 3 sec???
<9> while (1){ pcntl_fork(); }
<0> man, all i need is a database of quotes for my cryptogram program
<0> is that so difficult
<14> apparently, it is.
<9> what kind of quotes?
<0> famous quotes
<9> fortune program?
<15> holy tapdancing christ!
<0> does it have like bartlebee's?
<0> and if you've logged into enough unix it's probably predictable
<9> what are you planning on doing with these quotes?
<9> using them as keys?
<0> no, cryptograms
<0> they're puzzles
<0> i'm writing a small cryptogram generator
<2> @array_push
<5> (PHP 4, PHP 5)
<5> int array_push ( array &array, mixed var [, mixed ...] )
<5> Push one or more elements onto the end of array
<5> http://www.php.net/array-push
<2> $img_id = array_push($row['id'],$img_id);
<2> that aint right is it?
<2> doesnt look right to me.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

the sun'll come out tomorrow mp3
#kl
#php
#india
#photoshop
#allnitecafe
lagu Pengantin
respiration maggot experiment
#kl
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes