| |
| |
| |
|
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
Comments:
<0> tws: anyway Wasn't I who where going to do it :) <0> zamba: oh.. quite similar name :> <1> yeah, but i have the best :) <0> 'yeah right, as if" <1> hehe <2> zamba: Never trying to accompany you. :) <2> Beekyy: Someone directly link to files in your server? <3> tws: i do not own the server, but yes, using img tag to link to an image on my website. (A Magic: the Gathering icon, to be exact) <3> *logo, rather <2> Beekyy: Okay. What kind of control panel your hosting use? <4> What does the kind of "control panel" have to do with the <img> tag? <2> TML: cPanel has a feature to prevent leeching, the so call HotLink Protection. <5> is there any way i can see what the variable name was of a parameter function? e.g. i call a function foo($bar) and i want the function foo to print the string "bar"... <3> tws: To be honest, I am not overly tech savy. So, do not understand what you mean by "control panel". <2> TML: Though I'm not sure how it really works behind. <3> tws: Oh, okay. One of my domains has cPanel, but unfortunately, not the bookrealm.com one
<6> YO <3> tws: If that is the case, I'll ask my friend (and webhost) to transfer bookrealm.com to the cPanel server <2> Beekyy: Dig around the control panel. Who knows it has that feature. I really don't know how to manually do it. <6> My brain has stopped functioning; Is there a way to find out the 150th post's ID from a MySQL DB without fetching them all and looping up until the counter is 150? <3> tws: What makes it more annoying is that it's from an ebay user. I contacted ebay, and they couldn't care less about bandwidth theft. <6> ID's are not in sequence (1,2,3,4,5), more like "12,23,31,65,89 <3> tws: Anyhow, I have to go now. 20 minutes to go before gaming starts, and I have to set everything up. Thanks for you help. <2> Beekyy: Blame that user. :) But keep thing simple, protect your file. <3> tws: Yes, I know Ebay has a bigger war chest than me. ;) <7> Hi everybody ;-) <3> Gaming time! :D See you all next time. And, thanks aggain, tws. <7> Do you know of any ways to create a web application auto-magically, only by defining the database layout ? <8> Hi, i'm having problems with special chars when loading an xmlfile and a xslfile with DOMDocument in php 5. If i use html entities in xml file, i have to set something in the DOMDocument instance? <9> andr386: I know how to create a web application the magic part . . . Iam still trying to work on that <7> nmatrix: I'm just not kiddin ;-) If you've got the database schema it shouldn't be that complicated to create automatically a set of page that enable you to add/remove and list records, then you customize it .. <7> I found out this stuff on the net : http://phpcodegenie.sourceforge.net/ <5> Beekyy: what was the exact problem with the user? (i happen to work at ebay...) <5> oh.. he left <9> andr386: I already have a CMS framework up that makes the db schema for you automatically and creates a web interface to do whatever you want with it via modules (create comments forums, rss feed, search engine) <9> andr386: http://www.threadernet.com <2> bas: An E-Bay users links to an image files in his rented webspace, leeching, stealing bandwith. <9> andr386: also runs on a permissions schema <9> to make certain parts of the site accessible only to certain groups <9> including interfaces <5> tws: isn't the whole idea of the internet to link to each other? <2> bas: Yes. But is it wrong if he doesn't want people to use up his limited bandwidth? <8> i need an example of xml and xsl using domdocument in php 5, anyone knows a good one? <10> hi guys <10> one question: how can I add something to an allready existant variable? <7> nmatrix9:Thanks a lot, ;-) it sounds like it's what I'm looking for, <10> allready got it guys <11> hey i need help when i run a script with my sql init i get an error <11> any ideas? <12> morning all :) <12> Chrisx1: what does the error say? <11> Fatal error: Call to undefined function: mysql_connect() in /var/www/srvswtats/admin/config.php on line 62 <11> but its EVERY mysql thing <11> Fatal error: Call to undefined function: mysql_get_server_info() in /var/www/serverinfo-1-1/proc.inc.php on line 92 <11> see <12> Chrisx1: You dont have the mysql extenstion enabled/installed. Go read the php installation section in the php manual :) <11> i have i installed H <11> *PHP via Erm Apt-get <13> whats a good freeware regex tester like RegexBuddy ? <13> perhaps an online web app <13> something like you can select a part of a string and let it build the regex for ya <12> Chrisx1: i'm a freeBSD person myself so dont have a clue about apt-get. Maybe you have to specify a different package to get mysql support? <12> Scorpmoon: Try looking at 'The Regex Coach' (http://www.weitz.de/regex-coach/). Might provide some of the functionality that your looking for. <13> spank thee very much <14> Hmm <14> What do you have to do to get PHP to work with MySQL under Windows? <2> rapha: Edit your php.ini file. <14> I get Fatal error: Call to undefined function mysql_insert_id() <14> tws: Kay, what should I be looking for? The login data is correct <2> rapha: MySQL extension is not loaded, if so. <14> tws: How to load it, then? Under Linux this all works like a charm, out of the box. Is there any documentation? <12> rapha: its all explained in the php manual, http://uk2.php.net/mysql <2> rapha: Check for extension_dir and there's another line that you have to un-comment which I can't remember correctly. Just read the PHP INSTALL file. <14> Okay. Thanks tws & Lomat! :-) <15> What keyboard do you guys use when coding? I was thinking of ordering this keyboard: http://www.dustin.se/DustinPictures/Products/M/big/5010085542.jpg <2> CopyNinja: Do you have to use specific keyboard to code? :)
<15> tws: no not really, but I am sitting on a keyboard from 1994 here and my wrists gets all messed up, and its ugly so I was think its time to upgrade :) <2> CopyNinja: My wrists too. <15> yeah then you know the feel =) <14> CopyNinja: check out the Happy Hacking Keyboard; and you might want to think about switching to Dvorak. (http://store.yahoo.com/pfuca-store/index.html) <2> rapha: $269 for a keyboard? <16> why does "lynx --dump http://whatismyip.org" not show a blank line before and after the content as it usally does? I suspect that this is related to some server-side question <15> rapha: hehe nice keyboard =P <16> lynx --dump http://whatismyip.org vs lynx --dump http://foo.com why does the first one not appy blank lines? <14> CopyNinja: these _rock_ for coding <15> rapha: I guess but it doenst have and :) <14> It's truly worth the investment. Your wrists will thank you. <15> okok... but I think I'll stick to the MS-keyboard instead =) <16> rapha, what the exact name of the model? I can't reach the site, my ISP you know <14> dbe: Well, I have the 69 bucks one: http://store.yahoo.com/pfuca-store/haphackeylit1.html <14> The missing Umlauts is a problem. I'm fine with ä and so on, or copy/paste-ing stuff. <14> dbe: Oh, okay. So, the name is "Happy Hacking Keyboard Lite 2" <16> I newly burned up the window logos on my life-time series keyboard from Keytronics <16> rapha, thx, finally a chance to get rid of them for good ;) <17> re <18> I'm replacing a number in a string with the contents of an array element whose index is equal to the number. <18> I'm using preg_replace to do it but I don't know how to reference the subpattern so that I can use it to call the array index it's equal to... that make any sense? <18> $array[$1] was my first thought, but it didn't fly. <19> sounds like a standard str_replace to me $string = str_replace(array('1','2'),array('one','two'), '1 2'); <20> can anyone explain why when i free my variables properly (cl***es//objects), php seems to use up more memory then when i don't free them <19> Syf are you using unset($foo); <18> the-erm, hello again ^^ no, i need it to be more specific, which is why i'm using preg_replace... is there no way to format the $1 so I can use it like $array[$1]? <19> Lunis: I'd have to see the code. <19> or an example of what you want replaced. <12> syf: also iirc when you unset($var) php will keep the mem allocated for future use in your script therefore avoiding future mem allocations. <12> Lunis: what about preg_replace_callback()? <18> Lomat, eh, not sure, i'll read up on it now... that may be what i need :) <20> thazza, yeah, using unset($foo), also tried to ***ign it NULL first, then unsetting it <20> err that was for the-erm <20> Lomat, oki, thanks <18> Lomat, I think you just solved my problem :D <20> Lomat, that's what i read in an article as well, the strange thing is that when i do a really dirt simple test just echoing the memory used, ***igning a var a str_repeat with 5000 chars, and then unsetting it, it doesn't seem to keep the memory allocated at all :S <20> hence why i i don't really understand it at all, unless the behaviour is different for cl***es <19> I don't pay enough attention to memory . <19> It's there, it runs. <19> That's all I care about most the time. <19> Of course I'm not running something that gets thousands of hits a day either. <20> same, but when your app is taking up 3mb memory, it makes you think <20> don't care for thousand hits a day, but combined sending out newsletters, and suddenly receiving 500 hits in a few seconds time, that's a killer :S <20> combined with <21> i'm creating a select field and adding elements to this field. I have a select field cl*** and select elements cl***. When i add an element by calling a function, the element object is returned. I use this objet to set flags etc, but something here is not working... <21> nothing seems to be getting set <21> however, when i print out (echo) the elements name, value etc, it appears as though i have the correct object <21> i'm completely stumped as to what's going wrong <21> $e = &$_f->addElement($row['_value'], $row['_key']); where $e should be a select element object. <19> _zz: do you have a return in your addElement function? <21> the-erm: yes. <21> i can do stuff like echo($e->name) and the right name gets printed <21> but i can't do things like $e->name = "asdf"; <19> _zz: you running php 5? <19> sounds like you're declaring a variable private. <21> no php4 <22> _zz any errors or anything on E_ALL? <19> _zz: another crazy question ... do you *need* the return to be & <21> jiggster: i am getting an error (invalid arg foreach) but that's further down the track... <22> ah i see <21> the-erm: i don't think i need the '&'. i've tried it without and it works. i've been given someone else's code and told to find the bug <22> hmm i'm no good with references, so i wouldnt know about any issues that might be causing <21> well, if i take out the '&' i get the same results <22> odd <21> jiggster: how do i check if there's anything on e_all? <22> well if e_all catches something it echos what it found automatically <19> error_reporting ( E_ALL); <22> yeah :p <19> This kinda bothers me. <21> i get a page of errors lol <19> _zz: can you pastebin some of the code. <21> but then there's this: Notice: Undefined variable: E_ALL <21> sure
Return to
#php or Go to some related
logs:
#oe authorized encryption keys dutch english dictionarry
applet + other window + permission denied
xorg.conf mplayer depth nvidia 440 adonix x3 sucks
#perl #web mantriva drivers linux-gate etch
|
|