| |
| |
| |
|
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> grep ^[^#] file <1> for some reason when i set the variable with $header = eval ('?>' . file_get_contents('./include/templates/common_header.php'));, i get no PHP global variable from my template engine <1> if i set it with a literal string, it works <0> flaccid: scoping? <1> i don't see how <0> flaccid: why do you wish to use eval anywho? <0> tis aweful <1> if i set the variable with a literal string next line, it works <0> if this is a page header, use include_once() <1> because i'm using a templating engine and want common headers and footers <2> Any idea why this problem is occurring: http://dhruba.net/314/ <1> NoBeard: the template engine won't parse php with the html templates, so i'm trying to work out how to make common header <1> so make a variable called header in the html template <1> ***ign the variable to a common header file prior to parsing through the engine <0> flaccid: sounds like you are using the wrong tool for the job <1> maybe, i dont know what i should use
<0> flaccid: I think something simple is in order <3> what is memory_limit <0> flaccid: query string is easy -> http://www.phpro.org/tutorials/Introduction-to-PHP-Templating.html <4> memory_limit is used to caculate the chance of you finding a $100 bill over the next 10 years, per month <0> choongii: happened to me only once in my lifetime <0> although, my lifetime is not over <4> heheh <0> *checks pulse <1> timeout on that url NoBeard <0> oh, works here <5> hi <5> i have a script that writes a log file to filesystem <5> but if i want to add something in the file after <5> i have incorrect permission <5> can anyone tell me how i make sure the file written by php has the correct permission to add stuff after ? <5> i am not heavily into unix <0> snk00sj: is_writable() <3> do i set memory_limit to like 250mb? <0> snk00sj: oh, you mean in linux <5> noaXess i know howto check it <0> snk00sj: ls -alh filename <5> but i want to make sure it doesn't happen <5> yes i know <5> i can manually chmod 775 <5> and then it works <6> snk00sj: what? <5> but i want them to have the correct permissions in the beginning <5> without i have to login everytim <6> thnk you mean NoBeard :) <0> noaXess: mean? <0> I am NoBeard, the fastidiously clean shaven pirate <6> NoBeard: snk00sj has written to me insted to you :) <6> see lines above <5> ohw ok sorry <6> nop <7> mIRC likes to auto-complete noaXess when you type "no" <8> \x90 :) <4> dranger, you're running a script I suppose? my mirc has never done that <7> nope raw mirc <4> oh, its a nickname <6> Dragnslcr: yea... in xchat i can press a second one tab and then next user with no?? will shown.. <4> sorry. I was like, wtf.. <6> no.. ****.. sorry Dragnslcr its to dranger .. dam <4> rofl <9> can someone try sending an emial to steven@emotionmultimedia.com for me? ? <10> sure, registering that email to spammer database <0> echo 'wwwwweeeeeeeeeeeeeeeeeeeee' | mail steven@emotionmultimedia.com -s "howdy" <9> I just wanted one email :( <9> not a million :( <9> sorry - stephen@emotionmultimedia.com <3> i set the upload_max_filesize to 250m in httacess but when i go to php info it shows 80mb <3> im on a shared server <11> hi guys, i need a function in php that deletes an element in an array and makes sure there are no gaps in it <0> Aap: unset($array[4], and then array_values() <12> Ca anyone help ? I have set the error_log variable to /var/log/php.log and touched the log file with apache rights but it keeps logging it's errors into the apache error_log <12> php_info() shows the correct error_log <13> I actually have the same problem, but haven't been bothering to fix it <13> and the weird part is that it used to work with the same configs <13> as in I upgraded my server and copied the same configs that I had backed up just before the upgrade <12> anyone else with this prob ? <12> seems too big to be a bug
<13> um <5> so i am trying the following <10> ok stephen@emotionmultimedia.com registerd on the main spammer websites <0> mornin aidan <13> actually, I just fixed it with "touch /var/log/httpd/php_errors; chown -R httpd:httpd /var/log/httpd; apachectl graceful <13> " <5> mkdir($dir, 0777); <5> chown($dir,"userx"); <5> chgrp($dir,"userx"); <5> but the dir generated stays owned by apache/apache <13> snk00sj: in the unix world, if you aren't root, you cannot change the user that owns a file, atleast I never could <12> DOH... aarch.. i'm coming from a gentoo system where the user was apache/apache.. now it's httpd indeed <13> and you need to be in the group you change it to <13> T-Start ;) <5> so how i solve it ? <5> it should be 777 chmodded to start with <5> because i do mkdir( , 0777) right ? <13> snk00sj: yeh <13> so says the mkdir() manual <5> drwxr-xr-x 2 apache apache 4096 2006-04-11 10:49 testing <13> try chmod($dir, 0777) <14> does $_REQUEST cover both GET and POST methods? Is there anything against its usage? <12> lietu, hm.. user httpd doesn't exist on this machine.. apache:apache does. But even then.. the log currently happens to httpd/errorlog wich is root:root <12> with read-write for root only <15> hi can someone help me out with installing php. i keep getting an error that says "Cannot load /usr/local/apache2/modules/lihphp4.so into server: cannot restore segment proc after reloc: Permission denied <5> nope <16> electrofreak: GET, POST, COOKIES, SERVER or even SESSION :s not very sure <16> electrofreak: there's nothing against it's usage but it's better to use GET/POST etc. so you wouldn't have mixed up vars. <13> T-Start: yeh well, I dunno, I did chown -R httpd:httpd /var/log/httpd, you might try apache:apache <14> Drakas, I see. that's what I was afraid of <16> alright :] i never use _REQUEST <12> lietu, which distri ? <13> "an ***ociative array consisting of the contents of $_GET, $_POST, and $_COOKIE" <13> T-Start: trustix secure linux <12> lietu, ah, that's prob why users are different. I'm on fedora :-/ <13> electrofreak: that's what http://www.php.net/manual/en/reserved.variables.php says <13> T-Start: well it doesn't really affect the matter at hand <15> can anyone help me with my php installation pls? i keep getting an error when i try to start apache <13> what is the error? <15> it says "Cannot load /usr/local/apache2/modules/lihphp4.so into server: cannot restore segment proc after reloc: Permission denied <15> what does that mean? <13> um <13> insane: only thing I found with google: try installing libjpeg-devel <13> yet atleast <13> wait <15> i get the same error when i tried it with php5 <15> my linux distro is fedore core 4 . see any problems with that? <17> insane, install it as root or sudo <15> root <13> um <13> insane: I just found some hint that it might also have something to do with SELinux implementation in FC <15> ooh <15> the strange thing is i managed to get it working once before but now i'm having a hard time getting it up :P <0> insane the strange thing is i managed to get it working once before but now i'm having a hard time getting it up <15> nice copy script :) <15> or did u type that out yourself :P <0> if you were on efnet I would put it on a quotes page <13> ;) <15> thats not helping me in anyway with my problem dude <17> insane, do su - to login as root and install <15> hmm <17> it should read @root# <17> or rather root@user# <15> right now its root@localhost <17> ok <17> try installing now <17> and "exit" when you're finished <15> definitely u got to be root to install <15> isnt it <15> i tried many times but i still get that error <17> If it has to write to /usr then yes <15> Cannot load /usr/local/apache2/modules/lihphp4.so into server: cannot restore segment proc after reloc: Permission denied <13> um <13> insane:
Return to
#php or Go to some related
logs:
#gentoo Twiki CGI/Session.pm apt-get wah!cade xhr trace firebug
usplash bootscreen #sql #perl ubuntu ld_assume_kernel error while loading shared libraries #math openvpn Cannot load private key file 0906D06C
|
|