| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> dammit, remove the stupid things around your name <0> you need to make sure the information you're getting from your database is in the same encoding as your document, and the same encoding that you're sending in the header (don't use meta, use header() ) <1> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <1> defaulrt <2> aidan: can't - it's registered like that - 2 - is meta tag not enough? <0> ^rob^: so? you can link nicknames <2> AlexW: same thing. <2> it might be apache the guilt <0> I just explained what the problem is... <3> aidan, i still get same error, maybe i must use php5 with proc_open pty ? i tried pipe <0> Dejavu: I don't know, you need a pipe guru like Pollita <3> k thx <1> ^rob^, what exactly is wrong? <3> how can i run script from php (script is suid root) to make it use su user -c cmd ? error is standard in must be a tty. i tried proc_open and to use pipes for stdin stdout stderr <2> AlexW: 1 sec - i re-read the get_html_translation_table specs - brb <0> sigh
<0> some people just can't be helped <0> Jymmm :) <4> aidan ? <0> sorry I missed you before <4> ah <4> aidan: Unencrypted pdf and converted to html == $10 USD <0> haha, you tight-arse! <4> aidan: Hey, it's for a company, they can pay. <0> it's my company! <4> aidan: Fine, you can pay. <0> I have about 40 to do, it's far cheaper to ring the original author <4> aidan: Come one now... Cryptograpjy services as well as data conversion for $10 is cheap. <0> the data conversion is drag and drop, the cryptography is what's killing me ... and the program to do it is 29.95usd <4> aidan: Fine, I'll do all 40 for $300 <4> aidan: Now who's beiang a tight *** <0> I'd rather ring the author than paying the $29.95, so I don't like your chances Jymmm :) <5> . <4> aidan: See, now you lied to me. You said you were the cr holder. <0> I am the copyright holder <4> aidan No, the author is, you're just a licensee <0> nope, we're the original publisher <4> whos 'we' you mean you! <0> we, the company is more than me <4> see, everything out of your mouth is a lie. <0> virtualexplorer pty. ltd. owns the copyright <0> haha it is not :( <4> aidan you just said you own the company <4> more lies <0> the author wouldn't be the actual writer of the material either, it would be the person who formatted the pdf based on the .doc we received <0> Jymmm: I'm a joint owner <4> Now even more lies... I know what format the original pdf was created from and it aint .DOC either! <0> of course ... you can't export a .doc as a pdf <4> aidan: Yes, you can. <0> they would have manually copied the text from the doc into indesign (I'm pretty sure this year was done on a mac) <5> hi there <4> aidan nope, still lying <0> Jymmm: haha, still? I've debunked your other claims <4> aidan you've tried, and failed. <1> PHP 6 :| <1> my server aint even on PHP 5 yet :P <0> we have over 40gb of content, you're talking about several 100mb of it, surely you don't expect me to know what program those pdfs were created with <1> datacenter wont upgrade to 5 as 'scripts dont support it' <0> AlexW: pay for better hosting then :) <5> AlexW, i have to work on php-4.1.2 that's pretty annoying :) <1> how can scripts not support it :/ <0> php6 is atleast a year away <0> AlexW; quite easily, there are numbers of bc problems <0> Vinadelmar: ouch <1> why not back support then <5> (with a lot of decent modules not compiled with) <1> Vinadelmar: how can you sleep at night?? <5> AlexW, ?? <1> lol <1> html chars come in handy <1> like the SQRT can be used as a tick :P <1> 99.5% Uptime <1> v v v v v v <1> whops P <6> hi <7> hi <6> its possible to use two or more phpsessions at time ?
<0> yes, give a different sessionid <8> Buuuut, is it necessary! :P <6> and can i switch betwen them in one request processing ? <3> how can i run script from php (script is suid root) to make it use su user -c cmd ? error is standard in must be a tty. i tried proc_open and to use pipes for stdin stdout stderr <8> Use sudo <8> s/Use/Try/ <3> i dont want sudo <3> and sudo isnt related <8> Heh, `sudo -u user command` <0> man it's hot <8> Me? Yeah... <5> kuja is always hot :) <8> =) <3> kuja, it will give same error dont u see <3> kuja, the problem is the commands like su and sudo needs tty like shell <8> That's why you got suexec/suphp <8> php-bot: tell Dejavu about u <9> hello people! I have a strange problem with PHP 5.1. At some point (not sure when it started) it started crashing on line: trhow $ex; this happens with CGI installation on IIS in WinXP and Apache2 on Linux (haven't tried modules so far). Any ideas? can I at least get bt easily? <10> crashing how? <9> like this: "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" <9> log files prove that php process just finished <10> perhaps its because your throwing an exception? not sure <9> but isn't default exception handler supposed to be called? <9> Plasma, well, but there is an exception handling function <10> perhaps its some bug with the cgi version? Im not experienced with it sorry :( <9> eh..... anyone else people? plz! <1> what is SCO? <9> SCO Unix maybe? :) <11> guys, I have an array called $optionals that contains ("ac", "dh", "bc") and so on and I want to declare new variables that could use its elements into its name. like $b_ac, $b_dh, $b_bc. I'm trying to implement that with for: $counter = count($optionals); for ($i=0; $i <= $counter; $i++) { $b_{$optionals[$i]} = isZeroOneNull($$optionals[$i]); } <11> when I echo $$optionals[$i] it gives me $ac, $dh, $bc (correctly), but when I echo $b_{$optionals[$i]} it gives me: Arrayac, Arraydh, Arraybc and so on. Do you know how to fix it and make $b_{$optionals[$i]} $b_ac, $b_dh and $b_bc? <12> How can i make sure that preg_match will match only english [a-z] and not my national chars ? <12> do i need to [abcdefghijklmnopqrstuwxyz] ? <13> [A-Za-z0-9] <12> kestas: no, it will match my national chars too <13> zimnyx, really? I don't think it should <3> kuja, suexec doesnt help here, i dont want to change to uid of 1 user <3> it depence on who comes to the site <13> Arthur_, I'd make a string like $var="b_".$optionals[$i]; and then do $$var <14> can anyone point me to some information on converting html to pdf with php (if possible) <15> J[SS] <15> http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/PDF/ <14> thnx <12> kestas: yeah.. it [a-z] doesn't match my national chars <12> neither \w <12> So how can i match my national chars in pref_match pattern? <16> [x20-x50] etc. <12> thanks. <16> [\x20-\x25] <11> I'll try that kestas. <16> I think <16> nfi about the numbers <11> kestas, that worked, but how can I see the content of the new $b_ generated var, as $$var gives me the string $b_ac, $b_dh, etc... How I could get $b_ac content for example? <17> trying to work out how to enable imap open <13> Arthur_, I dont follow <18> any way I can go about running something when a person leaves a page? I'm trying to grab the time <19> What function would I use to only allow a GET to have a .jpg (or any extension) <20> ? <20> you want to GET a photo? <20> the name and location would make more sense <21> as in a file upload? <19> Err.. blah.php?pic=filename.jpg <21> if i have a singleton cl***, does that mean that each user only has one instance of the cl***, or the whole site only has one instance across all users? <19> displays filename.jpg.. I want to exit(); if it's anything but a given set of extensions <21> then if (preg_match('#\.jpg#',$filename)){.... do good stuff} else { do bad stuff } <19> Thanks.. hate regexp <19> :] <21> preg_match is what you want <21> you can set up an array as input <21> ie. an array of filetypes <19> Yea I hide from it.. too confusing right now hehe <22> if ("Simply_Da_Best" == "simply_DA_best") { echo "yes"; } <19> Ah yea thanks <21> get your head around it, easier than it looks <22> why isnt it equal? is it case sensitive?
Return to
#php or Go to some related
logs:
hyper key linux iscompany database debian access_file access error: cannot open file gkrellem #centos smergler debian belkin rt2561 emerge kde-header #php selinux /etc/groups
|
|