| |
| |
| |
|
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
Comments:
<0> <? <0> Who knows what that is. <1> :P <0> Make sure your character set is right. <1> could it be this binary upload? isn't there two types of upload <0> Yes, but that doesn't really matter on a *nix machine. <1> Oh <0> And binary uploads won't hurt text files. <1> Hmm I don't know why it's doing that <0> Just upload it again-- I had a ****ty host that would always corrupt my files the first time. <0> Upload twice, it's fine. <1> I have reuploaded but to no avail <0> Do you have shell access? <1> No I don't <0> Alright, try opening the file in your local text editor. Make sure it's okay. <1> ok
<0> Copy and paste the good text into a new file, then save and upload that. <0> Try try try <2> Julian|Work: did you upload as binary or ascii? <1> Still not working :s <0> streetBUM, try switching binary/ascii <1> I have it on auto in my FTP program <2> binary would be best <0> Everything auto is safe. <0> er, binary that is. <1> I have tried switching <1> Not working <0> Talk to your host then. <3> Xyphoid: i made a function that in my opinion is easier to maintain, but is similar: <1> Hmm I'm unsure if it's that though, myother files work fine <1> Oh <1> Could it be this <1> include "$val"; <1> should that be include $val; <0> Nah, doesn't really make a difference. <3> IMHO it should be include($var); <1> Oh <3> Xyphoid: http://pastebin.ca/41684 <3> streetBUM: but it doesnt need to be <1> Ok <4> any ideas why my php script that grabs some data works in a single page but not when i turn it into a function? <3> paulstuffins: variable scope issues? <5> I just got this error message: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2997363 bytes) in <1> Darn I can't work on this untill I get it fixed :( <5> isn't 2997363 < 8388608? <6> it probably means that you already had some <6> and then tried to do that, and went over <7> newpers: That's not the point; that's how much it was attempting to allocate at the time that it reached your memory limit. <5> ohh <5> so, what's that mean <5> i'm screwed <6> could up your memory limit <5> i'm trying to attach a pdf to an email and send it out to the user who filled in the form <6> in your ini <5> shared server <5> not mine <3> .htaccess? <8> im getting weird behavior, im calling convert (imagemagick) using exec(or p***thru) to convert a PDF file to a PNG file, convert core dumps when i use apache, but works fine when i run the same script via cli <6> or don't send a 3 MB attachment <5> good idea <5> i'll just give them a link <6> most people don't like that <3> .htaccess <5> haha <1> It isn't my hose Julian <1> Host* <5> also, is it recommended that I include 'Content-Type: text/plain; charset=iso-8859-1' at the top of a text email? <5> body <1> Darn it it is my PHP editor <3> streetBUM: what OS/Editor <1> Windows: PHP Developer 2006 <1> Should unicode be turned on? <9> hey, can someone check out this pastebin? http://pastebin.ca/41685 <3> streetBUM: i used this for a long time, http://www.dzsoft.com/dzphp.htm loved it - i can even give you my CD key :) <9> I'm trying to run a static function on a variety of different cl***es that all have the same static function <3> streetBUM: err... no i cant - i lost it
<1> haha no problem I got this one working now - I had unicode turned on <9> oh well, f it, i'll just use Eval! <0> ken__, is what you're trying not working? <9> Julian|Work: yeah, check out the pastebin: http://pastebin.ca/41685 you can see it doesn't work -- it errors out <9> i'm on 5.1.2 <0> Well I don't see that it's not working <0> What happens when you try to call that? <9> Julian|Work: uh -- here: <9> is_callable: 1 <9> Fatal error: Call to undefined function Test::RunTransaction() in /var/www/rbilling/test.php on line 11 <0> It's not parsing out the Test:: <9> Julian|Work: doesn't matter if it's a static function or not <9> Julian|Work: ok ... ? <0> It thinks the function name is "Test::RunTransaction" <10> hey guys <10> i have a photography site @ www.lifethroughpictures.com and I want a way to automatically load images so I do not have pages and pages of html <9> Julian|Work: ok -- any ideas on how to get something like that to work ? <11> why won't php let me do: define('A', 1); define('B', 2); $foo = array('key' => A|B); <3> adam25: what version of PHP? <3> 4.3.9? <10> 4 <10> ummm <10> 1 sec <0> http://us3.php.net/manual/en/function.call-user-func.php <0> You need to instantiate the cl*** though <10> 4.3.11 <3> adam25: i'm sure you have 4.3.9 <9> Julian|Work: i'd rather not instantiate the cl*** <3> oh... <12> ken__, I'm not sure, but, couldnt you call is_callable(array('Test','RunTransaction')) ? <3> close 'nough <3> adam25: look into php.net/glob <10> cool so it can be done? <0> ken__: I believe that's as close as you can get without an eval(). <10> k <9> bugzElMagnifico: yeah, is_callable works just fine, but i can't actually call the param ;) <3> adam25: you'd use glob, a foreach, and echo - pretty much <9> Julian|Work: but why does is_callable return true then ? <3> adam25: first website i *like* the background music <0> ken__: couldn't tell you <0> Load that page I pasted, and look at the comment from "mw at lanfear dot com" <0> I think there's a solution. <9> Julian|Work: well, i'll put it on the notes section on the PHP website, hopefully someone will fix it or something <10> itrebal: background music? <10> sorry i don't know php <0> ken__: check that comment, looks like it's already there <3> adam25: the background music on lifethroughpictures.com? <9> Julian|Work: yeah <9> Julian|Work: thanks for that <10> no lifethroughpictures.org <9> Julian|Work: you th3 w0rkz as the comment says <10> sorry <0> ;] <0> -e <14> Howdy Mike. <15> hi hi <11> any ideas why I get an unexpected T_STATIC error doing: define('A', 1); define('B', 2); $foo = array('key' => A|B); <3> adam25: i ment lifethroughpictures.org <1> Thanks again guys, I'm going to get my beauty sleep <10> itrebal <10> can you help? <3> adam25: with what? <10> with my issue <10> are there any examples of people doing that <3> adam25: PM me <16> ooorah! <17> gotta hate torrents <6> what is ? <17> non-breaking-space <6> ah, ok <18> so PHP and Apache are installed..
Return to
#php or Go to some related
logs:
finite domain is a division ring #web #web fast qrserver #lisp syslog-ng loglevel amsn ubuntu not showing in synaptic #osdev cirrus logic 4281 alsa gentoo depclean removes livecd kernel
|
|