| |
| |
| |
|
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> i just echoing.. to see whats going on :) <1> Just telling you :~). <0> sure thanks :) <1> btw.. in your SQL query.. <0> just trying your changes :) <1> its better to do named selects. <1> ie. <1> SELECT username, p***word, login date FROM tester ... <1> instead of SELECT * FROM tester <2> hi <2> how do i find out where's my php.ini in windows? <3> phpinfo() reports it. <2> mattmcc ok thanks <4> lepine: maybe it's lighttpd specific.. or php specific I'm not sure <5> has anyone made a client area for their company? I was mulling over an idea to make a place where clients can log in, view/dl/upload documentation ... have a wiki .... show screenshots and/or beta versions once they are at a certain point for approval..... <4> lepine: but if someone could help me understand where to start looking I'd be glad :P
<6> C:\PHP\ <7> i'd like to help, but i have absolutly no clue as to why or how ... i was just curious myself <2> mattmcc there's somethin strange. phpini() says php.ini is located in c:\WINDOWS, but if i edit the file and i set extension=php_pgsql.dll and restart the apache, i still won't be able to load pg_* functions <2> to mention i don't receive any error when restarting the apache service <0> ok myconid3 i... getting there <0> thanks for all your help :) <8> Can I ask you guys what the biggest reasons would be to use define() as oposed to $var= and visa-versa? <9> steve_inco: Variables ($var) are... variable. Their value might change. Constants (define()) are.... constant. They don't change. <2> so could somebody help me on my issue? <9> or rather, they rarely change. <10> a const uses less memory, and that way you can trust that its never going to change in your code ... which helps if you have a large cl*** <9> DepretioN: said it much better then I did. <11> is cl*** blah { private static $number; } legal? <11> hrm nvm <11> my head was thinking very wrong for a sec. <8> jonnay, DepretioN: So defining database variables (username, host, etc) would be a proper use of define() then. <9> stevo_inco: Sounds reasonable to me. ***uming you're only going to have one database connection.. (which in a lot of cases is a reasonable one) <8> yeah, that's the case. <8> Thank you. <9> stevo_inco: Check http://www.c2.com/cgi/wiki?MagicNumber for more mojo on constants. <12> Can anyone tell me why changes in php.ini don't work? It's like the php.ini file doesn't do anything at all <13> is there some kinda problem with trying to manipulate transparent png images with gd? mine is all black whatever i do to it <3> nocturnal: Well, first make sure you're using GD 2. <1> MrBond82: check phpinfo() to make sure your using the right php.ini <1> MrBond82: and are you restarting your HTTpd each time <8> jonnay, I will, thanks. <14> whats the best way to go about opening a file for inclusion in your index.php and then parse the contents before including it. i have some pages with <meta> tags in them that i want to include into my index.php, but i want to strip the meta tags first, put them up top in the proper place, and then just include the rest of the file (so i can't use include/require()) <13> mattmcc: i am <12> myconid3- I am restarting each time... how do I check the phpinfo? <1> print it out <14> shoudl i use file() ? <13> http://rafb.net/paste/results/uLPlDr44.html <-- could someone take a look at this? only 26 lines of code, the code is pretty much taken from a working script i made but this time i'm using a transparent image, thats the main difference <1> why would I use print vs echo? <15> print means just sput it out to the screen <1> Thank you for the function definition <0> *jumps around* woo.. made the bugger return a result <0> thanks again Myconid3 <1> np sir <16> i do a session-login on a domain like admin.domain.com ... and need to read the session from domain.com ... is there any way to do it? <0> not overly sure how.. or why it works.. but its a start :) <15> myconid: That wasn't a function definition, but a word definition <1> Stormch[a]ser: stop nitpicking.. I know what the functions do.. and yes, what you gave me was a definition of the function. <15> *sigh* <1> http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 <- this is waht i wanted <17> My coworker and I are frustrated PHP won't add a lot of the cool things Ruby has <1> theopedia: such as? <17> different ways to iterate, etc. <1> theopedia: such as? <18> When is better to use MySQL, and when Sqlite in php aplications? <15> you can't pull a stunt like funct()[0].blah[0:3] <1> Tokeiito: Sqlite is good for a quick hack. <1> Tokeiito: I would use MySQL if the app will be used more than once a day by a single person <18> xm. What about 1PC Financial acounting system? <1> Jesus.. use MySQL <18> i see <18> Mysql <15> myconid: Erm... neither print nor echo are functions... <1> Stormchaser: ... ok <1> the php function list disagrees.. are you almost done with your nitpicking? <19> myconid: Do you know what they are? <18> and maby someone nows price of Zend SecurityGuard? 'couse in zend.com, there is only note: Contacr with reseller.
<19> Tokeiito: Ask Zend. <18> i see <18> ok <18> thn <18> x <19> myconid: So the answer is 'no'? <4> hello, anyone know in which php supported package the function session_start() lies? <4> could it be gd-external? <20> session_start is an internal function <20> at least if you haven't compiled --without-sessions if that's even possible <19> prophile: Sure it is... Many distros know that well :) <4> I need the session flag (I'm on gentoo) <20> :| <20> compile it with session support <4> yeah thnx, I'll try it <4> found it on a forum too <4> so it must be ok <19> Now it's time to blame gentoo for everything once again... <21> can someone explain this to me? ("somestring" == 0) evaluates to TRUE <4> Stormchaser: ? says who? <21> is there a special case that I don't know about, or a good reason? <19> coreyo: (int)"something == 0 <19> coreyo: the string is typecasted before it's compared <19> atmat: me. <21> atmat: exactly ! :) <21> I would have expected it to be the other way around <21> since PHP deals most heavily in strings <19> it does? <4> Stormchaser: I think that newbes should use ubuntu or something debian-like. <19> !+types <22> PHP isn't typeless language... PHP supports eight primitive types: boolean, integer, float, string, array, object, resource and NULL. If you want more information about PHP types, go look at http://www.php.net/types <21> sure, like EVERYTHING that you parse, output, query is strings <21> so I'd think that when comparing, the int would be made into a string, not vice versa <21> that is a little more logical anyway <19> um... var_dump(0); doesn't show a string <19> atmat: I'm quite happy with ubuntu, thank you <21> and poo_poo(0) doesn't return a string either <21> Ubuntu always committed suicide on me... I'd always have to find some package that had killed itself and reinstall it <21> I think it was hoary or breezy <21> happened 3 times to me <21> so I went right back to debian <19> debian stable? <10> I'm Gentoo and will never go back to anything else <14> k i'm confused, if i want to open a file to parse and then include portions into my website, should i use file() fread() readfile() or file_get_contents() ? <21> any and/or all of the above? <23> Can somebody identify this? "6263e0a74eef995e9ced55d32225fa40" <23> Doesn't seem to be MD5... <5> SHAsum <19> cisse: Depends what do you want to parse and how <24> No, that's an MD5 <3> KimmoA: What makes you think it isn't MD5? <5> yup 32 <23> mattmcc: Nothing, really. <23> So what is it? :S <14> Stormchaser: ok, so it's part of my webpage between <body> and </body> but it contains the <title>..</title> tag which i need to parse out and put in the right spot <20> an MD5 <23> I see... <24> KimmoA: It appears to be an MD5 hash <9> a hex number! <23> Ah. I guess it is. <21> DepretioN: gentoo is a good distro ... but hardly maintainable :( . The only advantages to gentoo are the fairly recent package releases and control over your compile flags <10> file_get_contents then preg_match <21> but you spend a lot of time getting the system up and keeping it current <19> cisse: Then use a file_get_contents() and slap it withinhg preg_match <10> genkernel, gentoolkit ... portage is the best package manager out there... the documentation is top cl*** <14> DepretioN: ok, i'm just curious as to why that over the others <14> DepretioN: apt is far superior to portage <14> totally agree on the docs though, amazing <10> lol - wont get into that... but not in my eyes, far from it <14> heh well what do you see as the advantages of portage ? <19> I absolutely *hate* to wait for a day for having a semi-workable box with X on it... <9> but apt has super cow powers! <23> An X on it? Xbox? >:) <10> Choice & ease
Return to
#php or Go to some related
logs:
Daenyth blank ubuntu SIPRO Use of uninitialized value in scalar assignment utf8_heavy.pl #debian insatll glxinfo debian gtf etch debian libiberty ubuntu apt-get #linux gentoo diskless stage3 #kde
|
|