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



Comments:

<0> usually I could really care less; but its kind of important that this works
<1> Doesn't the browser prompt the user with a "Remember this value?" box?
<0> doesnt do that to me
<1> DogWater: As I recall, it does it the first time you visit the page
<0> You wanna look at this train wreck im steering?
<0> give me some advice?
<1> I'm not here for much longer
<0> Ah, well i appreciate it.
<0> at any rate.
<2> good call :P
<3> in PHP 4.3.11: I have a webpage that queries an outside host, but somehow apache (or php) is querying an upstream DNS forwarder, even though /etc/resolv.conf points to our local servers.. firwall is blocking this of course.
<1> DogWater: Try: Tools -> Options -> Content Tab -> Uncheck "Auto Complete"
<3> The apache/php is supposed to query the local dmz DNS server, and not upstream providers.
<1> xai: Unless you've instructed them otherwise, Apache/PHP will use the system resolver.
<0> its not checked on forms
<3> TML: that is what I thought too..



<4> I was trying to parse a large xml file which is a database of dictionary entries, and I get fatal: emalloc() failed... when trying to use xml_parse_into_struct
<4> anyone know any other options I have?
<1> rjokay: None that would use *less* memory, no.
<0> TML: can you try it on your machine and see if you hit the same complete BS?
<1> rjokay: You're going to need to set the max memory for PHP to be higher than the size of the XML file. Probably quite a bit higher.
<0> could be my box
<1> DogWater: I use elinks. It doesn't have any of those fancy-schmancy features like auto-complete or Javascript or graphics...
<0> et, its to cause a parse error.
<0> sigh; this worked two days ago
<0> and i didnt modify the code that effects it
<0> ..
<0> Man; that is just freaking annoying me.
<4> TML: memory_limit = 8M ?
<4> > 64?
<0> i have it printing out the array that $amount comes from; and as I am hitting the back button it is changing with me but the damn form field isnt changing.. grrr
<5> use cache-control, that might solve it
<0> i set it to cache-control private
<0> header("Cache-Control: Private");
<1> rjokay: It will need to be quite a bit higher than the size of the file.
<4> file is 32mb
<4> i'll try it tnx
<6> uhm, where I banned before?
<7> eml: Shangheied
<6> seriousl
<6> seriously*
<6> I may have misbehaved or smthn, I'm not sure
<8> Anyone use simpletest & php string(9) "FoobarMgr" Fail: /var/www/seagull/lib/SGL/tests/InflectorTest.ndb.php -> Inflector Test -> testGetManagerNameFromSimplifiedName -> Not equal expectation fails [String: FoobarMgr] matches at line [110]
<8> anyone know why I'm getting [String: FoobarMgr] and string(9)
<8> is [String: FoobarMgr] an object
<8> well a string object
<9> Can anyone help with an odd problem? I have a form with several fields, one of which is <input type="file" name="fileupload">. Whatever I submit or do with it, my $_POST never contains anything in $_POST['fileupload'] or $_FILES.
<7> eml: If you were on brown.freenode.net, you have been cut away, because there was a huge netsplit
<6> Stormchaser, ok, probably that then
<10> Hi. Is this a good place to ask install questions?
<10> It seems my installation is missing PCRE. I'm on FreeBSD using ports.
<10> (php 4.x)
<7> swissmade: Install php4-pcre
<10> Stormchaser: Hmm.. don't have php4-pcre in ports/www
<7> swissmade: What do you have, then?
<10> Ah.. it's in a different dir. found it with whereis.
<10> Stormchaser: A machine that was a bit crippled by somebody who thinks they know UNIX better than most and did nothing according to common sense. :)
<10> That's what I have.
<7> swissmade: Actually... I don't know UNIX... Only Linux
<10> Stormchaser : rare that somebody notices the difference. :)
<7> Well... Linux is a minix clone, not unix... But it follows the UNIX98 standards :)
<7> (more or less)
<10> You know your stuff!
<7> I know comics :)
<4> is there anything like the "like" command from visual basic for php
<4> like lightweight regular expressions
<7> depends... What do you want?
<4> I want a function that gives a true/false for a pattern on a string, instead of using the preg's and having to check the arrays
<4> I was about to just make a function that takes a string, and a preg pattern, and checks wether the result was empty or not, so i'm wondering if there's anything that already does that
<10> Stormchaser: What kind of comics? french, US?
<11> bye
<7> swissmade: Just the good ones.
<7> rjokay: You mean something like strpos or strstr?
<10> Stormchaser: A connoisseur then? ;)
<7> swissmade: I do not know that word...



<4> err, those don't take simple wildcards like the visual basic "like", but nvm, I think I'll find some other way around this
<7> rjokay: do you *need* wildcards?
<4> well, i'm trying to parse an huge xml file line by line, so it would be incredibly much easier if I had a function to check if a line had a tagset, and what data is in it
<4> $v like "<*>*</*>*"
<12> Hi everyone
<7> rjokay: Why don't you use xml handling procedures, then with expath?
<12> question: how to add a char to an string? example $str = "13"; and I want $str ="123";
<7> (int)
<7> ah./.. A char to a string... $str = "123"."4";
<4> if you mean all the xml functions, those ran out of memory
<4> cause the file is 32 megs, I even upped the mem in my ini to the limit, 3400mb
<7> rjokay: If those ren out of memory, I'm sure that your functions will do the same.
<4> parser just took the xml file and died after a few minutes every time with emalloc() failed
<4> ha
<4> whatever it was doing it was trying to eat the whole file at one time
<4> I'm at the point right now where I broke the file into the 1.8 mil lines
<7> rjokay: That's the point... Hopw can you know, if the XML is even valid, if you don't chomp the entire file at once?
<4> not concerned about vailidity, i just want the data
<4> so I guess i'll have to parse it myself
<4> dynamically create an index on the fly i guess
<7> hiya, lig
<13> what's a keylogger command?
<7> ubuh-huntuh: Something that you do not wish to do
<13> that's not very descriptive
<7> That's not my problem :P
<2> google.ca
<2> er
<2> google.com
<2> w/e
<13> taht's cold
<13> i was expecting some warm welcome....
<13> guess not
<2> expect the unexpected
<7> you certanly asked the wrong question for a warm welcome...
<13> how would I be able to protect myself from these programs if I dont know about them?
<2> it's not a program
<7> IT's a worm
<13> when someone asks a question about these programs, doesn't necessarily mean they want to do it
<2> oh really? :P
<2> i never looked it up :P dont much care
<13> isnt' a worm a program?
<7> no
<13> yes it is
<2> its a life form
<13> technically all worms, viruses are programs
<2> cat used to drag worms into the house all the time
<13> yeah but we'r in php, we have to speak in computer context
<13> ;_)
<7> we should?
<2> a few birds too
<7> WOrm CAN be a program, but it also can be a part of another program... It's a parasite...
<14> Heyllo everyone
<15> hello
<14> can everyone sign up at www.corruptcode.com
<14> did i get kicked?
<7> *blink*
<7> saxible: You should read the guidelines BEFORE doing that.
<7> saxible: you're quieted for the day.
<16> Does php4 support constructor overloading for cl***es?
<7> no
<16> Hmz
<16> In that case... will switching to php5 break a lot of older scripts? :)
<7> SuN: Well... Not really... in most cases it breaks because of very bad code (or just bad)
<16> Judging from the migrating docs, I don't think I'll run into a whole lot of trouble... guess I'll just upgrade then.
<16> Thanks for the input.
<17> hey, so... I'm developing a website with lots of front-end html, js, css, and php.... and I'm wondering how people keep the backend featureset tied to the front end... when you can't just add a button to one page -- if you also need a button on another page, etc. I'm having a hard time figuring out how to update only parts of the web and php -- without pulling new php features to the front. :-<
<7> absentia: With a lot of wires and lots of disk space.
<17> honestly.
<18> or someone elses CMS
<18> but apparently this channel doesn't talk about them
<17> g: ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

run_program: exec of program failed gentoo
wlassist
gentoo inspiron 6000 genkernel
install ubuntu xircom ethernet modem
#perl
discard_rbl_client
ati maltimedia
poweredge 850 sarge
#kde
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes