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



Comments:

<0> weasel00: no, they should also make a src.rpm of php that you can install, and compile the extention from it
<1> Stormchaser sorry about that, but I am actually beyond script support and just end up doing my own scripting on top of the scripts database, so technically I am writing my own script
<2> if memory is a concern, and of course depending on what you're doing, perhaps doing an unbuffered query would benefit you
<2> carlos-the-man: this is #php not #tep though, we do not know tep syntax
<0> weasel00: you could always complain to the FC people about the lack of php gd, or install a real distro that actualy provides the apps people want
<3> ||cw: i didnt have this much trouble last year when installed it... but this time murphy hit me with a mac truck
<2> use debian :)
<3> havent used debian in many many years.... is it quite a bit better?
<2> what was 'bad' about it?
<4> Anyway I could generate something like this with PHP - ? urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6
<3> ease of install... like i said many years ago.. when none really had an easy install
<5> lack of cookies and other candy, philip
<3> not saying anything was bad about it ;)
<2> installing linux always has issues



<3> pretty much.. storm ratted me out ;P
<6> foo, sure.
<2> i remember hating linux as it was so tough to install, so i used mandrake, so easy :)
<7> well, i'd prefer fbsd
<6> rand()
<4> Julian|Work: That will do it?
<4> oh, bleh.
<6> foo, it depends.
<2> i could never install gentoo
<6> foo, I suggest using md()-- that'll give you something that looks like f3ede926587776a8cd79fb2afe4e07b4
<6> Then you use substr() and stick dashes in there.
<6> md5(), that is, not md()
<4> Julian|Work: Actually, that might just work.
<4> Yeah, I've used that beofre
<6> It'll definitely work.
<2> or, just create a routine to pick random numbers and letters
<6> But you need to md5() something random, so try md5(mt_rand())
<4> Julian|Work: Yeah, I know. Thanks
<8> im using exceptions, but im wondering what the common practice is if i just want to issue a warning but not completely stop processing. Should i keep an error stack in global scope maybe? Any lit on that?
<6> Jymmm, did you just add that youtube link?
<6> rofl
<7> hehe.. what the hell is that german with spanish subtitles?
<7> all i can get is he is trying to edit files with vim
<9> Hey everyone, I've got a really weird problem... I've just uploaded a backup copy of our website to our third-party hosted server... and nothing with a .php extension will run... I'm getting internal server error... anyone have any ideas what I might try?
<9> I've tried chmod 777 test.php
<9> (The server helpdesk is close unfortunately and I don't have access to the error logs
<7> DjKritical: first thing to check is the log files on 'internal server errors'
<9> zircu: I wish =(
<9> Thing is the site was working perfectly.. nothing has changed other than the files being re-uploaded
<9> something has buggered up php tho...
<7> DjKritical: your running php as a cgi I would ***ume
<1> I want to program IF this does not exist, create it! (INSERT INTO `groups_to_products` VALUES (1, 28, 0);) how is it done?
<9> zircu: looks like it
<10> Hey
<7> DjKritical: there could be a few options
<9> zircu: I'm dying to know =)
<7> well, its been a while since i've use cgi with php but the first thing to note is the line endings aka the fileformat
<7> i've seen #!/usr/bin/php\r\n cause this error when you realy want #!/usr/bin/php\n
<9> aka \r\n ?
<7> this usually occures when you ftp files onto a server
<9> hmm.. I'm trying to think how I can test that theory
<9> I'm ssh'd into the server now
<9> If I create a file using vi... that should use \n right?
<0> by default, yes
<10> yes
<7> it sort of depends on if your using vi or vim
<9> just vi
<11> carlos-the-man: Tried using REPLACE ? :)
<9> I just created a testing.php file in vi.. still gives an error
<9> any other ideas?"
<7> without the logs it will be hard to know what the problem is
<9> tell me about it =)
<1> the idea is that "INSERT INTO `groups_to_products` VALUES (1, 28, 0)" is not executed so Ill run that in case it NEEDS to, if it exists tnen I do nothiung
<12> Julian|Work : Before I say "that's a stupid question", could you please clarify?
<7> Jymmm: i demand an english version
<12> zircu: it's your video, talk in english next time
<7> carlos-the-man: well, if you have your database setup properly the primary key insert will cause an error
<13> Hello all



<14> does php support displaying variables to the screen?
<13> On a windows system when php script queries a database whose credentials are the query run under?
<7> well damn, he doesn't give me enough time to answer
<13> I mean the process that does the query
<13> not the user from the mysql.user table
<13> but the windows process the quiries the database.
<13> I need to know because I am trying to implement a SSO scheme
<1> http://pastebin.com/582625 this is my database, there is more data to create but I want to create defaults at the time something is updated, thats why I will need to do more "INSERT INTO `groups_to_products` VALUES (14, 31, 0);" things in case they dont exist
<4> Anyway to create a UUID in php?
<1> foo md5(getmypid().uniqid(rand()).$_SERVER['SERVER_NAME']);
<15> can i spam for something?
<4> carlos-the-man: Hmm, that doesn't have dashes. And even if it did, a UUID is 33 chars long. Thanks, though
<16> robinl1: /msg php-bot guidelines
<13> hello
<17> Hey! I want a user to be prompted to download a ZIP-file if accessing a php-document I have. after user have downloaded the ZIP-file the ZIP-file should be removed. The code I have is: header("Location: temp/members.zip"); unlink('temp/members.zip'); the thing is, it seems that the unlink() is executed before the header()... any ideas?
<10> im kinda out of ideas to what i should program i want something simple but advanced can someone inspire me :)
<16> gantal: http://satria.web.id/files/task.html
<16> check for #2
<16> its simple, but advanced, like you said
<5> !+enter
<18> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<10> Ox41464b, hmmm
<19> hi everybody anyone would know why a Sybase stored procedure works on isql client but it does not using regular sybase_* PHP calls ?
<16> gantal, what? cant do that? i already see 3 people finish that in (40 minutes)
<6> Jymmm: I didn't see what the topic was before. Maybe somebody else added the link and you changed something else.
<10> Ox41464b, i think so but it dosent sound like any fun :/
<13> no takers on my question
<13> ??
<16> Shaba1, hello is not a question
<17> Never mind! I fixed it! It was all about using the correct headers :)
<20> Is there any way to store "metadata" in web pages?
<6> Tarantulafudge, describe metadata.
<20> Julian|Work, I have a modular page design, including neccessary pages, but I need a way to get the page title
<21> hi! do i need to prefix hex values?
<6> So you want to store page titles as metadata and draw from that?
<6> lng: 0x
<22> how can you tell search engine bots not to store certain urls? like session variables
<20> Julian|Work, yea, essentially
<21> Julian|Work: thanx
<6> Tarantulafudge, sure, or you could have each module set the title.
<20> Julian|Work, until now I've just used a static config file, but its really hard for other people to make changes
<6> I don't see why you need to break out of the modular design.
<23> is there a function that rounds up if > .5 and down if less than ?
<6> albo: round()
<16> Tarantulafudge, you want to collect all <title> generated ? or... *sorry i dont really understand the question*
<21> how to make it proper: if($x<16xor$y<16xor$z<16)
<6> lng: what's proper?
<21> Julian|Work: we cant compare thing such way
<6> http://www.php.net/manual/en/language.operators.bitwise.php <-
<20> Ox41464b, well, in a variable or something, I'm having major problems making a modular site design that is easy to edit for other administrators
<21> i bet
<20> Ox41464b, since most of them use dreamweaver
<9> does anyone know what /cgi-bin/php does?
<20> anyone know if theres a way to customize dreamweaver's templating system?
<6> Tarantulafudge, #web may be able to help more
<16> Tarantulafudge, if me, i will not edit one by one, grab the content before its output to browser how? php.net/ob_start what next? look for <title>contentInsideit</title>, replace anything inside it with your own
<24> Erm, just wanted a few opinions on what a good PHP IDE for linux would be (free preferably...)
<24> I'm getting a little annoyed with eclipse
<24> at the moment its giving me a HUGE memory leak :(
<20> Ox41464b, hmm
<16> Tarantulafudge, make sense already ?
<20> Ox41464b, I've been having them use a blank template until now
<25> Anyone have an opinion on the best way to go about writing XML in php? My need is simple but I would like to use a module to guarantee its written properly but I have no idea which to use. Any help would be great.
<16> *dogh* i guess i must take another english_cl*** again, what the meaning of "I've been having them use" :(
<16> [talon], Google for: PHP XML Cl***
<20> Ox41464b, argh, I hate dreamweaver *stabs*
<9> Does anyone know... is it possible on some servers to require an .htaccess file for php to work?...
<16> Tarantulafudge, coder should be able to help "designer" not make them cannot design freely
<25> Tarantulafudge, if your using php, why use dreamweavers templating junk? Set up headers and footers and include them
<9> also... does anyone know what /cgi-bin/php might do... could it have something to do with all .php files not working on my server? (I don't have access to logs)
<20> [talon], I have something like that setup, I don't use dreamweaver at all
<25> oh.... k
<16> [talon], for single person project perhaps you correct, but not for group of different background
<21> can i use multiple conditions: for($x,$y,$z;$x<256,$y<256,$z<256;$x++)?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sudoers asterisk nobody
heartbeat-dev rhel
gentoo timestamp.chk
invalid size glibc detected realloc oracle
TRAGICZ
#mysql
default route disappears boot
unix_infidel
how evil eat this kitten
#perl



Home  |  disclaimer  |  contact  |  submit quotes