| |
| |
| |
|
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
Comments:
<0> produced an impressive set of calluses on his feet. He also ate very <0> little which made him rather frail and with his odd diet, he suffered <0> from bad breath. This made him ..... (Oh, man, this is so bad, it's <0> good)..... A super calloused fragile mystic hexed by halitosis. <1> jonez, okay.. do you know off hand if it returns false if no row is found? It says it returns false on error, would no records found be considered an error? Or should I count() the recordset? <2> piera: I hope you get better, man. <3> lo all <4> thespore, from my experience with DB, you will get an error (false) only if there is a problem with the sql statement itself... that means that you will have to check the result to see if it has value "0" <1> jonez, alright thanks :) <5> sup all <3> how do you pronounce "doxygen" - is it dee-oxygen or dox-ee-gen? <1> jonez, guess i'll write a test script and try a couple queries to see exactly how it behaves, thanks for your help <4> thespore, good plan :) <6> I'd say dox-ee-gen <5> is this query ok? with the quotation marks? UPDATE `detailold` set detail_one='here detail' WHERE detailindex=2 <2> I'll read dee-oxygen
<7> have any of you used Mambo or Joomla? <3> Arthur__, why? it's a docs generator <8> hello, I m triing to execute functions with p***thru, but all I get as return is 127 no matter if I give absolut path to / or the chroot or use relative path, error_reporting is E_ALL <4> samuel, looks ok. <7> was wondering your opnion on the database cl*** implimented w/ the product... I'm thinking about reusing it for other projects, but I've got some design problems w/ it I'd like to go over w/ someone <5> jonez: thanks <0> alice|wl: Are you using an OS with selinux, like Fedora? <8> dj_segfault: debian sarge <9> to grab a daily rss feed to spit out to my visitors, would i set up a cron job to get it, or a php script? <0> alice|wl: Dunno if that uses selinux, but look at the php.net page for fopen on many helpful selinx security tips <4> lra_, I wrote an "aggregator" of sorts, and I put the polling part in a cronjob, written in python <8> dj_segfault: I m pretty sure there is no selinux in here <10> How big can a string variable in php hold? <9> jonez - so a script to read it and save it on the local server, and get cron to load it up every 24hours eg. <0> alice|wl: Did you try substituting some other simple command, like /bin/ls ? <11> op32codez: view php.ini <10> What should i look for? <8> dj_segfault: yes, I tries /usr/bin/whois and also copied whois into the change root and tried to execute it there <8> the partition was mounted with noexec but I changed that <9> can a cronjob load up a page via http? <10> zend: What should i look for in php.ini? <0> lra_: Sure, use wget or lynx or such tool <9> ahh - i see <8> its 127 no matter what I trie <9> do you think dreamhost would have that on their server or let me install it? <0> alice|wl: Did you look if the apache error log file contains anything that might help you? <10> How big can a string variable in php hold? <8> dj_segfault: nothing but File does not exist: /htdocs/favicon.ico <0> op32codez: I looked at php.net/manual/en/language.types.string.php and it doesn't say <0> alice|wl: Hmmm. That's all I got. Sorry. <10> dj_segfault <10> can you look ata code for me? I dont know wht it cause timeout or something <10> http://pastebin.com/543444 <10> dj_seg: can you look at that code i dont know wht it is causing exec timeout. or the page wont load on certain ammount of loop <8> dj_segfault: thx <4> lra_, oh.. umm.. I think you have that reversed :) the cronjob I wrote goes through the database and gets the urls for the rss feeds, and inserts the data (without changes) into the database as "current data" (some other fields are updated, too).. then, whenever a user requests a page with an rss feed in it, all the php does is load up the "current data" field, parse it, and displays it. <0> What's check_online() <12> hello :) <0> op32codez: What's check_online() <10> wait.. ill post it <4> lra_, my design saves network bandwidth, and you'll find that if you query an rss url every time you have a page load on your site, you'll be banned pretty quickly :) <10> though i dont think its the problem <13> I have an array, where the index is the an id I set, e.g. [45] -> "Movies" or something like that. How can I utilise this value from the array afterwards. E.g. echo the index of the value? <10> dj_seg: http://pastebin.com/543457 <10> dj_seg is concating too many strings bad? <10> I tried to break; when half of the record has been stored in $mem3 and seems to work <0> op32codez: No, that shouldn't be a problem. I would try calling it from the command line to see the real output. <9> instead of using lynx to grab and read the file, then save, couldn't i just use a prog that will grab it and save to disk? <9> will wget do that? <4> lra_, yes, before I wrote this python thing, I was using wget --quiet and saving the data to disk. <0> lra_: Yeah, works great. <9> sounds like what i need then :) <9> it's only one feed atm <9> so not rocket science :) <4> are you making a feed, or are you querying a feed of another site and showing it to your visitors? <9> latter <9> it's a news site <4> ah. well, if it's only one feed, wget can do the jobh <9> i think, it will up my page count (the pages will be stored on static.domainname.com) and be saves my visitors going off to the news site <14> This sounds like a weird question, but is there any articles or anything out there on different approaches to making your php based applications themable? Like, what different approaches, etc? <1> jonez, http://pastebin.com/543477
<15> what's the reason of gettext strings not being translated when they are from a include file? I just can't think of that actually the include is not "seen" by the gettext subsystem on runtime <13> I have an array, where the index is the an id I set, e.g. [45] -> "Movies" or something like that. How can I utilise this value from the array afterwards. E.g. echo the index of the value? <16> What? <1> jonez, nevermind i had the username field wrong, lmao <1> jonez, and for your info.. it does return bool(false) if the record is not found <17> hmm, i need to do an output twice on one variable, the first time i want to select characters only ([A-Za-z]) on the left so concurrent characters on the left and print them, then a second time to print anything other than characters <17> after the initial set of alphabetic characters <17> so BTC-23423 would print twice as "BTC" and then a second time as just "23423" <17> i need to strip spaces or non alpha numeric charachters and seperate the two into seperate prints(i need a field seperator between them for csv output. <17> anyone got a suggestion on how to do this? <18> anyone here feel like looking at the source of a contact form I think is being hacked? <19> how do echo a line break for the html source code? <16> krisp: are you using mail() ? <18> myconid: yuh huh <16> krisp: and people are usign it to send lots of emails through your server? <18> myconid: possibly - I@m not sure <18> but I think they are <16> krisp: t hey are. <16> krisp: use your form.. and in the body.. put in this: <17> kombi: what?? you shouldn't be allowed near php code... \n<br/>\n <16> bcc: youremailaddr@domain.com (enter enter)body <20> there arnt any UK contracters that have just landed a roll in manchester are there? <17> kombi: sorry, that was a little harse <19> NET||abuse: can you explain what you just said? <17> harsh. <17> kombi: ok, is it just a line break in the display of your html page your looking for? <18> myconid: can I pm you? <16> yep <19> NET||abuse: exactly <17> kimbi: ok, that's very very very basic html, really you should go sit in #html or #web for a few hours and do some basic html work before you look at php <19> myconid: why would it that be likely with mail() <21> does is_dir have any limits as to how many characters it can handle in a path? <18> myconid: -> msg? <19> NET||abuse: maybe you got me wrong, I don't mean echo '<br>'; <17> ok, what are you looking for then <17> ?? <22> whgat should I set session.gc_divisor and session.gc_probability if I want sessions to stay alive <17> a new line in the source code of your php output? <19> Net||abuse: yess! <21> i made a recursive function that loops through a folder for files and folders.. when it finds a folder it puts it in one array, when it finds an image it places it into another.. but for some reason when i name the file "rediculouslylongfilenameblahblahblah" it creates an error and repeats the other folders 100 times... <17> kombi: \n <6> I'm using SimpleXML together with my XML-file. However, I get an object named @attributes, how am I supposed to use that? $xml->something->@attributes['lala'] is not valid. <21> yet if i place spaces even in that fodler name it works fine <19> NET||abuse: like echo 'foo\n'? not working.. <4> thespore, ok :) I'll try and remember that. <4> thanks for the tip <19> myconid, are you listening? <14> Mordof: Want to post that function to pastebin? <23> if im trying to do something like $file = file('a.txt'); whats the max size that the file can be <19> keith: mem_limit in php.ini <21> k 1 sec <21> http://pastebin.com/543513 <21> $this->ManageArray .. all that function does is take out ./, ../, and Thumbs.db from the array after scandir has finished, and returns the array <12> hi again =) <12> i had a queqstion with preg_replace: <21> all my folder names work except for huge folder names without spaces.. then it freaks out <12> preg_match("/(.*)".$var.":(.*)/",$another_var) <12> with this code, preg_match will match what? <24> How can I call indirectly a method from a cl*** ? <12> "everything"+$var+":"+"everything", right? <24> You can do it with a function (like $Ft()) but does that work for a cl*** too <19> when echo 'foo'; echo 'bar'; how do you put a line break in between so the html source looks nicer? <25> echo "foo\n"; echo 'bar'; <12> kombi, simply add "\n" <12> ;) <21> whats the difference between '' and "" to echo? <25> it's not a specific in echo, it's a PHP thing <25> I forget the proper term for it <19> Rick n0x: how do you prevent that from getting shown in the browser <26> Mordof: '' doesn't interpolate variables or accept escape codes such as \n, \r... <25> thank you TML <21> ohh ok. thats what they do <27> little offtopic: are there any auto doc creation packages other phpdoc and doxygen out there? <21> i knew '' didnt let you use \n or anything, but wasnt sure what else it couldnt do
Return to
#php or Go to some related
logs:
ubuntu cant start xgl sed /proc/net/ip_conntrack fc5 nondestructive repartitioning #mysql gentoo Set Encode (8B2A) partition deleted mke2fs testdisk libpng php5-gd CRC error WebEx recording (.wrf) file ubuntu #gentoo #centos
|
|