@# 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



Comments:

<0> kuja many thanks!
<1> Sysop_Kn1F3: Well, it's simple. In any language constants can only be defined, not redefined or undefined.
<1> brainb0x: np
<1> Rick: Hi :P
<2> ok kuja.. thanks
<1> bastian: No, there is locking functionality AFAIK. Ask #mysql about it
<0> kuja you are really a master! :D thanks! brb again...
<1> Sysop_Kn1F3: Just use a plain variable.
<3> thats why they're called constants..
<4> kuja, I will do that, thank you.
<5> ..... hmm or i guess i could just put a test cookie on every page that displays the login prompt ....
<3> and variables are called variable..
<1> bastian: Welcome.
<6> bastian: two ways i can think of. 1: touch() a blank file that represents the row of the db and the flock it and make sure your script respects the lock, ro... 2: RoR has a little trick where each row has a locking version, so say your row has a version of 1, your scripot instance checks it out by storing the version number, doing its stuff then when it is about to commit the new data, it checks the number in the db. so say it checked
<7> anyone in here use PEAR?
<3> heatxsink: take a wild guess..



<8> damn ie 7 renders fast
<7> haha
<7> p0windah: alrighty then
<1> heatxsink: For PEAR support ask efnet/#pear
<7> sweet
<7> thanks
<1> You're welcome
<3> Megan001: does it ruin previous versions of IE when you install it ?
<8> it removes them
<3> thats a nice feature
<0> p0windah ie7 same as ie6 as they still don't follow standard
<4> Elliot`, Thank you for the input.
<1> Heh, IE naturally renders fast.
<1> It's native, unlike *nix ports that depend on non-native toolkits
<6> bastian: np
<1> Though, the next fastest thing to IE on Windows is Opera
<1> And Opera... ROCKS
<0> kuja what do you think about not following standard of ie?
<3> imagine a day when gecko becomes speedy...
<0> yeah Opera ROCKS!
<8> opera has some nice features I wish ie had
<8> opera developers have brains
<3> I've seen projects trying to get gecko onto pocketpc's, etc.. utter folly
<1> brainb0x: I don't really care.. I just use anything else. And honestly, I'm more concerned about security flaws rather than compliancy.
<8> like that next button to navigate through images... genius
<0> kuja ic.
<0> nice point
<1> php-bot: tell brainb0x about typing english
<1> :P
<6> nothing wrong with trying to slim it down for pocket pcs
<0> oops hehe sorry
<8> sometimes I wonder if them ****ers at microsoft use their products or are they even alive...
<7> p0windah: http://pastebin.com/534855 am I doing something wrong here?
<0> im here in the philippines and always using cellphone :D
<1> Not sure about that "huge image" exploit.. seems dangerous.
<3> Elliot`: takes too much grunt to run on such devices
<6> i ahve so many troubles with ie it is not funny, and i don't even find it fast tho i havn't tried 7 yet
<1> I hear other browsers or vulnerable to this exploit as well.
<1> s/or/are/
<9> Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\test\mysql.php on line 12
<0> ie7 adapted from maxton
<9> this is the error im getting
<9> can u help
<1> php-bot: tell dg_bluesky about u
<6> dg_bluesky: have you got mysql compiled in?
<9> windows
<3> heatxsink: dunno, are you ?
<1> dg_bluesky: If you haven't copy libmysql.dll to your system32 directory. Also, uncomment php_mysql.dll from your php.ini
<0> guys lunch time!
<1> After all this, restart Apache
<9> yes I have
<1> Make sure extension_dir points to the right extension directory as well.
<4> Okay, how about this, is there a way to discern when a person has left a webpage?
<1> Make sure PHP is looking for the right php.ini as well, you can verify this with phpinfo()
<9> kuja what else shoujld i do
<1> If you do all this and it doesn't work, then I have no clue.
<3> bastian: using JS, possibly - but reliably, no
<4> Okay, thanks.
<9> kuja not in phpinfo



<1> Yes, it is.
<1> phpinfo() will tell you exactly where PHP looks for a php.ini
<1> It's at the top.
<9> C:\WINDOWS
<9> should that be changed
<1> Well, do you have a php.ini in C:\WINDOWS?
<9> no
<1> Well copy php.ini-dist or php.ini-recommended over there, and rename it to php.ini
<1> Whichever you use is up to you
<9> my phpinfo page is now coming up blank
<9> after I moved it over to the windows directory
<1> dg_bluesky: Wow, that's got to ****? Anyways, restart Apache.
<1> There's no reason to turn up blank, however.
<9> well i did restart apache and removed the php.ini from my windows directory and didn't show up blank
<4> Thanks again for the help.
<9> but as soon as it goes into the windows directory it goes blank
<1> dg_bluesky: I'm curious. How did you setup PHP?
<9> what do you mean, i have php setup on c:/php
<10> what is that function again to get the amount of time taken to generate the page?
<1> dg_bluesky: *How?*
<1> Did you use some package or what?
<9> why do i get a blank screen when php.ini is copied to windows
<1> Did you use the PHP zip file?
<9> i used the packages off php.net
<1> dg_bluesky: The zip, right?
<1> cvncpu: microtime() is used.
<9> i believe i used the msi file
<1> The msi ****s, no one uses it except you :)
<9> php is working i mean i do get the phpinfo(); page
<1> I don't know what crazy side effects it has, and not to mention, it doesn't come with extensions, so it's only common that the mysql extension won't come with it?
<9> but when I move the php.ini to windows it shows up blank
<9> i have the php extention
<1> Okay, how do you have it?
<1> Did you manually download it?
<9> libmysql.dll?
<1> That and php_mysql.dll
<10> kuja: okay
<9> ok I have the libmysql where do i find the php_mysql.dll
<1> You probably won't. Check the PHP extensions directory.
<10> how would I go about making sure a var ($value) is an int?
<1> cvncpu: is_int()
<9> ok I have both of them, they are in the ext folder
<10> k
<1> How many extensions you got in the ext folder? Cause I'm doubting that you used the MSI
<9> php is working normally
<1> s/folder/directory/
<1> God, why am I saying folder now...
<1> People keep saying folder around me
<9> 28
<1> dg_bluesky: Once again, I'm not aware of any bull**** side effects the installer will give you. So I'm not sure.
<9> 48
<1> It looks like you're using the zip file though
<9> I have 48 ext
<1> What goes blank? phpinfo() goes blank when you move it?
<1> Move the php.ini that is
<9> yes that is correct
<1> On the command line, type: c:/php/php -i
<9> that did nothing
<9> i have php5
<9> not recognized command
<1> I thought you said PHP was installed in c:/php
<9> ok i just did it again and it worked
<9> lots of info came up
<1> Look for the Configuration File part
<1> Should be at the top.
<1> Does it point to C:\WINDOWS?
<9> it got cut off, anyway to see the first part of that
<1> Do the command again and ctrl+c quickly
<9> php is pointing to php/php.ini here
<1> Do you have a php.ini there?
<9> yes i use do
<1> Okay, make a copy in there.
<9> its there now
<9> ok


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#debian
mysqld.sock gentoo
tkapache ubuntu apt-get
auth_digest ubuntu
39160 ubuntu adaptec
partiimage
Cedega.rpm
realtek ac97 package for ubuntu dapper
nested drop downs -css -server
HRMS OCIHandleAlloc:OCI_HTYPE_SVCCTX



Home  |  disclaimer  |  contact  |  submit quotes