@# 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> MagmaRules: This remote scripting stuff, it's really easy to overdo it. But go with your intuition. See what stuff other websites use, what stuff you like. I'm a fan of autocompleting input fields.
<0> MagmaRules: Esp. search boxes that are "smart".
<1> dang, has anyone tried generating .kml files in php?
<1> i can't get it to spawn google earth
<1> i set the content type and all
<2> What's a .kml?
<1> google earth
<2> google for it
<1> i did!
<1> if i save it to disk and click on it it opens google earth
<0> MagmaRules: About autocompletion, http://www.webpasties.com/xmlHttpRequest/
<1> but if I output it on the go, it opens textpad
<3> if anyone's bored enough, :: http://silivrenion.com/poll/index.php
<2> Scorpmoon: Then your server handles that improperly. Add a proper mimetype.
<1> but I set the mimetype using header("Content-Type")
<1> it's a kml.php file afterall



<1> is that not sufficient?
<0> Scorpmoon: You could make a header that also set the output file name.
<0> Scorpmoon: And then make that name end in .kml
<4> anyone know why I am getting a "Fatal error: Cl*** 'Template' not found" error .. my script doesn't even look for a Template cl***...
<1> ollen, how do I set the output filename using header?
<5> olleolleolle, i did one autocomplete field using javascript
<5> now im getting the info with xmlhttprequest and making a javascript array
<5> but that will be after i do the basic interface =)
<1> olle, puhlease tell me :)
<0> Scorpmoon: looking for the exact syntax.
<6> Can anyone tell me how I can get my php errors to display in the browser? right now I get a blank page
<1> oki
<0> Scorpmoon: This is what I do for outputting PDFs, after setting the content-type to application/pdf - header("Content-disposition: attachment; name=\"my.pdf\"");
<1> thx
<0> Scorpmoon: Let us know if you are successful. It seems like a cool thing to do. Google Earth now also runs on Macs.
<1> it works, spank u very much!
<1> yes i can't imagine noone made this before
<7> will peircings in the top of the ear (the cartalige) grow over?
<2> !tell Scorpmoon about u
<1> http://www.ramosa.dk/placemark/
<1> give it a twirl
<8> itrebal: Been sticking things where they shouldn't go?
<0> Um. Scorpmoon - I hafta get me the Google Earth app first. And Danish 'Net connections are so damn expensive. So it'll have to wait.
<9> nforbes: hehe, no, my friend has - and if it doesnt heal his parents will disown him... or force him to get a Prince Albert :)
<1> ok :)
<10> Stormchaser: tattoos will consume you
<2> haha! Both today's Garfied and userfriendly are good :)
<5> olleolleolle, how about curl stuff have you tryed it ?? i read it is considerably faster
<2> follower: They will? Are they TAHT hungry?
<2> *THAT
<10> so it seems, otherwise i wouldnt be covered in them
<11> hi there
<0> MagmaRules: Curl, in connection with Ajax?
<2> follower: Are you Yakuza? :)
<10> no, im white trash ;)
<2> lol
<12> hehe I wonder why chowmeined got banned.
<2> *blink*
<12> moin peeps
<2> CPUnerd: Is that a trick question? :)
<12> nop nop
<2> lol
<12> hey you know any good way of getting only the body of an email with pop3 ?
<12> I mean, only the message of the body, I don't want no content-* part* crap.
<12> stupid pop3
<12> oh crap gmail is dead
<13> hello. if i want to send an email with mail() where do i specify the smtp server and stuff?
<2> PHP_g33k: Are you thew one who I think you are?
<14> Hey everyone! I'd like to know why my form doesnt work as it should. I'm a very obedient person who would very much apriciate your help. I pasted my code at pastebin (I like pastebin) and the URL is as follows: http://wilcob.com/Wilco/Pastecode/2478/showpaste.aspx
<12> :O
<15> Guys, small question, how did you do the "Execution time" in milliseconds stuff?
<2> aeroshot: php.net/microtime
<15> ah, thanks.
<0> I'm using PHP and SQLite, and I'd like to have the tablename for a given resultset. When getting a resultset Resource for MySQL, you get column name and table name in the returned Object. This is not the case in SQLite.
<0> How have you folks done that?
<16> hello dudes ...
<17> lo
<17> http://pastebin.com/528900
<17> Whats the error in there
<17> the boolean never work



<17> s
<15> whats the error?
<18> www.devnetwork.net
<18> ww.devnetowrk.net
<15> $pill
<15> lol.
<18> $best_php_resource_forum == www.devnetwork.net
<17> aeroshot... its sorta french ;
<15> lol
<15> im french myself.
<15> =p
<17> Line 28 is alwas validated as true
<17> uhmmm..
<15> why do you put (boolean)
<15> I think TRUE and FALSE work without htem
<17> Yeap but im used to use the and i can see the type much better since php does its type def
<17> i prefer to controle them
<15> well, I never did stuff like that.
<15> if it's only easier for you to see, try using TRUE and put boolean in
<15> /* boolean */
<17> I Well; TRUE and FALSE are boolean so it wont change a thing
<15> meh.
<15> no idea really.
<17> How ever : its like $type = (boolean) FALSE; if ($type) echo "Weird";
<19> hi!
<19> does any body knows hoy could i run a shell script and wait until it ends? (~600 seconds)
<17> No one for my problem?
<19> thanks! :)
<17> does php actualy... take into consideration $xx = (TYPE) something; ?
<20> ghosts and bots
<20> $something, sure
<17> but like: $code = (boolean) FALSE;
<17> its considered as a string
<21> yes you can type cast that way
<17> Then why don't it work :-(
<0> chuso: There's a set timeout for the execution. http://dk.php.net/set_time_limit
<17> http://pastebin.com/528900 line 28 is alwas validated as true
<21> $str = (string)$str;
<0> mrstocks_: Take a look at the === operator. It's type-safe checking.
<17> can't i $str = (string) '0';
<19> olleolleolle: but this is for php scripts. I need a timout for external programas, to execute with exec()
<22> mrstocks_: why would you need to convert '0' (which is a string) to a string? or 0 which is an int, to an int?
<21> mrstocks: I've never tried to typecast while setting up the variable like that, but i know ou can do $str = (string)$str;
<19> (Sorry for my english)
<0> chuso: Did you look at the related functions on that page?
<20> $ echo '<?php var_dump($code = (boolean) FALSE)."\n"; ?>' | php ==> bool(false) , mrstocks_
<17> Dangermouse it was just an example. And well im just used to it.
<0> chuso: System settings like max_input_time
<17> And no i don't convert them its just so when i read them i know what is doing on easyer
<22> mrstocks_: you look a little type-casting happy looking at your code lol
<22> mrstocks_: erm, comments are for that
<22> do you need see $count = 0; and see thats an integer?
<22> not see*
<17> yeap i removed the comments so i could see all the page.
<17> :)
<17> But the type casting isn't important but it should verify that the line 28 is false
<20> anyway, why convert in php ?
<20> or better why cast ?
<17> I don't convert them... i just verify that php does what i want lol
<17> and its juss bad habbits that shouldn't change the way the code acts
<20> yes, it does, there's surprizing conversions
<17> not in the code i pasted.
<17> the problem is why on line 28 : if ($table_opened == (boolean) FALSE) validated as true when on line 5 $table_opened = (boolean) FALSE;
<17> euh
<19> olleolleolle: yes, but it appears to work only with php scripts, not with external scripts
<0> chuso: What is running for such a long time?
<19> nmap
<23> $desc = str_split($entry['description'],197)[0]; <-- Why does PHP make me take up 2 lines doing that :|
<23> grrr
<22> punkstar: because it does ;)
<23> :P
<12> punkstar you must nove have been coding for very long he ? :))


Name:

Comments:

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






Return to #php
or
Go to some related logs:

change monitor frequency in kubuntu
qtparted busy
fgrlx selinux
phaaze dll
ndiswrapper hp dv5116
ubuntu what is the location of the directory of C header files that match your r
#debian
vmware dsp dmix
crashing YM
gg ubuntu resizing ntfs



Home  |  disclaimer  |  contact  |  submit quotes