@# 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 25 26 27 28 29 30 31 32



Comments:

<0> molotov_: What is the problem?
<1> spundun: does the phpinfo get printed out?
<2> lig: but that sendmail doesnt seem to be working properly... thats why I was asking.. is that the path that gets executed when you call mail() function?
<2> lig: yes
<0> SunShineLady: {} helps a lot to avoid concatenation . ' string ';.
<1> spundun: yes - that is the path php uses
<2> lig: so should I try modifying it to be /usr/lib/sendmail ? which seems to be working through commandline?
<3> tws - maybe but I just never use it... for no real reason.
<4> tws: I've tried to create a session/cookie based login system from a tutorial online. When I was testing and browsing around in it, everything was fine. However when a friend of mine also testing for me tried it, he found that when he navigated deeper than the root directory, sessions were 'lost' (i.e. instead of "Welcome Username" he was seeing the login/p*** boxes.)
<1> spundun: I don't know if it will work - but try using ini_set to do the path
<3> tws - maybe you can help me with my session.cookie_path issue?
<0> molotov_: Is it online? Can I test it?
<0> SunShineLady: If I can.
<5> SunShineLady: have you got any idea?
<4> tws: :/ I'd rather not. I've got a pastebin-esque chunk you could look at though.
<3> Whats the right paremeter? session.cookie_path /temp or temp/ or /temp/ or just temp?



<4> tws: http://phpfi.com/103269
<3> and shuold I create the folder myself or its auto?
<2> lig: you mean $_SERVER['sendmail_path']="/usr/lib/sendmail"; wont work? how do I use ini_set?
<3> ktos - can I maybe access it somehow?
<1> spundun: php.net/ini_set
<2> lig: yeah just googled that :) thanks
<0> SunShineLady: http://id.php.net/manual/en/ini.php#ini.list
<5> i can send it you
<2> lig: doesnt work :(
<3> ktos - I dont know if it will help...
<3> but never mind
<0> molotov_: I'm not sure. Probably browser issues.
<3> I have to go in a couple of minutes anyway...
<4> tws: alright, I'm convinced.
<3> I think you should use print_r() and see whats not p***ing the info right
<3> maybe you have spelling mistakes
<1> spundun: Only thing I can think of is to try altering the php.ini or maybe something in the .htaccess... but those are shots in the dark
<2> lig: but I dont know where those files are... :-/
<1> your phpinfo should tell you where the where the pnp.ini is
<1> s/pnp/php
<2> lig: oh yea... thanks
<5> ok, will try. tkank you for you help very very much
<3> tws - getting
<3> Warning: session_start(): open(/moo/sess_5f925ec71cac293ff70c43995439869c, O_RDWR) failed: No such file or directory (2) in
<3> tws - I think this means the folder is not there...
<6> how can i find out which php script is sending mail? its sending from nobody
<3> I have it on share hosting, is there a way to create it myself or should I nudge the admin?
<1> m1chael: maybe look at all the email headers and/or the sendmail log...
<7> heello
<7> all the php 5.1.2 buggy code on date
<8> hafizan: prove it
<9> can someone resolve gcoders.net please ?
<10> * Dns resolved gcoders.net to 66.118.190.2
<9> thanks
<11> is there a faster method for base64_encode ? how could i speed it up?
<7> okay
<7> like this
<7> i got two pc
<7> when i run this code
<7> date("w",20060102);
<7> on php ver 5.0.4 fine
<7> but on version it got problem
<8> !tell hafizan about flood
<7> flood?
<7> on version 5.1.2 weird ouput
<12> no thanks
<8> Yes...5 lines at once is a flood. Unless it's just lag, in which case
<8> !tell hafizan about enter
<9> CryWolf !tell hafizan about enter sounds better :D
<7> since i have create cl***_date my ouput all going weird
<8> hafizan: "weird" is not very precise
<9> Bizzeh which server resolved to that IP ?
<0> CryWolf: I never know that we can do date("w",20060102).
<10> whatever my router is using from BT right now
<9> Bizzeh can you reload it and try again ?
<10> http://www.dnsstuff.com/tools/lookup.ch?name=gcoders.net&type=A
<8> tws: 20060102 is a perfectly valid timestamp. It just has nothing to do with January 2, 2006
<10> best site ever
<9> thanks again :)
<2> lig: yeah.... I am out of ideas on that sendmail_path thing... eventhough I put ini_set('sendmail_path','/usr/lib/sendmail'); ... phpinfo() still showed both mast and local copy of the variable to be /local/etc/sendmail -t -i



<0> CryWolf: Ah, now I see it.
<10> ****
<1> spundun: I say contact the sysamin
<10> 3:30
<10> i should be sleeping
<2> lig: yeah... did that 5 minuts back... now wait till tomorrow :)
<2> lig: thanks for all your help
<7> ya iknow
<1> spundun: np and hope you figure it out
<7> but the ouput going weired
<7> some output of mycl*** date going weird
<7> not suppose output
<8> hafizan: define "weird"...are all the letters upside down?
<7> the output suppose to be 4 but the ouput 3
<7> but my version 5
<7> on php 5.0.4 fine
<8> hafizan: what do you get when you run: php -r 'echo date("w");'
<13> I just started learning PHP and I have a question.
<14> guitarsauce, are you going to ask your question, or just tell us you have one?
<7> error
<13> I'm getting this error; Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phprpg\index.php:350). What would cause that?
<15> a bomb
<15> :-)
<8> !tell guitarsauce about headers
<7> 2
<7> the output 2
<8> hafizan: in which version?
<7> 5.12 windows
<16> there anyway todo menus like javascript does with PHP ?
<17> raden, php is a server side language
<8> hafizan: what day and time is it by you?
<13> Thank you CryWolf.
<7> standard date time correct date pc
<8> hafizan: what day and time is it by you?
<16> CrazyTux, CSS have any capability like that ?
<7> e.g i'm confuse
<17> raden, yes.
<8> hafizan: time. as in on a clock. and day of the week, as in on a calendar.
<7> in dos command i type date the ouput 02/21/2006
<8> hafizan: ok, then as near as I can tell, date() is working properly.
<3> Bye everyone
<4> I'm using a login system with sessions. When I look at the source code, my links are clean: "../file.php"> but when I try to validate my page, it finds links like this: "php?PHPSESSID=7cc3d788ce06a1e94e37e0bcebeafa8c". I revalidate with the source, and can see them, but when I view source in Firefox or something, they are not there. It's causing me a lot of errors :/
<18> Hi all
<7> echo $mulaBulan=date("w",mktime("","","",date(n),"1",date(Y)));
<7> Crywolf please try on your pc want to see the ouput
<8> hafizan: Today is Monday here. I get 1.
<0> hafizan: $mulaBulan? A Malay by any chance? :)
<18> mulaBulan
<18> ?
<7> yap
<7> i malay
<7> my pc ouput 4
<8> hafizan: what does date("Y-m-d") give you with that mktime? I don't think that's a valid use of mktime.
<8> also, always quote strings.
<7> yup
<7> but no choice because i had create a cl*** of date
<8> hafizan: what does date("Y-m-d") give you with that mktime?
<7> putting in new version going weird ouput all
<8> Why do I have to ask stuff twice?
<7> ehhmm
<7> what do you mean?
<7> are you thinking why using mktime in date like that?
<8> when you execute the statement I have given, what is the output?
<7> 2
<8> I am asking for what the output is.
<7> 2
<8> ...
<8> never mind.
<7> aaa
<7> 2006-02-21
<18> Do you know some php internal performace optimization?
<8> hafizan: and using "w" instead of "Y-m-d" gives you 2? With no other changes?
<19> Gizmo: www.devarticles.com discusses ways to tweak your php code


Name:

Comments:

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






Return to #php
or
Go to some related logs:

apt-get update understand hit ign results
#gaim
smtpd_sender_login_maps fetchmail
#linux
kcmdisplay kde startup
#perl
evolution to outlook
#ubuntu
#web
postfix catch-all setup luser



Home  |  disclaimer  |  contact  |  submit quotes