@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19



Comments:

<0> go to my page, but in their name, email, and the domain, click a button, and boom, they have it :D
<1> but they pressed the red button already...
<1> yousee... hes dead :P
<0> not quite :)
<1> :]
<2> has anyone read Mastering Regular Expressions by Jeffrey E. F. Friedl?
<2> 2nd edition
<3> *cough*
<3> fag.
<3> *cough*
<2> ?
<2> you did?
<0> Hajuu just because it was written above your reading level, it doesn't make him a fag for trying to read it.
<0> :)
<4> heh



<2> well... I "tried
<2> well... I "tried" to read it
<2> but it ****s
<0> heh
<0> i find most books **** when it comes to programming stuff
<2> to much blambering for such a small stuff
<2> welll not all
<2> but this one...
<2> omg... this one could be reduced to 4 pages
<3> DWism: Defend the idiots and they will always **** up your "pwnz"'ing
<3> :P
<0> Hajuu: fortunately, my "pwnz" don't depend on third party input. They're all include's and not require's :)
<2> one page to describe the way regex works, second with a table wich defines the behaviour of metacharacters and the last 2 for examples
<3> sk8ing: dig.
<2> but no! this guy wrote a book, twice! just to explain those easy stuff and it acts like those regex are godly
<2> just because they look ugly, cuz they do
<3> :P
<2> here's what I find by googleing
<2> "Eleven characters with special meanings"
<5> is XML something that some web servers commonly don't support?
<2> webservers don't support anything, they just serve stuff
<0> uhm
<0> xml would not be supported by any web server... :)
<5> oh
<4> grrr
<0> though I guess Apache supports root-less XML
<5> wondering why code i am copying and pasting from a tutorial is not producing the intended effect on my page
<0> since that's how it's config files are done :D
<2> content-type?
<4> sk8ing most likely thats missing, as well as xmlns
<2> I haven't played to much with xml...
<5> http://www.w3.org/MarkUp/Forms/2003/xforms-for-html-authors.html
<2> I've only done a rss parser and I remove the <?xml> content before starting to parse :)
<5> i pasted the box under "namespace prefixes" into my page verbatim and its just coming up with garbage
<3> filter faster you bastard.
<0> yeah
<0> er
<0> wrong window
<0> :D
<6> good day
<6> can anyone tell me wich function i can use to delete data stored in a *.txt file ?
<2> lol *.txt is not a file
<2> * is a wilcard
<2> it means all files with the .txt extension
<2> so *.txt is 0 or more files :)
<6> no i have store.txt
<2> open it with "w"
<2> and close it
<2> $f=fopen("store.txt", "w");
<2> fclose($f);
<2> this will open the file for writing, truncating it to position 0, and then will... close it
<2> so you'll have store.txt back to 0 length
<2> if you want to completely delete it you need unset()
<2> sorry
<2> unlink()
<6> yes but i need to delete just some values
<6> not all content of txt file
<6> ok i'll try thanks
<2> hmm... are the values in the middle of the file?
<2> if so, are they of the same size?



<6> just a min
<6> this is the file http://pastebin.com/571733
<5> how do you get the nth character in a string?
<2> $string[nth];
<5> oh, duh, thx
<2> np :)
<2> coti, one line/"value" ?
<6> no in that line i have more values; when i add a picture i add a file + title + description
<6> and so on for the other images that i add
<2> you should use a db
<2> but until you do, just use file ()
<2> to get all the lines
<2> I guess that a line represents an object
<2> then you play on that object
<2> you write the stuff into a temp file!
<6> i don't know how to jump on a new line when i add a new object
<2> then you delete the old one
<6> no
<2> and rename the temp file
<6> http://pastebin.com/571736 i add the php code
<2> heh, and I guess you wan them on a new line?
<2> oh, they are on a new line
<2> what's not working again?
<5> is \0 a null character in php?
<2> yeah
<5> ok
<2> in fact
<2> I don't know
<6> well. i want to to be able to detele an object from txt file (picture + title+ description) when i push a link
<2> you should really use a dbsystem
<2> it will make your life easyer
<6> i don't have one on my server :(
<2> well.. you have to read the file
<2> delete that specific objecet/line or whatever
<2> then write the file back
<6> but how can i to that job by pressing a link ?
<2> $_GET['varname'];
<2> deleteobj.php?varname=34
<2> that would be the link
<2> then you do a $linenr=$_GET['varname'];
<2> $myfile=file("store.txt");
<2> if (is_numeric($linenr) && ($linenr < count($myfile))) unset($myfile[$linenr]);
<2> $f=fopen("store.txt", "w"); foreach($myfile as $x) fwrite($f, $x); fclose($f);
<5> is there a function to determine if a character is uppercase or lowercase or neither?
<6> sk8ing: thnaks but i don't know if i can handle with the code i'm a newbie.thanks anyway
<2> if ($c == strtoupper($c)) is upper;
<5> oh i see
<5> thx
<2> www.php.net
<2> lookup the functions I used
<2> and check the examples
<6> thanks
<0> Wow
<0> I just got an RFQ on a HUGE project
<2> RFQ?
<0> request for quote
<0> server configuration software
<0> in ajax
<2> nice
<0> with php reverse compatbility
<0> O.o
<0> of course, I'll tell them what I'll do it for, they'll poop their pants, and put it up on rentacoder, and get it done for $40
<0> lol
<2> :))
<0> but then, i don't play games on stuff like this
<0> i do all the stuff nobody ever thinks about
<0> refactoring db entires so you don't run out of insert id's
<0> all the borring but really needed things if you expect something to last for a bit. :D
<2> how can you run out of insert id's?
<0> uhm
<0> even bigint(63) has it's limit
<0> :D
<2> heh, true


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

savage haq alla sex
#linux
#squid
www.tv.gratuit
#javascript
#MissKitten
lolita kinds pedo young jung 13yo
#linuxhelp
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes