Re: [PHP] PHP Fatal error: Call to undefined function hash_hmac()

2007-09-12 Thread Per Jessen
Aaron Axelsen wrote: > We are running Novell SUSE Linux Enterprise Server 10 sp1. It has php > 5.1.2. We are using a standard out of the box install, and for some > reason the hash functions only work using the cli interface, and fails > to work with apache giving the following error: > > PHP F

Re: [PHP] Getting line count of a text file

2007-09-12 Thread mike
On 9/12/07, Chris <[EMAIL PROTECTED]> wrote: > bruce wrote: > > greg... actually, i was the one that said this. > Sure they can - enable safe-mode and it causes all sorts of weirdness > with running exec or system calls. not to mention shell commands expect to be in PATH, and if you hardcode in

Re: [PHP] blocking exec() silently

2007-09-12 Thread Nathan Nobbe
i dont know why you wouldnt just use the disable_functions directive in php.ini disable_functions = "exec" this will indeed raise an error, well a warning rather, from my test [12-Sep-2007 19:22:24] PHP Warning: exec() has been disabled for security reasons but i always suppress warnings and er

[PHP] PHP Fatal error: Call to undefined function hash_hmac()

2007-09-12 Thread Aaron Axelsen
We are running Novell SUSE Linux Enterprise Server 10 sp1. It has php 5.1.2. We are using a standard out of the box install, and for some reason the hash functions only work using the cli interface, and fails to work with apache giving the following error: PHP Fatal error: Call to undefined fun

Re: [PHP] blocking exec() silently

2007-09-12 Thread Chris
Samuel Vogel wrote: Hey guys, Actually I'm still looking for a way to block for example the exec() function without throwing an error! Since there seems to be no way to do this, without hacking the code of php, it seems like that is what I'll have to do... Why do you have to do this and not

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Chris
bruce wrote: greg... while you are correct in your assertion that the shell cmds provided are specific to linux, your assertion/statement that the functions might be 'turned off' are fud... basic bash functions are inherently part of the shell Sure they can - enable safe-mode and it caus

RE: [PHP] Getting line count of a text file

2007-09-12 Thread bruce
greg... while you are correct in your assertion that the shell cmds provided are specific to linux, your assertion/statement that the functions might be 'turned off' are fud... basic bash functions are inherently part of the shell and yes, you are correct in your statement that php is relat

[PHP] blocking exec() silently

2007-09-12 Thread Samuel Vogel
Hey guys, Actually I'm still looking for a way to block for example the exec() function without throwing an error! Since there seems to be no way to do this, without hacking the code of php, it seems like that is what I'll have to do... Do you people think it would be a good way to just look

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Stut
Per Jessen wrote: Stut wrote: Anyway, I think it's exceptionally poor show by php to cause a segfault, probably due to user code. I know it does it every now and then, and nobody has ever been interested in looking at the core dump. This will have nothing to do with user code since no user co

Re: [PHP] Getting line count of a text file

2007-09-12 Thread mike
On 9/12/07, Greg Donald <[EMAIL PROTECTED]> wrote: > Why? Shell commands are a lot less likely to change than the > current PHP function names. > > I'm aware the PHP function naming algorithm currently remains a > secret, but without a doubt, someday someone _will_ crack it. I > personally hope t

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

2007-09-12 Thread Per Jessen
Zbigniew Szalbot wrote: > Problem solved! Daniel - this really helped. I do not even know how to > thank you but surely, this is amazing. This thing actually works! :) Amazing indeed. PHP does good work for me, but I'm not impressed. /Per Jessen, Zürich -- PHP General Mailing List (http://ww

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > No problem at all. > > Your help was very much appreciated! > > > > > Now my guess at explaining it > > > > Notice how `IfModule mod_php5.c` if only mentioned when n

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Greg Donald
On Wed, 12 Sep 2007, mike wrote: > personally i try to use as little shell commands as possible, > especially stacked on top of each other in exec(). Why? Shell commands are a lot less likely to change than the current PHP function names. I'm aware the PHP function naming algorithm currently rem

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Jay Blanchard wrote: >> Whenever I've reported a core-dump (which I've stopped doing), >> nothing's been done about it unless I've been able to produce a short >> script to reproduce. >> [/snip] > > That is to be expected and is standard operating procedure for any > development team. I beg to

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Zbigniew Szalbot wrote: > It is clearly problem with indexes but how and where that is an issue > for me. there is a solution which I could live with. That is I can > create an index.html page which will simply redirect to index.php and > so index-wise everything will work but I would really prefe

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

2007-09-12 Thread Zbigniew Szalbot
Hello, 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > No problem at all. Your help was very much appreciated! > > Now my guess at explaining it > > Notice how `IfModule mod_php5.c` if only mentioned when nested > inside of the `IfModule mod_php3.c` container. If you want to have

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Dear Daniel and all! > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > > > > > > >

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

2007-09-12 Thread Zbigniew Szalbot
Dear Daniel and all! 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > > > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > > > > > > > > > > > > > > > > DirectoryIndex index.php index

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Jim Lucas
Frank J. Schima wrote: Hi all, In PHP 5, I'm counting the number of lines in a text file using the following code: $myfile = file ( '/path/to/myfile.txt'); $count = count ($myfile); However, sometimes it fails with the following error: PHP Fatal error: Allowed memory size of

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Frank J. Schima
Hi Gang, On Sep 12, 2007, at 1:58 PM, bruce wrote: if you're going to do the system approach, go ahead and use awk/cut... wc -l foo.txt | awk -F' ' '{print $1}' should work assuming you're on linux. I have solved the problem with this approach. Thanks for all the suggestions. FYI,

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > 2007/9/12, Zbigniew Szalbot <[EMAIL PROTECTED]>: > > Hello again, > > > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > > > > > > DirectoryIndex index.php index.php3

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Hello, 2007/9/12, Zbigniew Szalbot <[EMAIL PROTECTED]>: > Hello again, > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > > > > > > > > > > Dire

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Per Jessen
Frank J. Schima wrote: > In PHP 5, I'm counting the number of lines in a text file using the > following code: > $myfile = file ( '/path/to/myfile.txt'); > $count = count ($myfile); > > However, sometimes it fails with the following error: > PHP Fatal error: Allowed memory size of bytes exh

Re: [PHP] Getting line count of a text file

2007-09-12 Thread mike
personally i try to use as little shell commands as possible, especially stacked on top of each other in exec(). i'd just use explode, str_split, substr/strpos, etc. after i got it back. On 9/12/07, Wolf <[EMAIL PROTECTED]> wrote: > Novel approach... But mine's less typing. :) > > never thought

RE: [PHP] Getting line count of a text file

2007-09-12 Thread Wolf
Novel approach... But mine's less typing. :) never thought of using awk for it though. Good one! :) bruce <[EMAIL PROTECTED]> wrote: > hey... > > if you're going to do the system approach, go ahead and use awk/cut... > > wc -l foo.txt | awk -F' ' '{print $1}' > > should work assuming

RE: [PHP] Getting line count of a text file

2007-09-12 Thread bruce
hey... if you're going to do the system approach, go ahead and use awk/cut... wc -l foo.txt | awk -F' ' '{print $1}' should work assuming you're on linux. -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:46 PM To: Frank J. Schima Cc: p

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Wolf
We all know REAL servers are *nix... :) And his path is *nix based... :) Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On 9/12/07, Wolf <[EMAIL PROTECTED]> wrote: > > > > $command= escapeshellcmd("cat {$file} | wc -l"); > > // Run command and capture results > > $count = exec($com

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Frank J. Schima
On Sep 12, 2007, at 1:46 PM, Nathan Nobbe wrote: On 9/12/07, Wolf <[EMAIL PROTECTED]> wrote: $command= escapeshellcmd("cat {$file} | wc -l"); // Run command and capture results $count = exec($command); that would work on *nix, but not windows. Since I am developing and deploying

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Nathan Nobbe
On 9/12/07, Wolf <[EMAIL PROTECTED]> wrote: > > $command= escapeshellcmd("cat {$file} | wc -l"); > // Run command and capture results > $count = exec($command); that would work on *nix, but not windows. "Frank J. Schima" <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > > > In PHP

Re: [PHP] Getting line count of a text file

2007-09-12 Thread mike
On 9/12/07, Frank J. Schima <[EMAIL PROTECTED]> wrote: > In PHP 5, I'm counting the number of lines in a text file using the > following code: > $myfile = file ( '/path/to/myfile.txt'); > $count = count ($myfile); > > However, sometimes it fails with the following error: >

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Wolf
$command= escapeshellcmd("cat {$file} | wc -l"); // Run command and capture results $count = exec($command); "Frank J. Schima" <[EMAIL PROTECTED]> wrote: > Hi all, > > > In PHP 5, I'm counting the number of lines in a text file using the > following code: > $myfil

[PHP] Getting line count of a text file

2007-09-12 Thread Frank J. Schima
Hi all, In PHP 5, I'm counting the number of lines in a text file using the following code: $myfile = file ( '/path/to/myfile.txt'); $count = count ($myfile); However, sometimes it fails with the following error: PHP Fatal error: Allowed memory size of bytes exhaus

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Hello again, 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > > >

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > > >

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread mike
can i ask why you have anything to do with mod_php3 there? and if you don't plan on trying to use php4 and php5, then remove any looking for php4 too. > > > > > > > > DirectoryIndex index.php index.php3 index.html > > > > > > DirectoryIndex

Re: [PHP] How to clean up extended charset or ASCII characters on form input?

2007-09-12 Thread mike
On 9/12/07, Eric Wood <[EMAIL PROTECTED]> wrote: > I've searched of 21000 messages in this list and I don't quite understand how > to best protect user input. > > Let's say you have a form that posts to itself just do see how messed up data > can get: http://php.net/filter has great easy to use

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > > >

Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-12 Thread mike
On 9/12/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > Dear my friends... > > I am trying to display the content of a table. Each page must content only 5 > records maximum. Each page has "Previous" and "Next" buttons (made from > anchor). > > I dump the primary of the working table and keep it

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Hello, 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > > There's only one problem left to be solved. After the upgrade php > >

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > 2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > > There's only one problem left to be solved. After the upgrade php > > > scripts behave as if they were not recognized. I made a te

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
2007/9/12, Daniel Brown <[EMAIL PROTECTED]>: > On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > There's only one problem left to be solved. After the upgrade php > > scripts behave as if they were not recognized. I made a test and put a > > standard index.html file in a directory, called

Re: [PHP] html to xml?

2007-09-12 Thread mike
On 9/12/07, Slith <[EMAIL PROTECTED]> wrote: > i need to parse an html page for tabular data which i can then import > into mysql so i thought converting the html to xml might be a feasible > thing to do, however, other than using tidy from the command line i > can't find a way to do this from php.

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > There's only one problem left to be solved. After the upgrade php > scripts behave as if they were not recognized. I made a test and put a > standard index.html file in a directory, called a browser and the page > was displayed properly. I t

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Dear all, 2007/9/12, Lester Caine <[EMAIL PROTECTED]>: > Per Jessen wrote: > >>> Maybe it's worth doing some googling for wordpress and php5? If it's > >>> not your code, it's not easy to debug. I have seen the apache core > >>> dump many times, sometimes caused by obvious errors, other times by

[PHP] How to clean up extended charset or ASCII characters on form input?

2007-09-12 Thread Eric Wood
I've searched of 21000 messages in this list and I don't quite understand how to best protect user input. Let's say you have a form that posts to itself just do see how messed up data can get: >> if(get_magic_quotes_gpc()) { $_POST=array_map('stripslashes',$_POST); } $_PO

Re: [PHP] my paging task with PHP does not work. It uses cookie.

2007-09-12 Thread brian
Patrik Hasibuan wrote: Dear my friends... I am trying to display the content of a table. Each page must content only 5 records maximum. Each page has "Previous" and "Next" buttons (made from anchor). I dump the primary of the working table and keep it in a cookie. So than the paging task work w

RE: RE: Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Jay Blanchard
[snip] > [snip] > Anyway, I think it's exceptionally poor show by php to cause a > segfault, > probably due to user code. I know it does it every now and then, and > nobody has ever been interested in looking at the core dump. > [/snip] > > The Dev team looks at core dumps all of the time to try

RE: Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Jay Blanchard wrote: > [snip] > Anyway, I think it's exceptionally poor show by php to cause a > segfault, > probably due to user code. I know it does it every now and then, and > nobody has ever been interested in looking at the core dump. > [/snip] > > The Dev team looks at core dumps all of t

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Stut wrote: >> Anyway, I think it's exceptionally poor show by php to cause a >> segfault, probably due to user code.  I know it does it every now and >> then, and nobody has ever been interested in looking at the core >> dump. > > This will have nothing to do with user code since no user code is

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Per Jessen <[EMAIL PROTECTED]> wrote: > Sorry, I have to disagree strongly here. I have seen apache core dump > many times due to PHP user code. I've also opened bug-reports based on > such core-dumps, but the PHP developer community is not > interested/capable in debugging in that fa

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Lester Caine wrote: >> Anyway, I think it's exceptionally poor show by php to cause a >> segfault, >> probably due to user code. I know it does it every now and then, and >> nobody has ever been interested in looking at the core dump. > > Zbigniew has not actually managed to get Apache started w

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Daniel Brown wrote: > On 9/12/07, Per Jessen <[EMAIL PROTECTED]> wrote: >> Migrating from v4 to v5 is not necessarily straight forward. >> Depending on what features you've used, you may have to rewrite some >> of >> your code. For instance, we used the xslt sablotron interface, which >> no longe

Re: [PHP] Publxic Announcement

2007-09-12 Thread Greg Donald
On Tue, 11 Sep 2007, Tom Ray [Lists] wrote: > > Has anyone tried Nginx? The rewrite rules are a bit more clear than > > those of the Apache mod_rewrite variety. > > > > http://wiki.codemongers.com/NginxHttpRewriteModule > > > But is it the greatest weapon system of our time? If its not then it's n

Re: [PHP] PHP Installer on Vista

2007-09-12 Thread Rahul Sitaram Johari
On 9/12/07 10:56 AM, "M. Sokolewicz" <[EMAIL PROTECTED]> wrote: > Did you try it? Easiest way to find out... I installed - it didn't give me any errors - but PHP is not working. Apache starts without any errors either. The thing is, I can easily remove the installation and install PHP manually

Re: [PHP] PHP Installer on Vista

2007-09-12 Thread M. Sokolewicz
Rahul Sitaram Johari wrote: Ave, Is it true that the PHP Installer does not work on Windows Vista? And if it does, it only installs the CGI version? ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTE

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Lester Caine
Per Jessen wrote: Maybe it's worth doing some googling for wordpress and php5? If it's not your code, it's not easy to debug. I have seen the apache core dump many times, sometimes caused by obvious errors, other times by something obscure and difficult to find. Come on guys, use your heads. P

[PHP] PHP Installer on Vista

2007-09-12 Thread Rahul Sitaram Johari
Ave, Is it true that the PHP Installer does not work on Windows Vista? And if it does, it only installs the CGI version? ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu sol

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Nicolas Diez
I have the same problem with PHP-5.2.3 on my freebsd 6.2. After commenting recode, sockets, ming, sysvshm modules, there were no more core dumps. So, you have to comment the sockets modules in extension.ini and everything will work fine.

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Stut
Jon Anderson wrote: If the version of PHP you're using is a binary package, you should probably generate a backtrace from the core that was dumped and report it as a bug to the provider of that binary. The same goes if it was built as a FreeBSD port - they should probably know that their defaul

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Stut
Per Jessen wrote: Stut wrote: Hi Zbigniew Maybe it's worth doing some googling for wordpress and php5? If it's not your code, it's not easy to debug. I have seen the apache core dump many times, sometimes caused by obvious errors, other times by something obscure and difficult to find. Come

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Jon Anderson
Per Jessen wrote: Uh, how do know you it's do with the version-number?? Did I miss that posting? Not necessarily to do with the version number itself - it's that PHP is dying before having actually done anything - it never gets to any PHP code. From the first post - the last line of what

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > On 9/12/07, Per Jessen <[EMAIL PROTECTED]> wrote: > > Migrating from v4 to v5 is not necessarily straight forward. > > Depending on what features you've used, you may have to rewrite some of > > your code. For instance, we used the xslt sablotr

RE: Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Jay Blanchard
[snip] Anyway, I think it's exceptionally poor show by php to cause a segfault, probably due to user code. I know it does it every now and then, and nobody has ever been interested in looking at the core dump. [/snip] The Dev team looks at core dumps all of the time to try to figure out bugs and

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Daniel Brown
On 9/12/07, Per Jessen <[EMAIL PROTECTED]> wrote: > Migrating from v4 to v5 is not necessarily straight forward. > Depending on what features you've used, you may have to rewrite some of > your code. For instance, we used the xslt sablotron interface, which > no longer exists in php5. Had to rewr

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Stut wrote: >> Hi Zbigniew >> >> Maybe it's worth doing some googling for wordpress and php5? If it's >> not your code, it's not easy to debug. I have seen the apache core >> dump many times, sometimes caused by obvious errors, other times by >> something obscure and difficult to find. > > Com

[PHP] my paging task with PHP does not work. It uses cookie.

2007-09-12 Thread Patrik Hasibuan
Dear my friends... I am trying to display the content of a table. Each page must content only 5 records maximum. Each page has "Previous" and "Next" buttons (made from anchor). I dump the primary of the working table and keep it in a cookie. So than the paging task work with the index of cookie

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Stut
Per Jessen wrote: Zbigniew Szalbot wrote: No, basically I just use wordpress on this site and that's all. No fancy or advanced scripting, etc. It is family machine for family issues. I can try and go back to v4 but I do think v5 should work just as fine. At least I hope so. Hi Zbigniew Maybe

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Martin Marques
Zbigniew Szalbot wrote: Hi there, No, basically I just use wordpress on this site and that's all. No fancy or advanced scripting, etc. It is family machine for family issues. I can try and go back to v4 but I do think v5 should work just as fine. At least I hope so. Does phpinfo work? What doe

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Zbigniew Szalbot wrote: > No, basically I just use wordpress on this site and that's all. No > fancy or advanced scripting, etc. It is family machine for family > issues. I can try and go back to v4 but I do think v5 should work just > as fine. At least I hope so. Hi Zbigniew Maybe it's worth do

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Hi there, 2007/9/12, Per Jessen <[EMAIL PROTECTED]>: > Zbigniew Szalbot wrote: > > > Hello, > > > > 2007/9/12, Edward Kay <[EMAIL PROTECTED]>: > >> > >> What do the Apache error logs say? > > > > Nothing that would be of help: > > > > httpd-error.log > > [Wed Sep 12 09:04:17 2007] [notice] mod_sec

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Per Jessen
Zbigniew Szalbot wrote: > Hello, > > 2007/9/12, Edward Kay <[EMAIL PROTECTED]>: >> >> What do the Apache error logs say? > > Nothing that would be of help: > > httpd-error.log > [Wed Sep 12 09:04:17 2007] [notice] mod_security/1.9.4 configured > > A new such line is added when I try to start a

Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Hello, 2007/9/12, Edward Kay <[EMAIL PROTECTED]>: > > > Dear all, > > > > I hope you can help me. I am running FreeBSD 6.2 and I decided to > > upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 > > and installing php5 and php5-extensions I am unable to start apache. > > What d

RE: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Edward Kay
> Dear all, > > I hope you can help me. I am running FreeBSD 6.2 and I decided to > upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 > and installing php5 and php5-extensions I am unable to start apache. What do the Apache error logs say? Edward -- PHP General Mailing Li

RE: [PHP] html to xml?

2007-09-12 Thread Edward Kay
> Slith wrote: > > > i need to parse an html page for tabular data which i can then import > > into mysql so i thought converting the html to xml might be a feasible > > thing to do, however, other than using tidy from the command line i > > can't find a way to do this from php. > > > > does any

[PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Zbigniew Szalbot
Dear all, I hope you can help me. I am running FreeBSD 6.2 and I decided to upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 and installing php5 and php5-extensions I am unable to start apache. php -v: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52)

Re: [PHP] html to xml?

2007-09-12 Thread Per Jessen
Slith wrote: > i need to parse an html page for tabular data which i can then import > into mysql so i thought converting the html to xml might be a feasible > thing to do, however, other than using tidy from the command line i > can't find a way to do this from php. > > does anyone know of any c

Re: [PHP] MIME type

2007-09-12 Thread Angelo Zanetti
Thanks heavyccasey Im not sure which comment you are referring to, perhaps this one? There are many posts. || [EMAIL PROTECTED] wrote: Look up readfile(); Make sure you read the comments. On 9/11/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Hi guys. I am linking to a file on a WA

[PHP] html to xml?

2007-09-12 Thread Slith
i need to parse an html page for tabular data which i can then import into mysql so i thought converting the html to xml might be a feasible thing to do, however, other than using tidy from the command line i can't find a way to do this from php. does anyone know of any class (or other) that w