| |
| |
| |
|
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
Comments:
<0> punk: Define "more dynamic" for us... More "whiz-bang glitz" or more "database-driven m***ive content" <1> punk: that is entirely way too vague <2> lol <3> xshad: http://storm.homeunix.org/misc/bts/test3.jpg <4> heh. http://pastebin.com/709600 - this mean the box has zend already installed, right? Which means that it's optimized, I think. hm <0> whiz-bang glitz would be javascript for Flash. database-driven m***ive content would be PHP <5> richardlynch > currently it's a part of an array called $search in combo with another array called $replace in a preg_replace($search, $replace, $texttolookin); <5> so it has to be a regex I think <2> Wolfpaws much better now :) <3> xshad: There are still few proportions off, tho <6> http://www.tuxmafia.com/dev/TuxSTAT/ I can't get it to store the $_SESSION (object) info... and carry the session information from page to page.... anyone know what I'm doing wrong? the cl*** .phps files can be found in this directory: http://tuxmafia.com/dev/TuxSTAT/include and also the index.php -> index.phps and same for process.php <0> foo: No. The Zend Engine that refers to is just the "guts" of normal PHP. ZendCache would add more stuff in that box. <0> ryushe: So add '\\*' and '<br />' to the arrays, I guess.
<4> richardlynch: Ok, so I want zendcache. Hmm, thanks <2> where is it wolfie? <5> ah, the \\* might do it, I tried only with \* and that didn't work, thanks ;) <0> ryushe: '/\\*/' maybe, actually... <4> richardlynch: Is ZendCache something I need to install, or enabled? <0> foo: Download, install, and enable. Plus, after 30 days, it's big money. http://zend.com/ <7> I guess lamp is for me <7> not ajax <4> richardlynch: Hmm, so just because the php -v says Zend Engine .. .that doesn't mean I have a license? Or does it? This is a friends box, hmm <8> ok, i figured out the issue. I didn't open a hole in the firewall to that system for mysql <0> foo: Again, Zend Engine is the "guts" of PHP. It is not ZendCache. I guarantee it. <4> richardlynch: right, right... ohh.. I see what you're saying. <9> foo, you have a license for the Zend Engine in PHP, but not for all the toys at Zend.COM <4> ahhhhh <4> I see. <0> ManiacMac: Oooh, all kinds of IPs and ports and stuff! <4> Nuxi / richardlynch: Ahh. thanks. I guess I'll look into APC, since ZendCache isn't free. <9> ZendCache is free for 30 days and then you can get another 30 days and then ... you will just buy it because it's less work. lol <0> foo: There are other free (as in beer) competitors, I think... I've lost track of them all. None of my sites need them, as 500,000 hits a month just isn't that much. <4> ah <8> yeah <9> foo, check your distro to see what cache they provide. often they have one. <8> lol richardlynch, well all of our systems are public facing, so i deny everything explicitly then whitelist <4> Nuxi: for php? <8> i forgot to add that specific system <8> lol <9> For exmple, yum search php if you have a yum friendly distro. <0> ManiacMac: No, I meant that your script was working now. <4> Nuxi: hm, RHEL3. I'll look around <8> ;) <8> yeah, the code is fine, albit prolly pretty messy, it was just the firewall all along <8> hehe <9> FC5/extras has php-eaccelerator, for example. <3> xshad: Wait for it... 2 weeks from now it will be published :3 <2> ok :) <3> xshad: You probably learnd the patience by know :) <3> er... *now <10> is it possible to have php running as a cgi and not require the use of #!/usr/local/bin/php at the top of each file? <2> Wolfpaws I did it already :) <0> kib: If you really mean CGI in a web environment, #! is not needed... <3> xshad: lol <10> I see alot of web sites telling that if the cgi binary is outside the web root tree that one would need to add that line to the top of the file <10> http://us2.php.net/manual/en/security.cgi-bin.shell.php <--- thats what I want to avoid <10> it probably would break alot of existing php5 scripts <11> Hi everyone, Does anyone know of a good calendar cl***, that will let me make links out of the day names and display a event over the entire week? <0> kib: I dunno what you are reading, but my PHP cgi binary was NEVER in the web tree, and I NEVER used #! in my CGI scripts... <11> I don't need any type of backend on it, I will add that <0> mtgh: http://phpcl***es.org <2> mtgh pear.php.net/calendar <10> richardlynch: well I gave the url to what I was reading <10> I guess the info at php.net is wrong? <0> kib: No, I mean the bit about sites claiming that php binary oustide web tree needs #! <10> more then one site was agreeing with the php.net info <9> richardlynch http://us2.php.net/manual/en/security.cgi-bin.shell.php <10> richardlynch: well the php.net site claimed it <10> as well as some others <10> I was getting conflicting reports overall though <0> kib: You're right, I'm wrong... Except that I never experienced it that way... <10> it was the one on hp.net that worried me the most since I figured whoever wrote docs for php.net would probably know the truth
<0> I always used Case 1. <9> kib, you might check with the people in #apache too, they might know more. <10> I am chatting with them as well right now <10> richardlynch: off htose cases are speerate from one another? I thought they examples of the one method of using cgi <0> kib: I could be wrong, but I think they are all separate, and you are worrying about things that simply do not apply to the most common situation, case 1. <12> hello :D <13> ok, i'm having a helluva time getting file uploads to work right in windows under Apache with PHP5 <14> file_uploads is On? <12> note.. php have any function to unrar, or unzip, or tar... anything like that ? <13> $image["error"] is 0 so it thinks it's successful, only problem is that C:\tmp\php27.tmp doesn't actually exist <13> even though the C:\tmp directory has FULL permissions for ALL users <13> anyone have any ideas on this? <0> Case 1: would NOT be suitable if you expect to send senstive data (HTTP Auth) from Apache to PHP CGI, as I understand it from my current reading... <0> MalMen: http://php.net/gzip <15> Are you sure it doesn't exist? PHP automatically deletes uploaded files when the script ends, unless they've been moved with move_uploaded_file <15> Therefore they only exist briefly; explorer may not show this <13> oh, ok <13> well i'm not sure no <15> I am ***uming you have error logging on, error_reporting(E_ALL) and saw no errors on the log? <16> guys, when I have my apf firewall on, fsockopen is really slow while connecting on ports. <0> MatBoy: Try using telnet from a command line and see if it's even PHP-related... <12> richardlynch not understud... how to extrat anything ? :x <10> richardlynch: in case there is nothing there to indicate how apache is to find the right binary to execute for certain file extensions <0> MalMen: For a gz file, you can just read it like a normal file. http://www.php.net/manual/en/function.gzread.php <10> case 2 seems to indicate that it is found in a web accessible location called cgi-bin/php <0> MalMen: Similarly, http://php.net/zip handles WinZip files. <10> right now I dont have any working php in my test environment but looking at the configs and after reading case 1 I see no reason why apache should know how to handle a file ending in .php no where can I see where apache would know what to do <0> MalMen: I do not know if 'tar' is in there or not. rtfm. <17> clear <17> ls <17> oops <12> tar its a cool <0> kib: AddHandler Action stuff, I believe. <12> but i not understud how to extrat content of file X to dir Y <12> :X <17> what's the correct way to define your cl*** functions in a seperate file, i have cl*** mgr { mgr(){} include_once("mgr_functions.php"); } and it's choking on that <0> MalMen: gzopen($in); fopen($out); gzread($in); fwrite($out); <16> richardlynch, I can;t connect with telnet of the firewall is on <16> and the ports are open <0> vincent_: I do not think you can do that at all. <17> really? wow <0> MatBoy: PHP doesn't do magic. Either telnet works, or it doesn't. PHP works, or it doesn't, in parallel. <10> richardlynch: according to all the docs I see on addhander and action it appears to only allow web accessible dirs <16> richardlynch, as I tell... both don;t work with the firewall on <10> richardlynch: what if for security my php binary isnt in a web accessible dir? <0> kib: All I know is that the Action I always used was never in a web accessible dir... It was /usr/local/bin/php all the time. This was years ago, mind you... <0> The PHP file itself was in a web-accesible dir... <10> well I only see that doing that is a bad idea <0> So the risk of mis-configuration and PHP source getting exposed still existed, which did not concern me much. <10> because you could use php to read files like /etc/p***wd <0> As all the p***word stuff was in include files, and those were not web accessible. <10> well it wont stop php in being manipulated into reading some arbitrary file that the userid running the cgi has access to <0> kib: No, because the directives for compiling PHP disallowed that, unless you were silly enough to include($foo) where $foo resolved to /etc/p***wd <18> hi folks <10> I need to find someone who is doing this sort of thing right now <18> i have a big problem here <18> i made a php script <10> the last thing I need is to open my system to arbitray reading of sensitive system files <18> that put a dir in a ftp account <0> kib: Why not just try it and see? The time you've spent here, you could have been done. <18> the prolbm is <10> richardlynch: I did try it <0> kib: And? <18> th system do everythin <10> richardlynch: so far it hasnt worked <10> I added the following lines <18> but the files are with 0kb <0> As in PHP did not work at all, or as in you could read /etc/p***wd? <18> in another words <16> richardlynch, I have found it... time out on ports <18> the problem just touch the files <10> Action php-script //usr/local/php5tree/bin/php <10> AddHandler php-script .php <18> can u help me with this?
Return to
#php or Go to some related
logs:
#php revover partition table #math #lisp #python PIL invalid Python installation: unable to open /usr/lib/python2.3/config/Makefi #gentoo #linux #math ubuntu phosphor
|
|