| |
| |
| |
|
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 34 35 36
Comments:
<0> Kartagis, do you have the extension? <1> in the directory ext? yes, I do <2> echo -a dd <3> Is there some kind of site wide php library directory where could put foo.php so in all the scripts on the site I could just <?PHP include_once "foo.php"; ?> ? <2> woops <4> is there a way to "first load" a lib, then change the names by a specifi string, lets say timestamp, then start the declaration <1> should the extension_dir be "./ext/" or "./ext" <5> can someone see this ? http://php.pastebin.com/750893 <5> why it says that it is an array and it doesnt print the contents of it ? <5> if i run the variable through a for loop it displays them correctly, but in the second for that i have it fails :/ <6> i done the formating but i have very strange issue !! it's always but 02:00:00 !! this 2 hours is there even if the secons is just 14 !? <6> http://php.pastebin.com/750895 <7> menta: try {$persons[$i]['cnumber']} <5> ok <5> Ah it works!!! <5> what does the {} mean ?
<8> is there any EBNF definition of php5 available? <7> menta: http://us3.php.net/manual/en/language.types.string.php <7> SheriF_WorK: what is an example $col_value ? <6> 155 <9> someone knows good (photo)blog which dont require database? <6> 155 should be like 00:02:35 but when i do this it comes up like 02:02:35 <7> SheriF_WorK: date wants a timestamp <6> Rubberneck: ? i want only to convert from seconds number to 00:00:00 format :( <7> SheriF_WorK: you can't do it like that <6> Rubberneck: so can u point me to the main idea? <10> SheriF_WorK: it's probably because of your timezone settings <7> SheriF_WorK: i am guessing 155 is the number of seconds so you would want 00:02:35 ? <6> Rubberneck: yes exactly <6> rwc-: hum yes we are +2 here in egypt <11> I have a GD image which I include into another php file, the image works perfectly while executed as a stand alone file. But when included it returns an error.. Is it even possible to include php GD files? <10> SheriF_WorK: ideally, you should write a function to do that <12> uh, you need to use an image tag that points to the gd image <10> SheriF_WorK: or you could subtract 2 hours in seconds from the value <10> SheriF_WorK: bit dirty but it will work <6> rwc-: awww thats dirty :P ... is there any another way to do it? <10> write a function to do it? <6> rwc-: there is a function to do it ;-) so i'll take it i liked to do it with date but seems to be failed ;-) so i'll use the other funiction <6> http://www.laughing-buddha.net/jon/php/sec2hms/ <10> the date function is really for unix timestamps... the fact that it seems to somewhat work is because unix timestamps start at 00:00 of sometime in 1970 I think... that's why you are having timezone issues <10> sure, try that instead <11> sproutworks: I have now used a image tag, but how can I get data from the GD image that way? <7> SheriF_WorK: there is probably a better way but http://hashphp.org/pastebin.php?pid=6904 <7> SheriF_WorK: i am sure you can figure it out for days or whatever else you need as well <6> Rubberneck: let me check <6> Rubberneck: hum smart ;-) <7> SheriF_WorK: thanks <4> is there any way to redeclare a cl*** named cl***1 ? <13> hi all <13> http://pastebin.com/750863 ---> I am getting error: Warning: Cannot modify header information - headers already sent by (output started at /var/www/apache2-default/online/authpro.php:9) in /var/www/apache2-default/online/authpro.php on line 22 <7> mynullvoid: you are sending information before you send your header(); <13> Rubberneck: meaning? <14> hum <14> how could we know for sure we didn't send informations, before the header() ? <7> mynullvoid: meaning your echoing something or you are sending a blank line or something to the browser once you do that you can't send the header(); command unless you have output buffering on <14> ( when we do'nt get error messages ) <15> hi everyone <16> hiya <15> amm <16> i am trying to implement ajax concepts in my php based application <13> Rubberneck: I need to process the credential, if the condition is ok then execute the header <15> do anybody knows how can i run php+httpd simply from a cd? <16> can some one tell me about a good ajax package for php <16> i read about sajax <13> Rubberneck: how do I fix my script? <17> the prado-framework is nice <7> mynullvoid: well if that is the whole script <7> mynullvoid: then it's probably where you are turning the <?php on and off for no reason and there is a blank line in there <7> mynullvoid: there is not any reason for you to be turning it on and off in that script <16> CooL_SPoT, Knoppix <15> ServerCrash: i need to run it from windows <18> I guess I will not upgrade to mysqli, then, since it's broke. <16> CooL_SPoT, dont know...not a win gay <15> me not a win guy too <19> I got to php applications, that has to "talk" to each other. What method would you advise me? RPC ? <15> but my clients are <15> :P
<15> im using linux, but im not a linux maniac <15> ;-) <4> is there a way to clear a declaration or use a namespace "workarround" ? <20> php doesn't have namespaces [yet] <21> hello somone told me to enter here for some help, i installed phpdev5 but i dont know mysql database p***word and username how may i find them ? <22> piotrek_: Well... PHP can communicate on many different levels... One of them is RPC as well... <21> anyone ? <23> I do not know why my roolback did not work. Does anybody could help me? http://pastebin.com/750962 I got an error because I wrote the name of the second table in a word spelling, but it did include the data in the firt table even I have done the roolback <22> UnTip: Em... if you don't know MySQL p***word, #mysql. <13> Rubberneck: ok I fix that <21> 10x <22> 9w <22> Azuos001: which MySQL do you use? <7> Azuos001: and where did you start your transaction ? <13> Rubberneck: http://pastebin.com/750971 <---- I had set the SESSION 'db_is_logged_in' but it wont trigger the if <23> mysql Ver 14.12 Distrib 5.0.16, for slackware-linux-gnu (i486) using EditLine wrapper <13> Rubberneck: http://pastebin.com/750863 ---> http://pastebin.com/750971 <23> Rubberneck: When I put the right name at my table name it works. <23> Rubberneck: I start my transaction when I put mysql_query("SET AUTOCOMMIT = 0") at the beginning of my script <22> isn't there supposed to be BEGIN at the beggining of transaction? <23> I put a wrong name at second table name to see if my commit is working <23> Wolfpaws: Do I need to use BEGIN? <7> Wolfpaws: i went and looked it up when i didn't see it but dosen't look like it <23> It does not say anything about it - > http://dev.mysql.com/doc/refman/5.0/en/innodb-and-autocommit.html <22> Azuos001: I do not know... I'm used to deal with postgres' transactions... Ask in #mysql. <24> On one server i got (php app + mysql). On the other server i got some untrusted app, which can;t directly access the database, i want it to call some methods, whoch after validating would do database operations. What method would you advise me? Maybe SOAP ? <23> they are sleeping <22> !+g8 <25> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here. <22> zimnyx: SOAP, REST, XMLRPC,... <23> Could somebody help me in PVT? <22> Azuos001: ...or ask in #mysql (as said) <23> they are sleeping <22> have you actually *asked*? <23> yes, twice <23> before come here <13> Wolfpawf: From http://pastebin.com/750863 to http://pastebin.com/750971 <---- I had set the SESSION 'db_is_logged_in' but it wont trigger the if <24> Wolfpaws: I have no experience, what is good for beginning? <22> zimnyx: REST sounds pretty simple... I tried to work with SOAP but it was a bitch. <26> Hi I have some question about file_get_contents() <26> It seems that it caches the file <26> Are there any workarounds? <27> Some "people" who we hired to put content into our database have copied and pasted from MS word into out MYSQL and put in alot of ****y characters <27> funky <27> sorry, that was a typo <28> eww <27> so, I though I'd use curl to pull the data into an xml document and strip out hte nasty poo <27> I'm not certain if I can though <27> can I? <27> I'm then using hte xml document to display the items using simplexml <27> but, it cant handle it becausae there's stupid characters in there <13> hmmm <27> once the characters are in the database, if I tell the curl to make the xml file UTF-8 format, will that remove the characters? <27> it doesnt seem to, but I'm not certain I'm using curl properly <29> >> " Reading stops when up to length bytes have been read, EOF (end of file) is reached, (for network streams) when a packet becomes available, " << I am using a socket and then the waiting is presented when using fread(); how can i disable that..? <7> Drakas: you can use a non blocking socket but you have to be carefull because if your in a loop it will eat up all of your cpu looping though there trying to read data <29> using usleep() is ok, isn't it, Rubberneck ? <4> how to install runkit on a dabian system. I downloaded the srouces, but can not find a doc on their page. Could someone help ? <29> i have nonblocking socket set, i open with fsockopen and then stream_set_blocking($this->socket, false);# <27> here;s my curl command <27> curl --header "Accept: text/xml; charset=UTF-8" http://localhost/xmlevents/list5xml > eventsout.xml <29> !tell xored about g10 <27> lig, does that look right to you? <29> xored: are you trying to install php or something else..? <28> vanderkerkoff, I only occasionally work with curl, so I don't know. Sorry <29> Rubberneck: it seems that it is working as expected... but ne thing - i do $more='xz'; while($more!==''){$more=fread($socket,1024);$buf.=$more;} .. and it still loops.... <4> Drakas: No i have pho running, for 6 years :) I jsut need a "namespace" or lets say a function that i can redeclare cl***es ( do not ask why, it needed). THe only way is runkit, why i found on php.net <29> what's runkit, xored ?? :s <4> http://de.php.net/manual/de/ref.runkit.php <28> vanderkerkoff, php.net/str_replace <29> eeh :/ <4> Drakas: what i need is runkit_import
Return to
#php or Go to some related
logs:
#linux skip-networking mysql5 debian
subroutine twice perl #linux mysqladmin -u root password myPassword www.randomusic.com #centos gentoo install KeyError: 'loop' #perl ubuntu lirc_serial
|
|