| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> [7036] When I see people yawn I imagine I'm standing in front of them, hands on my hips, my cock in their mouth. It always makes me smile. <1> this is weird, im a little new at using this xml and all the serializers, I am getting the error: message No unserialized data available. Use XML_Unserializer::unserialize() first. <1> bur it is going through the unserializer first, using function _par***MLToArray <1> Just want to figure out why I get this error after trying to read the data out of the array? <1> anyone? <2> @confess <0> [72024] yesterday my friend and I, both animal loving vegans, went to the zoo and we had chips and we were standing in the Manalin gl*** window part dangling our chips near their faces until they jumped and hit the window.. it was so funny at the time but now i feel so bad =( <2> commie vegans... <3> @confess vegan <4> For anybody who managed to catch my trouble with adding / changing certain rows of my database... <4> The problem now seems to have disappeared entirely. <5> interesting <5> @udefine dead baby <0> Definition for dead baby: <0> a baby that is no longer living, possibly murdered.
<0> Example usage: whats 18 inches long and makes women scream all night long? a dead baby! <5> @udefine dead babies <0> Definition for dead babies: <0> An analogy to dirt or **** <0> Example usage: Great! I'm covered in dead babies from head to toe! <1> how can I make an array of a variable?? example: $var = 'arrName'; I want to make $arrName = array(); <1> is this possible? <6> guh. why would you want variable variables? <6> use a multidimensional array. <5> cmac: do i need to startup mod_spox's autoresponder again? <6> $blap['arrName'] = array(); <1> evulish, $arrName['blap'] <1> is needed <6> why? <1> not other way around <1> because it creates xml with it starting <arrName> <6> how does it create an xml? <1> by looping through the array, it parses it to xml <6> so why can't arrName just be part of the array? <6> rather than doing it in a retarded manner <4> @udefine aybabtu <0> Definition for AYBABTU: <0> Short for 'All Your Base Are Belong To Us', or sometimes 'AYB' (All Your Base), stemming from a phenominon started from a poorly translated Japanese-to-English version of the Japanese Genesis game 'Zero Wing'. Captain: What happen ? Mechanic: Somebody set up us the bomb. Operator: We get signal. Captain: What ! Operator: Main screen turn on. Captain: It's you !! Cats: How are you gentlemen Cats: You have no chance <0> to survive make your time. Cats: Ha Ha Ha Ha .... Operator: Captain !!* Captain: Take off every 'Zig'!! Captain: You know what you doing. Captain: Move 'Zig'. Captain: For great justice. Many online gamers began using these phrases in channels,thus leading to many photoshopped pictures saying phrases from the above dialogue. Somebody Set Up Us The Bomb = Holy Sh*t All Your Base Are Belong to Us = We Won Move <0> 'ZIG' = General Action Command For Great Justice = Self Explanitory The above phrases became 'universally known' as those commands in many OL Games such as Counterstrike, and Warcraft. The real translation is basically: Oh crap someone set up bombs. Were getting a transmission. Ill put it on the main screen. Its you! How are you gentlemen? We have captured all of your bases. You have no chance to survive. Move all ZIG! <0> For great justice! (NOTE: ZIG are the small ships the player pilots in ZW) The AYB Phenominonn has been declared dead a while ago, but Im bored so I posted this... *[cut]* <5> ack <0> Example usage: All your base are belong to us! All your cheese are belong to me! 'All your base are belong to us. -God ' <6> jesus christ <5> why is that cut so long <1> its not really a retarded way.. <6> serius_chronic: yes, it is <6> variable variables are retarded. <1> well, it must be done <6> serius_chronic: why can't you just change your code? <1> cuz the Serializer thing is not my code, the rest is, however the serializer uses the name of the variable as the first tag <1> which is the command I want to send to the eBay API <1> so if I name the variable $GetSearchResults, the first and last tag will be <GetSearchResults></GetSearchResults> <6> what is the Serializer? <1> * @link http://pear.php.net/package/XML_Serializer <1> so... how can i get a variable variable.. <1> since this is the way it should be done for what I am trying to accomplish <6> i don't know what you're smoking. <1> all sorts <6> their example creates an rss feed <6> and it sure as hell doesn't start with <data> <6> set it in the options, like it shows in the example. <5> http://it.slashdot.org/comments.pl?sid=194161&cid=15916702 <5> just awesome <7> hi guys <7> im trying to write a function that will calculate the difference in years between two dates <7> is there any easy way of doing this? <5> what format is the date in? <7> "%04d-%02d-%02d" <5> so, year month day? <7> yep <4> I'd just timestamp both, take the absolute value of the difference between the two, and divide it by (60*60*24*365). <4> That'll get you complete accuracy except in the event of an intervening leap year. <8> @date_diff <8> @datediff
<5> nein! <4> In which case But, then again, I'm an idiot. <5> @date* <0> Functions matching date*: <0> date(), date_sunrise(), date_sunset() <8> sime **** <8> hrm <5> @php function date_diff($date_new, $date_old){ $n = explode('-', $date_new); $new = mktime(0,0,0, $n[1], $n[2], $n[0]); $o = explode('-', $date_old); $old = mktime(0,0,0, $o[1], $o[2], $o[0]); $diff = abs($new - $old); $years = $diff / 31536000; return $years; } echo "years diff: ".date_diff('2006-04-01', '2003-04-01'); <0> Result: years diff: 3.00273972603 <7> so something like (date('Y-m-d')-$birthdate)/(60*60*24*365) ? <5> please to see function above <7> thanks spox <4> Go with Spox, he's far more experienced than I am. <5> sure <5> evulish: you around? <8> 31536000 second sin a year? <5> yeah <5> @math 86400 * 365 <0> 31536000 <8> damn <5> *not leap year compatible* <5> :P <5> i don't think a day will through it off much <6> i am, in fact, around! <5> unless it's like a long diff <8> www.ansimation.net/tmp/xhtml2.gif <5> can you change the "live site" setting in joomla? <5> like, on installation i set it to test.somesite.com <5> can i change it easily to live.somesite.com? <6> yeah, it's in configuration.php <5> so it has to be done manually in the file? <6> i'm pretty sure <5> good enough. i'll give that a go <5> thanks <6> i actually think it's possible to just let it be '', but i could be wrong <6> oh, actually.. that would **** up rss feeds <9> Hi all. Could somebody help me out? I need to open a file then know if it contains text (ie its not an img or something). IE check if its a a .txt, .htm, etc. <10> hi all <5> you need to open the file? or just know the extension? <9> well, i want to know if the file contains text without neccessarily checking its extension against every type of file that could possibly contain text. If thats possible <5> uh <5> what are you trying to accomplish? <9> given a term and a website, i need to check every file in that site for the term. So file could be .asp, .htm, etc and contain text or could be other types of files i dont want to search. <5> well, depending on how many files you are searching, that is going to be slow <5> and you would want to use a tool like grep <5> rather than have php open and search each file <9> its an exercise ive been sent prior to a job interview on friday, so its really just a demonstration of coding ability. <5> well, then just start walking through directories, reading files and running matches against them <9> Wont it mess up when i read an exe orsomething file into a string then check it for terms? <5> well, i would disreguard any binary files <9> probably easier to tell it explicit which files to allow. So what? .txt, .php, .php5, .htm, .html, .asp, .aspx. Any others? <5> just check the mime type of the file to see what it is <5> @mime-content-type <0> (PHP 4 >= 4.3.0, PHP 5) <0> string mime_content_type ( string filename ) <0> Detect MIME Content-type for a file <0> http://www.php.net/mime-content-type <9> Yeah man, that looks good! Just check it returns text/* and thats it <9> cheers guys <1> evulish, you around? <7> hi, is there any alternative for mkdir in php ? <7> mkdir never seems to work for me <6> spacemonkey: why would they have to functions that created a directory? <6> spacemonkey: and if one doesn't work, why would the other? <7> so something can work <6> what? <6> that didn't answer either question <7> well if you wanted to create a directory you want it to work <5> perfectly sensible <5> lol <5> force_mkdir <7> and if the first function doesn't work someone would have created a work around <6> spacemonkey: so they put in a working and a non-working function to make a directory?
Return to
#php or Go to some related
logs:
#india www.orkspace.net/owned Event managemnt- in Dhaka yeblebi
move_uploaded_file suphp
zero sized reply proxy wikipedia drinking my wine and I feel so fine gadhe ki gand #allnitecafe pauldion
|
|