@# 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 31 32 33 34 35



Comments:

<0> naah, just tired and had a brain fart
<1> now i will ask one more time could someone please help me out with this script
<1> http://freenode.net/policy.shtml
<1> http://pastebin.ca/55083
<1> sorry wrong clipboard item
<2> hi, i have a form. i have a session started. i wish to have a possibility to be able to open an another form (in a small window) and do some mysql_query here. how can i reach the goal
<3> mrtechguy: $process = rawurldecode($_GET['process']); then you can use the real symbols
<4> mrtechguy: what are you trying to do here "$process == '%2B'"?
<3> ah ignore me
<3> mrtechguy: its not matching any of those if statement, did not see the error below.
<5> hi i get this problem when i run a file form the browser "Call to undefined function: mysql_connect()"
<5> what should i do
<3> bony: compile php with mysql support.....
<5> and i couldn't find section for mysql in phpinfo page
<5> i am using ubuntu dapper
<1> would POST send it as RAW data?



<3> mrtechguy: no only get does
<4> mrtechguy: that == that you are doing doesn't work that way.
<1> ok
<4> if you want to match against a pattern you should use regex or something like that.
<3> cuerty: thats not a pattern he wants to check the var of the get..., its a maths symbol basicly.
<1> exactly
<1> and rawurldecode doesn't make it work either
<3> mrtechguy if(strlen($_REQUEST['process']) echo ($_GET['number'] $_GET['multiply'];);
<3> oops
<1> i have a new idea
<6> yeah?
<1> now i have replaces the symbols with numbers so plus is 1 divide 2 etc
<3> mrtechguy: not that you should really use eval for this but "if(strlen($_REQUEST['process'])) eval('echo '.$_REQUEST['number'].$_REQUEST['process'].$_REQUEST['multiply'].';');" would work.
<7> I have an XML file with a lot of data (records). What would be fastest (best performance) - to read from the XML file on every refresh, or read the file just once, turn it into data objects, and then store these in a session (which is also just a text file) ?
<1> i like to actually understand the programs i write though
<0> hrmph, is it me or does curl respond image/jpeg just because the file i called was ending in .jpg, it should be responding test
<0> because i renamed a text file.jpg but its p***ing my content type check :/
<0> test/text
<1> i fixed it i forgot to remove a comment closing tag i was using
<1> now my script works fine
<1> goodbye
<3> lol
<8> :>
<7> moosey: It's not really my field - but you might be able to determine the mime type some other way. Take a look at this example : http://www.koders.com/php/fid715848B975150AC4431936A047B6E7BC875EF201.aspx
<0> $response_code = curl_getinfo($ch, CURLINFO_CONTENT_TYPE);
<0> that equals image/jpeg when i call a http://moo.com/img.jpg
<0> why is it responding image/jpeg when i call a text file lol
<9> moosey, do you understand how CURL determine what is your Content-Type ?
<9> and i guess its not 'determine' but, 'knows'
<0> i sure the f hope it aint by extension, lol
<0> gonna change my code to allow other things than .jpg.. see what it does
<9> moosey, dont 'Laugh' on your own stupidity :(
<9> moosey, that Content-Type is came from your moo.com
<9> aka, Apache/IIS/Whatever
<0> how would that be my stupidity, that would be apache's stupidity
<9> then... blame apache.conf
<9> its also not apache :( its the conf
<0> as-is is set so
<9> okay then... the World will be need FourCC binary Header Checker
<9> http://filext.com/detaillist.php?extdetail=JPG
<9> if you didnt want to get cheated with .extentions check the binary header (Identifing Character)
<7> What happens when PHP deserializes a session? Is the text file parsed like an XML file? Or is deserializing a session faster than parsing an XML file?
<7> moosey: You couldn't use the example I send you ?
<10> is there a phpdocumetor channel that anybody knows of?
<7> zaydana: Dunno - why don't you ask here?
<7> zaydana: Or at the support forum (http://phpdoc.org/)
<10> hmm... easier to ask here than there :-) I'll ask there I guess.
<10> Well... if anybody here does use phpDocumentor... any idea why it won't pick up "abstract" cl***es?
<7> zaydana: Working fine here
<10> hmm, weird
<10> you know of an address for a pastebin I could use?
<7> !pastebin
<7> pastebin.org :)
<10> ta
<7> Hm, I might be wrong, sorry zaydana. I'm not having any Abstract cl***es in my project - only static ^^;
<11> this new zend framework seems to be pretty robust
<12> m0dman, only played with a lttle - but I like it
<10> before it wasn't just picking up abstract cl***es, now its dying on them
<7> zaydana: phpDoc is not working to well. Try forcing like 10 refreshes very fast (CTRL+R in Firefox)
<7> zaydana: I haft to do that every 5th time or so



<10> on the phpDoc website?
<7> In the phpDoc tool, yes
<10> hmm... no problems here
<10> btw, pastebin.org doesn't really exist...
<13> good morning everyone
<13> I just had a quick question I just can't seem to find an easy solution to, for which one probably exists
<13> is there a way to have mysql errors automatically picked up by the errorhandler?
<10> Jemt - http://pastebin.com/711271
<10> its dying on that.
<13> is there a way to have mysql errors automatically picked up by the errorhandler?
<14> i give up.. someone knows a good libery that can read html tags such as <form> and so?
<10> idan - use an xml parser?
<15> Rand^, I doubt it.
<15> hate to answer like that and run, but I have an appt. at the top of the hour.
<13> yes, I am finding that I am going to have to do it manually
<13> hehe no problem
<16> idan: libcurl, I said this about 3 hours ago
<16> *libtidy
<17> ,
<3> idan: did you see that thing I last pasted for you, I found a very slight bug in the regexp?
<3> Is it possible to have a recursive/looping sub pattern in a regexp, I want to grab valign from [table valign=top][col][/col][col valign=bottom][/col][/table] and place the valign setting in any [col] tags that don't have a valign setting, is this possible?
<18> hi guys, can anyone help me with sessions
<16> I don't know, maybe you should ask your question and we'll find out
<14> row: yep thanks..
<14> :)
<14> i am using it right now
<18> ill paste
<19> is it possible, with header() for example, to "virtually" submit a form, I mean redirect to a page p***ing parameters, not using a query string (GET) but POST
<0> use curl
<18> http://pastebin.com/711320
<3> idan: good good.
<14> Fatal error: Cl*** 'DOMDocument' not found in /usr/prog/idan/src/submiter.php on line 5
<14> php 5.1
<14> how can it be?=\\
<20> php4 or 5?
<14> 5
<20> Do you have DOM compiled?
<14> installed it with fedora 5
<14> (the php apache and so..
<20> meaning...?
<14> installed php5 and most of the packege
<14> phpinfo says i dont have dom
<16> retro_neo: no, you have to trick the client not just the server
<20> yes, and? Do you have DOM installed or not?
<16> retro_neo: you'll need a onload="form.submit" javascript solution
<14> guess not
<20> idan: Then install php5-dom (or whatever the heck fedora has)
<18> fixed it
<14> nope
<19> what does this do then ? http://fr.php.net/manual/en/ref.curl.php#62020
<14> only suse and stull
<14> stuff
<21> yay
<21> my HalfLife2 headcrab arrived!
<20> o.O
<17> :/
<22> can you define methods outside a cl*** definition, or do you have to just do an include(); on the method definitions within the cl*** definition
<16> lotus_anima: no, all methods in a single cl*** must be declared in a single file
<22> can i include method definition files into the cl*** though?
<23> hey guys, what does this mean? Fatal error: Call to undefined function xml_parser_create() in /var/www/localhost/htdocs/cacti/lib/xml.php on line 31
<17> it means the function is undefined?
<17> :/
<24> what php version
<24> have you installed xml Module?
<23> php5
<25> In FTP, is there any way around having to open a directory and deleting each file? I want to delete the entire directory and everything in them.
<17> jtevangelo: windows or *nix?
<25> sorry, not php, but...
<24> make a phpinfo file
<23> *nix
<23> gentoo
<26> purefusion: Isn't there a glob or equivalent in ftp?
<27> purefusion, Don't you have permissions to delete the entire directory?
<25> eml: I should! I'm using WS_FTP


Name:

Comments:

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






Return to #php
or
Go to some related logs:

linuxdcpp for suse
ctcp gaim
mod_rewrite debian sarge 404
#linux
gentoo emerge world skip package
#oe
centrino linux-image 486 686
#python
Amallya+undernet
#css



Home  |  disclaimer  |  contact  |  submit quotes