| |
| |
| |
|
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
Comments:
<0> jiggster example: http://static.flickr.com/35/68122547_7d6160cf29.jpg <1> is it jurry or jerry? <0> jiggster : http://static.flickr.com/33/61765799_f610fa36cb.jpg <0> jiggster HD is carved and hand painted <2> how can i get php to make a <dc:date> correctly for rss 2.0? <1> echo <0> lol <2> well i mean liek withe the date() function or something <3> shadowarts_mac: http://www.php.net/date has a list of formatting characters to use to format it the way you want it. <1> echo date(); ? <2> ok <0> itrebal: I WANT to carve this, but it but such a bitch to do so.... http://static.flickr.com/36/78131910_21ba11022b.jpg <1> Jymm: holy ****! <2> how can i make it so my php script doesnt send the header text/html <1> header('Content-type: not_text/html');
<0> itrebal: That would be so awesome... and the entire aplhabet is differetn too... If you noticed... Bear, Bee, Buffalo, Bat, Bird, Butterfly, Bald Eagle, Beaver, Badger, Bobcat, etc <1> Jymm: did you make that? <0> itrebal I wish =) <1> i didn't think so :) <0> itrebal geeeze, thanks. <0> itrebal NO SIGNS FOR YOU! <1> gosh... sign nazi... <4> is there a simple technique to turn a tree represented using (), into a construct in PHP? (as nested arrays). (0(1(2),3(4))) <5> Heh, use LISP. <4> hmm, nothing efficent in PHP? <1> meh, parsing, regexen... <5> Not that I know of, you could try rolling your own. <1> theres a way, effective/efficiant? probably not <6> Jymm: ahh i see <5> Yeah, parse it yourself is what I meant. <6> cool stuff man <0> jiggster ty <4> what is this 'cool stuff' ppl are talking about? I missed it. <1> ursine: drugs <0> jiggster: Rosettas, same just inverted: http://static.flickr.com/27/63920684_9c29dfa3df_m.jpg and http://static.flickr.com/31/63920683_4c9ffd9b7e_m.jpg <5> It's the secret ti immortality, and you missed it. <6> thats awesome <4> damn <5> Those images are just our cover. <4> for a book about drugs for immortality? <0> jiggster So, if you need something done, let me know. I have at least on ereference on here... dont I itrebal <0> s/one/one/ <4> ok. nm. :-) thanks for the help. <6> hehe, ok :D <0> actualyl two <1> jiggster: no, not at all - its awfull, dont use him... not really, hes good <0> itrebal Shall I show him yours? <1> Jymm: if you want, i have no good pictures here :) <1> they all came out fuzzy... cameras on the fritz <0> Here's the 3D rendering... http://static.flickr.com/36/77663113_7364fb12a4_m.jpg and the final result... http://static.flickr.com/38/89077820_5e05e23758_m.jpg <0> jiggster ^^^^^ <6> sweet <6> j00 be damn good at that man :| <0> jiggster Just a tad =) <7> has anyone used array_filter enough to know how to make it unset empty array iterations? <7> I've read the manual and looked all over google and i cant find a decent example on how to do it on a simple array <1> bed <1> night <0> g'night itrebal <6> gnight <8> how do I stop some people from including files from say /usr/lib/<somedir> but alow others to do so without creating a zoo of unix groups? <9> Make a group of unix groups. <8> hmm <8> i don't want to have to do that too messy <10> Is there something special I have to do to get str_replace(); to work for placing an image url? I have {IMG_SRC}/services.jpg in an html file and then have {IMG_SRC} being replaces by the proper URL, however the image appears as it cannot be found. <11> is it possible to use php code inside a css file <0> Emma It sounds like you're using some script... try #yourscript for support. <0> cheikh Yes, but the .css file has to be .php <10> I made the code... Not using a pre-made script... If thats what your implying... <0> Emma then why are you using {} for variables instead of $blah ? <10> Anyway, I tested it using because its in an HTML file <10> eek
<10> Jymm: Because it's in an html file. <0> Emma we dont support html/js in here either, that's #web. and html doens't use {} either <10> Jymm, lol. The HTML is not causing the problem. <10> The PHP is. <0> Emma Again, PHP does not use {} for vairab;e replacement. <0> variable <10> If I replace {TEST} with the URL it displays the proper URL however when I have it in the image tag it will not display the image. <10> Jymm, again. The {} is in the html file. The str_replace(); replaces the {} with another value. <12> hey, is there a way to make a variable global so that you dont have to put global $var; at the begining of all your functions? <11> on a apache server is there way to have php code inside .css file without having to change the extension of the .css file <0> !+at <13> For Apache to be able to parse your .php files, you need to add this line to your config "AddHandler application/x-httpd-php .php". To make .phps files work too, you need to add "AddHandler application/x-httpd-php-source .phps" also. You must restart Apache after adding either or both of these lines. <10> cheikh: No, php can only be inside a .php document. <0> cheikh read that ^^^^^^^^^^^^^^^^ <11> i have <0> cheikh then read it again, as it's your solution. <0> !tell cheikh about at <11> still believe there may be a workaround maybe my question is not very clear <0> cheikh I JUST told you. <0> cheikh php-bot just told you <11> got it <14> If I get a segfault, it's a bug, right? <14> anyone want to help me submit a bug? <10> Jymm: Mabye you did not understand my orginal question. Here is the setup: I have an HTML Template File for my header, and I have index.php read the file and replace strings (such as {TITLE} and {DATE}) using the str_replace(); function.. I was woundering if for some reason that will not work inside and <IMG> tag. Because I have it setup as <img src="{IMG_SRC}/logo.jpg"> and index.php is supposed to replace {IMG_SRC} with the proper URL. <10> The reason I ask is because my {DATE} and {TITLE} work fine, I checked the path it types as the source and it is correct aswell. <10> Yet the logo appears as the image cannot be found. <14> Emma, not that it's any of my business, but you can do that an easier way, I think <14> <img src="<?php echo $src ?>/logo.jpg"> <15> how can I make this XHTML 1.1 valid: http://rafb.net/paste/results/uGeTXz98.html <10> Yes I know I can rename the header file as a .php and have varibles, however I do wish to have it as an HTML document. <14> how are you running the php then? <0> Emma str_replace is very expensive for such things. That's why we have variables. you can even have it pars to an variable the save the results as a static file if you like. <6> rawr! <6> i cannot think of a site design to do <0> Emma are you aware of HEREDOC by chance? <10> The thing is it all works, except the images. <14> if you want the file to show up as file.html instead of file.php, you can accomplish that with apache config <0> jiggster make me a nice css file that only uses 4.01 tags and maybe DIVS <6> ergh :\ <6> i'm in Photoshop <6> but i just can't... design anymore :P <14> jiggster, ajaxify my site <14> hmm <14> maybe you should switch to programming? <16> What function converts a letter to it's ascii value? <14> :-D <0> chr ord <0> chr() ord() <16> how about the function that shows how many characters are in a string? <16> thanks a ton! <0> !+strings <13> [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. <14> no one wants to help with a bug? <14> I could just wait until tomorrow <14> not like it's a very common or serious bug <14> just a bear to find <0> cjaymes what, you fingers broke? <14> bug is: if an object refers to itself; segfault <6> Sleemans cream ale <6> good stuff that is <14> Jymm, brain is <10> I know i can change the apache config, use php varibles, so on... However, I would like to stick with the str_replace();. It has worked fine for me so far until I tried to use it as an src for the image. Can anyone ***ist me on this issue without suggesting alternates please? <0> cjaymes smash againest concrete till rsolved <14> Jymm, is it supposed to hurt? <0> cjaymes No, if it does hurt, it's just in your head <0> becasue its broken <14> Jymm, I'll file it tomorrow; I'm too tired to really figure out all cases of occurrance <14> and I can't spell eyther <0> cjaymes: I'm not too tired, I just dont care. =) <14> heh <14> I wouldn't normally, but it took me a while to figure out what it was <14> apache isn't terribly helpful when php (or something else) segfaults <14> I kept hitting refresh & got the same damn thing
Return to
#php or Go to some related
logs:
+WARNING +fedora +alacarte #perl how to change startup graphic Eyecue ping
#linux debian tiacx deb #linux ctorrent keyword masked gnome menu-scrolling #qemu
|
|