| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<evulish> i think that's what you're asking, at least <wpgg> thank you, il try and figure it out <pLogy> but trying things for the first time wont be efficient, i mean if u got a work to do and it was something new,then doing it for the first time without knowing all the ways, will that be good ? <ansimation> how many fingers am I holding up, follower? <Robdgreat> HA <evulish> pLogy, right, but why learn something if you're never going to use it <evulish> or come up with an idea for a site or something that does require it <evulish> i never just code random crap for no reason <pLogy> i understand ur point of view, but how can i expect what i am gonna need in the future, either i get ready with general and different ideas, or i will just wait till i am faced by something which may be higher than my level due to idle time without learning, what do u think ? <evulish> pLogy, like i said, just create projects for yourself that require these things <ansimation> I think you take it one step at a time and learn what is already on your plate. <ansimation> you should take <pLogy> what step should i take, that's what matters :) <ansimation> it'd be way more efficient than jumping around between things. <ansimation> very small ones. <evulish> i'd say that the majority of people won't deal with LDAP <evulish> unless you're building intranet sites for mid-sized companies <pLogy> then database authentication is the most popular <wpgg> ok im still having problems. i have edit.php?aboutus. i want to capture 'aboutus' as a $var in order to use it for other includes. (ex edit.php?history will include $var.txt->history.txt) <evulish> wpgg, it's in $_SERVER <ansimation> ~_SERVER <mod_spox> Did not find any matches for _SERVER <mod_spox> Possible matches (best first): <mod_spox> base_convert, ccvs_reverse, db2_server_info, ereg, eregi, getservbyname, getservbyport, iis_add_server, iis_remove_server, iis_start_server, iis_stop_server, maxdb_server_end, maxdb_server_init, mysqli_server_end, ociserverversion, radius_add_server, sem_remove, serialize, strtr, user_error <ansimation> ~SERVER <mod_spox> Did not find any matches for SERVER <mod_spox> Possible matches (best first): <mod_spox> db2_server_info, iis_add_server, iis_start_server, iis_stop_server, maxdb_server_end, ociserverversion, base_convert, ccvs_reverse, ereg, eregi, fseek, getservbyname, getservbyport, ibase_prepare, ibase_restore, sem_remove, serialize, sleep, strtr, user_error <ansimation> wtf <ansimation> I ****eth <evulish> we know <ansimation> haifugyou <ansimation> I will let you take me out on a date if I spend a grand on me.. and no happy endings either. <pLogy> evulish: i made a script that captures variables from abilling gateway when the transaction is approved, then it inserts those variables into a database, the script is working fine most of the time, but sometimes i found my database missing record or two from the total sales that is recorded in the merchant account, can i paste you the code part of the mysql thing so that u can tell me what might be the reason for that ? <evulish> pLogy, no, we went over this a few days ago. <evulish> i doubt you made any changes to it <pLogy> and i am still having the same problem <evulish> or took any of my suggestions <pLogy> i made error handling for mysql connection and mysql query , but there was no errors, still some records are missed <evulish> paste your code <pLogy> ok <pLogy> can i remove the host and login information from the mysql_connect ? <evulish> sure <Pulsar> hmmm... if i do a mysql_query("SELECT") thing and then print it, i keep getting "Resource id #01" or another number... should be a simple way around it but i can't quite find it... anyone an idea what command i need to look into? <evulish> Pulsar, well, SELECT won't return anything. and maybe try reading the manual. <Pulsar> like mysql_fetch_array works but only for arrays <evulish> ? <Pulsar> bah >.> <evulish> what's wrong with having it in an array <Pulsar> if it's only one value getting selected, that seems like a waste <evulish> waste of what? <Pulsar> ehh i dunno... resources? <wpgg> thanks evulish, havea good night <Pulsar> i thought there'd be a command to fetch just one thing <evulish> @mysql_result! <mod_spox> (PHP 3, PHP 4, PHP 5) <mod_spox> string mysql_result ( resource result, int row [, mixed field] ) <mod_spox> Get result data <mod_spox> http://www.php.net/mysql-result <pLogy> evulish: http://pastebin.com/863928 <follower> so, when i said my x g/f got fat earlier <follower> that chick just called me <Pulsar> result! of course :D thanks ^^ <follower> out of the ****ing blue <evulish> pLogy, uhm. that's not very good error handling <evulish> insert isn't going to return rows <pLogy> why ? <pLogy> it recorded many records already <evulish> .. because it's insert <pLogy> oh, sorry ..got it <evulish> use mysql_query() or die(send_your_email_thing(mysql_error())); <pLogy> $iresult=mysql_query($query); this is wrong ? <Slide-O-Mix> vresult <evulish> mysql_query($query) or die(....); <pLogy> can i put my complete email code in the die ( right- here ) ? <evulish> i'd write a function that did all that stuff <Slide-O-Mix> die takes a string, so your function needs to return a string <pLogy> how will i know the exact error that occured in the query ? i need this <evulish> mysql_error() <Slide-O-Mix> you know the thing that evulish put into his example not 10 lines ago? <pLogy> die ? <Slide-O-Mix> @die <mod_spox> (PHP 3, PHP 4, PHP 5) <mod_spox> die <mod_spox> Equivalent to exit() <mod_spox> http://www.php.net/die <pLogy> i want the mysql_error() to be sent to my email <Slide-O-Mix> yup, thats why you would write a function <pLogy> die will exit the whole script or just the mysql connection ? <evulish> the script <pLogy> but this will be so bad for the visitor, coz when it completes the script and the record is just missed, i can add it manually later on, but like that if the script ended without the confirmation message, this will be so bad <f3dt> so bad <evulish> i wonder if i can get them to deliver bread. <evulish> man. this month is going to rock <evulish> i'm getting $20k in 10 days :D <poutine> I will intercept this $20k <poutine> and spend it on shoelaces <poutine> all of it <Technobabble> lol <Technobabble> why do you guys kick f3dt so much? <follower> its funny <poutine> he's emo <follower> nuff said <Technobabble> oh that's a good enough reason for me right there <Technobabble> f3dt, cut deeper next time. <Technobabble> *****. <Zend_Engineer_Certified> hi guys <Robdgreat> what a something nick. <Slide-O-Mix> wow, i should change my nick to Extreme_Crap_Head <Zend_Engineer_Certified> como les va <Slide-O-Mix> oh, wait thats already taken by Zend_Engineer_Certified <Slide-O-Mix> buahahaha <Robdgreat> plz 2 spk englsh <Slide-O-Mix> how to write file upload plz <Zend_Engineer_Certified> move_uploaded_file <Zend_Engineer_Certified> !bot Help <Slide-O-Mix> bahahahaha <acidicbase> confess <acidicbase> !Confess <acidicbase> bot is bbroken <Slide-O-Mix> @die <mod_spox> (PHP 3, PHP 4, PHP 5) <mod_spox> die <mod_spox> Equivalent to exit() <mod_spox> http://www.php.net/die <Slide-O-Mix> no it isn't <acidicbase> grr <acidicbase> @~random <Zend_Engineer_Certified> @move_uploaded_file <mod_spox> (PHP 4 >= 4.0.3, PHP 5) <mod_spox> bool move_uploaded_file ( string filename, string destination ) <mod_spox> Moves an uploaded file to a new location <mod_spox> http://www.php.net/move-uploaded-file <Slide-O-Mix> Zend_Engineer_Certified: i was joking, i know how to do it <Slide-O-Mix> your nick is annoying <Zend_Engineer_Certified> puedes creer lo que quieras, yo se lo que soy y no tengo que demostrartelo <Slide-O-Mix> oh, i'll think i what i want, i think you're a pompus idiot <poutine> puedes poner mi pene en tu boca? <Slide-O-Mix> heh <Slide-O-Mix> leave it to poutine <Zend_Engineer_Certified> u.u <pLogy> what is the type of encryption in .htp***wd ? <Zend_Engineer_Certified> Slide-O-Mix: bueno vastago de meretriz nos vemos <Zend_Engineer_Certified> Slide-O-Mix: sigue participando :D <Zend_Engineer_Certified> jajajajajaja <Zend_Engineer_Certified> bye to all <Slide-O-Mix> you didn't leave <Zend_Engineer_Certified> Ajax rulz http://leimnud.info <Zend_Engineer_Certified> bye bye <Slide-O-Mix> finally
Return to
#php or Go to some related
logs:
amsn Initialization of the Audio/Video Plugin failed #chat-world #php #allnitecafe #chat-world #photoshop #allnitecafe GAMES NETCAFE
#india #worldchat
|
|