@# 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 24 25 26 27 28 29 30 31 32 33



Comments:

<0> see how it says static $con = array();
<0> does that need to be public?
<0> because parse_cl*** uses that variable as well
<0> and do i need to put
<0> public $con = array(); in the parse_cl***
<1> ngvglion: well, you aren't using as a static var, and are using it as a public var
<0> ok
<0> changed that bit to public..
<0> do i need
<0> public $con = array(); in parse_cl*** as well as connect_cl***
<0> ?
<2> musashi0011 would greatly appreciate it if someone could explain if it is possible to use the --with-apxs option at configure time when apache was installed using an rpm (fedora core 4).
<1> are you using it as public?
<0> well
<1> musashi0011: if you install the apache dev packages too
<0> connect_irc in connect_cl*** sets con['socket']



<0> but
<0> parse_cl***
<0> sets
<0> con['buffer']['all'] con['buffer']['channel'] etc etc
<2> ||cw: is it still possible to use apache w php if --apxs is not included?
<3> Fatal error: Call to undefined function easter_date() in /home/evino.ch/cl***es/evino/date/Vacation.php on line 37
<3> hmmm
<3> ah grml
<3> Calendar support :D
<1> musashi0011: yes, but as cgi
<4> um... "*blink*"
<5> for some reason PHP is giving me an error: Parse error: syntax error, unexpected '{', expecting '(' in /var/www/grogoreo/sp_valid/valid.php on line 65 though in my code, it looks like everything is fine. the else if statement looks fine http://pastebin.com/656229
<0> ||cw fixed the connection
<1> grogoreo: "else if"
<0> but now I get Warning: fputs(): supplied argument is not a valid stream resource in /home/ome/fishbot/new/cmd_cl***.php on line 11
<2> ||cw: my problem is that apache was installed using rpm's, and I am not trying to compile php for use with apache. I hate rpms!
<5> ||cw, I've tried that
<2> ||cw: s/not/now/
<1> musashi0011: so install the apache dev or devel package
<6> Hey, how do I filter a variable to prevent XSS attacks. Just preg_match, or is there already a function?
<7> madsara, is_haxor($var)
<6> Funnny fireflys
<1> madsara: it depends on what you are filtering from, for, and what to use it with. so probably preg
<6> Thanks.
<6> Thought so.
<0> ||cw, I think it has something to do with fsockopen on connect_cl***
<2> ||cw: & once the deps are installed just search for apxs (find / -name apxs) and use that as the option for --with-apxs='directory location'???
<1> musashi0011: if you configure --prefix=/usr it will just find it
<1> and if yuo are trying to make it work with rpm installed stuff, I do recomend doing that
<8> what could be wrong in that cl*** declaration for php 4.3 cl*** search{} ?
<9> xored: pastebin
<2> ||cw: Thx a bunch
<8> winmutt: iam not a rookie, iam just more then suprised. I just tried to run a self written script using a simple cl*** from php5 to php 4.3 and it failed
<8> winmutt: has there changed anything mroe that public / private / __construct and stuff declarations ?
<8> !paste
<1> xored: not really
<1> xored: any pastebin you want
<3> hm why doesn't (int)08 give me 8 ?
<1> Jax: what does it give you?
<3> 0
<3> just need an integer value.. handling dates
<8> winmutt: http://rafb.net/paste/results/esb4WK17.html
<1> i used to know this, can't think of it....
<10> Jax: a leading zero means it's octal, in which an 8 isn't valid
<8> it fails on line 7 :Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/virtual/chilloutpix.com/htdocs/Pixsystem/data/units/search.cl***.inc.php on line 7
<11> can anyone help me
<3> thanks
<8> ||cw: maybe you could have a clue ?
<10> xored: those vars need a visibility modifier like public
<8> no
<8> there doesnt
<8> i deleted them just to test
<8> i have them in before
<8> they are private by deafult
<12> anyone here knows how to set a cronjob in direct admin..
<11> i need help reagrding a PHP orogram
<12> using * on everything.. and path: /home/username/file.php
<10> php -r 'cl*** foo { $bar = "baz"; }'
<10> PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in Command line code on line 1
<12> but it isn't running (file contains a one-liner, which sends an e-mail to me)
<10> whereas public $bar = "baz"; works fine



<8> apad : i had them in before, same error
<8> but i try
<8> one second
<13> sean`: You're setting up a cron job to run once a minute?
<8> arpad-: is private possible in php4 ?=
<10> no
<12> Elazar; yes, as a test
<13> xored: No, access specification was added in PHP 5.
<14> xored: No. But then, it's also not all that important.
<13> sean`: What's direct admin?
<8> Elazar: so what ?
<12> Elazar; A control panel ;)
<15> Notice: Uninitialized string offset: 0 in multisubmit.php on line 36
<15> $row = ''; $sectionhtml = select_list('_section', $row['section'], $sections); echo $sectionhtml;
<13> (2:35:16 PM) xored: arpad-: is private possible in php4 ?= <-- What, you asked.
<13> sean`: You don't have shell access?
<14> sean`: Maybe you should be talking to the people responsible for the control panel, then.
<8> Elazar: ok, no i got it, thank you
<15> How do I fix that?
<10> xored: you can use var $foo = 'bar'; for backwards compatibility
<8> Elazar: but why the hell there is public possible, but not private. ..
<10> that equates to public
<12> mattmcc; Thats a good idea, but their offline, been searching their docs, but no useful stuff..
<8> arpad-: ah!
<12> I'll google some more, thanks though :)
<8> arpad-: no i remeber it, sorry guys
<11> I DOWNLOADED A PHP PROGRAM FROM THIS http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1879&lngWId=8
<8> arpad-: i was just not used to that weired style, my fault
<8> thank you
<11> can anyone check the above program and help me out
<15> I am getting an error, and I don't know what is wrong... Notice: Uninitialized string offset: 0 in multisubmit.php on line 36 :: $row = ''; $sectionhtml = select_list('_section', $row['section'], $sections); echo $sectionhtml;
<11> hello xored: >I DOWNLOADED A PHP PROGRAM FROM THIS http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1879&lngWId=8
<8> vicky3160: this is a common PHP channel, state queations, not links
<11> ok
<11> i downloaded the code-but when i run it-some functions in it were not working as required
<16> vicky: make use of paste bins.
<17> you've still not asked a question, nor said what the problem is
<11> i dont have much knowlegde abt php actually-and cant figure out the error
<17> but we might be able to, you've not said what the error IS
<11> can someone run tht code and help me out to solve the problem
<17> no, because we have no idea what your setup might be
<17> YOU need to tell US what's wrong
<18> is it posible to select a mysql column as an array with php?
<11> i am running it on windows using dreamweaver
<18> I know you can do rows
<13> xored: I'm pretty sure private _is_ possible.
<11> i am a student with not mch knowlegde abt php
<17> flamesrock erm, SELECT colum FROM table;
<16> vicky: You can't run php on dreamweaver. you can put php into a file with dreamweaver, but not run it.
<8> Elazar: is not
<13> xored: http://www.php.net/manual/en/language.oop5.visibility.php
<11> ya ya
<8> believe me
<17> Ahroun actually, it can instance php now or so i hear
<13> xored: "Cl*** members must be defined with public, private, or protected."
<13> xored: I think I prefer to believe the PHP docs. ;)
<8> Elazar: if you do so, maybe private var $myvar = ""
<11> i dont know head of tail of all tht actually
<18> haha thanks cheez
<18> I'm a newbie
<11> i badly need help
<8> maybe that way
<16> Cheez: ? pre/post adobe aquisition
<16> vicky3160: We cannot help you until you tell us what problem you have.
<17> Ahroun no idea, its just something ive heard tell of
<17> im a vim user myself
<19> is there a way for me to get the users screen size?
<17> gpled not in php
<16> gpled: Not with PHP alone.
<11> can anyone check that program atleast
<17> javascript can
<13> xored: Dude, look, it's in the docs. If it doesn't work for you, you probably don't have the right version of PHP. Sorry, but I'm more inclined to believe the developers who wrote the interpreter and posted the docs than I am to believe the person who had to ask the question in the first place.
<16> vicky3160: No, we can't.
<17> vicky3160 without you telling us what you cant get to work with it, there is little to no point in us looking at the program


Name:

Comments:

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






Return to #php
or
Go to some related logs:

tune2fs remove ext_attr
#math
l4m3r1z3r
audio: /dev/dsp: Device or resource busy gentoo alsa
sar2gp gnuplot
webcam+sneex
ubuntu xlib6g
#lisp
#gentoo
1146 mysql temporary table doesn't exist



Home  |  disclaimer  |  contact  |  submit quotes