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



Comments:

<0> Hotwir3d: RTFM. seriously. RTFM.
<1> !isset
<2> anybody using a2billing for asterisk
<2> ?
<3> Hmm
<3> If I have a cl*** full of var
<3> *vars
<3> How can I create an instance of the cl*** and set the vars?
<4> using a constructor?
<3> :/
<5> use the manual
<3> I'm on the cl***es page
<3> But I'm limping along as it is
<3> I don't see how they work entirely
<3> Do you need functions inside cl***es?
<5> well of course you only can set the vars when the cl*** alows you that



<4> you don't need them
<4> but you can have them
<3> I'm just trying to use a cl*** to create a player cl***. Then an instance of it and preinitalize the variables
<3> So that I can get and set their values
<4> http://uk.php.net/manual/en/language.oop5.decon.php
<3> Im on PHP 4
<3> 4.4.1
<4> then click on the "Cl***es and Objects (PHP 4)" link
<3> I was on that. And as I said I didn't understand it
<6> basically, you need some basic oop tutorials
<3> Yeah
<7> and you need to get rid of php4
<3> It's with Zend Studio 4. I hafta use the program for local dev.
<7> (or upgrade to 5) ;)
<6> long live php 4!
<3> It's a pain. There's version 5.0.4 on my Webserver, and 4 on my testing machine.
<3> Stupid Zend
<8> how do I make a php mysql app faster?
<9> Hotwir3d: you dont need Zend Studio to develop PHP period..
<9> shemale_magic: better SQL?
<3> I have to use it because of the project file I have been given :S
<3> Contains loads of resources
<3> And I can't extract them
<6> upgrade the php your ide uses
<10> anyone know of a simple php program that allows me to type in console commands and see the output via a browser?
<6> echo `{$_GET['command']`; :)
<3> I can't, it's hardcoded into Zend
<3> Besides, don't Zend power PHP?
<6> zend is a company
<3> Yeah
<3> Their technology though
<6> it's complicated, but i will say no
<8> is php not free software then?
<3> Their main program, what I use, is Zend Studio
<8> is zend the microsoft of php
<8> ?
<6> no
<3> Zend is a scriping engine.
<3> PHP runs on top of it.
<6> zend is a company
<3> You could program a toaster using the Zend Engine. Not that you'd want to.
<3> PHP uses the Zend Scripting Engine.
<11> zomg, toasters!
<6> hmm, zend toaster, not a bad idea :)
<3> Anyway, in PHP 4. How can I use the cl***es to set and get data from/
<3> A cl***.
<3> How to create an instance and such/
<6> Hotwir3d: go find tutorials and read, this is not interactive #phpcl***es channel
<6> you clearly need some basic oop tutorials
<6> reading some would benefit you more than asking questions in here
<6> beu: you're strange :)
<11> philip: i know, it's great - isn't it?! ;)
<6> heh
<3> Hmm
<9> gah wtf all of a sudden everything got *tiny*
<9> unreadably tiny
<3> I looked at a tutorial
<3> The code doesn't work :(
<3> Prints nothing



<6> find another
<3> phpfreaks?
<6> try http://www.faqts.com/knowledge_base/view.phtml/aid/7569
<3> Thanks
<6> i wrote that faqt long long ago, maybe those sites still exist :)
<6> oh Aug 11th, 2004 10:18 isn't bad
<3> I think I get this
<3> So:
<3> I have:
<6> spend more time reading
<3> cl*** player {
<3> var $name;
<3> var $exp;
<3> var $hp;
<3> var $mp;
<3>
<3> }
<3> $player = &New player;
<6> you will be banned
<3> :o
<3> Why?
<12> what is the "output buffer"
<6> php.net/ob-start
<13> can someone recommend a good book on enterprise web services. i am building an application that needs to be triggered via the web. once triggered it will take some time (ie. 5minutes) to compute the solution then return the result, in that time the browser will need to display progress. the server should be able to handle errors like if the browser closes or a cancel request is made etc.
<12> philip I don't undersetand what a "buffer" is
<14> hello, how can i get the complete url of the php page which has been loaded? because $_SERVER[REQUEST_URI] gives me /file.php instead of http://address/file.php ...
<6> phpinfo() gives you vars, use them, construct the url
<12> kournikova, you need to concacate two aprts to get the whole thing
<6> depends on server :)
<15> elux, there's different ways to handle this.. I spawn a background script (which respawns itself) to handle a job.. this script updates a flatfile or database .. so that the status page can read / print the progress
<6> buffer is, like a stream, the "stuff" i can't explain in technical terms :) but basically you output it to the browser for example
<6> or keep it, continue processing, then output it
<16> Driving behind someone on the freeway. The distance between you and the the car ahead of your is a "buffer".
<15> elux, the status page refreshes itself w/ javascript every 10 seconds.. and I use an output buffer w/ a flushing loop to poll the status file / keep the browser "working"
<14> pl
<13> now what if someone just closes the browser
<15> elux, the background script would be unaffected...
<13> true
<13> and then just include a cancel button
<15> elux, & when the background script reaches a set point (time) .. it respawns itself
<13> would you suggest using xmlrpc?
<13> because what if the application that is computing the result is on another server?
<15> elux, you could use that as a control
<13> right.
<13> im trying to figure out what the best technique would be to handle (control) such an application
<15> elux, xmlrpc could be a control.. or you could employ your own method.. like updating a database (which status script + processing script have access to) with a command "stop/restart/etc" .. and then poll this every once in awhile..
<13> because it would be a remote service computing the work (seperate from the webserver) .. then it would go to another database server .. where the web server would interact with
<16> elux: What are you doing that it takes 5 minutes to process?
<13> it will be more like 1 minute
<16> whatever
<13> but im using 5 minutes just as an example
<13> whatever is right
<17> hi.. need one scrip php for check email please..
<16> elux: Again, what are you doing that it takes so long?
<13> i cant see how thats relevant
<15> right.. for instance.. I have a mailing list sender that could take hours to complete.. or days even ;) -- depending on list size & throttle settings
<13> it has some input, and some output
<13> not trying to be a ****, but theres no point of getting into specifics
<6> UserReg_CL: please stop coming in here and asking for specific scripts, this is the third time! thanks :)
<13> at least on that part
<16> elux If you want help, being evasive isn't going to get you anywhere.
<17> sorry philip
<13> im not trying to be evasive, im just trying to be concise
<16> elux: just answer the question already.
<13> processing large text files with statistical data
<15> elux, xmlrpc is an OK bet.. also a custom polling function in the background script does the job
<13> numerical analysis .. etc.
<13> doing interpolation that produces a polynomial
<13> does that help?.. dont think so
<16> elux: And why can't they just be given a "progress/download" link?
<16> elux: Coming in here requesting ***istance and being belligerent is NOT the smartest move.
<15> he's not being beligerent?
<16> bricecube: Yes, he is ---> [11:51:48] <13> does that help?.. dont think so
<15> lol..


Name:

Comments:

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






Return to #php
or
Go to some related logs:

change hostname windows xp home
postmap: fatal: unsupported dictionary type: cdb
inittab shoutcast server
suse dvb-utils repository
#css
#awk
#css
kaffeine clear recent
#qemu
#linux



Home  |  disclaimer  |  contact  |  submit quotes