php-general Digest 13 Sep 2007 11:53:54 -0000 Issue 5016

2007-09-13 Thread php-general-digest-help
php-general Digest 13 Sep 2007 11:53:54 - Issue 5016 Topics (messages 262057 through 262075): Re: PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED] 262057 by: Zbigniew Szalbot 262058 by: Daniel Brown 262059 by: Zbigniew Szalbot 262063 by: Daniel Brown

php-general Digest 14 Sep 2007 00:03:04 -0000 Issue 5017

2007-09-13 Thread php-general-digest-help
php-general Digest 14 Sep 2007 00:03:04 - Issue 5017 Topics (messages 262076 through 262095): Re: PHP 5.2.3 - Segmentation fault (core dumped) 262076 by: Jay Blanchard Re: MySQL upload problem (solved) 262077 by: tedd Re: MIME type 262078 by: Angelo Zanetti Re:

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

2007-09-13 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 Fatal

Fw: [PHP] PHP Installer on Vista

2007-09-13 Thread dcastillo
there is a web page somewhere where there are instruction and a bat file to help you install it. (google it) - Original Message - From: [EMAIL PROTECTED] To: M. Sokolewicz [EMAIL PROTECTED] Sent: Thursday, September 13, 2007 1:11 PM Subject: Re: [PHP] PHP Installer on Vista

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

2007-09-13 Thread Jay Blanchard
[snip] I beg to differ. In the past 20 years, I've spent plenty of time working with core dumps, stand-alone dumps, slip traps and system traces debugging my own software (running at customer sites) without the remotest possibility of reproducing a problem on-demand. If you think a problem must

Re: [PHP] MySQL upload problem (solved)

2007-09-13 Thread tedd
tedd wrote: I was thinking that I could ftp the sql file to the clients server and then run a php script on his server, something like: $sql = mysql -h$dbhost -u$dbuser -p$dbpass $dbname $filename; system($sql); But, that didn't work -- however -- using mysqldump did download the file. So,

Re: [PHP] MIME type

2007-09-13 Thread Angelo Zanetti
GOt it working by adding the MIME type to the .htaccess file on the server. Angelo Zanetti wrote: Thanks heavyccasey Im not sure which comment you are referring to, perhaps this one? There are many posts. |?php $file = '/var/www/html/file-to-download.xyz'; header('Content-Description:

Re: [PHP] Preventing Access to Private Files

2007-09-13 Thread tedd
At 4:24 PM -0400 9/6/07, TG wrote: The web server software has access to certain directories, but PHP itself can have access to things outside the main web folders. That's good advice, but what do you do when safe_mode is ON? My experience is that PHP can't access folders out of the web root.

Re: [PHP] blocking exec() silently

2007-09-13 Thread Instruct ICC
On 9/12/07, Samuel Vogel [EMAIL PROTECTED] wrote: Hey guys, Actually I'm still looking for a way to block for example the exec() function without throwing an error! From: Nathan Nobbe [EMAIL PROTECTED] i dont know why you wouldnt just use the disable_functions directive in php.ini

[PHP] PHP WAP Resources?

2007-09-13 Thread Vo, Lance
hi can you guys please suggest some good resources for PHP and WAP? either urls or websites would be great tia, Lance

RE: [PHP] PHP WAP Resources?

2007-09-13 Thread Vo, Lance
and books too :) -Original Message- From: Vo, Lance [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 11:07 AM To: php-general@lists.php.net Subject: [PHP] PHP WAP Resources? hi can you guys please suggest some good resources for PHP and WAP? either urls or websites would

[PHP] PHP/XML/XSLT

2007-09-13 Thread Mikey
For better (or in my view worse) the company I work for uses the above combination for rendering it's XHTML. Recent we upgraded our version of libxslt from 1.1.9 to 1.1.17 and for some reason we have lost our error reporting. Unfortunately we have not lost the errors and so are forced with

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

2007-09-13 Thread Greg Donald
On Wed, 12 Sep 2007, bruce wrote: while you are correct in your assertion that the shell cmds provided are specific to linux, What assertions? I didn't know I made one. It's common sense but I don't recall making an assertion and then asking you if it was correct. your assertion/statement

[PHP] GD Library

2007-09-13 Thread Steve Marquez
Greetings, I am running PHP 4.4.7 without the GD Library and need it to run. I am very novice on PHP, and am using a Mac with 10.3.9. Can anyone point me in the right direction? Thank you so much, -- Steve M.

RE: [PHP] GD Library

2007-09-13 Thread Jay Blanchard
[snip] I am running PHP 4.4.7 without the GD Library and need it to run. I am very novice on PHP, and am using a Mac with 10.3.9. Can anyone point me in the right direction? [/snip] http://www.php.net/gd tells you how to get and install the libraries. -- PHP General Mailing List

[PHP] Any way to turn off daylight savings time in PHP5?

2007-09-13 Thread David Giragosian
Is there anyway to get PHP (v5.1.6) to use the OS time for date functions as PHP4 did? phpinfo() lists something called Timezone Database: internal under the date section, so I'm guessing that's where the data is originating. Here's the background: We have a LAMP server that has a special rule

Re: [PHP] GD Library

2007-09-13 Thread Greg Donald
On Thu, 13 Sep 2007, Steve Marquez wrote: I am running PHP 4.4.7 without the GD Library and need it to run. I am very novice on PHP, and am using a Mac with 10.3.9. Can anyone point me in the right direction? http://destiney.com/blog/php-4-5-macos-x Hopefully those configs aren't totally

Re: [PHP] GD Library

2007-09-13 Thread Samuel Vogel
I would point you to MAMP: http://www.mamp.info/ It's like Xampp but designed all for a Mac... Easy to install, to configure and to user ;) Regards, Samy Greg Donald schrieb: On Thu, 13 Sep 2007, Steve Marquez wrote: I am running PHP 4.4.7 without the GD Library and need it to run. I am

Re: [PHP] blocking exec() silently

2007-09-13 Thread Samuel Vogel
Hey, Thanks for the replies! safe-mode is not an option unfortunately! But changing the Error reporting, is the first thing I wanted to do, but when I asked if this was possible on this list, somebody replied, that it this is not possible! Could you point me to a way, how I can achieve, that

Re: [PHP] blocking exec() silently

2007-09-13 Thread Nathan Nobbe
hmm; you can define you own error handler via set_error_handler()http://us.php.net/manual/en/function.set-error-handler.php this would be something like overriding the stock session_handler, or maybe a little similar to extending the stock exception handler. anyway, i think that would be a lot of

Re: [PHP] blocking exec() silently

2007-09-13 Thread Samuel Vogel
Actually in this example, there is an error handling function provided in the comments. I can't test it right now, but would it be possible that a functions emulates the built-in error handling of php? Or would that need much more lines of code? If this would be the case, then I could modifiy

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

2007-09-13 Thread Patrik Hasibuan
Hi Mike, I am intrested for the solution you gave me. But I am confused of the way in implementing select FOUND_ROWS(). I wrote another very simple codes as the first step for understanding this threat: ?php $konek=mysql_connect(127.0.0.1,root,mypassword); if ($konek){ for

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

2007-09-13 Thread mike
warning: this is VERY UGLY CODE. i wrote it 3-4 years ago now i think and it just keeps working. you call it this way: # pagination. if(isset($_GET['pg'])) { $page = intval($_GET['pg']); } else { $page = 1; } $page = sprintf(%02d,$page); $query = Array( 'query' =

Re: [PHP] blocking exec() silently

2007-09-13 Thread Chris
Samuel Vogel wrote: Hey, Thanks for the replies! safe-mode is not an option unfortunately! But changing the Error reporting, is the first thing I wanted to do, but when I asked if this was possible on this list, somebody replied, that it this is not possible! Could you point me to a way,

[PHP] [EMAIL PROTECTED]

2007-09-13 Thread Teo Mattiozzi
[EMAIL PROTECTED]

Re: [PHP] Preventing Access to Private Files

2007-09-13 Thread Chris
tedd wrote: At 4:24 PM -0400 9/6/07, TG wrote: The web server software has access to certain directories, but PHP itself can have access to things outside the main web folders. That's good advice, but what do you do when safe_mode is ON? My experience is that PHP can't access folders out of