| |
| |
| |
|
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> but without an image? <1> Oh, without an image. <2> Artnez_, yeah... I want it to look like a link surrounded by [] <0> not going to happen :( <2> I can use CSS... no problem <0> still wont work <2> but I don't know if I can get rid of the button outlines with CSS <2> dang.. <3> http://rafb.net/paste/results/RkoEk866.html is returning all domains as unavailable, does anyone know why? <0> the only way to submit a form is to either use a <input type="submit" <0> or to use a the javsacript form.submit() method <2> could I put that in a [<a onclick="form.submit();">Submit</a>] <0> yes <2> hmm... not fun... but I guess I'll have to settle for it <2> thanks <0> why not use JS anyway?
<2> old IE's <0> **** em :) <2> hehe <0> **** new IE, much less old IE <2> if it wasn't my job I would ;) <1> You can't be both compatible, and fancy. You've gotta pick one :p <0> frank_farmer: so, so true <2> frank_farmer, actually ussually I manage both :) <2> frank_farmer, you just have to learn where their compatable and work with that <4> K***ah: It's trivial with CSS. border: none; <1> Yeah, honestly, it's a continuum, but it seems you're really close to the "compatible" end. <2> wonder if IE honors that <2> *goes to give it a try* <0> i feel so bad for K***ah, almost shedding a tear <0> workign with CSS and IE 5.5 must be like ripping hair follicles off your balls <2> yeah... well I just avoid JS... CSS is relativily trivial to deal with <1> Somehow I get a feeling this is more like IE3. <5> weee... just went alpha. <2> nah... I don't go that far... IE5 is as low as I go <1> IE5 doesn't support basic JS?.... <0> K***ah: you managed to get 5.5 and 6 to work together? <2> on linux.. yeah :) <0> aren't you fancy shmansy <5> we just had crystal ... <5> w00t <4> It's pretty trivial with wine; just set them up in separate contexts. :) <5> but we had it on the bus the other day. <4> Much easier than doing it in Windows, really. <2> Artnez_, hey... when the only windows programs you need are <2> IE and Quicken <2> and virtually everything else you do is on Linux... then it's not that hard to switch :) <0> i've managed it in windows, was a real pain in the *** though <4> K***ah: If you grok double-entry accounting, gnucash is worth looking at. <2> ie4linux... set it up... and made it work without hardly any work on my part <2> complete with multiple versions of IE <2> mattmcc, yeah... I've been meaning to look at it... but I'd like to import my Quicken data... and as far as I've explored... I havn't found a way <6> This is really annoying me, I wish I could just use CSS but it's not supported yet. I'm trying to alternate rows. I have: if($counter % 2 == 0) { $alt = 1; } else { $alt=0; } however, it doesn't work properly. What am I doing wrong? <3> http://rafb.net/paste/results/RkoEk866.html is returning all domains as unavailable, does anyone know why? <2> mattmcc, losing years worth of data... not so fun <5> $alt = ( $counter % 2 ); <4> Or $alt = 1 - $alt; <7> I'm using an array, which contains URL links to images, and looping through it, and for every image, I am using imagecopymerge for GD, and pasting onto a background iomage I allocated, everything works fine, except for the fact that only the first image pasted of every row shows, anyone know why this is happening? <4> How many ways can we toggle a flag... <5> matt: that can go wile if alt ever changes values. <4> absentia: That would be the coder's fault. :) <6> CSS would be so much sweeter there. <5> well.. perhaps. <5> anyway, back to the launch. <2> Artnez_, you know what's hell... outputting stuff that can be imported to MS Access <2> just the thought of it makes me want to keel over and die <3> Anyone? <4> K***ah: Just point Access at an ODBC source. <8> root404, are you sure 'host' is outputting what you expect? <3> Yeah <3> If I put echo $result; exit; above the if <3> it works, but I want the output to be customized, which is why I have the ifs <8> root404, try: if(strstr($result, $_GET['domain']) === false) <3> ds-: Where?
<8> instead of if(!strstr($result, $_GET['domain'])) { <3> do I still have the echos and elses or is this a test? <8> everything else remains the same <3> ds-: Same thing <2> can you put an array into a define? or is that a bit much? <9> IIRC constants must be scalars <2> figured <1> You could put a serialized array in a define :p <10> Hmm, I see many sites uses a meta refresh for users to download files. Is it possible to specify the filename of that file, so that the browser sees "file.txt", whereas the actual file name on the server is "some_random_hash"? <1> header("Content-Disposition: attachment; filename=$filename"); <10> frank_farmer: Ah! Then just open the requested file, and dump the contents? <1> then you'd have to echo the content of the file... <1> yep <0> frank_farmer: wouldn't that just expose the file anyway? <10> frank_farmer: yeah :) thanks <0> in the header that is <11> Hello, Why would a readfile on an .exe that is 25MB work fine, and allow it to download, but a .sitx file, which has the same permissions, and is only 14MB give an "PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14129152 bytes)"? <10> frank_farmer: It works! Thank you! <0> surye: not much i can tell you, however there is a limit on the memory size that is 8 megs <12> surye, regardless of why that's happening, I suggest you stream it out. <13> hi there. <11> Julian|Work: I tried using fread using 2048 buffers, and I got this weird error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes) <12> surye, what are you doing with the data you read? <12> surye: pastebin this section of your code -- from opening the file to closing it <12> I think we missed the punchline. <13> can I do something like "if $_SCRIPT_URL='/knowledgeTree/foo.php' { blah } else { bat }" in PHP? <14> im having some trouble with exec()... it works for some stuff.. like 'ls' and 'ps' commands.. but wget.. and convert.. when requesting a remote image.. i just get nothing <12> MrBIOS-work, var_dump($_SERVER) and see how to get the script URL. <15> Julian|Work: I'll remember to punch him, when he rejoins <12> phpcodinfool, make sure you get everything working on the command line. Then try it in PHP. <16> For public knowledge... a Program called E-Trust personal firewall like to delete session cookie files.... <14> works fine on command line.. i had the script echo the command.. and pasted it in.. works fine <14> its like my apache user cant do those commands or somthing <12> phpcodinfool: that could be exactly it. Also note that exec() only returns the last line of output. <12> shell_exec() returns all the output, if that helps. <14> im actually using backticks <12> Those are equivalent to exec() <14> but i figured more people would respond if i said exec <14> no backticks are = shell_exec <12> Oh, cool. <14> hrmm.. too wierd.. convert works fine too when just doing a simple image resize.. but when trying to p*** the source image as a url.. nothing <13> Julian|Work: if ($_SERVER["SCRIPT_URL"]='/knowledgeTree/browsedatacorr.php'} { <13> $this->show_portlets = false; <13> } else { <13> $this->show_portlets = true; <13> } <13> that should work, or not? <17> ... <12> MrBIOS-work, use www.pastebin.com, don't paste. These guys will eat your children. <13> Julian|Work: my bad, will use in the future <13> Julian|Work: is that valid code? <12> MrBIOS-work: Try it-- if it works, it works. Looks okay to me, except you're ***igning the variable, not comparing it. <12> = ***igns, == compares. <15> um <13> thanks I really needed that <14> im off to #fedora, not sure how to get my apache user right to do this <12> MrBIOS-work, wouldn't it make more sense to have browsedatacorr.php set $obj->show_portlets = false; instead? <18> I'm having problems getting php to work with mysql, and I don't know whats wrong <19> aside from just testing whether a file == "." or "..", is there a way to not include those in opendir()'s results? <14> is_dir () <4> cmatheson: Specifically those two? No. <18> are there any troubleshooting steps I can go through to see whats messing up? <19> mattmcc: ok, thanks <18> either no one wants to help, no one is here to help, or no one knows how to help.. <20> Okay that's ****ed.. <21> Silivrenion: Or you haven't said anything that would give us enough information to help you. <20> FF is 'waiting for localhost...' <18> TML :: I dont know what to give... <21> Silivrenion: Detailed descriptions of the problem are generally a good idea. <21> Just saying "it doesn't work" tells us *nothing* <18> cannot load mysql extension; <21> Silivrenion: That's not a PHP error. Where are you getting that error from? PHPMyAdmin or something? <18> yes
Return to
#php or Go to some related
logs:
#ubuntu [Errno -1] Header is not complete. Trying other mirror. suse linux 9 NTP enabling time services #css #perl Transliteration replacement not terminated at -e line 1. gentoo /dev/dsp: Permission denied #kde migrate bind to tinydns #linux
|
|