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



Comments:

<0> http://www.dotzheim-hat-was.de/tinc?key=a1yArK1m&formname=dhwbranchen
<0> but they sure dont make it easy
<1> i just clicked your url, en there it is ;)
<0> now extract me all datasets
<0> dont feel like typing 726 adresses
<2> wget -r and some sed!
<2> damn!
<3> http://video.google.com/videoplay?docid=426566504844044258&q=nig
<0> wget fails, ends in some endless loop, so does httrack
<4> lame
<2> time to crack open some LWP then
<5> dev_nu11?
<5> dev_null?
<2> no this is great
<2> would that make this juro-beat?
<6> hy. i have a maintenance module with groups and products



<0> good for you
<6> and i have a delete button wich first asks if i agree with the delete, then if yes, enters in a php script and deletes the group from the database
<7> BUT....
<6> but in the php script i have a verification function, which verifies that if the group contains or not products
<8> SO...
<0> IF...
<7> those are business rules, and should be handled in the backend/database
<6> and if i want to delete a group and it has products it doesn't let me
<6> then i delete the products
<8> We should hand out forms to these guys to fill with their questions.
<8> They'd have the following headers:
<8> I [HAVE/NEED] (mark the right one) ...
<8> BUT...
<8> SO...
<8> Please [signed].
<6> after that i want to delete the group again and it doesn't even enter in the php script again
<6> sorry, i'm writing slowly because my english is not so good
<9> ever felt your code gets so screwed up youd rather start the whole thing over again?
<6> no
<9> lol @ dwork
<9> well,.. i do,. goona start from scratch
<6> can anybody tell me what could i do?
<8> Erw, what's the problem then?
<8> I'm sorry but it's not too clear
<6> if once the verification function returns false, after that even if it would be true, the result is false
<6> i can describe it in 3-4 rows
<6> may I?
<0> *YAWN*
<6> 1.) I have maintenance module for GROUPS - PRODUCTS. I press "delete group" and it enters in a php script, where after verifying that if it contains products or not deletes the product from the mysql database
<6> 2.) If it contains any products, then doesn't delete the group
<0> SO FIX IOT
<6> then i delete every products
<6> and when i press again the delete group button, it doesn't even enter in that php script
<0> your saying that for the 3rd time now ?
<0> if your button doesnt work, then your html is crap, go fix it
<10> state management
<11> back
<10> set a var to an action, check that var on load
<10> then your delete magically works
<11> hajuu you still battling with the ini thingie
<5> JUST tackled it
<5> just thien
<5> lol
<12> hello
<11> lol
<12> I was trying now to create a script to randomize some characters anyone got any idea? I've tried several simple methods, none worked
<12> I'm not such a great programmer but I know the basics :)
<13> Um, array() array_rand() imagecreatetruecolor() some other fun stuff, done.
<11> Weapon- get a random number from 97 to 122 and use it with chr()
<5> how long should the timeout be on my website?
<12> ok I'll try that now rover_
<5> nothing bad happens when your session expires though so it isnt really important
<5> say
<5> 60 mins?
<5> nah 30
<11> Weapon- for more than one you can create an array of random numbers from 97 to 122 with the desired length and then use it with chr()
<12> yeah, it works, thanks alot man
<11> chr(rand(97,122)) is tidy enough
<11> welcomed
<12> and how can I display a variable x times? I don't remember now.. :(
<11> using for or while



<12> good idea, I'll try it :)
<5> ok I want to do something like if ($last_move > (time() - 60)) { // do stuff }
<5> anyone help me out?
<5> never worked with time much
<13> $last_move = time() ... then your if.
<11> hajuu you probably have to get a current maketime and a mktime 60 minutes later and then compare both numeric timestamps
<11> aint the default expiry time good no ?
<5> hehe nah this isnt for that
<5> so. who wants to buy some addon packs? :D
<5> for unreleased software lol
<11> got a crack already thanks ;)
<5> ok so um
<5> for session files
<5> will simply session_start()ing set the session files access time to the time of session_start? does that access the file at all? it would have to, no? to initialise all the vars
<11> "session_start() creates a session or resumes the current one based on the current session id that's being p***ed via a request, such as GET, POST, or a cookie."
<5> ....
<5> Yes
<5> but does it ****in access the file?
<5> lol
<11> lol can you "tail -f" the file ?
<11> to watch it changing and sh*t
<5> nope :(
<5> I wish the manual actually said
<5> lol
<5> its ok ill just write a random number
<5> then its totally gotta write to the file
<11> try fileatime() or filectime() then
<11> oh ok the file dont exist at all then lol
<12> rover_ how can I ***ign multiple values to an array?
<12> not the manual method, ***ign numbers from 97 to 122 to an array, doesn't work with count() :(
<3> Weapon-: range()
<12> thanks pieg...
<3> anyway, if you didnt know the range function you could use for
<11> Weapon- here mate the entire function http://pastebin.com/504028
<3> rover_: i don think thats what he wanted
<12> thanks alot rover_
<11> he said he wants to create a script to randomize some characters ?
<3> ir maybe is.... neverming :P
<11> :)
<5> eheheh almost got my load management system up and running
<5> 24 lines of code
<5> will probably end up around 25
<11> cl***->function(function(function(function(function())))) style of coding was it ? ;)
<3> why there aree functions in functions, rover_ ?:P
<11> I mean calling "20" different nesting functions in a single line :)
<3> i know i know
<11> as bad as regexp that is :P
<5> nope
<5> you should see it
<5> but you cant
<5> lol
<11> lol!
<5> Every "line" of code is on its own line
<5> or each seperate command or whatever
<3> i know the code Hajuu
<11> i did a regexp yesterday that if it was compiled binary code it would be easier to read lol :P
<5> thats cause your a communist bastard
<5> pieg: you know NOTHING
<5> lol
<11> lol!
<12> rover_: and what's the range of capital letters?
<3> if($_POST["pas']=="p***word']) { 20 lines of blabla } else { die("no!");
<5> lol
<3> strtolower Weapon-
<11> Weapon- 65 to 90
<3> read the manual ok, Webadillo ?
<12> thanks man
<3> a, range, not change
<5> here you can see this bit of code
<11> Weapon- you making a p***word generator or something like that ?
<14> hello I need some help, it's general web help .. I thought maybe I could be helped here?
<3> whats general web help ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#gentoo
jam3s dalnet
vagaboante
import fl.fileExists flash
tukye
wtmp findit
#chatzone
famele msn adres
sopt, sau
#linux



Home  |  disclaimer  |  contact  |  submit quotes