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



Comments:

<0> i was just about to ask if that was tater salad
<1> I was drunk in a BAR! They THREW me.. into pub-LIC
<2> "I had the right to remain silent, but not the ability to do so"
<3> grr
<4> what
<0> how the hell am i going to do this?
<4> php?
<3> my variables arn't being put into scope correctly
<4> or mysql
<4> ok
<4> ??
<2> itrebal: PEBKAC
<0> can you store $_FILES information between multiple pages prior to an upload?
<5> No.
<3> Jymmm: yea i know.... i'm setting the variables on a global scale using a cl*** that is, global
<0> wtf.... they want "unlimted" file uploads linked to a specific record.



<2> nater recordID_001.jpg
<1> that's not unlimited! :~o
<0> jymmm: eh?
<5> So you'll probably want to receive the uploads into some holding area, and group them together with some unique key.
<5> Look at how webmail apps handle e-mail attachments.
<6> i like how gmail handles them
<0> they're large files though... they'd be fine with uploading them all at once i'm sure, but sitting there waiting for a bunch to upload before they can select the next batch... not so much
<0> my webmail only allows 3 attachments :/
<5> Maybe a web browser isn't the best approach for uploading the files, then.
<6> give them a flash version of pong to play as they wait :)
<0> lol
<1> one of the yetisports!
<5> philip: Y'know the SuSE installer has (Or used to have) games you can play while it installs packages, right? :)
<6> nice
<0> why do i get people who specify requirements that i have to code around rather than code towards?
<7> how can i use php to find the exact folder where the script is ? http://HOST/PATH/TO/SCRIPT/
<5> Well, file uploading is one 'feature' of web browsers that tends to be inadequate for just about anything.
<5> It is one of the worst possible ways to transfer a file.
<6> Shing: phpinfo() shows you all available variables, use some of them
<0> shing: i hear php.net is a good place to look, should google fail you
<6> Shing: also, consider basename() and dirname()
<8> How to fill a <SELECT> box based in another <SELECT> box? Where can I find examples/tutorials of it?
<6> i wonder if google will ever be... #2
<5> Anything's possible.
<0> nekusagi: same page or after a post/get?
<6> Nekusagi: look up chained, err, i forget the term but chained is involved :)
<6> and javascript
<1> google was #2 at some point during its rise to greatness
<8> chained calls?
<0> i did it on the same page with my ill-fated ncaa bracket page
<5> Back when AltaVista was still a DEC site.
<9> Nekusagi: you might want to look at the advselect element in PEAR's HTML_QuickForm.
<6> terms like: chained select javascript
<9> even if you don't use it, it'll show you how to do it yourself.
<1> I was sad to see memphis drop out of the 8 :~(
<6> not as sad as seeing my teams from washington lose the way they did
<6> especially gonzaga
<5> Heh. Gonzaga was quite an ending.
<6> horrible
<10> huren.
<7> how can i make echo $_SERVER['PHP_SELF']; exclude the name of the file name ?
<6> Shing: see also basename() and dirname()
<10> uh, sorry. wrong chan.
<7> i dont understand how to use those philip, i tried to, and it only came with the file name
<5> Did you try dirname?
<11> i have function () {, how can i get the first parameter if i call the function with function(param); ? that parametere should be optional so i cant define it in the function name
<6> func_get_args()
<6> or, func($foo = '') {
<6> butalways: php.net/functions
<11> func_num_args thats what i needed
<11> thanks :D
<7> ok, dir name worked, thnx . What was that symbol you had to put before or after / in order to echo it out ?
<12> \
<12> I think so anyway, if you need one at all.
<6> no symbol is needed
<13> You don't need to escape forward slashes
<14> I know it's off-topic, but WOW... Yahoo's nameservers are down. :P
<15> My web hosting companies name servers were down off and on over the last day or two as well.
<5> Elazar: Ah, that would explain why I can't get to del.icio.us.
<16> Elazar: thanks for joining the channel to give us that news
<14> zircu: I was joining the channel anyway. :P I just happened to find that out at roughly the same time.



<14> mattmcc: I've been trying to hit it for about 10 minutes now. I did a DNS lookup for them on dnsstuff.com and all the nameservers can't be reached.
<15> My ISP seems to be keeping it cached on their dns servers
<14> mikere: Wish my ISP was that smart. :P
<14> alertra.com is confirming it too... can't be hit from anywhere.
<6> as long as php.net works that's all i care about :)
<6> i also am looking at moving to alaska
<17> philip: alaska?!
<14> philip: WTF is in Alaska? *rae*
<6> i love alaska
<1> how's their broadband?
<5> philip: Wait a few years, and it'll have some nice sandy beaches and warm weather.
<6> heh
<18> ndnet: FANTASTIC - no one is on it, you don't have to share a byte!!!
<1> just ****s when polar bears chew through the conduit
<5> Alaska's already having the same problems as northern regions in Asia. Towns built on permafrost which is melting.
<6> scary stuff
<17> Elazar: http://archives.cnn.com/2000/TECH/computing/02/08/yahoo.***ault.idg/index.html
<19> what's the best image cropper/resizer PHP script?
<20> imagemagick
<17> ^Migs^: write one yourself, it's not hard :)
<19> don't have time to write one myself
<19> I'll try ImageMagick
<18> ImageMagick works nicely, a good selection of scaling algorithms to choose from.
<18> mogrify man page says all.
<6> there should be a php extension that implements imagemagick
<20> probably in pear
<5> There is.
<6> the one in pear is old, and beta for several years
<5> PECL?
<6> not touched since 2004
<12> There's on directly with GD.
<6> yeah, pecl
<5> Well, I wouldn't imagine libmagick has changed much either.. :)
<5> But I don't believe I've ever actually used the imagick extension, so.
<6> seems like a common task, yet the extension is unmaintained and still beta
<5> Most people use GD.
<6> and everyone says "use imagemagick"
<5> Even if it's crap.
<6> exactly
<21> gd is slow and... yeah
<21> crap :P
<6> oh well, i'll let someone else worry about... i mean really, what can I do? :)
<5> But, that's normal when you bundle a library. Most people will use it, regardless of superior alternatives.
<6> mattmcc: don't you have some image extension somewhere, like imagelib or somesuch
<6> i ***ume it's very old at this point
<5> php_imlib. And yes, very old.
<5> I think some freak checked it into PECL at one point.
<5> Hmm, yep. http://pecl.php.net/package/imlib2
<5> Also not touched since 2004, and linking to a 404'd home page.
<6> heh
<6> since i learned C i've been dying to create a pecl extension
<19> hmmm, ImageMagick isn't going to work. I don't have the capability to compile it right now
<6> ^Migs^: then use php.net/image
<6> php.net/image has roughly a million user comments
<5> And five that are useful?
<6> heh
<6> in theory the php manual comments should not contain code examples
<22> OK.. pinned it down. For some reason I can't use the extensions stuff. It breaks my php installation.
<6> but of course they do, most of which are poorly coded by some guy who finally after days got something to 'work'
<23> im trying to follow that theory ;0
<23> help me out
<20> lol philip
<6> swissmade: you can't use php extensions? that's unfortunate, they are useful
<22> philip: Thanks for the sympathy vote.
<24> I am having problems moving a site from one server to another. Can someone take a look at this and help me figure out what it going on: http://tempwebspace.us/control_panel/write_company_name.php
<6> karma: please ask a specific question
<24> At the top you can see the it wrote() to file but it also shows the POST data as what I entered? It works on another server
<24> the Success, wrote() should be Success, wrote(Temp Web Space)
<6> i will blindly blame register_globals
<6> although i thought its legacy was over
<24> http://pastebin.com/626082
<24> That is the form and then the php and the output... all in one paste
<6> yes, i was right!


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#perl
#lisp
Qmail Toaster DNS server probs
mod_python esc characters client
#linux
#python
Can't use function return value in write context in
failed to start the x server debian
#linux
iptables limit connections per ip apache



Home  |  disclaimer  |  contact  |  submit quotes