On Fri, 2006-10-20 at 15:50 +0900, Dave M G wrote:
> I have a system where the code parses the URL and creates objects based
> on the classes named in the link.
>
> In order to prevent a user typing in a URL that contains an object that
> doesn't exist, and getting an error, I'm trying to set u
PHP List,
I have a system where the code parses the URL and creates objects based
on the classes named in the link.
In order to prevent a user typing in a URL that contains an object that
doesn't exist, and getting an error, I'm trying to set up an error
handler class, called ErrorHandler, t
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 assoc
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
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.
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 sea
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 othe
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
--
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 yea
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 = $objStatement-
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 lis
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 ca
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: http://www.ph
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
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
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, b
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
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
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 wa
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 tu
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 19,
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
http://www.cool929fm.c
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,
una
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 first
# [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 corr
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
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 = preg_repl
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 is
> >
> > 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
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
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().
>
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 re
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 yo
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 dou
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 eas
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 where
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,
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 unsubscr
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 pu
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 a
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.
File(/home/web25637/do
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 e
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 Suhosi
43 matches
Mail list logo