| |
| |
| |
|
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
Comments:
<0> r -X -DSSL -foo -bar -baz <1> TML: can PM you? <2> k :) <0> deadroot: Sure <3> is it possible to create a server side timer using php? <0> Anyone have a Krugle beta account they'd be willing to...erm..."share"? ;) <0> Gimble: What do you mean by "server side timer"? <1> TML: err nm <0> deadroot: ? ok <3> TML: I'm trying to create a timed "event", something that'll calls a function after an x amount of time <2> TML: I could have shared my account but it seems they have no way of changing the p***word initially ***igned. <2> As yet anyway. <0> Gimble: Generally, PHP is the wrong tool for that because it's used in client/server interactions, and is not supposed to persist (very much) beyond the length of a client connection. <0> Narada: Blegh <0> Narada: I suppose that's intentional <3> alright, I already suspected as much... got any suggestions on good tools?
<2> TML: It would make sense if it was yeah. <1> TML: i'll PM you to explain <0> Gimble: cron <3> ahh, that works on windows? <4> Gimble: im sure you could use windows task scheduler thingo <3> hmm, that thing messed up every time I've used it, even though I used it right *whistles and coughs* <2> TML: When I do the run command with all args it says "(no debugging symbols found)" about 10 times. I have enabled debug options in apache and php. Any idea whether that is a problem? <0> Narada: You recompiled Apache and PHP with debug symbols? <2> TML: yeah <0> Narada: Did you compile them from source, or use some form of package system? <2> TML: package system <0> Narada: Which? <2> TML: portage <2> USE="debug" emerge apache dev-lang/php <1> Gimble: there is win32's task scheduler <0> Narada: objdump -t /usr/sbin/apache2 <0> Narada: Does that show anything in "SYMBOL TABLE"? <5> anyone know a nice php upload image and resize script? <2> TML: SYMBOL TABLE:no symbols :( <0> Narada: You appear to have misunderstood how to compile with debugging enabled. <2> TML: yeah quite possibly; i'm no sysad and our sysad doesn't know this stuff <5> can anyone see anything bad anbout this : http://www.fundisom.com/phparadise/php/image_handling/image_upload_and_resize <0> lilo: You in? <6> Anyone see why I can't read the file ? $filename = "c:\createPDF.pdf";$handle = fopen($filename, "rb");$pdfdata = fread($handle, filesize($filename));fclose($handle);Header('Content-Type: application/pdf');header("Content-Length: ".strlen($pdfdata));Header('Content-disposition: attachment; filename="createPDF.PDF"');readfile('c:\createPDF.pdf'); <7> quelquun connait un moteur xsl en php qui marche sur un serveur mutualis <8> ace_me: please, please, use http://pastebin.com/ <8> i would gladly take a look but not pasted in the channel like that... really hard to read <8> mathis__: i can't help you if i can't understand you - english please <6> <8> here it is: http://pastebin.com/718355 <7> anybody knows a xsl motor in php which run on mutualize server ? <6> <7> are U CA ? <0> !tell ace_me about u <7> CA ? I dont understand <6> !tell ace_me TML <9> he's from france <6> !tell ace_me rules <0> ace_me: Look at the topic <6> :) <6> sorry TML <6> anyone see here where I have the problem !? http://pastebin.com/718355 The script said that the file cannot be found <10> people, <0> ace_me: Yes. <6> please tell me TML <0> ace_me: Please read php.net/language.types.string for rules about escaping values inside strings. <10> please help me with sql query generation <6> thank you TML <10> http://sial.org/pbot/17203 <0> The file "C:\createPDF.pdf" almost certainly doesn't exist, given that it'd be an invalid filename in Win32. <0> noppo: I don't understand the question. <10> this one returns a string like UPDATE testusers SET user_login='user1', user_grpid='4', user_firstname='', user_lastname='', user_emailaddress='', user_phonenumber='', WHERE user_login='user1' <11> http://www.rafb.net/paste/results/2Sa63715.html <0> noppo: Well, that trailing comma is probably invalid in most RDBMSes <11> anyone know why that aint workin? <10> TML: exactly <10> but how can i get rid of it? <0> noppo: By not appending a comma on the last iteration <11> its probably a symantic error, but i'm too 'mondayed' to figure it out <12> or by storing the pairs in an array and join()ing the array. <0> thyko: What is it supposed to do? <0> et_: An excellent suggestion
<11> chage charachter to their numeric equivalents <0> thyko: php.net/ord <10> TML: i would like to have it removed instead of not being appended <11> TML: eg A becomes 1 etc <6> TML I really thank you but still the same problem ! http://pastebin.com/718365 <0> oh, you mean in your array <11> yeah <8> ace_me: i took a look and i can only aggre on TML's comments <0> thyko: First, how about using range() to remove 25 lines of code? <10> TML: or please advice me a way how can i not append it in the last iteration <11> ok ... <6> I've changed the code ! please see the fixes ! <6> http://pastebin.com/718365 <0> noppo: I would follow et_'s suggestion, myself. <0> ace_me: Does the file actually exist? <8> ace_me: you have to pipe the file down to your filesystem too <6> The file c:\createPDF.pdf is there <8> but you don't seem to write to it <6> you have to pipe the file down to your filesystem too ? <8> hmm... <6> I'm just creating dynamically the file <0> ace_me: I don't understand that question. <11> TML: $bases[] = range('a','z'); <11> then? <0> thyko: Then, replace the rest of your code with a foreach() loop which calls array_search() to find the appropriate value. <8> well... step 1. try to just add a plain pdf file and try to open it first - try out line 6-9 first <11> boom! <11> trying ... <6> Here is the entire code !!! http://pastebin.com/718368 <8> ace_me:http://www.ros.co.nz/pdf/ <0> ace_me: Does C:\createPDF.PDF exist on the machine which PHP runs on before you try to open it? <6> exist ! but not very sure ! is created inside the same script <10> et_: please give me an example <13> Hey can anyone help me out with "Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module. "? <6> how could i determine ? <6> should i just check if exist ? <8> just open it <0> ace_me: That would be one way, sure <8> it should be on your hd if it works <0> noppo: php.net/join <0> Hezkore: Sure. Which part of that do you not understand? <13> Can i open a private chat with you TML? <0> No <6> the pdf is created by a system command so I am not sure if opening is not run too fast ?! <13> Lol xD ok <0> ace_me: That's certainly possible. <13> Ok well i'm trying to install mediawiki 1.6.5 <13> And i get Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=mysql.so in your php.ini in C:\Program\Apache\htdocs\mediawiki-1.6.5\install-utils.inc on line 19 <13> Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module <0> Hezkore: That's great. Please answer my question: Which part of the error do you not understand? <13> But i'm on Windows, shouldn't i get a DLL error? <0> It's pretty explicit about what you need to do. <6> so how could I fix it ? some like a while the last filename line is %%EOF <0> Hezkore: What do you mean "a DLL error"? <6> last generated filename line <12> noppo: http://nopaste.php-q.net/212181 <13> Ok well fine, i'll just add extension=mysql.so to the PHP.ini and tell you what happens <0> Hezkore: mysql.so doesn't exist on your OS <13> Yeah hehe <13> I tried extension=mysql.dll <0> Hezkore: PHP doesn't customize the error messages to every OS. They expect you to be able to extrapolate that piece of information. <0> Hezkore: Does a file called "mysql.dll" exist in the extension_dir? <13> Nope <0> Then how do you expect that to work? <10> TML, et_, thx! gonna check this out <14> Hey, <13> Well i asked around and they said "Download the ZIP file" so i did <0> Hezkore: Look in extension_dir for a file that contains the name "mysql". <13> There's a PHP_Mysql.dll and a msql.dll <14> Is it possible to turn a comma seperate string ( EG - 1,2,3,4,5,6 ) into an array? <12> AlexC_: http://de3.php.net/explode <14> et_ thank you very much :) <0> Hezkore: msql is not mysql. It's msql. <13> Yeah i know
Return to
#php or Go to some related
logs:
torsmo etch install libdvdread can't seek to block #perl idle users ubuntu autolog #php raid*noautodetect debian vmw codec ubuntu genbuntu gnome-mixer-applet gentoo lisp500
|
|