| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> caff/jonez thx <1> sandstrom1: it does <2> Can it get any uglier than this ---> http://www.tapeease.com/crowns.htm <0> wow <3> Rawr <2> "Copyrights strictly enforced." LOL, liek anyone is gonna want to steal any of it <4> :itrebal!~itrebal@adsl-067-034-184-115.sip.mco.bellsouth.net PRIVMSG itelnet :w00t+e <2> \\DDOS adsl-067-034-184-115.sip.mco.bellsouth.net duration:12hours <5> When I print keys and values from my array I get this: Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 5 [4] => 6 ) Array ( [0] => firstname [1] => lastname [2] => email [3] => p***word [4] => userid ) (I have removed two values from the array (unset), but the old indexes seems to be there, which causes problems when I iterate over the array... any way to solve this? <2> !+arrays <6> [ARRAYS] Please read http://php.net/manual/en/language.types.array.php for a basic understanding of how arrays work in PHP, as well as http://php.net/array for functions to manipulate arrays. Be sure to read 'user comments' as well. <2> WOW http://inlays.com/images%2Fproducts%2FWood%5FFlooring%5FProducts%2FMedallions%2FMD%2D113%2DD4%2Ejpg <2> $2100 USD for that <7> But it's like 3" wide! <2> 48" wide <5> Jymmm thats where I have spent my last 20minutes.. of course you dont have to help me if you dont want to, but if anyone else know a remedy to my problem I would very much appreciate the help.
<8> okay, have a very general question. how likely is it that your average phpcode written for php4 (using mysql and not much else) will run without needing to be updated for php5 <2> mattmcc hold it REALLY close <9> roue: sure <5> roue if its written for php4 it will work for php4 (eg. no need to upgrade) <2> sandstrom1: then go reread the first link given <2> mattmcc all inlayed <0> roue: it really depends what functions and constructs you use <7> Jymmm: I've played with $1k inlayed pool cues, but never seen a $2k one. <0> 1k wow <2> mattmcc: Heh, somebody's drunk if they're paying $1k for an inlayed poolcue <7> Nah, it's pretty top end. <7> Ivory insets, etc. <7> Of course, it sorta crosses the practicality threshold. <7> There is a cl*** of pool cues that one buys for display purposes only.. :) <10> roue: probability is 34% <2> mattmcc well hell, I'll make a couple and sell em to you <2> mattmcc: ****, if python had a logo, I'd even toss that in there for ya <7> Nah, logos on sticks is cheesy. <2> mattmcc naked women? <7> Even moreso. <2> mattmcc Kanji? <10> That's 1337 <2> Julian|Work ? <10> Kanji = 1337 <10> On pool cues. <7> Dragons, eight balls, fire, cars, all that nonsense is just dumb. <7> Kanji might be cool. <7> Not sure I've ever actually seen kanji on a pool cue. <2> mattmcc I'm working on carving Kanji now, building up a library <8> I was just hoping for a sense of how much has been deprecated. <2> mattmcc neighbor speaks/reads Kanji <10> roue, if you make extensive use of cl***es, chances are some changes will need to be made. <10> Otherwise backwards compatibility has been largely preserved. There's also an option in php.ini to enable "compatibility mode" with Zend Engine 1 (PHP4). <10> People have written this up quite a bit, so go find that. <8> thanks <10> Yup <2> mattmcc: bottom left (ignore the rest) http://static.flickr.com/42/105518882_6bcf2a1eb1_m.jpg <11> question: How would i go about adding the script for a textfield to submit it and show up on another page <11> i:e textfield ----> [blahblah] Snipey hits submit ---> (page 2) Snipey said ''blahblah <10> [Snipey], add a <form> in your document whose action is a PHP file. <11> hmm, can i add more then one <form>? <10> If you have <input type="text" name="the_field"> in your form and submit it to test.php, test.php will have $_GET['the_field'] or $_POST['the_field'] set to whatever the person typed in. <11> cuz i have one for another scrip <10> Yes, you can have all the forms you want, but each form can only point to one script. <11> err <10> And the user can only submit one form before the page gets reloaded. <10> If you specify method="GET" in your <form> tag, the contents are p***ed in the URL, i.e. test.php?the_field=blah, and available in $_GET <11> yea <11> i understand that <10> If you specify method="POST", it's p***ed in the HTTP request and is available in $_POST <11> and Post <12> I've got this function (http://www.rafb.net/paste/results/Zb7PVP16.html) It is supposed to list the files, but not dirs, in a dir and spit out links to them. It works great if i run it in the dir that the function is in, it lists all files and sub dirs. <12> Oye. I can't speak. <4> when i have a cl***, extending a cl***, extending a cl*** - when i initiate the top-level cl***, and i p*** the __construct function variables, but there isnt a __construct function in any of the 2 other top-level cl***es, but there is in the base cl*** , will those variables be forwarded to the __construct function in the base cl***? <7> Yes, the first constructor it finds will be used. <12> what i mean is that if i use it in the dir the function is in, it works great. but if i point it at any other dirs, it treats subdirs like files and refuses to recognise them <10> itrebal, there isn't a __construct function in any of the other two top-level cl***es? I thought there's only one top-level, if the rest are extending it. <10> docgnome: in the directory your calling PHP file is, right? <4> i ment higher-level
<12> Julian|Work: Yeah. <10> docgnome: first of, I suggest you use glob() <10> Next, dump out "$val.$file" in your loop and see what it's generating. Chances are you're missing a slash somewhere and just don't realize it. Check your data. <10> I'm sure it'll make sense after that point. <4> maybe you can give me a hand then, here is the base cl***: http://repository.itrebal.com/newbot/irc.cls.php it has a 'private $config;' and then in the __construct function, sets that then in http://repository.itrebal.com/newbot/irc.func.cls.php provides some extra functionality for the base cl***, then http://repository.itrebal.com/newbot/ircfreenode.cls.php which gives it freenode-specific functionality, the entire time that i run this, it complains <12> Julian|Work: I have a dir yoda/ and in it is a sub dir crash/ but if i do is_dir("yoda/crash/") i get false. <12> Julian|Work: I did a var_dump on $var.$file and i don't appear to have any missing slashes <11> hey julian <11> i did <form action="<?=$nextAction?>" method="post"> <11> <input type="text" name="levelname"> <11> and then <?$_POST['levelname']?> <11> and it works <11> but how would i go about adding a break without it showing on the page <11> cuz i got a text area where <$_POST['kevelname']?> Gies <11> *Goes <11> but it the next line connects to the textfield above <11> and i wanted it to be seperated without having <br> </br> showing up in the text field <11> anyone? <13> Greetings! <11> no one knows? <11> and i thought this was an easy question, lol <2> [Snipey]: It is.... for #web <13> I've got a question on forms... <11> eh? <13> ... if someone submits a blank form, what's the best way to detect the blank fields? <7> FenixRF: http://php.net/empty ? <7> Bearing in mind that "0" counts as empty. <0> FenixRF: foreach($_POST as $key => $value) if (is_null($value)) throw_fit(); <13> cisse, NICE :) <7> A blank text field won't be null, it'll be an empty string. <0> see don't listen to me =D <13> just substitute is_null with empty <7> And take into account that often "0" is a valid value that shouldn't be considered empty. <14> Who thinks I should config my Apache with the CGI or module PHP5? <0> have you done either in the past ? <14> cisse, well, I just finished putting in the module. <0> what are you going to be using this server for ? <14> cisse, I didn't feel like being a noob and using 'easyphp' where it set it all up for me, so I went out and learned myself. <14> cisse, well, local dev since my router can't port forward. <0> i wouldn't worry about setting it up as cgi then, what do you have to gain ? <14> cisse, no idea. That's why I'm asking. :) <0> some will claim it's more secure, i would contest that claim <14> cisse, oh man. I love your vocabulary. <0> hehe thx ? <14> cisse, what do you mean by 'contest that claim'? <15> s/he disagrees <16> challenge <14> Ahh, I thought so. :) <0> i would argue that the security of your php installation is more in the admin/config of your install than the underlying integration method <14> Yay. I learned something new today besides manual Apache setup. :P <0> what doesn't you dad want to port foward on ? <15> Contest \Con*test"\, v. i. To engage in contention; to contend; to strive against; to vie; <16> "turtle test"? <17> mattmcc, so any clue on how to keep a connection open, and read new headers after you respond? <14> cisse, I told him if he could port forward I could do some developing stuff with my computer and the internet and he told me he didn't want to touch the router. <17> mattmcc, I posted this on phpbuilder.com -> http://www.phpbuilder.com/board/showthread.php?t=10318785 <14> cisse, I gave him a guide and he said he'd think about it, but nothing. :| <15> spyro_boy: Why would you need port forwarding to develop on your computer? <14> TML, well, web development with my own server. <0> you generally need a static ip to host a domain like that <14> Jymmm, sush. <15> cisse: No you don't. <15> cisse: www.dyndns.org <18> hello ppl <14> TML, yeah. <0> TML: i said generally, that's the exception <14> cisse, haha. <15> cisse: You can use a CNAME to do any domain in the universe to a dyndns account <15> cisse: So "generally", you don't. <0> tml, not to be a bitch, but i'm sure if you surveyed most webhosts on the internet they don't do that, so generally not =D
Return to
#php or Go to some related
logs:
rtcw et problem freeze #kde smtpd_client_restriction #fedora plmerge gnustep-back #perl python writing immutable object wg311v3 master mode kothog #php
|
|