| |
| |
| |
|
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
Comments:
<0> lol that means that you are not clever enough to use php maybe? <1> maybe <1> first, they are not amazing because they do not provide enough debug information <1> second, they do not work in a right way <0> :)) <2> Whats the function to put a .gif image on a GD created image? <1> see, if some software only shows it works in a right way <1> and abandon that they are even wrong <1> are they amazing? <0> giggsey: http://php.net/imagecopy would be helpful. you'd need two image resources. for the gif image -> imagecreatefromgif <1> maybe <0> wisitvenita: php manual never failed me <0> wisitvenita: except where there are no examples =( <1> i cant agree with u <1> in my opinion, manual is best, but can be better <3> wisitvenita, chmod() is a UNIX function.
<1> yes <1> i know that <1> and there is some patch on windows version <3> lack of knowledge of your operating system <4> How to enable gettext on a GNU/Linux host?. My /etc/php5/apache2/php.ini file has the the below line commented: <4> ;extension=php_gettext.dll <3> is not php's fault <0> :))) <0> davi: extension=php_gettext.so would be correct <4> thanks Drakas <0> davi: at runtime, you can use function "dl" to load it up <1> but php code should be worked on both environment without modification <3> wisitvenita: sorry dear, but thats not how code works. <0> lol wisitvenita <3> each operating system is VERY VERY differnt <4> Drakas, I will keep it loaded all the time. <3> some os's support some functions, others do not. <0> wisitvenita: if your code is not clever enough to find out what OS it's on and how to get around things - it's s*** :] <1> php code should not be... <3> wisitvenita: fact => its code. <3> call microsoft and bitch <3> tell them they dont support chmod! <1> php's fault <0> :DD <0> davi: does it work? restarted your apache? <5> Hi all does anyeone know a method for detecting newlines inside a varible and converting them to <br> <3> wisitvenita: because php supports a feature of a particular os? <0> wisitvenita: if you are stupid, maybe you should google it: chattr or soemthing :)) <4> Drakas, I am working yet ... <5> is there a str_replace way to detect and replace a new line perhaps? <0> [sellout]: $str=str_replace("\n","",$str); <1> yes <0> wisitvenita: why are you blaming PHP? <5> Drakas, check out my script since yesterday...stilla couple small bugs... but almost there! http://lanceslife.com/content/graffiti/engine.php <0> wisitvenita: then don't even touch it. Go back to your .NET =P and then code multi-platform, eh? <1> compatible <1> is why i choose php <1> not asp <3> Drakas, because msft implemented a broken *** chmod() :) <0> :] <3> wisitvenita: it is compatible, it returns false; <5> would $str=str_replace("\n","<br>",$str); work? <4> Drakas, php_gettext.so is missing in my system: Debian Sarge with php5.0.x backport. <3> saying the mode did not complete! <1> this is not compatible <3> it could just crash <3> and say <5> to replace new lines with <br> tags? <3> "screw you!" <0> [sellout]: i can see errors ... can you remove the changing title javascript? it's irritating o^o <3> heh <5> errors? <3> wisitvenita: MSFT provides no equivlent function (afaik). <3> therefor the fault is in msft's hands, not php <3> go complain at microsoft. <3> not here. <1> no <0> davi: http://pecl.php.net/ <4> let me go ... <0> davi: for debian, search with apt-get for "gettext" <1> apache has its title to creat files
<4> ack <1> even not chmod <0> wisitvenita: now you are blaming apache? <0> i'll just save this log :)) <1> faint <1> i mean <3> wisitvenita: why not just use an os that actully implements standards? <0> =) <3> such as a flavor of unix? :) w/ which confirms to POSIX standards? <1> either php or apache has ability to enforce his access to file system <3> wisitvenita: chmod = change modes <0> i prefer windows server 2k3 over *NIX :] if i could afford... and if it would have ssh... <3> its not enforcing anything. <0> win2k3 is a solid os :) <3> its updating filesystem permissions. <0> wisitvenita: lookup chattr in google <6> Hey all, looking for an easier way to check values against an array.. current code @ http://pastebin.com/635590 <0> wisitvenita: something like exec("chattr whaterver"); would do the chmod job <6> The if/elseif is what I'd like to slim down <0> wisitvenita: but you are a noob =P <3> try: system("c:\\windows\\chattr.exe $file"); <1> i know <0> <1> php.net's scripts are not working <1> faint <0> wisitvenita: so dont complain here <1> i need compatible <1> but what you give me <0> wisitvenita: you need compatible. Do IT YOURSELF <7> Hey, what is the fuss? <3> wisitvenita: not ALL functions/code run on all operating systems <0> wisitvenita: php is not about windows. it's about powerful scripting <3> being portable, means WORKING around compatability issues <3> to be portable means such like <0> Jameno123: afaik, there are no functions in php that wouldn't work in POSIX :) <3> if ($os == 'windows') { exec("chatrr ... "); } <3> else { chmod(); } <3> Drakas: print <1> POSIX is a standard <0> print, really? <3> heh <1> not means every system should follow him <3> i mean printing* <7> I never check in my PHP code wether its running on windows :) Since no idiot runs it on windows <0> oh printing .. :) <0> Ciantic: same here ;)) <1> maybe you are right <3> wisitvenita: then **** up and work around the stupid problems that come with operating systems not following standards. <1> i like unix <3> no standards, means, no compatability. <0> wisitvenita: it's no php's fault that they try to meet PROPER standards <3> argh, next subject. <0> PHP is like Opera <0> Websites don't work on IE properly but they do on Opera <0> IE is microsoft's <<< get that? <1> yes <1> opera... <1> silly maybe <0> >> Microsoft's << <1> no <0> ^^^^^^^^^ NOT MEETING ANY STANDARDS <1> most beginners told me that <1> many web work well on IE <1> not opera <0> IE doesn't even meet XHTML, or CSS. they are dated from 1999. so it's like 7 years now ;) <1> although i like to use opera <0> wisitvenita: because NOOBS make the websites work ONLY on IE <1> and i tried to make pages compatible both on ie and opera <0> wisitvenita: IE actually transforms bas HTML code into good better code. <1> fine <7> Although I design my pages UNIX in mind, they seem to work well in windows too... Maybe not on win2k3 (if there are file perms) but in win xp they seem to work fine. I happen to have test server on laptop which I develope. I could say that only thing that causes problem between OS's are strftime and similiar functions (strftime works mostly same) <1> if noobs are most of people <0> wisitvenita: if you are having problems with Opera rendering your pages, check your HTML =))
Return to
#php or Go to some related
logs:
mixer_applet2 gentoo drivers vgns58gp ubuntu dell 2007fp problem gaim amarok #python xmms.rpm suse web-cp .deb rug upgrade kernel #css #oe
|
|