| |
| |
| |
|
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> usually i use <link rel="stylesheet" href="style/mainc.css" /> <1> threat: rather good <2> heya, anyone got a tutorial on how to write good comments? (that means, so that docbook and IDE's like komodo work correctly?) <3> kioto so, use the full webpath <1> freakynl: have you tried searching on google? <1> :) <4> hmm so if i have one function that works fine when called 20 times, but breaks at 20+ due to memory issues, the most i can do is unset everything referenced in the loop? <0> but the fullpath is not flexyble <5> hi -- will there be a 4.x release with the same security fixes as 5.1.3/5.1.4 ? <6> kioto: you could put the site root in a php var and use that to build the full web paths <3> kioto so, don't use the PATH_INFO method <6> kioto: this is also a good way to force https <2> balbinus: i would, but don't know what they call it... <0> ok about a setting_inc.php that set the root site is good <0> but for example i test the site in http://localhost/mysite/ <0> $url_site = "http://localhost/mysite";
<3> ahhh.... change it before upload <3> simple! <0> and later i try the hack with http://localhost/mysite/index.php/ i get the same problem <6> yeah, then echo "src=".$url_site."/index.php <7> ghen: 4.4.3 RC1 is in testing atm - ecpected release date is around 30/5 <6> why are you added the / at the end? <0> sure i understand about php rule <8> is there any way to execute a statement in global scope? <9> how can i show all types of errors on my webpages with ini_set or something? <8> sorry <6> kioto: it's not php's rule, it's http <5> wobbles: thanks! <0> yes ||cw <6> kioto: so stop it <0> if my visitors are bastard <1> freakynl: you can begin by checking out PHPDoc's website <3> WHY are you using PATH_INFO ? <0> and add / at the end my customers fire me <6> kioto: they are adding random /'s? that's not something you shoudl worry about <0> yes the visitors are bastard and add / at the end <0> sorry for the strong word bastard, but i have used it to explain the concept <4> no way!/ <3> hehehe <6> kioto: you can't help that. let them get errors because they cna't read <0> ah ok then this ins't a my problem if that visitors don't read the page <2> balbinus: thx <0> thank ||cw <10> hi <3> hi Stormchaser :) <11> xshad: I've drawn another page :) <11> xshad: http://storm.homeunix.org/misc/bts/page12.jpg <3> lemme check it :) <10> do you know a fast method for having interface that reorder mysql records something like "up" and "down" buttons <10> i don't succeeed to figure how to do this <12> Hey anyone know off hand if I need ot tune apache for large file, serving 80meg video clips and my box is dying, on a dual xeon <3> Stormchaser I liked the way you used to cut between the scenes :) <13> does anyone here do freelance coding work? <14> balbinus, lol no it was PNG :) you were right, the CSS was fine as I could of telled <15> i sure lots of us do RehanSAlvi :) <16> le_neko: why don't you let the sql server sort it for you <3> Stormchaser i see shadows everywhere!!!! :) <10> it is article that need to be arbitrary reorder <11> xshad: The'yre supposed to be there :) (I mean the shadows) <7> mysql has RAND which you can use to order <13> Geoff_C: PM? <15> sure RehanSAlvi go ahead :) <3> how do you call that fox? <3> ahhh Teras :) <17> RehanSAlvi, what work do you need ? <11> xshad: :) <3> she's an old fox uh? lol <11> xshad: 23 <3> I'm reading whole history now :) <11> xshad: I thought that you read that already :)( <3> small letters :( <3> I'm downloading all pages and resizing 'em <18> Hi all, how is everybody today? ... I'm after some good examples of database abstraction cl***es in PHP5, any pointers? <19> In which variable I can find the navigator that the client is using? <20> Nissim: print_r($_SERVER); <19> :|||||||
<21> hello anyone here can help with a little scenario <11> xshad: Well... calculated, they're um... around 8 px... <22> is there anything in php to count the number of characters in a string? <3> Tankshell propel.phpdb.org or creole.phpdb.org, you can also take a look at g1.tigris.org, http://pear.php.net/packages.php?catpid=7&catname=Database <18> strlen() <4> finger 2.1 <21> here is the thing i beleive php was install via rpm but now i want to re configure php with xml-rpc how would i go about this? <3> Stormchaser I'm almost blind :) <11> parag0n: strlen() <11> xshad: :/ <22> aha, thanks <18> xshad: thanks <3> cornflict compile it using phpize <3> download the source (as your installed version), cd php-src/ext/NEEDED_EXTENSION phpize, ./configure && make && make install <13> schnooser: can I pm? <21> xshad how would i do that? <11> !+modules <23> Given a copy of the php source in ./php: cd php && cp -a ext/mymodule /tmp && cd /tmp/mymodule && phpize && ./configure --help You're on your own from there. <21> ok slow down a little lol sorry i just got lost <21> what should i download? <3> no... read faster <24> morning everyone. wondering if anyone would take a look at http://pastebin.com/731020 and help me understand why it is not returning the results. when i run the query, its fine, so obviously my code is not pulling the query correctly. any help would be appreciated. thanks <21> i am <3> cornflict check your php version (php -version) <21> never used phpize etc thats why <21> yeah i know the version <3> download the src code, the same version you've installed <21> ok <3> and follow th egiven instructions :) <3> if you get any troubles, double-check the dependencies <21> soif i want to keep all the extension its already configure with i will have to add them in the ./configure --with whatever right <3> I've to go :( <12> Have a problem, serving 80meg videos from heavy traffic webserver and my disk i/o is dying, load is 20 - any thing I can tune apache with? <3> leaves :P <21> so i am basically rebuilding php <25> Mikefoo: use googlevideo to host your videos. ;-) <25> mikefoo: or ourmedia.org <25> either one. <21> will i need to remove the rpm version thats there <26> Hmmm.... well, mikefoo I'm not entirely sure this is a php issue... you might want to have a look at mod_throttle or something like that - but if it's disk IO that's killing you... get faster (and more) disks :) <12> Rewt`:.... <25> yes? <7> Y_O_U: Exactly what isn't working? It's not quite clear from your paste... <24> wobbles: well, i enter a valid item number, and nothing is returned. no error, no results (i thought that was a bit strange). <26> Y_O_U, your query has an error, in the quotes around $item_number <26> it should be "select [blahblah] WHERE item_number='$item_number'"; <27> mikefoo, Or use CORAL <7> Hmm, so it does :-) Wonder why that doesn't toss an error? <27> wobbles, You need to check your errors yourself <28> is there a function to show memory usage? <7> I do, but Y_O_U doesn't <24> wagemage: so i have the quotes inverted. like wobbles says, wonder why no error shows up <7> Y_O_U: mysql_error() in combination with echoing your actual query is a good thing for debugging mysql problems <26> Y_O_U, probably an error level thingy - that php.ini directive E_ALL and so forth? Can't quite remember off the top of my head - but a trivial google should solve it. <7> Y_O_U: Also, errors may be directed to a log rather than onscreen <26> Hei folks, I'm stuck with a PEAR::SOAP issue, there's a writeup on http://hashphp.org/pastebin.php?format=plain&pid=6793 - if someone could take a look I'd be grateful. <24> i see. so now that i have changed the quotes though, i am still getting no results (and no error, since I havent changed anything with regards to the mysql_error() or in php.ini yet) <26> Y_O_U, try sticking ini_set('error_reporting', E_ALL); on top of your script. <7> Y_O_U: So, use mysql_error() maybe? <24> gtg fix a few user problems, but i will brb and try getting the error reporting turned on and see what it spits out. thanks for the help thusfar wagemage and wobbles <29> Eh, I'm a bit stuck here. I've got a function with a cl*** (foo) that I want to be able to return the reference to another object (foo2). Is it possible to do something like this? $foo->function()->foo2Function(); <30> hi... <29> s/function with a cl***/function within a cl*** <31> Shane_N: only on PHP5 <12> hey can someone tell me what there average iowait is from iostat on a semi busy server? <30> is there any way to force from address when you are using php function mail: mails are failing because user from allaways is www-data@portatil.redelokal (apache user) <29> pedrofaria: Ah, that would explain why I'm getting errors. Thanks! <30> $cabeceras = "From: ".$mail_webmaster . "\r\n" . <30> "Reply-To: ".$mail_webmaster . "\r\n"; <30> ail($mail_webmaster,$asunto,$mensaje,$cabeceras)) die("fallo el mail"); <30> where $mail_wbmaster is somehing like: "dasdas@ISP.com" <12> ok so my disk i/o is very high due to serving 70-100meg video clips on a heavy traffic server - dual xeon 2gig ram - Can I tune apache to deal with this better? My load is currently 14 with nothing reporting in top. <32> mikefoo, ide or scsi?
Return to
#php or Go to some related
logs:
#sql AD1985 midi ubuntu python check version module how to __version__ Kopete DeskList Plugin too many security failures fix netinstall fedora repomd.xml track mania speedhack dapper hda drivestatuserror badcrc
cfdisk fatal error enlarged partitions overlap sed, how to change delimiter
|
|