@# 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



Comments:

<0> wtf
<1> sorry OOT... can some one help me out bout css??? please ;)
<1> i've made css and the result in firefox its ok, but in ie some unwanted line showup
<1> http://www.caparuni.or.id/yecc/index.php
<1> please tell what's wrong
<1> anyone here???
<0> this is a php channel
<1> i know
<1> but i dont know where else to ask!
<1> HaNtU]uU[ well maybe u can help me
<0> #html
<0> bye
<2> hello, anyone knows how can i insert an active-x in my website? (.ocx)
<3> hi!
<2> hello
<3> I have a reader.php that reads a logfile.log with the fopen



<3> and with fgetc
<3> how would I make it dinamically choose what logfile to read?
<3> what functions would you advise me to look up?
<3> like reader.php?log=log1.log
<4> how do you want it to decide which log to read?
<3> like beeing able to specify the log like that
<3> I supose with the fopen
<3> I don't know exactly..
<3> I don't know much about php neither
<3> what I have at the moment is: http://www.rafb.net/paste/results/UC8jym53.html
<3> I would like to specify on the address like reader.php?log=another.log
<1> http://id.php.net/manual/en/function.fread.php
<3> ok Im going to check it thanks
<1> there so may way to get the content of a file
<1> fread, fgets, etc
<1> u can reand there
<1> u can read there
<3> well I can get the ontents of a file
<3> I have that already
<3> I would like to get to choose diferent files to read from
<3> with only one php file
<3> because there are loads of diferent log fles and creating a php file for eaach one would be messy
<1> http://www.rafb.net/paste/results/UqzU1L69.html
<1> try that
<3> what is the "rb" ?
<1> http://id.php.net/manual/en/function.fread.php
<1> read that
<3> ok
<3> well im using fread now
<3> but I can't still specify the logfile in the address
<3> I have now: http://www.rafb.net/paste/results/Lr7VL677.html
<3> it dysplays the $log
<3> but if I try to specify in the address reader.php?log=anoter.log
<3> it will still read uk/lol.txt
<3> how do I work that out?
<5> i hate browsers wars
<3> :|
<6> there is no war
<7> ne1 know where i can get some code to for a previous button in a form
<5> yes, there is...
<6> the referer maybe
<7> hmm?
<8> referer madness!
<8> glacius: use javascript. history.go(-1);
<9> hello
<9> can anyone please tell me what I have done wrong here
<9> http://pastebin.com/578321
<9> the array does not echo anything but lines 7 and 8 do
<8> given we know nothing of DirectoryIterator, no
<10> it would definately help if you added the cl*** tot hat code.
<9> Two-Bits but the DirectoryIterator is a cl*** from php not mine
<8> from php?
<9> http://pt.php.net/manual/en/function.directoryiterator-construct.php
<9> here is where I saw the code
<9> the code works
<9> but I want to put the values in the array
<9> but just don't seem to be able to :(
<8> what you have seems like it should work. although you can easily push values onto an array with $arr[] =
<9> I didn't know
<9> but ok I thought there was nothing wrong with the logic
<9> I just don't know why it doesn't work



<8> there does appear to be nothing wrong with the logic. i dont see what the problem is
<10> Fatal error: Cannot instantiate non-existent cl***: directoryiterator in D:\www\webroot\test.php on line 2
<8> ansimation: php5 ?
<10> nah
<10> fo
<11> php4eva
<10> what up pizza boy
<8> php.net/spl
<8> comes with php5
<11> hey ansi
<10> what's goin on man?
<11> hmmm well
<11> a guy from debian found lanmap and liked it, so it's getting into their package tree
<11> so i'm pretty happy about that
<7> well see i am new to php and i want after the person hits submit to be returned to another page
<11> and now i'm interested in operating systems and compilers, so i'm going to try and write a c compiler... after that, maybe a simple OS for some non-x86 arch
<11> you?
<10> ****
<8> glacius: keep it in the channel
<7> well see i am new to php and i want after the person hits submit to be returned to another page
<10> gettin ready to knock out the last 2 hours of my community service and then go report
<8> you already said that
<7> oops
<11> ansimation: how many hours have you completed?
<10> other than that not much. put in a few apps for some sites that need re-designed waiting on them to respond.
<10> eh, like 80 maybe?
<8> as Cancel suggested then, you might consider using the referrer header HTTP_REFERER from the $_SERVER collection combined with the header() function to send a Location: redirect back to the original url. if you dont want to rely on the referrer, you could simply p*** the url in the form
<6> Two-Bits: yep could p*** it too
<7> i apologize I am very new are there ne code examples
<6> I'd use the refere and you wouldnt even need the header function you could a href it
<7> I want the values submitted then redirect to forwarding page
<6> glacius: well before you said go back
<8> if it's a forwarding page, then it's nothing seemingly like the previous button
<8> either way, check out php.net/header and look at some of the examples
<8> the one you'll want is the Location: http response header
<6> you can do it without header but will work either way
<7> basically ... hit a button on form A, got to form B another button go back to form A
<10> dopehouse:/var/www# apt-cache search lanmap | grep lanmap
<10> dopehouse:/var/www#
<10> no lanmap in the package list yet :P
<6> I'd set the back button always as <a href $_SERVER['HTTP_REFERER']>back</a>
<11> ansimation: it's in the "NEW queue", will be 1-2 weeks before it shows up in debian unstable
<10> true
<7> what does document.ld.recharge do
<8> !php echo decbin(-1);
<13> 11111111111111111111111111111111
<8> !php echo decbin(-256);
<13> 11111111111111111111111100000000
<8> !php echo decbin(-256>>8);
<13> 11111111111111111111111111111111
<8> !php echo binde(00000000111111111111111111111111);
<13> Fatal error: Call to undefined function binde() in /usr/home/poutine/safe/raw.php(6) : eval()'d code on line 1
<8> !php echo bindec(00000000111111111111111111111111);
<13> 16383
<8> !php echo bindec("0000000011111111");
<13> 255
<8> dum dee dum
<11> http://graphics.stanford.edu/~seander/bithacks.html
<14> base_convert() ?
<3> how do I use the $_GET to get the value of $log on the web address?
<15> oh dear lord what a WITTY vhost!
<11> cusco: you mean log is a in a querystring?
<11> cusco: $_GET["log"]
<3> pizza_milkshake: sorry I meant to set the value of $log
<3> not getit
<3> like reader.php?log=this.log
<3> should it be $log = $_GET[$log];
<3> ? that doesn't seemto work
<3> lol
<16> $_GET['log'];
<8> cusco: what pizza_milkshake gave you is an expression that yields the desired value
<3> well..
<8> you need only to ***ign that expression to your $log variable


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#india
ekekekekekekekekekekeek
halvesy
#allnitecafe
#worldchat
#india
#chat-world
#chat-world
slimsss dalnet
#chat-world



Home  |  disclaimer  |  contact  |  submit quotes