@# 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 20 21 22 23



Comments:

<0> i knw :)
<1> robert_ actually, i didnt undersrand what you want
<1> agh still not found
<1> let me find
<1> hanz : http://pear.php.net/package/Net_DNS
<1> :)
<0> Drakas: nice, but i simply need to get the IP adress of the server machine. deadly simple i thought...
<1> i know
<1> hanz : you can do exec("nslookup ...
<1> some things look simple but are far more complicated...
<0> hm. i am a bloody newb...
<0> does ifconfig would work also?
<1> yes
<1> you will need to parse everything though
<0> puuh. i give up.
<1> ;p don't!



<1> learn!
<2> Say I have a variable $foo, how can I introduce an alias to foo?
<0> no link to my ftpd my friends.
<2> im doing $bar = $foo; but then i get errors that $bar is not an array etc ($foo is an array)
<0> Drakas: thx anyway, but to high cost ratio- i have to drink some beer soon ;)
<2> err
<1> ppl i dont think you can
<3> Drakas: I'm using the reflection cl*** in my RPC system, to make all 'public' cl*** members availible to the RPC system as API.
<2> So I have to use $scores_entries->entries every time.. I cant use $se or something?
<4> ppl: $short = $very_long_boring_foo_name;
<4> then $$short
<4> but that's not really a good idea
<2> oh, ok. and why its not a good idea?
<4> and won't work for object attributes
<5> I've got a question... if I'm using linux (suse 9.3) and I wanted to upgrade my current php version (4.3.1) to the new 5.0 version... do I just untar the files directly into where all my current php files are? Or do I have to use the .config command (as in setting it up again)?
<4> ppl: it gets hard to keep track of where variable variables are pointing
<4> and I only think it works for variables
<6> I have a string that has one number in it (that might be two digits), what is the best way to extract it from the string?
<7> Any idea why using mysql_real_escape_string within a cl*** would error?
<8> ptlis: whats the error?
<7> <b>Warning</b>: mysql_real_escape_string(): Access denied for user: 'www-data@localhost' (Using p***word: NO) in <b>/var/www/projects/webcomic-collab/dev/includes/db/mysql4.1.inc.php</b> on line <b>545</b><br />
<5> can someone help me with updating php?
<8> hrmm... do you have an available mysql connection?
<8> murdoc: whatchya need?
<7> I am using a p***word, the onbject hs been instantiated and is used earlier on in that page.
<8> i dunno, then
<8> i'm not familiar with MySQL
<7> Hmm, i'll just tinker some more.
<5> updating from version 4.3.1 to version 5... I'm using suse 9.3.. do I just untar all my files and replace them right into the directory where the original files were?
<8> murdoc: uhh... are you going with source tarballs?
<8> kuja: you wanna help someone with updating PHP from 4.3.1 to 5?
<9> hey kuja
<5> well... Novell hasn't given me an update as a package on their updates yet
<5> I think it could be
<5> actually
<5> I took the tar.gz
<5> source ones
<10> itrebal: No really :P
<10> not*
<8> er... ir really cant help you atm... i have to go - sorry
<5> =(
<5> ok
<9> kuja: dont ignore me!
<10> oh yeah hi lol
<10> I was preoccupied :)
<9> thanks :P
<10> Hence why I can't help anyone right now :P
<10> Just going on and off for now
<8> any easy way to detect why a script doesnt work from PHP4 to PHP6?
<8> rather, PHP5 to PHP6
<8> hrm... mayb ei should just have a spare phyp5 laying 'round for use ina few scripts
<11> hi
<5> hi
<11> how can i add times to daytimes: e.g. 7am + 1h27min ?
<11> if possible without handling with timestamps?
<12> can anyone give me an example or a place to read about linking a page to itself changing the properties via ?=
<13> alindeman: ping
<12> ?variable=
<5> anyone willing to help me with updating php from 4.3.1 to version 5.1.2?
<6> What is the best way in php to get a list of files in a directory
<10> dampjam: php.net/glob



<14> how can i get the same results as array_unique but have the most frequent value be the first element in the array?
<15> can anyone suggest an active XSLT channel on IRC?
<5> dampjam: depends how you've set it up and the permissions you give to the php file
<5> you can use the popen command which does an LS in the current directory
<5> and then use fgets in side a loop to get all the list of files/directory
<5> or.... you can use readdir command
<5> http://ca.php.net/manual/en/function.readdir.php
<14> dampjam: i use this http://pastebin.com/527838
<14> uses readdir/opendir
<5> yeah that's the easiest way... but you might run into permission problems
<5> so make sure you enable permissions for it
<14> as long as its got local read access it should be ok, long as its reading from the same server
<5> icic
<8> grrr.... scripts should support php6!
<8> hehe
<8> phpmattk_: you'd probably have to create a function on your own
<16> "Note: This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.0.0."
<16> I can't find MCAL on http://pecl.php.net/
<14> thats what i figured.. i wanted to do it in less than 5 or 6 lines
<8> Simon-: what extension are you talkikng about?
<17> Simon-: Um... MCAL isn't in PECL... It's in the PHP core... you need to build you r PHP --with-mcal
<16> Stormchaser: the manual clearly stats that it's now in PECL
<8> Stormchaser: its true
<8> phpmattk_: what does MCAL do?
<17> Hm... Weird... Must be behind my times, then :)
<18> so in php5 $obj = new Cl***; $copy = $obj; does that mean anything I do to $copy happens to $obj?
<14> modular calandar access library
<14> why are you askingme
<8> gotchya, i'm looking for it
<8> oh thats cool, i had no idea there were SVN bindings
<8> how can i overwrite a function?
<19> how can I see all the fields that was sent via method post and their correspondin values?
<18> stick it in a cl*** and extend or compile with runkit
<14> Megan001: var_dump ($_POST);
<19> yo what is the big deal about runkit?
<19> suddenly everyone using that word
<18> rewriting cl***es
<18> and functions in cl***es
<5> can someone help me with updating php?
<19> isn't runkit a virus?
<18> rootkit
<19> oh
<8> grr
<5> not a virus really, but more like a vulnerability hole in your comp
<19> it is malware on linux
<19> or unix systems sorry
<5> ooo icic
<18> as opposed to? sony's DRM?
<5> >> can someone help me with mysql stuff?
<14> rootkits can be any os, and its main defining point is that it makes a point to hide itself VERY well
<8> are there any methods of finding where a script terminates?
<8> (i'm using 2048 as the error reporting)
<14> itrebal: and you're not getting any output
<14> murdoc: what mysql stuff?
<8> phpmattk_: correct
<14> i suppose you could take a wild guess and just output stuff and see where it stops outputting
<8> phpmattk_: i'm arbitrarily putting in echo 'termination before this line?'; to see if it gets displayed, but its not very effective :)
<8> hehe
<14> yeah...
<8> its about 264 lines long, i've decided its after the 1st 100 lines
<14> ack...
<5> I granted a user I made up ( just to play around with) and I'm attempting to connect to a DB on mysql server (my local server) and grab some table info
<5> althought it says connected sucessfully, when it tries to grab info, it says "access denied"
<14> when you setup the grant what'd you put for host?
<5> localhost
<5> it's all done on 1 comp
<5> I'm testing this on the very comp I granted the permissions with
<14> and are is url localhost.. or 127.etc.. or 192.etc
<5> so... basically, I'm connecting to myself
<5> I used localhost
<14> k, that should be fine then... uhhmm..


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#ldap
suse can not open the file /proc/bus/usb
sql server find all fridays between two dates
eclipse perl debugger storable
#perl
pptpconfig ubuntu
#lgp
#gimp
ubuntu libfdftk
s3 savage debian etch problem



Home  |  disclaimer  |  contact  |  submit quotes