php-general Digest 19 Oct 2006 06:30:13 - Issue 4409
Topics (messages 243300 through 243328):
Re: postback for php
243300 by: Ed Lazor
243302 by: Fred Moses
243325 by: Manuel Lemos
Re: php_admin_value, virtual hosts, upload_tmp_dir
243301 by: Richard Lynch
# [EMAIL PROTECTED] / 2006-10-18 10:57:52 -0600:
php -v
PHP 5.1.6 with Suhosin-Patch 0.9.5 (cli) (built: Oct 18 2006 08:36:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
This configuration cause no end of problems, and I finally
# [EMAIL PROTECTED] / 2006-10-18 16:28:04 +0100:
I'm relatively new to object-oriented PHP. I'm loving things like
Symfony and Smarty etc but really need a little more guidance!
Does anyone know of a good object-oriented PHP course
available in the UK?
Perhaps something my company could
On 19 Oct 2006, at 02:30 , Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-10-18 10:57:52 -0600:
php -v
PHP 5.1.6 with Suhosin-Patch 0.9.5 (cli) (built: Oct 18 2006
08:36:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
The
On 18 Oct 2006, at 17:25 , Daevid Vincent wrote:
I need to run a httpd server that can serve up PHP, SQL Lite, and
SSL on a
little Soekris box (ie. a 486 with 32MB RAM and 32MB CF storage).
There's thttp which is really really small. However, keep in mind,
Apache has been around for long
Hello,
I'm having some difficulties with open_basedir. If I include the prefix
/home/web25637/ in open_basedir shouldn't it include every directory
within this? We're getting this error:
Warning: file_exists() [function.file-exists]: open_basedir restriction
in effect.
On 18/10/06, AYSERVE.NET [EMAIL PROTECTED] wrote:
Hello Guys,
I thought I was home and dry when the program worked fine on my windows
but when I ran from my Linus server, I keep getting a url like:
http://www.website.com/pdf/ED1.pdf%A0 instead of
http://www.website.com/pdf/ED1.pdf.
I'd look at
Børge Holen wrote:
On Wednesday 18 October 2006 20:55, Al wrote:
Matthews, Chris wrote:
Good Morning:
I am looking to create a thumbnail from an uploaded image, and then save
it to a directory.
I don't have any problem with the image functions, and can successfully
create the thumbnail and
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
Thanks in advance.
bgs
--
PHP General Mailing List (http://www.php.net/)
To
Bagus Nugroho wrote:
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
Use preg_replace to replace all numbers with nothing.
$var
Hi all,
I have an associative array, which contains parent and child
relationships. I've searched the web for creating a tree structure from
this and found a few good sites but doesnt help 100% perhaps someone can
point me in the correct direction? I've started to code it got to a
point
On 19 Oct 2006, at 07:49 , Bagus Nugroho wrote:
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
Well, stripping the digits is
On 19 Oct 2006, at 07:56 , John Nichel wrote:
$var3 = 'abc 20 def';
Then we want output like :
$var3 = 'abc def';
How regex can help us?.
Use preg_replace to replace all numbers with nothing.
$var = preg_replace ( /\d+/, , $var );
Nope, that will leave
$var3 = 'abc def';
(note the double
Bagus Nugroho wrote:
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
It's very difficult to get the right solution to a problem when all
Hello,
I need PHP's IMAP extension for my web app but it is really slowing my
server up.
My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP),
PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a
call to phpinfo().
Without the IMAP extension, the
Edward Kay wrote:
Hello,
I need PHP's IMAP extension for my web app but it is really slowing my
server up.
My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP),
PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a
call to phpinfo().
Edward Kay wrote:
Hello,
I need PHP's IMAP extension for my web app but it is really slowing my
server up.
My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP),
PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a
call to phpinfo().
Without the
From this, it is clear to me there is some major delay being
introduced by
the loading of the IMAP extension. Any ideas on how to resolve this?
use php as an apache module - thereby the startup delay is only
noticed when
the webserver starts - this assumes that the problem is a startup
Edward Kay wrote:
From this, it is clear to me there is some major delay being
introduced by
the loading of the IMAP extension. Any ideas on how to resolve this?
use php as an apache module - thereby the startup delay is only
noticed when
the webserver starts - this assumes that the problem
On 19/10/06, Bagus Nugroho [EMAIL PROTECTED] wrote:
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
$re = '/^\s+|\d+\s*|\s*\d+\s*$/';
$var1 =
Patrik Jansson wrote:
Hello,
I'm having some difficulties with open_basedir. If I include the prefix
/home/web25637/ in open_basedir shouldn't it include every directory
within this? We're getting this error:
Warning: file_exists() [function.file-exists]: open_basedir restriction
in
# [EMAIL PROTECTED] / 2006-10-19 16:08:58 +0200:
Hi all,
I have an associative array, which contains parent and child
relationships. I've searched the web for creating a tree structure from
this and found a few good sites but doesnt help 100% perhaps someone can
point me in the correct
Thanks for your suggestions John. At the moment, I do need to run it as a
CGI as I need different php.ini files for each virtual host.
I think there may well be some issues with DNS, as suggested by Jochem. My
configuration of DNS stuff locally is a bit patchy :) I'll investigate this
avenue
hey, check out the bar on the side of the ones with main.html.
http://www.997thelake.com/main.html
http://www.cool929fm.com/main.html
http://www.star933.com/
http://www.wzzo.com/main.html
http://www.929nin.com/main.html
guess we have our work cut out for us, eh? we need to find a distinct,
Sorry, how does this relate to PHP? It seems like you're just trying
to get us to visit your sites to bump up traffic.
On Oct 19, 2006, at 8:44 AM, Chuck Stearns wrote:
hey, check out the bar on the side of the ones with main.html.
http://www.997thelake.com/main.html
Me thinks Chuckie boy here is spamming our list
and needs to get booted.
Sorry, Chuckie, only the best tasting tuna get to
be Starkist.
Skip
Ed Lazor wrote:
Sorry, how does this relate to PHP? It seems like you're just trying
to get us to visit your sites to bump up traffic.
On Oct
shoot, sorry guys, i was working on an email to a buddy, and didn't
realize i was still on my newsgroup program til it was too late...
won't happen again...
/cs
Skip Evans wrote:
Me thinks Chuckie boy here is spamming our list and needs to get booted.
Sorry, Chuckie, only the best tasting
PHP 4.4.4
MySQL 4.1.21-community-nt
I have a table in my database that has a Primary key on 2 fields (MyID
and MyChange) and a field that indicates if there is a problem with the
record (MyError)- I want to create a new table that only has unique
MyIDs and where there is more than 1 I only
Is anyone aware of a PHP/MySQL app that would be used by telemarketing
staff to track calls, do follow-ups, allow scripting, etc.? We could
write something in house but we are pressed for time. I have been poking
around the web this morning, but have not found much.
TVMIA!
--
PHP General Mailing
On Thursday 19 October 2006 14:47, Al wrote:
Børge Holen wrote:
On Wednesday 18 October 2006 20:55, Al wrote:
Matthews, Chris wrote:
Good Morning:
I am looking to create a thumbnail from an uploaded image, and then
save it to a directory.
I don't have any problem with the image
On 10/19/06, Jay Blanchard [EMAIL PROTECTED] wrote:
Is anyone aware of a PHP/MySQL app that would be used by telemarketing
staff to track calls, do follow-ups, allow scripting, etc.? We could
write something in house but we are pressed for time. I have been poking
around the web this morning,
This is definitely something you'll want to run by the MySQL mailing
list.
On Oct 19, 2006, at 10:02 AM, Alan Milnes wrote:
PHP 4.4.4
MySQL 4.1.21-community-nt
I have a table in my database that has a Primary key on 2 fields
(MyID and MyChange) and a field that indicates if there is a
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try suPHP :-)
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Christian Heinrich wrote:
try suPHP :-)
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
Sounds like it could be a big security issue if not very
To whoever was asking this (sorry didn't see the original email):
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
I was recently exchanging on this list
Hi,
I have a pretty simple bit of code that looks like the following;
// Prepare a statement. This will actually call a stored procedure
$objStatement = $objDB-prepare($strInsert);
try
{
$objStatement-execute($arrParams);
error_log(ABOUT TO fetchColumn);
$intID =
As many of you know, I've been planning to host a PHP-General
Gathering in Spring 2007.
It's just been announced that php|architect is hosting a php|tek
Conference MAY 2007 in CHICAGO!
Now, I'm not dumb enough to butt heads with Marco :-)
So we decided to work together on his conference this
Hello again;
I'm wondering if it is possible to create an $_ENV var with a php
script running under a web server. I'm not sure where to look
in the manual or other documentations for this. Isn't there a
set_env() function or something like it? (would apply to php 4 0r 5x)
Thanks in advance.
JK
How are you running PHP? What are you trying to accomplish with
setting the env var?
On Oct 19, 2006, at 8:16 PM, jekillen wrote:
Hello again;
I'm wondering if it is possible to create an $_ENV var with a php
script running under a web server. I'm not sure where to look
in the manual or
That depends on what your data structure is, exactly, and what sort of tree
structure you want on the other side. Please be more specific.
On Thursday 19 October 2006 09:08, Angelo Zanetti wrote:
Hi all,
I have an associative array, which contains parent and child
relationships. I've
Patrik Jansson wrote:
Hello,
I'm having some difficulties with open_basedir. If I include the prefix
/home/web25637/ in open_basedir shouldn't it include every directory
within this? We're getting this error:
Warning: file_exists() [function.file-exists]: open_basedir restriction
in effect.
Andy Hultgren wrote:
To whoever was asking this (sorry didn't see the original email):
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
I was recently
On Thu, 2006-10-19 at 23:58 -0500, Larry Garfield wrote:
That depends on what your data structure is, exactly, and what sort of tree
structure you want on the other side. Please be more specific.
On Thursday 19 October 2006 09:08, Angelo Zanetti wrote:
Hi all,
I have an associative
44 matches
Mail list logo