@# 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



Comments:

<0> After you figure it out, you'll want to stab yourself for not knowing.
<1> Uuuu! Lookie there!
<2> what the ****?
<3> hmmmm
<1> itrebal: hm?
<0> Smoke: Feel like hitting yourself yet?
<2> Websense has a PDF on things it blocks, one of them is "Dynamic Content - URLs that are generated dynamically by a web server."
<1> lol
<2> it doesnt do a good job
<3> itrebal: in a way url rewriting is cheating
<4> kuja, maybe you think i didnt read the manual, or that i didnt tryied to supply the second [filename] parameter... but you are wrong
<4> im just asking coz its not working good
<0> Then enlighten me on what you did do, and what didn't work.
<0> If you just tell us something ain't workin', do you expect us to read your mind?
<0> Give us more information.
<5> Smoke, "The imagepng() outputs a GD image stream (image) in PNG format to standard output (usually the browser) or, if a filename is given by the filename it outputs the image to the file."



<5> Smoke, supply the filename. If you look, you will see it is bool, meaning it returns true or false
<0> Smoke: Here, let me ask you this... I have a function, what it doesn't work. What's wrong??
<0> s/what/but/
<5> Smoke, just add the filename parameter
<2> ... this is DUMB "Personal Websites - Sites published and maintained by individuals for their personal self-expression and ends." they dont have Geocities or 0Catch blocked, or ANY others
<5> itrebal, write a letter to the editor
<4> mfonda, but it dont seems to work good, the result image is invalid, looks like its missing 5 bytes of it
<2> mfonda: heh, i'm for getting arround them, not making it stronger :D
<4> kuja, dont worry your allmightyPHP, treating ppl like stupid all the time does not helps anybody, we are not stupid if we make questions
<6> i have this nice complicated application i didn't write (co-worker did, he is now not here) but i am modifying that uses php-gtk2. It works when i run it with the php cli, but it crashes in certain places when i run it in the embedded environment, which uses this "embed_no_win.exe". i don't know where to start debugging this, since, even when i run it with "embed_win.exe" (the only difference is that it shows the command window)
<4> thanks for the help mfonda, i'll read more around
<0> Heh, how stupid.
<0> :)
<0> Stormchaser: I don't think we support PHP-GTK2? Right?
<0> Afterall, who the hell uses it
<1> dfclient: You heard it. We do *not* support php-gtk
<6> believe me, it was not my choice, but i'm stuck with it now.
<1> dfclient: Then bug the one that made that choice
<6> he is in the army now..
<0> Tell him it's urgent.
<0> You've got a mission for him, and the president requests his presence.
<1> :)
<2> dfclient: tell someone its got something to do with Homeland Security
<0> Tell him his family has been kidnapped by terrorists
<0> "God dammit! I don't care what you have to tell him! Bring him here!"
<6> well, clearly you guys are going to be the stubborn, stuck up type of OSS devs, so, i will leave.
<1> bye then
<1> what is 'stuck up' type?
<0> Not sure
<7> hello ,how can I open a link in s php script? like a redirect
<0> I'm not stuck up right now, but I am when my girlfriend wants to play with me :)
<2> eewww
<1> kuja: :)
<8> What array sorting function should I use if I want to sort an array by a column that has alphanumeric values...i want it to sort it numerically and alphabetically..
<8> DjDarkPingvin: header("location: filename");
<8> not 'opening' a link, but it will redirect the browser to the specified filename..
<7> i`m writing a chat php script and i need to refresh it
<8> i would use javascript to do that then..
<8> do a setTimeout('refreshFunction()',10000) inside of refreshFunction
<8> refreshFunction has location.reload();
<8> 10000 means the refreshFunction gets called every 10 seconds..
<7> i don`t wan`t it to refresh constanty ,only when a user posts a message
<1> ...and take the rest to #javascript
<8> hehe..
<8> you have to have something constantly checking for new posts
<8> so it knows when to refresh..
<8> Does anyone know what array sorting function will sort an array alphanumerically?
<8> Is it natural sort?
<1> DjDarkPingvin: Then don't use PHP for that kind of chat (or HTTPD protocol for that matter)
<1> s/D//
<7> Stormchaser: i`m writing a "message wall" ,where a user can post messages and ,after he posted one ,he should see it ,like a guestbook or a forum
<1> Well... That's easy... Just send the form content to self, store and display the monster.
<9> any oppinions on when to use XML Attributes over NodeValue.. or would there only be semantical reasons?
<10> Jax, there are common sense reasons
<11> Guys
<9> masquerade fill me in
<11> how can I merge 2 objects into 1 variable
<10> how would you like it if in HTML it was <a><href>http://link</href><title>A title</title><content>Then link text</content></a>
<9> well basically you would use an attribute as long as it doesn't have sub properties i guess



<11> Basically I'm trying to merge 2 objects (from mysql_fetch_object() ) into one var to i can return it from a function
<11> http://pastebin.com/532883 <-- might give a better idea of what I'm trying to do
<9> MikeH you sure you can't get the result in one query?
<11> Jax: look at the pastebin and You'll understand
<9> and does it really make sense to merge 2 mysql objects with different column definitions?
<11> well basically
<11> I want to return all those values
<9> ew that looks quite unhealthy
<11> to whatever calls that function
<9> how bout putting both objects into an array
<9> and returning the array
<11> it's messy for the coder though :(
<9> $return_vals = Array(); array_push($return_vals, $obj1); array_push($return_vals, $obj2);
<10> returning two values from a function is wrong on multiple levels
<9> or so
<9> totally
<11> none of the field names conflict, so theres no reason to put it in an array
<9> make 2 functions
<11> Jax: I'd rather not, is this not possible
<12> are iframes depreceated?
<9> ee99ee use flash! :D
<13> jax - and you wonder why I don't love you? ;)
<9> ah come on !
<9> :D
<11> Jax: if I used mysql_fetch_array would they merge ok?
<9> why would you want to merge the 2 ? how will you be accessing that object later?
<11> well basically
<9> how do you know where the results from query 1 end?
<11> say I wanted to get that users email address
<11> I would do
<11> $udata = getuser( $userid);
<11> print $udata->email;
<9> no no
<9> you make a User object.. with properties
<9> and you init the object with a user ID
<9> and re-use the properties
<9> via $YourUser->getEmail();
<9> $YourUser->getName();
<1> !tell jax about enter
<11> I'm not an OO person
<9> !tell Stormchaser about anal retentive
<10> !tell Jax about goodbye
<11> LOL
<11> he was helping me :(
<14> MikeH: you should be an OOP person
<1> he'll be back\
<9> !tell Stormchaser about quakenet
<9> lamer
<11> lol
<15> err :)
<10> MikeH, you should be doing an SQL selct statement to get all those results, there's no reason for you not to be
<11> masquerade: I want a function for it, it saves alot of time
<11> when I use it about 20-30 times throughout the site
<11> :|
<1> Mike_: I'd build that in OO, if I were you...
<10> MikeH, put the select in the function, but don't run two selects for such a simple query when its not even close to being necessary
<11> someone care to elaborate a little further
<11> I just wanna keep it simple
<10> SELECT `table`.col1, `table1`.col2 FROM table WHERE `table1`.col = 'val' AND `table2`.col2 = 'val'
<10> something along those lines
<11> hrm]
<11> how can I used table1. and table2. when im only selecting from one table?
<2> O.o i got about 3,000 spam emails today
<16> itrebal: oh my godf
<16> -f
<10> MikeH, by learning SQL
<11> I know what I mostly need to know
<11> this is why I'm asking for help....
<2> colder: i found a method of getting rid of spam (in general, not all)
<17> kuja, I've another question


Name:

Comments:

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






Return to #php
or
Go to some related logs:

dynashell
#perl
sql into outfile collapse
gimp inner glow
#python
gleam CHARSET = latin1
triviabot.pl
roboform + ubuntu
#osdev
graveman unquote_string_inplace



Home  |  disclaimer  |  contact  |  submit quotes