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



Comments:

<0> are you graphing memory/cpu utilization
<1> it is alway in perfect sync with music website and after school hours
<1> I think we have poorly configured conf files
<1> but I don't know where to find a good base to try to start again with and how it would affect current clients
<0> I dont know much about plesk; but I have a hard time believing that it would let you run a bunch of unoptimized daemons.
<1> I dunno, it creates a set of defaul config files for each domain added
<1> I think those templates are very bad for many domains
<1> probably intentional so we upgrade to a second dedicated box :(
<0> Do you have a bunch of yahoos running phpbb on your box?
<0> and where is it hosted
<1> no high resource scripts
<1> only b2 is the biggest
<1> hosted dedicated with GoDaddy
<1> it was fastest one we could find in a pinch
<0> Yikes.
<0> You could probably get two boxes load balanced for what you're paying them



<1> no balanced boxes, it is unmanaged
<1> we are considering the option though with other companies
<0> I'm a network/sysadmin for a unmanaged dedicated hosting provider and we actually setup load balanced servers for people. heh, (im not selling to you) i'm just letting you know that they do it.
<2> hi guys. does anybody use phpopenchat? i'm having problems accessing it with firefox. it says "script is busy" after hanging for a few seconds.
<1> competitive pricing?
<1> we are looking but we are very high traffic
<1> Largest group of Thai websites online
<1> I mean from a single company
<0> Thats a pretty big accomplishment.
<1> but we are non-profit and mostly educational, so we tend to focus more on competitive pricing
<1> not ultra high traffic about 5-6k GB
<1> and we are just now starting to host video files, so traffic will surely increase
<1> We pay about $240 a month now, but for reliable service would go to $350 or so
<0> You could get a dual xeon with 2gb of ram for that at a few places
<1> That is what we have!
<1> that is why the include is making me so angry!
<0> oh; last i checked godaddy was charging 179 for a p4 2g
<0> what OS is it?
<1> mmmm I think fedora
<0> is smp/bigmem even enabled?
<0> usually on fedora it is
<0> but you never know
<1> I don't know what that is lol
<1> that is why we are looking for semi-managed
<0> well if you can shell into the box and type dmesg | grep CPU it should say you either have 2 or 4 CPUs.
<0> and if you type free it should say you have 2GB of ram
<3> is there a way to get just the first key from an array? (array_keys($posts))[0]; doesnt work but i dont want to use another variable
<1> I see I will try in just a few minutes after I clean up my mailbox :P
<0> You could always just hire a sysadmin to set it up for you
<0> <----
<4> DogWater
<0> Sorry, shameless plug; i apologize Jymmm.
<1> do we need to go to IM?
<4> !+g7
<5> Guideline #7) No spam, bots, scripts, trolls, job postings (includes asking for work), advertisements or onjoin/away/back messages.
<1> dogwater wanna discuss mp3's ?
<0> Yeah I kinda knew that was a guideline; sorry man.
<1> what IM do you use?
<0> mp3s?
<3> wouldnt a bot break that guildeline...
<4> Darkstar wanna find out?
<3> is php-bot not a bot
<4> php-bot what are you
<4> !+php-bot who are you
<5> I think you lost me on that one, Jymmm
<4> lol
<0> He's the special bot from Ibot that doesnt have to live by the 3 laws of bots therefore he isnt a real bot.
<3> !+ what are you
<0> ...
<4> !+who are you
<5> rumour has it, who are you is I'm a chimp!
<4> php-bot botsnack
<5> :), Jymmm
<6> he doesn't sound intelligence though
<6> for a dude that's not a bot anyhow
<3> anyway, can i get just the first key from an array without using a temp variable
<4> istasi he's a chimp, what do you expect
<6> Jymmm, less talking kinda ^^
<4> istasi have you heard a chip talk?
<6> Jymmm, never :)



<6> nor seen it write on a keyboard, not anything that would make sense ^^
<4> lig how ya doin giel?
<4> lig, yeah, you're already naked, might as well
<4> lig dont forget the sunscreen
<7> :D Well darlin'. Yourself
<8> Hello.
<7> LOL
<8> Using php code, use the superglobals $_GET[name], and $_GET[zip] to ***ign the name to a variable called $in_name, and $in_Zip, respectively
<8> Would anyone mind explaining to me how to do that ?
<2> what's a good php web-based chat?
<7> Jon_, http://www.php.net/manual/en/language.variables.php see the basics
<9> if i have a php page in a frame can i use a redirect header to target="_blank" ?
<8> lig thanks.
<6> stephelt1n, you want to use a header ( 'Location' ) to open a blank new window?
<9> istasi: i'm sorry, _top
<4> stephelt1n: google for 'frame breaking' and try #web as well. Not a php thing.
<6> stephelt1n, in the link that calles the function that has that header in it, why dont you just add the target="_top" there? ... if that's not posible, go have fun with javascript ^^
<9> istasi: well that's what i'm asking, will it work ?
<10> in php preg_match does a \w also match a _ like in perl?
<6> stephelt1n, you cannot use php to make a target="_top" .. its the same as you cannot make a link without using a <a> .. with php ^^
<4> errr iirc, yes
<10> great thanks
<6> stephelt1n, but may i ask why you cant simply add target="_top" to the link itself?
<8> lig: I've been going about this page. It still doesn't answer my question.
<9> istasi: this will happen if a session has expired
<8> Is this right ?
<8> function $_GET[name = "$in_name"]
<7> close Jon_ - $in_name = $_GET['name'];
<11> can you overload constructors in php5?
<12> that just gave me a headache
<8> Ah.
<8> I was far off ha ha.
<13> I know this channel is about php coding and not generally about 3rd party packages. But I run Squirrel Mail on my server, and I'm wondering if anyone has any suggestions for any better (still free) Web Mail packages?
<14> Zyclops: what do you mean? from an implemented base cl***?
<7> the effort counts Jon_
<4> Jon_ : You NEVER EVER want to accept user input unfiltered.
<14> l008com: horde?
<13> are you asking me if i've used it or?
<4> l008com : he's giving you a response to your question
<14> sometimes i wonder how some people remember to breathe
<4> myconid unfortunately it's a natural process.
<13> and once again #php lives up to its reputation
<13> thanks anyway
<15> what's up with keyloggers message?
<10> Im trying to match a file name that will have only Aa-Zz 0-9 and -_ in its name that ends in the listed image formats, can someone help me with this regex.. right now if I have a string "f ile.png" it matches and I dont want there to be any spaces allowed /(\w|\d)+(-|_)*\.*(\w|\d|-|_)*\.(jpg|jpeg|png|gif)$/
<11> and i mean overloading as it is known in most oo langs... i.e. defining several methosds with the same name
<6> stephelt1n, Do a 'Header ( 'Location: Page' ); on Page you use a self.parent.location=document.location; or something alike .. anyhow as Jymmm said long time ago, you need to google for frame breaking and no, php cannot break the frame for you
<14> Zyclops: and I ask my same question..
<14> Zyclops: what do you mean? from an implemented base cl***?
<11> myconid: i don't know what you mean :)
<14> Zyclops: ... Why would you ever need to overload a constructor?
<15> errr, why not just remove white space strings from the file name before working on them?
<11> so i can either p*** it an array of arguments, or an xml file
<10> cyphor: good idea :)
<14> Zyclops: What does that have to do with overloading?
<11> otherwise, i'll just have an empty constructor and two separate functions
<10> cyphor: if I do that, does that regex look like a winner?
<15> to be honest I'm not a very skilled php programmer. I have been using for statements along with strstr to match acceptable characters
<15> which is probably a stupid thing to do but...
<11> cl*** a { function a($file) { //do this} function a($arg1, $arg2, $arg3) { //do that } << that kind of thing
<10> ah
<4> 60 tons of fuel a day!
<14> Zyclops: PHP is not strongly typed..
<14> Zyclops: __construct($array_of_params){ if (isset($array_of_params[xml])){ // parse XML } if(isset($array_of_params[username])){ // parse username } }
<15> I can show u what I do though, if you want?
<11> myconid: i know, i was just wondering if it was possible
<9> istasi: thanks
<14> Zyclops: you acn only have one function with a given name per cl***.
<11> myconid: ok, thankyou ;)
<14> Zyclops: you can however, do what I showed above.
<16> I am unable to get the 5th parameter of mail to function correctly using PHP-CLI. Namely, I would like to set the return-path (-f) header when sending out e-mail. It functions correctly when I execute mail() from apache, just not from the CLI. Could someone confirm if they've successfully set return-path from PHP-CLI? Or point me in a direction for a solution.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

pastebin curse count script
postfix overriding MX
#python
wg511t madwifi wpa2
windowsservernetboot
emperiorrune
#gentoo
linuxrc command not found
#python
dapper vga16fb nvidiafb



Home  |  disclaimer  |  contact  |  submit quotes