| |
| |
| |
|
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> it implicitly unsets the entire reference chain <0> PUTA <0> er <0> PITA <1> is there a php function to check whether a file exist? <1> an image <2> file_exist <2> http://se.php.net/manual/en/function.file-exists.php <3> or is_file <0> or file() <0> or is it get() <0> i ferget <2> :> <4> winmutt: You should never name anything using __ <4> winmutt: __ is reserved for PHP. <4> Rather, a leading __ is reserved.
<4> "PHP reserves all function names starting with __ as magical. It is recommended that you do not use function names with __ in PHP unless you want some documented magic functionality." <4> (php.net/oop) <0> unless you want some documented magic functionality. <4> Yes, and there's no documented magic functionality for __destroy <0> ah well if and when they implement it then i shall be ahead of the curve <4> Unless of course they implement it to do something other than what you're ***uming, and then you're just bitten in the *** by your own stupidity. To each his own, I suppose. <5> Be great if they implemented it for non-PHP defined functions to erase your file allocation table. <5> Wouldn't *THAT* encourage good coding practice? *g* <6> function __destroy() { unlink(__FILE__); die; } <5> CryWolf: "If you say 'destroy' I delete myself" ? <6> Ahroun: seems appropriate. <5> *hrms* I like. :) <5> CryWolf: One shot scripts. Awesome. :) <4> I was thinking more like "Creates a giant hunter/killer robot that begins to wipeout the human race." <6> function __destroy() { unlink(__FILE__); system("play thank_you_for_pressing_the_self_destruct_button.wav"); die; } <4> all the while chanting "Destroy! Destroy! Destroy!" <5> TML: Good point. They are 'magic functionalities'. <6> TML: I think you're thinking of __exterminate() <5> TML: Or mondaytuesdaywednesdaythursdayfridaysaturdaysundaymondaytue--- ... (okay, I watched ATHF last night, sorry. :P) <4> CryWolf: I thought that was the one that killed all the smart people and let the rest fend for themselves. <4> Ahroun: "ATHF"? <5> I thought that summoned a fleet of daleks! <5> TML: Aqua Teen Hunger Force. If you've never heard of it, be very glad. <7> hi <4> Oh <4> Just never seen it abbreviated that way <6> Ahroun: you got it. <5> __exterminate() should summon enough daleks to drive you utterly nuts from the fact they only seem to know one word. <6> Ahroun: seen the new series? <5> CryWolf: Naw, I don't watch it all that often. <4> I'll have to bow to your superior geek-dom on that, as I have NFC what a dalek is <8> if i'm stuck with php4, what are my options for SOAP libraries? <6> Ahroun: it rocks. <5> CryWolf: Oh, you mean a new series of daleks? Didn't know about that one. <6> TML: most popular enemy in Doctor Who <9> I am trying to upgrade version of php......To make things simple and easy to fall back, I have done the following: setup the new version in a different directory, c:\php-new.... all dlls needed are in that directory, as is the php.ini file. I changed the apache config to point to that directory for the php4apache2.dll module, as well as the php.ini file. When I restart apache, it fails....what am <9> I forgetting to do? <6> Ahroun: the new Doctor Who series. <9> I also added c:\php-new\ to the begining of my path <7> i want to search an xml file for specific tag/attribute pairs, can someone tell me the best way to go about this <5> TML: Well known for running around screaming, "EXTERMINATE!" <10> chasep_work: You're forgetting to tell us what error message you're getting. <9> none, it just says the requested operation can not be compelted and the server doesnt start <6> gotta love Windows error messages. <6> Ahroun: google for "The Dalek Song" although it does have spoilers from the new series. <5> CryWolf: Here's a dalek there's a dalek and a bloody lot of daleks. :P <4> chasep_work: You checked apache's error log? <5> CryWolf: Spoof of "The Llama Song", which I understand is itself a spoof of something else. :) <6> Ahroun: I think the llama song might be the original. <9> yep, nothing....I see where the restart was initiated, I get the following, but its a warning, not an error: 11:15:10 2006] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed. <9> I can't tell if thats before or after it fails to start though <5> Crywolf: *nods* Here's just hoping we have a yellow truck if the aliens ever do invade. Ah well, enough geek dom today. Must write more cryptography programs. <8> i just did a "pear upgrade PEAR" and now i get "pear: command not found" whenever i try to use pear. is this normal <6> Ahroun: re-read the last two sentences there, and spot the irony. <9> mmmm pears <5> CryWolf: I'm implementing a well known algorithm. THat's not geeky. :P <6> interferon: what OS are you on? <9> and php runs fine from the command line, so the ini file doesnt seem to be the issue. <8> CryWolf, redhat <6> interferon: is it bash complaining that pear is not found?
<8> i can actually get into it with "pear pearcmd.php" <8> CryWolf, zsh actually <8> but it's right, the file's gone <11> hi <12> Pollita, how're your slides coming along? I've about half way through talk one <12> at least, I hope so, I haven't timed it yet. <0> i wonder then __toString will work with (string) as well as echo <9> the current version has php4ts.dll in the system32 directory. As long as I put c:\php-new\ at the begining of my PATH, it should look there first for the php4ts.dll right? <13> do you know a good tutorial to use gzcompress to compress php output for browser ... <14> Sp4rKy: that's the web server's job, not php's <13> Ecthel, php doesn't do it ? <8> eh, i give up <8> pear's broken <14> Sp4rKy: php can output compressed data to the browser. What I mean is that what you really want ought to be done by the webserver, not by php <13> ok <13> Ecthel, but my website is over a share server :/ so i can't do that <15> anyone know a quick way to sort an array alphabetically if you dont care about the indexing? <15> the values i mean? <16> is there a pdf function to make x,y coordinates start at the top left of a page instead of the bototm left? i looked at the documentation, but couldn't find the answer <14> Sp4rKy: too bad... <14> Sp4rKy: you may try to use .htaccess directives, if your webhost uses apache <8> sleek, what pdf library? <14> Sp4rKy: though I'm not sure if the necessary directives would work inside a .htaccess file <13> Ecthel, ok , thx <17> is their a way to delete files with out using a system() function? <14> zezom: unlink() <17> Ecthel, thanks I'll look it up <15> er.. say you have \" and you actually need \" to be p***ed to something, how can you do that in php? <15> specifically, awk <15> grep zone file | awk -F \" '{print $2}' | sort -u <-- i need to execute that exact command <18> I need help converting fileExt application/mime type to a compound variable <15> with the \" <15> lol <15> is there any way to escape that? <19> Anybody tried to connect to a serial port using PHP? I can't seem to find much on the subject. <20> a colleague of mine did once <20> iirc just fopen your serial port device <21> hi <20> lo <22> hello, what do i need to build php with or sett in the settings to get utf8_decode() to work? im messing with moddle but its giving me undefined function but i know its a core php function <22> using 5.1.1 <22> my os is gentoo <19> choongii: That's what I thought, just wanted to be sure. Thanks. :) <20> np, but it was like last year or so, so I might be off.. :p <20> but at least theres no protocol or something you have to take into account like with usb, so it should be fine <19> Hey, if I break something, it is only the boundary Cisco router serving a DS3 connection for the entire college ... :P <23> I want to use php to generate encrypted emails <23> but I don't know where to start ... <23> what encryption mechanisms does php support for emails? <5> wilsby: Seems you have two logical places to start -- write a program that encrypts data, or write a program that sends email. Then fold the other functionality into the one you write. <23> Ahroun, I have the later already <23> I have a feedback form <22> anyone know how to get utf8_decode() working in gentoo with php 5.1.1? <23> and I have configured ssl with a signed cert <5> wilsby: Ah, well, then you should be pretty well set. <23> Ahroun, does php have any built in functions for email encryption <24> hello, anybody know an IDE for PHP developpement for linux <25> I installed oracle-xe through apt-get (debian sarge) and I'm about to recompile PHP -- but I know you need the path to oracle, and oracle is installed in /usr/lib/oracle, but theres also a /usr/lib/oracle/xe/app/oracle folder and a bunch of branched off folders, so I don't know which path to put in th ecompile :S <26> hi all <23> Ahroun, I have never done email encryption and don't even know what the encryption mechanisms are <22> wilsby no, you can write a encryption function and then use the built in email functions though <5> wilsby: not that I know of. It has some built in crypt functions though. <23> is_null,, I used to use Zend... but the only advantage is has is a decent profiler (you may not need one anyway) <26> something in this commented out code snippet <http://pastebin.com/653707> is interpreted weird. can anyone provide enlightenment? <23> is_null, otherwise use quanta or gedit or something <27> hey all - does anyone have any experiences with running PHP with threaded apache2 under linux? <23> is_null, and turn ON all the error messages in your php config <28> can someone explain to me the difference between session_unset and session_destroy? <5> wilsby: The email standard doesn't really support 'encrypted email'. It supports email. However, you can send anything you like as the data in an email. So don't look at it as an 'encrypted email' problem. Look at it as a 'data encryption then emailing' problem. <23> Ahroun, I see. <28> because they both appear to be doing the same thing... i would have though session_unset unsets all session vars, but its not doing that for me <29> amee2k: errors?
Return to
#php or Go to some related
logs:
integrate 1/dt
#javascript undefined function addLogEntry() #linux tenoften phpmyadmin import max_upload_size Shizboom Firefox innerHTML rerender osdev sources.list creator
|
|