Re: [PHP] [? BUG ?] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-10 Thread Richard Lynch
On Thu, June 9, 2005 4:12 pm, Catalin Trifu said: > Tried it and it works indeed, but it's quite annoying to make such > tricks > and is not the best solution either; fopen and fread are "expensive". >I can't say if it's a bug in PHP or some config option. You may want to benchmark the diffe

Re: [PHP] PHP exec function.

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 3:04 am, Bob Snowdon said: > > $execstring="winposd.exe \"${physical}-${logical}-${parameter}\""; > $output=exec($execstring); > exec only returns the FIRST LINE of output -- perhaps winposd (whatever that is) prints a blank line first? For that matter, winposd mig

Re: [PHP] Oracle Interface

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 8:48 am, Shane Presley said: > Where can I find some info on integrating Oracle and PHP? http://php.net/oracle pretty much covers it. > I had some PHP front ends to a MySQL database, worked great. Our DBAs > want to change the back end from MySQL to Oracle 10g. How hard w

Re: Re[2]: [PHP] failed to open stream error

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 2:19 pm, Richard Kurth said: > Hello Duncan, > > Friday, June 10, 2005, 12:01:33 AM, you wrote: > > DH> On Friday 10 June 2005 06:31, Richard Kurth typed: >>> Way do I get >>> Warning: >>> fopen(https://esos.state.nv.us/SOSServices/AnonymousAccess/CorpSearch/CorpD >>>etails.

Re: [PHP] Re: reverse MD5 ???

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 3:01 pm, Jason Barnett said: > That is incredibly interesting stuff, many thanks for that link! So the > position seems to be that it may not be feasible to reverse MD5, but it > is now feasible to create forged documents / binaries / whatever that > result in exactly the sam

Re: [PHP] VBScript to PHP

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 3:26 pm, Rory Browne said: > asp2php - I'm not sure how effective it is though. If you wrote it using all those goofy Microsoft tools that auto-generate about 5 X as much code as necessary, it's quite good at converting those. If you hand-wrote your ASP because you're a Real

RE: Re[2]: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hi, I solved the problem by using htmlspecialchars and passing it ENT_QUOTES. But I'll try your way as a more general way too. Thanks -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 8:36 PM To: php-general@lists.php.net Cc: Leila Lappin Subject:

Re[2]: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Tom Rogers
Hi, TR> What I do to overcome this is in PHP do: TR> $content = rawurlencode($content); TR> and in the html javascript: TR> unescape("$content"); I didn't do that very well, your code would look something like: "); document.form1.factor.value=unescape(""); document.form1.submit();

Re: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Tom Rogers
Hi, Friday, June 10, 2005, 12:05:48 AM, you wrote: LL> Hello all, LL> I hope this hasn’t been answered a zillion times already, I've tried LL> everything I know and nothing has worked. The following is the PHP statement LL> and the HTML rendering. The apostrophe is displayed as is and breaks the

Re: [PHP] Passing a function & arguments to a function

2005-06-10 Thread Jochem Maas
David Johnson wrote: I am trying to pass a function as an argument to another function, and then run the first function from within the second function. Example: function function0($arg0, $arg1, $arg2) { function2(); } > function3(); do_function($arg5);

[PHP] Passing a function & arguments to a function

2005-06-10 Thread David Johnson
I am trying to pass a function as an argument to another function, and then run the first function from within the second function. Example: function function0($arg0, $arg1, $arg2) { function2(); } function function1($arg3, $arg4, $arg5) { function3(); do_f

[PHP] fwrite/fopen

2005-06-10 Thread Mister Jack
Hi, I having a problem at the moment, I open a file, try to write in it, and then remove the file if the write goes wrong (if write count != of my initial buffer length). But I still get some empty file (and then a blank page). Could possibly fopen (with a 'wb' flag, and under freebsd 4.11) failed

Re: [PHP] VBScript to PHP

2005-06-10 Thread Rory Browne
asp2php - I'm not sure how effective it is though. On 6/10/05, Jim Elliott <[EMAIL PROTECTED]> wrote: > Are there any tools available to convert VBScript applications to PHP > (for a migration from Windows IIS to Linux Apache). > > Jim > > -- > PHP General Mailing List (http://www.php.net/) > To

Re: [PHP] Oracle Interface

2005-06-10 Thread Webmaster
Shane Presley wrote: Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle

Re: [PHP] Re: reverse MD5 ???

2005-06-10 Thread Jason Barnett
That is incredibly interesting stuff, many thanks for that link! So the position seems to be that it may not be feasible to reverse MD5, but it is now feasible to create forged documents / binaries / whatever that result in exactly the same MD5 hash as the original. I actually tried it out fo

Re: [PHP] Re: reverse MD5 ???

2005-06-10 Thread Greg Donald
On 4/22/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Thu, April 21, 2005 10:28 am, Ryan A said: > > Interesting reading, even though most of it went over my head :-) > > There ar'nt any tools freely available to the average joe to decypher a > > md5 > > hash though...right? > > No, there aren

Re[2]: [PHP] failed to open stream error

2005-06-10 Thread Richard Kurth
Hello Duncan, Friday, June 10, 2005, 12:01:33 AM, you wrote: DH> On Friday 10 June 2005 06:31, Richard Kurth typed: >> Way do I get >> Warning: >> fopen(https://esos.state.nv.us/SOSServices/AnonymousAccess/CorpSearch/CorpD >>etails.aspx?CorpID=478765): failed to open stream: Invalid argument >>

RE: [PHP] Re: Getting help on using the PHP lists

2005-06-10 Thread Leila Lappin
Have you tried changing the subscription options through the website? I think you can do it by just checking the type of list you're interested in subscribing. -Original Message- From: Jim Elliott [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 4:24 PM To: php-general@lists.php.ne

Re: [PHP] Re: PHP exec function.

2005-06-10 Thread John Nichel
JamesBenson wrote: I prefer using the backtick operator for the reason that I could never get exec(); to work. exec() can be disabled in the php.ini (as with any php function), and is commonly done on shared hosting systems. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECT

[PHP] Re: PHP exec function.

2005-06-10 Thread JamesBenson
I prefer using the backtick operator for the reason that I could never get exec(); to work. http://php.net/manual/en/language.operators.execution.php Bob Snowdon wrote: I run Windows XP Home SP2, Apache 1.3.24 and PHP 4.3.1. I have a php script which uses the exec function to invoke a wi

[PHP] Re: Making a page loop with header('Location: ...

2005-06-10 Thread JamesBenson
It may be better to not execute the script through apache at all, you could use PHP's exec(); function and have it run in the background, display a count down then refresh say five minutes later to get the result. Joe Harman wrote: is it possible to make a page loop with header('Location :

[PHP] Re: Getting help on using the PHP lists

2005-06-10 Thread Jim Elliott
JamesBenson wrote: I thin they must get loads of spam so tighten up security, when I tried signing up it never worked for at least two weeks then finally when it did I had to wait another few weeks for a reply to my subscription request. I am subscribed just fine, I just want to see if I can c

[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread JamesBenson
Hello, what exactly do you mean when you say break the browser, if its a PHP error you get then its something to do with PHP, however, your javascript is not correct and produces errors, im not too good at javascript but know when I see an error, i could be wrong but dont think its possible to

[PHP] Re: Getting help on using the PHP lists

2005-06-10 Thread JamesBenson
I thin they must get loads of spam so tighten up security, when I tried signing up it never worked for at least two weeks then finally when it did I had to wait another few weeks for a reply to my subscription request. Jim Elliott wrote: Per the instructions in the subscription reply, I t

[PHP] Getting help on using the PHP lists

2005-06-10 Thread Jim Elliott
Per the instructions in the subscription reply, I tried the following: For help and a description of available commands, send a message to: <[EMAIL PROTECTED]> If you need to get in touch with the human owner of this list, please send a message to: <[EMAIL PROTECTED]> Neither of these w

Re: [PHP] Delivery reports about your e-mail

2005-06-10 Thread Dan Brow
On Fri, 2005-06-10 at 12:11 -0400, Returned mail wrote: > ALERT! > > This e-mail, in its original form, contained one or more attached files that > were infected with a virus, worm, or other type of security threat. This > e-mail was sent from a Road Runner IP address. As part of our continuing

RE: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Chris W. Parker
Leila Lappin on Thursday, June 09, 2005 7:46 AM said: > == This is the rendering === > == (note the heart's apostrophe breaks IE and firefox) === > > http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] VBScript to PHP

2005-06-10 Thread Jim Elliott
Are there any tools available to convert VBScript applications to PHP (for a migration from Windows IIS to Linux Apache). Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Delivery reports about your e-mail

2005-06-10 Thread Returned mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] [? BUG ?] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-10 Thread Rasmus Lerdorf
Uh, never mind. I guess I should read the thread. You are downloading, not uploading. I can't think of anything that would put an exact limit on the download like that. -Rasmus Rasmus Lerdorf wrote: > Didn't really follow this thread, but it sounds to me like you have > >upload_max_filesi

RE: [PHP] Oracle Interface

2005-06-10 Thread Jay Blanchard
[snip] Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle <--> PHP? [/snip]

[PHP] Oracle Interface

2005-06-10 Thread Shane Presley
Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle <--> PHP? Thanks Shane

Re: [PHP] [? BUG ?] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-10 Thread Rasmus Lerdorf
Didn't really follow this thread, but it sounds to me like you have upload_max_filesize = 2M which also happens to be the default uploaded filesize limit. -Rasmus Catalin Trifu wrote: > Hi, > >It can't be a memory limit problem. The server ha 2GB memory, > and in PHP each script c

[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread Satyam
in htmlentities() use the second optional argument with a value of ENT_QUOTES, which will escape also single quotes and is not the default. Satyam ps: which I didn't know and just read in the manual. "Leila Lappin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I

[PHP] Mail System Error - Returned Mail

2005-06-10 Thread Returned mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] Flexy help

2005-06-10 Thread Dan Rossi
On 10/06/2005, at 7:46 PM, Thomas wrote: Hi there, I would like to find out about the usage of custom tags in Flexy. I would like to do something like , or similar. The documentation is very scarce about this. It would be great if you could help me, otherwise refer me to a good documentat

[PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hello all, I hope this hasn’t been answered a zillion times already, I've tried everything I know and nothing has worked. The following is the PHP statement and the HTML rendering. The apostrophe is displayed as is and breaks the browser. May be I am wrong but I was under the impression that esc

[PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hello all, I hope this hasn’t been answered a zillion times already, I've tried everything I know and nothing has worked. The following is the PHP statement and the HTML rendering. The apostrophe is displayed as is and breaks the browser. May be I am wrong but I was under the impression that esc

[PHP] Re: tidy question

2005-06-10 Thread Matthew Weier O'Phinney
* "Thomas" <[EMAIL PROTECTED]>: > I was wondering if it is possible to let tidy repair and format only parts > of your html without putting the and stuff in. I.e. only > the content of the page between the tags. The reason for that is > twofold: > > 1. I want to cache that repaired string so I

Re: [PHP] [? BUG ?] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-10 Thread Rory Browne
Check out the readfile manual page. Someone made a user-contributed comment about that. As it happens they came up with pretty much the same solution as I did. On 6/10/05, Catalin Trifu <[EMAIL PROTECTED]> wrote: > Hi, > >It can't be a memory limit problem. The server ha 2GB memory,

Re: [PHP] PHP exec function.

2005-06-10 Thread Richard Davey
Hello Bob, Friday, June 10, 2005, 11:04:52 AM, you wrote: BS> Investigation/debugging indicates that the exec call simply doesn't invoke the BS> win32 application at all with no error indications from PHP. (echo statements BS> either side of the call). I have checked things like the path to the

[PHP] PHP exec function.

2005-06-10 Thread Bob Snowdon
I run Windows XP Home SP2, Apache 1.3.24 and PHP 4.3.1. I have a php script which uses the exec function to invoke a win32 application which writes its results to a file which is then used in what is returned to the browser by the script. It works. I wanted to install the same script invoking t

[PHP] Returned mail: see transcript for details

2005-06-10 Thread Post Office
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] Making a page loop with header('Location: ...

2005-06-10 Thread Marcus Bointon
On 10 Jun 2005, at 00:36, Joe Harman wrote: I've ran into a little bit of a snag with php execution time... so, i need to execute the page a few times so that I can split the operation up into multiple parts... my other option would be to make a javascript reload A more elegant solution is to

[PHP] Flexy help

2005-06-10 Thread Thomas
Hi there, I would like to find out about the usage of custom tags in Flexy. I would like to do something like , or similar. The documentation is very scarce about this. It would be great if you could help me, otherwise refer me to a good documentation page (the one in the pear manual is not suf

[PHP] tidy question

2005-06-10 Thread Thomas
Hi there, I was wondering if it is possible to let tidy repair and format only parts of your html without putting the and stuff in. I.e. only the content of the page between the tags. The reason for that is twofold: 1. I want to cache that repaired string so I don't have to call that repai

Re: [PHP] [? BUG ?] weird thing; downloading from a php script stops at exactly 2.000.000 bytes

2005-06-10 Thread Catalin Trifu
Hi, It can't be a memory limit problem. The server ha 2GB memory, and in PHP each script can consume up to 64MB. On php4, apache 1.3 and same configs readfile works without fread tricks. C. Rory Browne wrote: > It's probably something to do with maximum memory, or something like > th

Re: [PHP] Firefox ABOUT: parameters list

2005-06-10 Thread Christophe Chisogne
Alessandro Rosa a écrit : > how can one know which are all the parameters one can type after > about: in Firefox 1.0.4 ? By asking Google? http://www.google.com/search?q=about+urls+in+mozilla+site%3Amozillazine.org > about:config > about:plugins He would tell you [1] about about:mozilla about:c

[PHP] Delivery failed

2005-06-10 Thread Automatic Email Delivery Software
The original message was received at Fri, 10 Jun 2005 09:21:38 +0200 from lists.php.net [58.27.162.212] - The following addresses had permanent fatal errors - php-general@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph