Hi,
System:
Win32
PHP 5.2.0
Apache 2.0.54 (PHP in CGI mode)
CGI vars are not automatically loaded into $_ENV global array. Only when
calling getenv('var'), just then the variable appears in $_ENV.
Besides, it seems that the env vars are loaded automatically into
$_SERVE
My apologies, but I am just so frustrated right now. It seems my function
doesn't work either (if that's even the problem, which at this time I just
don't know). Somehow my variable is still getting a value, and I have no
idea how. Even if I don't return anything it still gets a value. Basically
th
The closest I know of to that would be to use Drupal[1] with the Organic
Groups[2] module and the og2list[3] module. You also need an MTA, of course.
Disclaimer: I've not actually set up such a system. I've just seen it
discussed as a reasonable facsimile. See the Drupal Groups[4] site for
O
Does anyone have any idea to this problem? All the code is in the emails I
have written to the list. I have temporarily solved the problem by writing
my own function not using any pregs, eregs, or any other regs and it works
perfectly. It's probably not considered good programming, but it works the
PHP Users,
I'm creating a PHP based forum, and what I'd like to do is have it work
so that people can view and read the information via email, just like a
mailing list.
Yahoo! Groups does this, so I know this sort of thing is possible in
principle.
But so far as I can tell, open source PHP
Hey all,
I've been working on this site dealing with
Podcasts, something I haven't worked on before,
but I am slowing getting the feel for how this works.
One of the first bugs I needed to deal with was
the fact that probably 40% of the podcasts put in
the in the database and then streamed
Brian Dunning wrote:
I want to make sure that a jpg uploaded by the user is unique. I was
thinking about storing a hash code for each image in its MySQL record
(got a db record for each uploaded image already). Is there an easy way
to generate such a string?
an md5 should suffice.
http://www
I want to make sure that a jpg uploaded by the user is unique. I was
thinking about storing a hash code for each image in its MySQL record
(got a db record for each uploaded image already). Is there an easy
way to generate such a string?
--
PHP General Mailing List (http://www.php.net/)
To
> -Original Message-
> From: 'Roman Neuhauser' [mailto:[EMAIL PROTECTED]
> Sent: January 15, 2007 7:53 PM
> To: Beauford
> Cc: 'PHP'
> Subject: Re: [PHP] I lied, another question / problem
>
> # [EMAIL PROTECTED] / 2007-01-15 18:33:31 -0500:
> > > From: Roman Neuhauser [mailto:[EMAIL P
> -Original Message-
> From: Roman Neuhauser [mailto:[EMAIL PROTECTED]
> Sent: January 15, 2007 7:09 PM
> To: Beauford
> Cc: PHP
> Subject: Re: [PHP] I lied, another question / problem
>
> # [EMAIL PROTECTED] / 2007-01-15 16:31:32 -0500:
> > I have file which I use for validating which
# [EMAIL PROTECTED] / 2007-01-15 18:33:31 -0500:
> > From: Roman Neuhauser [mailto:[EMAIL PROTECTED]
> > # [EMAIL PROTECTED] / 2007-01-15 16:31:32 -0500:
> > > I have file which I use for validating which includes the following
> > > function:
> > >
> > > function invalidchar($strvalue)
> > > {
>
On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
Gert Cuykens wrote:
>
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>> syntax error:
> -Original Message-
> From: Roman Neuhauser [mailto:[EMAIL PROTECTED]
> Sent: January 15, 2007 7:09 PM
> To: Beauford
> Cc: PHP
> Subject: Re: [PHP] I lied, another question / problem
>
> # [EMAIL PROTECTED] / 2007-01-15 16:31:32 -0500:
> > I have file which I use for validating which
# [EMAIL PROTECTED] / 2007-01-15 16:43:50 +:
> Hi,
> I have a script parsing the lines of a (rather large) file:
>
> while (!feof($outPluginfh)) {
> $outPlugin = fgets ($outPluginfh,1024);
> # process $outPlugin here...
>
> }
>
> Now, with large files I was running into an memor
# [EMAIL PROTECTED] / 2007-01-15 16:31:32 -0500:
> I have file which I use for validating which includes the following
> function:
>
> function invalidchar($strvalue)
> {
> if(!ereg("^[[:alpha:][:space:]\'-.]*$", $strvalue)) {
That regexp matches if $strvalue consists of zero or more ocurre
At 1/15/2007 01:52 PM, Otto Wyss wrote:
When values are entered on one of my page I submit the result back
to the same page (form action=same_page). Unfortunately each submit
adds an entry into the history, so history back doesn't work in a
single step. Yet if the count of submits were known I
[snip]
If I wanted to determine whether a domain has set up mx records, how
could I
accomplish this with PHP?
[/snip]
RTFM http://us3.php.net/manual/en/function.dns-get-mx.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I wanted to determine whether a domain has set up mx records, how could I
accomplish this with PHP?
When values are entered on one of my page I submit the result back to
the same page (form action=same_page). Unfortunately each submit adds an
entry into the history, so history back doesn't work in a single step.
Yet if the count of submits were known I could use goto(n). What's the
best way t
On Monday 15 January 2007 20:59, Curt Zirzow wrote:
> On 1/15/07, Beauford <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Hopefully this is my last question so I can put this site to bed. Is
> > there a good article that explains how to do the patterns for eregi.
>
> Honestly i hope it isn't the last q
I have file which I use for validating which includes the following
function:
function invalidchar($strvalue)
{
if(!ereg("^[[:alpha:][:space:]\'-.]*$", $strvalue)) {
return "*";
}
}
Here is the problem. If I don't use the function, like below, there is no
On 1/15/07, Gert Cuykens <[EMAIL PROTECTED]> wrote:
On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
> Gert Cuykens wrote:
> >
> > Added db5c29 it includes a new server memory login module some small
> > layout and code modifications.
> >
> hmm,
> syntax error: dg.delete()\n dg.js (line 241)
Gert Cuykens wrote:
>
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>> syntax error: dg.delete()\n dg.js (line 241)
>> do you know the
On 1/15/07, Beauford <[EMAIL PROTECTED]> wrote:
Hi,
Hopefully this is my last question so I can put this site to bed. Is there a
good article that explains how to do the patterns for eregi.
Honestly i hope it isn't the last question.
As far as eregi articles that really has been dead since a
On 1/15/07, Beauford <[EMAIL PROTECTED]> wrote:
I'm familiar with the .htaccess file and I am told by the hosting company
that apache is set up to use it, I've just never used it much - especially
for PHP. If this works I'd even like to set an includes file for PHP. Here
is the file.
# -FrontPag
Hi,
Hopefully this is my last question so I can put this site to bed. Is there a
good article that explains how to do the patterns for eregi.
I have read tons of articles, but none really explains what everything
means. Like why some things have square brackets and some have round, what
does the
On 1/14/07, Beauford <[EMAIL PROTECTED]> wrote:
I guess I'm just doing something wrong, 'cause that doesn't work either -
nor do the hundreds of other snippets I've used.
Here's the scenario. I have a form - after they submit the form it shows
what they have entered, this is where I get the \.
I'm familiar with the .htaccess file and I am told by the hosting company
that apache is set up to use it, I've just never used it much - especially
for PHP. If this works I'd even like to set an includes file for PHP. Here
is the file.
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* *
On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
Gert Cuykens wrote:
>
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
>
hmm,
syntax error: dg.delete()\n dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you shou
Richard Luckhurst wrote:
Hi List
I have taken the advice of a number of people on the list and am back trying to
write my XML parser using SimpleXML. I am having a problem and I believe the
problem is my lack of understanding of arrays and simpleXML in spite of much
google searching and manual r
Roman Neuhauser wrote:
>
> # [EMAIL PROTECTED] / 2007-01-13 18:59:10 -0800:
>> }, //<-- offending colon
>
> # [EMAIL PROTECTED] / 2007-01-14 04:49:10 +0100:
>> ah ok i am sorry, you can just remove the , (the offending colon)
>
> Guyes, what were you doing during your biology classes? ;)
>
Gert Cuykens wrote:
>
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
>
hmm,
syntax error: dg.delete()\n dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you should test your code before upload ;)
--
View this
Hi,
I have a script parsing the lines of a (rather large) file:
while (!feof($outPluginfh)) {
$outPlugin = fgets ($outPluginfh,1024);
# process $outPlugin here...
}
Now, with large files I was running into an memory allocation error
(after 16MB of allocation..).
It looks that php is
Miguel J. Jiménez wrote:
El Mon, 15 Jan 2007 12:42:58 +0100
Mathijs <[EMAIL PROTECTED]> escribió:
Hello there,
When i want use parse_xml() and i have entities like in it, it
gives me a entity error.
This because the parser doesn't know the entity.
Now i saw on the bugs site of php a wa
El Mon, 15 Jan 2007 12:42:58 +0100
Mathijs <[EMAIL PROTECTED]> escribió:
> Hello there,
>
> When i want use parse_xml() and i have entities like in it, it
> gives me a entity error.
>
> This because the parser doesn't know the entity.
>
> Now i saw on the bugs site of php a way to solve th
Hello there,
When i want use parse_xml() and i have entities like in it, it
gives me a entity error.
This because the parser doesn't know the entity.
Now i saw on the bugs site of php a way to solve this, by using
xml_set_external_entity_ref_handler() with
http://www.w3.org/TR/xhtml1/DT
# [EMAIL PROTECTED] / 2007-01-14 20:47:02 +0100:
> Roman Neuhauser wrote:
> > I have a circular dependency, and am looking for thoughts on breaking
> > the cycle without (much) redundancy or hard to automate procedures.
> >
> > I'm developing two programs, Testilence, a unit testing library, and
>
I think mysql_data_seek throws this warning also if there is no data in
the result object at all, so I would check the result before positioning
greets
Zoltán Németh
2007. 01. 12, péntek keltezéssel 23.30-kor Richard Lynch ezt írta:
> I have this process that dumps out database records to static
38 matches
Mail list logo