| |
| |
| |
|
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
Comments:
<0> Skinkie: it return nothing? <1> fumanchi, nothing but it isn't null <0> an empty string? <1> if ($inhoud === null) die('it does'); (it doesn't stop here) <2> Hey, could any of you help me with this error message I get while installing PHP5? http://pastebin.com/625287 <0> please initialize your inhound-variable <1> fumanchi, Notice: unserialize(): Error at offset 0 of 2301540 bytes in /tmp/POS/test.php on line 18 <0> ok.. then somthing failed... <3> anyone know how to return the full path of a file not including the filename though <0> pleace past the first few bytes of your file.. <3> like c:\www\ instead of c:\www\index.php <0> s/past/paste <1> fumanchi, H?^Y?^Q7 <4> maver: this code works if i call sub1/s1 <4> but not wen i call s.php <0> Skinkie: could you send me a small example by mail?
<5> schnoodles: php.net/dirname <1> fumanchi, i'll mail you the scripts <0> ok... and i try it out :) <5> MicW: I'm trying your code <4> output from s.php: <4> s1 <4> Warning: include(../sub2/s2.php) [...] failed to open stream <4> is there a way to find out, which php file is currently running? <5> MicW: use __FILENAME__ <1> fumanchi, you got mail <6> Is there a way to check a SQL query using a WWW-Authenticate header? <7> what? <4> maver: what is __filename__? neither a constant nor a (global?) variable <6> I got as far as if(!isset($_SERVER['PHP_AUTH_USER'])) :p <6> but then what does it need to do <7> MicW: __FILE__? <8> hi all <6> hi kioto <8> there is any people that work with paypal <5> sorry, MicW, use __FILE__ :) <8> hi <5> however <4> ah ok <4> nice <5> MicW: it doesn't work to me too <5> you should give an absolute path <6> I just wanna know <6> howto check a www-authenticate, can that be done with POST or something? <4> maver: absolute paths are bad <4> won't work anymore if i move a preoject <7> olger901: you aren't making a whole lot of sense I am afraid <7> MicW: basename(), dirname() <6> meaning I got SELECT * FROM users WHERE username='$username' AND p***word='$p***word' <6> but what does $username need to be <5> MicW: you can dinamically build them <6> because $_POST isn't working here <5> MicW: however, take a look at http://us2.php.net/manual/en/function.set-include-path.php <7> olger901: I hope to god what you just pasted isn't an actual code <7> olger901: are you looking for the browser-issued authentication data? <4> maver: but this would be a lot of code which had to be in a function which is in an include and there i have again the problem that i don't know the actual path for the inlucde ;) <6> mst: yes <6> and it needs to authenticate from SQL <6> MySQL to be exact <4> ah. this set_inlucde_path might work <9> olger901: look at the chapter on HTTP authentication in the manual <7> olger901: http://www.php.net/features.http-auth <0> Skinkie: i cannot do anything without your myCl***es.php :( <1> :o <0> Skinkie: could you please do some simpler tests? <6> thx that is what I was lookin for <7> olger901: and for the love of god, QUOTE THE VARIABLES <4> or i use include(dirname(__FILE__).'/relative-include-path'); <4> yes <4> that's it <4> thanks <1> fumanchi, with the simpler test it does work... <4> works. great <0> hmm... <0> Skinkie: perhaps there are some changes made on the zend-api...
<1> http://pastebin.com/625310 <0> Skinkie: chekc the internals <1> fumanchi, which and how :) <0> Skinkie: ok... there are some buildin serializers <10> Hi, I'm doing a php page but I have a problem. I created a menu where all records are taken from a select of a db. Now I'd like that an user can choose one of the value and clicking "add" it stores the value in another table. <11> Hi, I have this here: for ($i = 0; $i < count($comments); $i++) { what I really want is for i to stop at count($comments) - 1, so it never uses the full count, just the count - 1, how can i do this <0> Skinkie: kompair their unserializer-function with the one given in the binary-serializer's sources <6> mst: I am :p <11> anyone? <11> would it just simply be for ($i = 0; $i < count($comments) -1; $i++) ? <1> fumanchi, mmm... i think i better upgrade php first and then check what changed <11> wow that worked <11> nvm lol, thanks anway folks <9> ReT: ***ign something like $num_comments = count($comments) - 1; on the previous line. It saves you from executing count() on each iteration. <11> ok thanks man <11> I'll do that <1> fumanchi: this is the reason why fbinary should be inside php ;) if they change something they break it ;) <12> Hi all <13> please what is the correct syntax to modify p***wd in an ldap record ( in md5) ? i ve tried this as i found with google but it doesn't work <13> {md5}".base64_encode(pack("H*",md5('p***wd'))); <13> $infos['userP***word'] = "{md5}".base64_encode(pack("H*",md5('p***wd'))); <13> this to be exact <14> in an email, what would I use to decode 7bit and other? <15> can't get uploads working in, er, safe_mode. Anyone ever done it? <16> hellooooooooooooooooooooooooooooo <17> is there a function to locate or read the last line of a file? <16> is there a function to erase each occurence of a sting in a string ? <18> !+strings <19> [STRINGS] Please read http://php.net/types.string for a basic understanding of how strings work in PHP, as well as http://php.net/strings for functions to manipulate strings. Be sure to read 'user comments' as well. <16> :/ <20> does any1 know C ? in C there is a type enum, does exists in php something like enum? <21> ##c <22> Julian|Work: reread. <21> I believe it supports the syntax. <21> et: answer :P <22> tecnoba: no, and usually you don't need to. <17> tecnoba: you can often use define() to create something similar <21> Nah, it doesn't. et, $arr = array(1, 2, 3, 4); <22> Julian|Work: that's not whan an enumerable type does. <21> et, sounds like you should jump in and answer this one. <21> I am aware that's not what an enumerable type does, but PHP does not provide syntax equivalent to C's enumerable type. <22> i answered him, and cobar told him why he doesn't need them <23> hi guys! I want to know if a value starts with x, how can it be done? thanks :) <24> strpos() <23> thanks <24> np <23> http://www.php.net/manual/es/function.strpos.php neat! :D <16> si hin he got an answer ! <16> so unfair <16> you don't like 21 do you ! <23> what's your problem roger? <16> i knew it <16> just joking <9> roger21: Jymmm answered you <24> roger21: do rtfm. but what you want is str_replace() <16> :) <24> avast! <23> how can I remove x from the variable that starts with x? :D <23> ie x345 to 345 :D <9> carlos-the-man: roger21 knows <23> roger21 how can I remove x from the variable that starts with x? <16> !+strings <25> hi all, i m getting this error: "Unsupported operand types" the error is in this line: $total = (($total2 * 100) / $vendas_total); <1> fumanchi, another mail of me :\ <25> is something wrong with my code? <26> I'm currently running a vBulletin forum on my site, but vBulletin is by and large a pain to maintain. I'm looking into alternatives and are trying to find really lightweight alternatives. Fast and scalable (performance wise) systems which can be extended upon. I've come to realize that I don't need all the bells and whistles vBulletin has to offer, I can implement the stuff I truly need on my own. I need the most basic fea <23> sapo means toad in spanish :D <26> PunBB looks interesting, but the presentation layer is embedded within the logic which is in my opinion a pretty dumb decision <25> carlos-the-man, in portuguese too :) <23> kewl <25> carlos-the-man, i m brazilian :P <26> however, I suppose I could fork it and remove all of that, implementing smarty on top of it instead <9> sapo: is that in code you wrote or an add-on package? <26> So far PunBB is the only board I've found that satisfies the whole "non-bloat" requirement
Return to
#php or Go to some related
logs:
#web #kde debian strings command apt-get spdif bzflag Invalid module format kmilo linux running from ram #lisp dapper drake +overclock +bugs #css #javascript
|
|