@# 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30



Comments:

<0> what could cause this? any ideas? it has happened since i inserted the php code and made the index.html a php file. other files work properly
<1> 1140384783 == Sun Feb 19 21:33:03 2006
<2> technically i wouldnt even go on about phpbb problems but i was curious
<3> it would mean that the image cl*** I made could have a one variation with no colour setting
<2> now i know why i shouldnt have :P
<3> which called the function with the default colours
<4> http://rafb.net/paste/results/3JAOrw48.html ... Im trying to turn this SimpleXML Object into an array of $array['key'] = $value ... eg. $array["address"] = "127.0.0.1" ... but on the servers one... it needs to turn into a multi-dimensional array $array['server'][0] = "123.2131.23"; Is there any easy way to do this?
<5> okay...
<3> and the other which took a colour setting
<1> har.
<1> thegh0st: change mysql_fecth_array to mysql_fetch_***oc
<1> then it should work
<1> do it for all of them, actually
<5> k
<1> oh, and you want post_time, not topic_time
<5> okay



<1> apart from that, the script should be fine ;)
<6> jamiel: loop the object with foreach and build your array
<5> NeroThermic: I have post_time
<5> check my first pastebin again
<1> thegh0st: $time = $r2["topic_time"];
<1> that should be post_time, not topic_time
<1> ;)
<5> ooohhhhh thats why its screwing around with me then lol
<0> can it be that php and java script code together in one file (in an echo command) turn out to make problems?
<1> you're calling a non-exsistant field, thats why date was getting p***ed 0
<5> its always the stupid little mistakes :P
<1> and the reason why the time is offsetted from midnight is that your server appears to be UTC-0500
<5> no, my server is GMT
<5> forums are GMT-5
<0> any idea why my browser tries to "forward" to address http:/// without any instruction?
<5> and thats because I live in southeastern canada, thats the correct time
<2> ganymed: no we dont fix Opera problems, find an opera channel
<7> hey jiggster
<2> sup
<7> not much... just woke up
<2> cool stuff
<2> it's 5:20 AM here, i should go to bed :P
<5> lol
<7> going to pick up a machine thingy in an hour or so...
<5> its 7:20 AM here, I like just woke up :P
<5> well, I woke up at 6:00 AM
<7> thegh0st: same here
<2> i'm nocturnal
<2> i havent seen the sun in months
<7> jiggster: a friend of mine is alergic to the sun
<2> i'm not
<2> i'm just strange
<2> bad habits :\
<7> lol :)
<2> i love the sun, but it's winter, so it can kiss my *** :P
<5> the first phpbb date in the db is Fri Oct 20, 2000 8:01 pm
<7> hehe
<5> the rest are correct, thats odd :P
<7> i've gotta go! cya
<2> it's phpbb what do you expect
<2> ttyl itrebal
<5> (jiggster): yes I know phpBB ****s but its my clients join, I usually just "buy" vBulletin ;)
<2> mm i see
<8> why does opera not handle ajax properly/
<8> if (ajax.readyState==4) {
<8> document.getElementById('edits').innerHTML = ajax.responseText;
<2> dunno this is PHP not "solve **** browser problems week"
<9> help me please: http://pastebin.com/564253 .
<8> it replaces 'edits'
<8> with the whole freaking site!
<8> from <html> to </html>
<10> tziku: updated your pastebin
<10> you shouldn't quote variables, since then they will be read as strings
<11> jiggster: it is not an opera problem apparently, as any other php site works correctly. it rather seems to be some problem with the script (which might be due to compatibility probs, i admit). could just be that you have heard about such a thing
<9> thakyou Ruud :) naw i trying to look :D
<2> _ganymed: a script of yours?
<11> all of my other scripts work. only this, which is much simpler than all the others, shows this problem. it appeared after i had insterted the php code and rewritten the original html file.
<2> ohhhhhhh i thought you meant something else was causing the problem
<2> sorry man
<11> no prob. it is strange, because konqueror does not show this problem. but after inserting two functions, that simply include other files on demand, it tries to connect. the only difference to my other files is, that i have javascript within an echo commad



<2> hmm
<2> well i wont lie, i hate opera, and i have a rough time even considering using it :P
<11> sorry, a love it :) as i said, i never had problems until now...
<11> i'll try it in an opera channel, maybe it's some bug. it is just strange that it happens with this script only, nit with others
<2> mm
<12> hi all - I'm having an ldap connecting problem. the code is the following:
<12> print "$t_ds = @ldap_connect ( $t_ldap_server, $t_ldap_port )";
<12> $t_ds = @ldap_connect ( $t_ldap_server, $t_ldap_port );
<12> print "<br />";
<12> print $t_ds;
<12> the result is:
<12> = @ldap_connect ( ldap://newton/, 389 )
<12> Resource id #86
<13> and where is the problem?
<12> I've got no idea where the "Resource id #86" thing is from.
<14> !tell ttf about pastebin
<12> I can't bind - don't have access to the server though for troubleshooting
<14> ttf: when you connect using ldap,it returns a resource ID that you use to comunicate with the ldap server
<12> [itrebal]: sorry - though 4 lines would be okay
<12> so - thas' not a bad sign then..
<14> correct
<15> check you with your fancy square brackets! :P
<14> GarethAdams|Work: they are there to mean that i'm not here.... because i shouldn't be :) i should be in the car at the moment....
<15> lol
<2> oooooh i need to get ldap working on my powerbook
<3> be back later
<2> niether do i
<2> but should the need arise
<14> ah
<14> i know how that goes
<2> well it's a laptop, if i'm out with no inet...
<14> well... this time i really am gone
<14> cya
<2> lol ttyl
<16> if I have $postval in the additional headers field for the "mail" command, how can one inject data into $postval to add additional headers? trying to close a .php script which is being used as a spam relay
<17> Is it possible to create user accounts on a mysql db with php ?
<7> my ride isn't ready
<2> oooh you little devil :P stop toying with us! go or stay!
<7> lol
<7> znoG: they just add data to the postval, and its inserted..... why are you directly inserting post info into the additional headers in the 1st place?
<16> itrebal: well, the From is being set to in this way .. ie: mail($to, $subject, $body, "From: $_POST['email']");
<18> hi
<7> znoG: then in $_POST['email'] they could have someemail@somewhere.com\
<16> itrebal: so I'm trying to inject info into $_POST['email'] to see if I can make it Bcc to another email and determine if that's how they did it, even though I'm pretty sure that's how. I've tried setting the 'email' post value to "foo@foo.com\nBcc: some@other.com" but it doesn't work as the \n gets escaped somewhere on the way in (maybe as a preventative measure by PHP) so it comes out as \\n and the mail function errors.
<7> znoG: you should explode by spaces, and then grab the very 1st item in the array, as it would be an email - always
<7> you could*
<16> and if they avoid using spaces? like: their@email.com\nBcc:some@other.one
<16> no spaces there, although it doesn't work
<7> your right.. explode by newlines
<7> or \\n whatever it shows up
<19> wasn't there a recursive ereg_replace? preg_replace doesn't allow /g and I need to split all words longer than 'n' chars. hrm.
<7> can you not do [a-zA-Z]{1,n} ? or did i get that lesson wrong :)
<19> itrebal: that's not the point. suppose I have a word longer than 2n: I'll need to match it twice
<7> ok..
<12> thanks all - bye
<20> can someone tell me why file uploading fails due to $_FILES being empty?
<7> gymsmoke: i think your form might be borked
<20> itrebal: it's pretty short... a single <input type="file"> and a submit
<7> gymsmoke: what about the <form action=...
<7> gymsmoke: http://us3.php.net/manual/en/features.file-upload.php
<7> gotta go
<20> itrebal: the form posts to a 10 line php file that dumps $_FILES
<14> gymsmoke: look at that URL, theres lots of things i dont think you have, which you need to
<20> itrebal: that's the test file that i typed in for this... (Example 38-1)
<21> how do you download the page the action script for a HTML form takes you to?
<22> there's no way to check for NULL from mysqli, in php?
<23> Hi. Im wondering if it is possible to include() a page that is in a protected directory on my server (http autorisation).
<13> include() byp***es http auth
<20> itrebal: i re-typed the file, refreshed the browser, and $_FILES is still empty...
<20> could someone have a look at this and tell me what (if anything) i'm doing wrong here? http://pastebin.com/564306


Name:

Comments:

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






Return to #php
or
Go to some related logs:

clear dmesg
#linux
#math
#suse
#ldap
cake vs symfony
#debian
[drm] failed to load kernel module i915
select mssql date older than days
#gimp



Home  |  disclaimer  |  contact  |  submit quotes