| |
| |
| |
|
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
Comments:
<0> Stormchaser : i am trying to generate a table <1> Stormchaser: can i get a debian iso under 300mb? <2> MarkR: he means the size of the OS itself <1> or about 300 <3> Artax: Err, probably not an official debian one. Slackware could be though, but you'll have to do everything yourself. <4> it still doesnt work :( take a look plz : http://www.umbrela.org/mail_add.txt <1> damn <2> panicou: $name is set <5> Artax: Probably LFS is what you want, or that or 'damn small'. Not sure about the devel tools for it, tho. <2> panicou: read the manual on what isset() is <1> or are there light installers that load packages from the web as needed? <1> dont need a gui or X windows or anythign. just tinyDNS, apache, php5, mysql5 for testing.. <2> panicou: replace isset with empty <4> philip i changed it to if ( $name == NULL ) <1> i have hd space, just dont want to waiti till tomorrow night for download.. i want it now! <4> i tryed empty as well
<4> and is_null <2> empty will work <4> erf no <4> tryed it again <4> is it any possibility there is a php configuration error ? <2> no <2> show your code, the actual code, at hashphp.org <4> k <4> http://hashphp.org/pastebin.php?pid=6402 <2> so what do you mean by "not work" <6> can I somehow make my cl*** to take an argument when I do $usr = new User(here)? <4> the first if statemetn <7> eml, PHP 4 or 5? <4> doestne valuate if i p*** an empty value <6> Davey|Work, php5 <4> i leave the textfield empty <7> eml, OK, you want to define a function called __construct() <6> Davey|Work, I have <6> =) <6> Davey|Work, wait a little and I'll show you <7> eml, OK, so define it with arguments and those are p***ed in your 'here' spot :) <2> panicou: after you use of header(), put exit; <6> Davey|Work, http://home.eml.nu/hej.php <2> otherwise the rest of the code WILL execute <0> i have a file that ends line s in new line (I THINK) i used str_replace("\r","",$foo); to replace.. \n etc didn't work .. what can i try next ? <4> hey nice1 <4> thx philip <2> :) <4> :) <4> worked <4> :) <7> eml, that looks fine, though I would suggest using PPP instead of "var" to define your cl*** params <2> dony: str_replace returns a modified string, so, $foo = str_... <6> Davey|Work, PPP? <7> eml, PPP being Public, Protected, Private <6> Davey|Work, so, private $usr_name; ? <2> dony: $foo = str_replace(array("\n","\r"), '', $foo); <0> philip : i get parse error, unexpected '=' <7> eml, if you don't want to access it outside of the User cl***, sure, you probably want protected <7> actually, in your case, probably protected :) <7> erm, public <2> dony: look around, you can fix parse errors <6> Davey|Work, yeah <6> Davey|Work, the output is tho nothing, just 3 <br />s <0> philip : hmmm.. i am looking but can't get it why it appeard <2> try hashphp.org for pastebin <7> eml, __construct, not __constructor <7> eml, sorry, missed that, and have done it myself a few times ;) <0> philip : done :) <6> Davey|Work, oh, thanks =) <7> eml, :D <2> parse error fixes always result in "oh yeah, duh" <8> philip: *usually* <2> dony: i don't know what you mean by 'done' <6> Davey|Work, ah yes, thanks <9> http://pastebin.com/625652 <9> could somebody take a look at that and tell me why it only prints out the first email address? <9> mainly in lin es 10-15 <9> i'm trying to check if the email is included in the database, and if not i'm trying to pull it from another <2> teethlikelions: sidenote, your use of mysql_result is from the php 3 days :) <9> rewally
<2> use mysql_fetch_***oc() for example <9> i believe it <9> i pretty much figured this out from reading like 6 different tutorials... it's a bit of a hodgepodge <10> concerning PDO, how do i make queries to tables which contain underscores in their names? <10> backtics dont seem to work <7> foukou, uhm, PDO doesn't have anything to do with that <11> i want to be able to check if a mysql date is newer than (now - interval 7 day) but using php. what's the best way to do this? <7> I use underscores with MySQL, SQLite and PgSQL without need to do anything <12> hi all <10> Davey|Work, I didnt really think so.. then where is the problem? <11> mysql_result is bad? <13> is it possible to have optional arguments in a __construct() method? <2> teethlikelions: print $num to see what it is <12> anyone have experience with php bulletin board software? <9> ok <6> Davey|Work, how do I access Users variables? =) <2> lra_: no, but using it 10 times when one mysql_fetch_***oc() ... is inefficient, ugly, icky... <11> ahh! <13> adggg: i use phpbb <11> was going to say, i use it to get a single value, that's all <7> eml, same as you are, if you made them public <9> hm <2> as is using SELECT * to retrieve one value, shame on you teethlikelions ;-) <11> but anything more and fetch_***oc rules! <6> Davey|Work, but from Validation? <9> philip: it stays at 4, and i have four emails to print... <11> i never use select *, even if i want to get all values <6> I'm not sure about how to use extending cl***es <7> eml, $this <6> Davey|Work, ok <9> philip: looks like i'm going to have to do some mysql_fetch_***oc() research later tonight! <2> teethlikelions: maybe shownode() does something evil <2> teethlikelions: basically, at first glance it should work... add some debug code in there... printing stuff <2> first step in debugging is printing stuff <9> phlip: shownode is what that's all in. it just prints out a forum list and nests it if necessary <2> teethlikelions: next, read about variable scope <2> local variables versus global... that is, if shownode() is a recursive function as you suggest <2> php.net/variables.scope <2> for example, inside shownode(), it would not know what $i is, or $email, or... <13> is it bad to have __construct() have optional arguments? <13> or even possible? <9> ok, thanks philip <9> philip: heh, after adding some debug print-outs, it looks like what i got right was just lucky <2> yeah, i suggest you save this code somewhere and in a year or so as you've learned... look at it again... then laugh (or cry) :) <9> haha <14> So I was looking at http://us3.php.net/preg_match. Can anyone explain this syntax found near the bottom of the page? preg_match('@^(?:http://)?([^/]+)@i',... <14> is it a typo? <2> why do you feel this way? <9> philip: workaround... the other white meat <9> thasnks for your help, i'll have to check out fetch_***oc though <9> later <2> yeah, just addd a bumch of stuff until it works :) <15> hello, there was something like a query for every php scripts and it was returning a picture like a.php?324324324234234324324 is it still avaible ? <2> later <2> CalvadoS: i doubt anyone knows what you are talking about <14> CalvadoS: sounds like you're talking about $_GET and $_POST, but the question is really strange. <15> hmm well maybe I told wrongly <16> philip he means the php logo <15> there was a some icon creating with a string. if you put a string <15> after php (for all phps) <15> it was returning a picture <16> !+logo <2> ah <15> Jymmm it can be <17> $_SERVER['QUERY_STRING'] might be what you're talking about <15> how it can return logo ? <2> search google :) <15> for what :) <5> 'returning logo' <15> hmm <2> here's one http://php.net/?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 <15> ok ty <2> so search for that id <2> someone has a site that lists all past logos as they have changed over the years
Return to
#php or Go to some related
logs:
+perldoc +the movie jakosha #debian #asm _SESSION .hta #perl i live to serve lisp #osdev Launching HTTP Cache Cleaner pam_mount segmentation fault
|
|