| |
| |
| |
|
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
Comments:
<0> lol <1> or is it str_queenrules_array() <2> anyway, gonna sleep <3> ||cw Not *THAT* kind of Queen. <4> ||cw: nice <1> Jymmm: str_ridemybicyle() ? <3> lol <5> str_bohemianrhapsody() <4> anyway stupid question... stupid answers ;) <6> anyone ever messed with watermarking files? <6> creating some sort of a hash that IDs a file and where it came from <0> isn't that just 'add water' thing? <7> hey... quick question. Perhaps I have just failed to notice until now... but are all nested includes that use relative paths always evaluated relative to the pwd of the script being called? <8> bampf! instant jpeg <6> well not strictly for jpeg <6> any file really
<6> just curious if that's even possible with php <6> like, say i give 5 people a naked picture of myself and it gets on the net <6> i'll find out who it came from <6> and beat them senseless <0> !+enter <9> Don't use the enter key as puncuation. Think in complete thoughts, then type. <6> !+thanks <1> kibab_: reletive to the get_cwd, which is general the path of the is the requested page. including a page does not change the cwd <7> ||cw: right... that's the behavior I was seeing... but the docs on include didn't make it clear whether the cwd was changed when the nested file was included... but it appears not. <5> can i use define() on a resource? <7> itrebal: why would you want to do that? <5> kibab_: organization of a file i'm working on <7> itrebal: It's supposed to be a constant and ***ign a fixed value.... <10> Pretty sure defined constants have to be regular scalars <5> thats what i thought, ok <10> Numbers, strings, booleans <10> Could probably use a singleton for resources <11> hi <11> if I cannot edit php.ini because I only have webspace and not a whole webserver, will php look at /phplive/system.php for local configurations? <12> wich is best charset=utf-8 or charset=iso-8859-1 ?? ?? <13> utf-8! <14> aarkerio: There is no 'best'. There's what makes sense for the situation. <15> aarkerio: which is better, polish or swedish? <14> GarethAdams: Come on, Swedish. <15> it depends where you are and the words you're using <15> lol <15> Sveedish <13> svenska <3> mattmcc: Elmer Fudd <14> I mean, how many stunning Polish blondes have you heard of? Seriously, now. <12> espaol!! <16> not sure if this is a newb question or not (which makes me a newb anyway, but I digress) <16> is there a way to get the last line of a large text file? <3> mattmcc: Note the first listing... http://www.google.com/search?q=stunning%20Polish%20blondes&sa=N&tab=iw <3> mattmcc: We have a winner! (not work safe) http://www.babylongirls.co.uk/judy_stunning-blonde.aspx <16> without going through each line that is <10> leprasmurf- not really, unless you do something like exec('tail -n 1 filename') <16> Dragnslcr: hmm, ok, ty <17> Hi <17> Is there a if key in array syntax like in php ? <14> http://php.net/array_key_exists <10> isset($array['key']) <14> Or that. <17> thanks <18> my friends , how i configure my php to send attachement with more than 2 MB ? <1> jsan: change the setting in php.ini <1> jsan: if you don't have access to the ini, you can do it via .htaccess <19> in safari/camino/etc im getting pages with funny looking diamond shapes with ? marks in them... happening on almost all of the php.net pages for me.. obviouslly im having character encoding issues of some sort... does anyone know how to fix it though? <20> jnoon do the same problems exist with firefox/mozilla suite/ seamonkey? <0> jnoon: Your charset is set badly <19> yes they all do it <17> Is there good templates possibilities with php ? <19> Stormchaser, know where i should start fiddling? <21> on my distro sessions are stored in a directory that's given permissions 01733 by the package installation script. does that need to be world writable? <1> trappist: it needs to writable by the user(s) that the php scripts will be running as, which is typicaly just the user apache runs as unless you have suphp <21> ||cw: that's what I was thinking. thanks. <0> jnoon: In the beginning? <22> hi guys :D i can't seem to save an image to my server (after logging in to a remote site) using curl, i manage to log in and extract the image url, but the saved file is 0 bytes. demonstration and source here: http://www.omlette.net/nyc <23> I'm having some trouble with a preg_match_all pattern, is there a way I can test it on the cli using perl or grep or even php? <23> omlette: what does curl say about the transfer? <22> when i run the script it appears as if it completes fine:
<22> http://www.vzwpix.com:80/mi/74148387_232011587_0.jpeg?limitsize=640,480&outquality=100&ext=.jpg&border=2,0,0,0 saved as 1! <24> any1 konw what kidna stuff phpmyadmin does w/ the gd library? (new extension) <5> omlette: funny, i'm having the same thing <22> but it just creates a blank file <23> http://www.php.net/manual/en/function.curl-getinfo.php <23> make sure it's getting a 200 ok <23> cause I'm getting "Error\nWe're sorry, this page is temporarily unavailable. We apologize for the inconvenience. Please try again later." myself <22> yeah, you have to be cookied afaik <18> ||cw i changed this paremeters in php.ini memory_limit = 16M <18> post_max_size = 16M <18> upload_max_filesize = 16M <18> file_uploads = On <18> upload_max_filesize = 16M <22> unless creating a new curl call eliminates the cookie that $ch is workign with? <18> bu t the error continue i dont send anexo with more 2 MB <23> omlette: yea it looks like you're not setting the cookiejar again <0> jsan: You did remembered to restart apache, right? <25> Looking to create an upload status meter, any solution for this besides patching php to do so? last time I looked that was only way. <22> so would this use the previous cookie, or overwrite it: curl_setopt ($k, CURLOPT_COOKIEJAR, 'cookie.txt'); <23> omlette: also, your curlinit of graburl_final isn't being saved anywhere <26> mikefoo, PHP doesn <26> doesn't see an upload occuring until it's already done. <26> I suspect that'd be an Apache modification. <26> Or you could make some file upload mechanism frontend in Flash or something. <23> omlette: I think so <25> yeah.. <22> how would i save it somewhere, wiz? i thought i had it set up to save as $num.jpg in the current directory (specified by $out) <23> err <27> mikefoo: Patching PHP, or using Perl/Python scripts to handle it for you. Megaupload is one example of using Perl scripts to ***ist. <18> yes i restart the apache <23> omlette: $k = curlinit <18> i restar with the commnad /etc/init.d/pache stop and start <0> jsan: Are you sure you changed the RIGHT php.ini? <18> yes <22> ahh <27> http://www.raditha.com/megaupload/ in particular <22> that might explain a few things... hold on :) <0> what does phpinfo() say? <28> why is it that a piece of code works fine in a browser, but from the shell it gives me undefined variable errors? <22> yay we're making progress, now it saves, but it saves the error page and not the image... problem is, this method works fine if i'm doing it manually <5> grr i broke my proxy script :( <0> because it uses browser-specific variables, qbwdp? <23> omlet, make sure it's saving the cookie <5> different error reporting? <29> is there a way to get date to generate dates as yyyy-mm-dd pre php5? <28> Stormchaser: i just tested it with <?php $hello; ?> gives an error <5> nater: ....yea? <30> qbwdp: Where in the world is $hello defined? <5> qbwdp: well, is $hello set? no <29> just insert the '-'? <5> palm + face <28> shiould it not say NULL then if i gettyp on it? <5> no <28> ok, i'll set it to something <30> qbwdp: var_dump($hello) will say null, yes. But you'll also get a notice. <5> it should say 'not defined' because a variable not defined isn't null <0> qbwdp: yes it should <30> itrebal: An undefined variable is null. <28> kuja: Stormchaser got it, thanx <30> Because null means "nothing" <5> kuja: and undefined variable doesnt have a value, but it defaults to 'null', no? <5> an* <0> qbwdp: use isset() or empty() <30> itrebal: Right, so essentially it is null. <5> just nitpicking <30> =) <22> wizard: i think its overwriting the cookie when i use the cookiejar again <5> omlette: it doesnt, i use the same method <3> lig Comments? http://static.flickr.com/45/119523753_28b7527b6a.jpg ( itrebal - you ask too many questions) <22> hmm :| <5> Jymmm: nice <3> itrebal premtive "nailed you *** to the wall this time" strike. <5> lol
Return to
#php or Go to some related
logs:
Error in I830WaitLpRing() gentoo #web #math #sql send unknown slash commands as messages mrawde mikeman jpg
error 27 unrecognized command solution gentoo VT1211 #php
|
|