if (isset($_GET['order'] && in_array($_GET['order'], array('Last',
'First', ...))) { $requestedOrder = $_GET['order']; } else {
$requestedOrder = ; }
Mind the in_array() call. Always sanitize user input.
greetz,
boro
Jason Pruim schreef:
Hi All :)
Hope you're not getting sick of my questi
Robert Cummings wrote:
On Fri, 2007-08-10 at 16:28 +0100, Stut wrote:
Rick Pasotto wrote:
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
Does php have a
On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > I get an email from each
> > server containing the contents of the error log from the previous day
> > and my first task each day is to go through that and track down any
> > issues that us
I have to write some PHP backend code for a threaded message board. The db
has a message table, and each message has a parent id.
Does anyone have any advice for someone whos never done this in PHP?
I'm currently thinking that I write function that takes a db row as an
argument, and initially, it
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 11:40 -0400, Daniel Brown wrote:
> > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > > If PHP thinks something might be wrong it will tell you. Why on earth
> > > would you want to ignore it? You think you're smarter tha
Daniel Brown wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
If PHP thinks something might be wrong it will tell you. Why on earth
would you want to ignore it? You think you're smarter than PHP? Really?
Okay, Stut, let's not make Friday the official "Flame Dan Brown"
holiday this week.
On Fri, 2007-08-10 at 11:40 -0400, Daniel Brown wrote:
> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > If PHP thinks something might be wrong it will tell you. Why on earth
> > would you want to ignore it? You think you're smarter than PHP? Really?
>
> Okay, Stut, let's not make Friday the o
On Fri, 2007-08-10 at 16:28 +0100, Stut wrote:
> Rick Pasotto wrote:
> > On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
> >> Rick Pasotto wrote:
> >>> On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
> On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> > Does php have
Hey there!
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a "\n"-ewline.
I have a text string from a form and am trying to replace the "\n" or
chr(10) or however you might call the newline with a simple html break tag.
If I use the replacing f
On 8/10/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On 8/10/07, Faither <[EMAIL PROTECTED]> wrote:
> > Hey there!
> > I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> > even explode are handling a "\n"-ewline.
> >
> > I have a text string from a form and am trying to replac
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > > I get an email from each
> > > server containing the contents of the error log from the previous day
> > > and my first task eac
On Fri, 2007-08-10 at 17:53 +0100, Richard Davey wrote:
> Hi Faither,
>
> Friday, August 10, 2007, 5:16:09 PM, you wrote:
>
> > I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> > even explode are handling a "\n"-ewline.
>
> > I have a text string from a form and am trying
Hello there,
Once upon a time I try to ignite PHP community to develop some kind of client
side php, which failed, because lack of interest (or because of javascript).
In open source world everthing boosted from personal interest.
> Hi,
>
> Thanks for chipping in. Silverlight is not a fad, be
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Faither wrote:
> > I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> > even explode are handling a "\n"-ewline.
> >
> > I have a text string from a form and am trying to replace the "\n" or
> > chr(10) or however you might call the
Stut wrote:
Faither wrote:
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a "\n"-ewline.
I have a text string from a form and am trying to replace the "\n" or
chr(10) or however you might call the newline with a simple html break
tag.
If I u
On 8/10/07, Faither <[EMAIL PROTECTED]> wrote:
> Hey there!
> I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> even explode are handling a "\n"-ewline.
>
> I have a text string from a form and am trying to replace the "\n" or
> chr(10) or however you might call the newline wi
On Fri, 2007-08-10 at 18:14 +0200, Faither wrote:
> Hey there!
> I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> even explode are handling a "\n"-ewline.
>
> I have a text string from a form and am trying to replace the "\n" or
> chr(10) or however you might call the newl
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 17:39 +0100, Stut wrote:
> > Robert Cummings wrote:
> > > On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> > >> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > >>> I get an email from each
> > >>> server con
Faither wrote:
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a "\n"-ewline.
I have a text string from a form and am trying to replace the "\n" or
chr(10) or however you might call the newline with a simple html break tag.
If I use the replaci
On Fri, 2007-08-10 at 17:39 +0100, Stut wrote:
> Robert Cummings wrote:
> > On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> >> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> >>> I get an email from each
> >>> server containing the contents of the error log from the previous day
> >>> a
Hey there!
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a "\n"-ewline.
I have a text string from a form and am trying to replace the "\n" or
chr(10) or however you might call the newline with a simple html break tag.
If I use the replacing f
Tijnema wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
That is it works with just me using the site. I am wondering how this would
effect performance if say 500
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 19:21 +0200, Tijnema wrote:
> > On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> > > > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > > > > I get
Tijnema wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
That is it works with just me using the site. I am wondering how this would
effect performance if say 500 people were executing this php function around
the same time
Hi Faither,
Friday, August 10, 2007, 5:16:09 PM, you wrote:
> I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> even explode are handling a "\n"-ewline.
> I have a text string from a form and am trying to replace the "\n" or
> chr(10) or however you might call the newline
Hey there!
I'm kind of lost with how str_replace , preg_replace, ereg_replace or
even explode are handling a "\n"-ewline.
I have a text string from a form and am trying to replace the "\n" or
chr(10) or however you might call the newline with a simple html break tag.
If I use the replacing f
Hi Tony,
Friday, August 10, 2007, 5:23:28 PM, you wrote:
> I have to write some PHP backend code for a threaded message board.
> The db has a message table, and each message has a parent id.
> Does anyone have any advice for someone whos never done this in PHP?
> I'm currently thinking that I w
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> I get an email from each
> server containing the contents of the error log from the previous day
> and my first task each day is to go through that and track down any
> issues that usage has highlighted.
That's actually a good point there that
Hi Stut,
Friday, August 10, 2007, 4:44:14 PM, you wrote:
> On my production servers error_reporting is set to E_ALL,
> display_errors is off and log_errors is on. I get an email from each
> server containing the contents of the error log from the previous
> day and my first task each day is to go
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 02:39:51PM -0700, Jim Lucas wrote:
Rick Pasotto wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar to a mail merge. IOW, I know I can
create an include file like:
$out = <<
template.php
This is two diffe
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> If PHP thinks something might be wrong it will tell you. Why on earth
> would you want to ignore it? You think you're smarter than PHP? Really?
Okay, Stut, let's not make Friday the official "Flame Dan Brown"
holiday this week. I vote that it shou
On Fri, 2007-08-10 at 11:28 -0400, Daniel Brown wrote:
> On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > I never disable E_NOTICE or even E_STRICT.
>
> I'm humbled in the presence of greatness.
Nothing great about it. It's work as usual. When you're developing the
code you see any
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> I never disable E_NOTICE or even E_STRICT.
I'm humbled in the presence of greatness.
I do my best to ensure that there are no notices or warnings, but
I still disable E_NOTICE in general, because I know that it's not
going to end th
Rick Pasotto wrote:
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is simil
On Fri, 2007-08-10 at 10:43 -0400, Jason Pruim wrote:
> Hi All :)
>
> Hope you're not getting sick of my questions as of late, but I keep
> getting closer and closer and thank you all who have helped me in the
> past! "The only reason I can see this far is I am standing on the
> shoulders of
Hi Robert,
Friday, August 10, 2007, 4:13:02 PM, you wrote:
> On Fri, 2007-08-10 at 11:00 -0400, Daniel Brown wrote:
>>
>> Remember to clean that input before you sit down at the table, there,
>> boy!
>>
>> It's safe to ignore the `Undefined index` notices. That will just
>> appear if a
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Bad Dan *slap*. Ignoring notices may be detrimental to your health
> and/or well-being. Better to initialise it with a default if it has not
> been set in the request.
>
> if (!isset($_GET['order'])) $_GET['order'] = 'Last';
Ouch!
So you're al
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 11:00 -0400, Daniel Brown wrote:
> >
> > Remember to clean that input before you sit down at the table, there,
> > boy!
> >
> > It's safe to ignore the `Undefined index` notices. That will just
> > appear if a
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
> Rick Pasotto wrote:
>> On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
>>> On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar
On Fri, 2007-08-10 at 11:00 -0400, Daniel Brown wrote:
>
> Remember to clean that input before you sit down at the table, there, boy!
>
> It's safe to ignore the `Undefined index` notices. That will just
> appear if a variable is referenced without first being instantiated or
> defined.
On 8/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi All :)
>
> Hope you're not getting sick of my questions as of late, but I keep
> getting closer and closer and thank you all who have helped me in the
> past! "The only reason I can see this far is I am standing on the
> shoulders of giants" d
At 8/10/2007 07:43 AM, Jason Pruim wrote:
I want to be able to sort that info so my sql query looks like:
"Select * from current order by '$order';" and $order is populated by
a GET when they click on a link: "Sort
by last name" Now... the whole PHP page is being included in
a .shtml page to act
Hi All :)
Hope you're not getting sick of my questions as of late, but I keep
getting closer and closer and thank you all who have helped me in the
past! "The only reason I can see this far is I am standing on the
shoulders of giants" don't know who said that but I like it :)
Anyway... On
2007/8/7, Richard Lynch <[EMAIL PROTECTED]>:
>
> On Fri, August 3, 2007 1:38 am, Ralph Kutschera wrote:
> > I'm working on a project, where we distinguish between "functions"
> > and
> > "actions" in design, although in PHP both are implemented as
> > functions.
> > Is there a chance that PHP can
On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > That is it works with just me using the site. I am wondering how this would
> > effect performance if say 500 people were executing this php function around
> > the same time and the processing overlapped. Is there anyway to make an
> > exe
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Tijnema wrote:
> > On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> >>> That is it works with just me using the site. I am wondering how this
> >>> would
> >>> effect performance if say 500 people were executing this php function
> >>> around
>
On 8/10/07, Kevin Murphy <[EMAIL PROTECTED]> wrote:
> I doubt this, but is there any way to determine via PHP if a browser
> was refreshed automatically via a META tag vs the person clicking the
> refresh button?
>
> --
> Kevin Murphy
Normally not, unless you add an extra GET item to the META tag,
Hi Kevin,
Friday, August 10, 2007, 7:26:30 PM, you wrote:
> I doubt this, but is there any way to determine via PHP if a browser
> was refreshed automatically via a META tag vs the person clicking the
> refresh button?
You could dynamically generate the meta tag, so it refreshes to your
page w
On 8/10/07, John Mendenhall <[EMAIL PROTECTED]> wrote:
> I sent this to the php-install list. However, with
> no response, I knew there would be more eyes looking
> at it here. Hopefully, someone can send me a pointer
> on how to resolve this issue. It might be the root of
> other problems I am
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Tijnema wrote:
> > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> >> Tijnema wrote:
> >>> On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > That is it works with just me using the site. I am wondering how this
> > would
> > effect pe
Here's what I use to watch my apache logs.. Looks for php errors,
notices, and warnings, seg faults, etc.. Grabs the stats for the prior
hour and spits them to stdout.. Pipe that to mutt or sendmail and
youve got an hourly cron.. Check the command line options for other
good stuff.. Only catch: Thi
--- Tony Di Croce <[EMAIL PROTECTED]> wrote:
> I have to write some PHP backend code for a threaded
> message board. The db
> has a message table, and each message has a parent
> id.
>
> Does anyone have any advice for someone whos never
> done this in PHP?
You are reinventing the wheel here. Wh
On Fri, 2007-08-10 at 11:18 -0400, Daniel Brown wrote:
> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > Bad Dan *slap*. Ignoring notices may be detrimental to your health
> > and/or well-being. Better to initialise it with a default if it has not
> > been set in the request.
> >
> > if (!isset($_G
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Kevin Murphy wrote:
> > I doubt this, but is there any way to determine via PHP if a browser was
> > refreshed automatically via a META tag vs the person clicking the
> > refresh button?
>
> Add a GET variable to the URL you put in the meta tag to tell
On Fri, 2007-08-10 at 19:49 +0200, Tijnema wrote:
> On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > I always forget about file_get_contents() because its counterpart
> > file_put_contents() for some ungodly reason didn't appear until PHP 5.
>
> Forget PHP4 and life becomes a lot eas
Hi,
I would like to know what is the best way and fastest to insert into
PostgreSQL around 25.000 records (extracted from CSV file).
Should i use the standard pg_exec($dbconn, "insert into..."); for each
record ?
thanks a lot,
--
Alain
Windows XP SP2
Postgre
I doubt this, but is there any way to determine via PHP if a browser
was refreshed automatically via a META tag vs the person clicking the
refresh button?
--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada College
www.wnc.edu
775-445-3326
P.S. Please note that my e-
2007/8/3, Ken Tozier <[EMAIL PROTECTED]>:
>
>
> On Aug 3, 2007, at 9:39 AM, Ken Tozier wrote:
>
> >
> > On Aug 3, 2007, at 2:38 AM, Ralph Kutschera wrote:
> >
> >> Hallo!
> >>
> >> I'm working on a project, where we distinguish between
> >> "functions" and
> >> "actions" in design, although in PH
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Tijnema wrote:
> > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> >> Tijnema wrote:
> >>> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> Tijnema wrote:
> > On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> >>> That is it works with just
I sent this to the php-install list. However, with
no response, I knew there would be more eyes looking
at it here. Hopefully, someone can send me a pointer
on how to resolve this issue. It might be the root of
other problems I am having.
Per my previous message, I have recently upgraded from
p
On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > That is it works with just me using the site. I am wondering how this would
> > effect performance if say 500 people were executing this php function around
> > the same time and the processing overlapped. Is there anyway to make an
> > exe
On Fri, 2007-08-10 at 15:36 +0200, Alain Roger wrote:
> Hi,
>
> I would like to know what is the best way and fastest to insert into
> PostgreSQL around 25.000 records (extracted from CSV file).
> Should i use the standard pg_exec($dbconn, "insert into..."); for each
> record ?
>
> thanks a lot,
On 8/10/07, Richard Davey <[EMAIL PROTECTED]> wrote:
> Hi Richard,
>
> Friday, August 10, 2007, 11:10:21 AM, you wrote:
>
> > This is off topic so feel free to reply off list.
>
> > My question is how much is it reasonable to charge for the following:
>
> > 1. Building a very small website (you can
On Thu, Aug 09, 2007 at 02:39:51PM -0700, Jim Lucas wrote:
> Rick Pasotto wrote:
>> Does php have a facility similar to python's stringIO?
>> What I'm wanting to do is similar to a mail merge. IOW, I know I can
>> create an include file like:
>> $out = <<> This is an example of $var1 and $var2.
>>
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
> On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> > Does php have a facility similar to python's stringIO?
> >
> > What I'm wanting to do is similar to a mail merge. IOW, I know I can
> > create an include file like:
> >
> > $out = <
2007. 08. 10, péntek keltezéssel 15.04-kor Alain Roger ezt írta:
> Hi,
>
> So now i know how to import the content of the CSV file to database,
> however, before to import to database i do a simple test.
> in fact, i display in my browser all content of my CSV file.
>
> unfortunately, not all cha
i change the UTF-8 by windows-1250 and it works well.
But what will happen if after i use UTF-8 in the rest of this PHP page ?
everytime some characters will not be correctly displayed...
moreover my database is in UTF-8.
So i must expect some issue during copy data from CSv to database, no ?
Hi,
So now i know how to import the content of the CSV file to database,
however, before to import to database i do a simple test.
in fact, i display in my browser all content of my CSV file.
unfortunately, not all characters are displayed correctly.
in PHP page include but it does not help to d
Guys i would like to thank you for the help.
Jan i used some of your code to help me get this. There was one issue
with yours, preg_match_all while in a foreach will only match the last
match and output that as the $m array.
Here is the code, i hope someone else can use it. Its a working code
in
That is it works with just me using the site. I am wondering how this would
effect performance if say 500 people were executing this php function around
the same time and the processing overlapped. Is there anyway to make an
executable run as a service, I am guessing at the terminology that I sh
Diana wrote:
How do I install the ming library on windows??
I copied the php_ming.dll that I had on another computer and enabled
this line in php.ini extension=php_ming.dll
but I still get that error Call to undefined function Ming_setScale()
Have you restarted your web server (Apache, IIS, w
On 8/10/07, Nathan Wallis <[EMAIL PROTECTED]> wrote:
> Hi there,
>
>
>
> I have a windows application the performs a certain task that I need it to
> perform. I am in the process of developing my site and am really interested
> in the functionality of the site at the moment and haven't set about
This is off topic so feel free to reply off list.
My question is how much is it reasonable to charge for the following:
1. Building a very small website (you can see it here:
http://www.cleardebtadvice.co.uk)
2. Hosting it for two years
3. Providing email accounts as need be
4. Probably a day
2007. 08. 10, péntek keltezéssel 02.31-kor Jan Reiter ezt írta:
> Hi!
> Thank you for your response!
>
> The only intention of my code was to investigate the (back then) unexpected
> behavior of the if statement.
>
>
> With $var['test'] set to "blah" this expression should be false
> ($var['t
Robert Cummings wrote:
On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
I get an email from each
server containing the contents of the error log from the previous day
and my first task each day is to go through that and track down any
issue
Hi
i've reinstalled the complete server and i use apache module to load
openSSL.
However, if i uncomment in PHP.INI the extension=php_openssl.dll, it still
does not appear on screen when i use phpinfo() function.
i've tried also to uncomment some other extension and they also are not
displayed du
Hi Richard,
Friday, August 10, 2007, 11:10:21 AM, you wrote:
> This is off topic so feel free to reply off list.
> My question is how much is it reasonable to charge for the following:
> 1. Building a very small website (you can see it here:
> http://www.cleardebtadvice.co.uk)
> 2. Hosting
Daniel Brown wrote:
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
I never disable E_NOTICE or even E_STRICT.
I'm humbled in the presence of greatness.
I do my best to ensure that there are no notices or warnings, but
I still disable E_NOTICE in general, because I know that it
Daniel Brown wrote:
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
Bad Dan *slap*. Ignoring notices may be detrimental to your health
and/or well-being. Better to initialise it with a default if it has not
been set in the request.
if (!isset($_GET['order'])) $_GET['order'] = 'Last';
Ouch!
Daniel Brown wrote:
On 8/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
Hi All :)
Hope you're not getting sick of my questions as of late, but I keep
getting closer and closer and thank you all who have helped me in the
past! "The only reason I can see this far is I am standing on the
shoulders
I sent this to the php-install list. However, with
no response, I knew there would be more eyes looking
at it here. Hopefully, someone can send me a pointer
on how to resolve this issue, if it is one.
I recently upgraded our php from 4.4.0 to 4.4.7.
When I run configure from the command line wit
Kevin Murphy wrote:
I doubt this, but is there any way to determine via PHP if a browser was
refreshed automatically via a META tag vs the person clicking the
refresh button?
Add a GET variable to the URL you put in the meta tag to tell you it
came from the meta tag.
P.S. Please note that m
On Fri, 2007-08-10 at 19:21 +0200, Tijnema wrote:
> On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote:
> > > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote:
> > > > I get an email from each
> > > > server containing the contents of the
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto <[EMAIL PROTECTED]> wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar to a mail merge. IOW, I know I can
create an include file like:
$out = <
Alain Roger wrote:
Hi,
So now i know how to import the content of the CSV file to database,
however, before to import to database i do a simple test.
in fact, i display in my browser all content of my CSV file.
unfortunately, not all characters are displayed correctly.
in PHP page include but
How do I install the ming library on windows??
I copied the php_ming.dll that I had on another computer and enabled this
line in php.ini extension=php_ming.dll
but I still get that error Call to undefined function Ming_setScale()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On Friday 10 August 2007 18:29, Stephen wrote:
> --- Tony Di Croce <[EMAIL PROTECTED]> wrote:
> > I have to write some PHP backend code for a threaded
> > message board. The db
> > has a message table, and each message has a parent
> > id.
> >
> > Does anyone have any advice for someone whos never
Hi there,
I have a windows application the performs a certain task that I need it to
perform. I am in the process of developing my site and am really interested
in the functionality of the site at the moment and haven't set about putting
the details in place, so I am using the php function
On Wednesday 08 August 2007 03:16, Richard Lynch wrote:
> On Tue, August 7, 2007 3:20 am, Colin Guthrie wrote:
> > Børge Holen wrote:
> >> On Monday 06 August 2007 23:39, Colin Guthrie wrote:
> >>> Børge Holen wrote:
> I'm building an web interface for my music collection.
> >>>
> >>> I'd ha
Tijnema wrote:
On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
That is it works with just me using the site. I am wondering how this would
effect performance if say 500 people were executing this php function around
the same time and the processing overlapped. Is there anyway to make an
e
Hello,
I'm doing an script which it'll "read" the xml values, but I have one
problem doing that.
On the xml there is a tag that has an hífen in the middle, so when I do
"echo $xml->comment-id" it gives me an error.
How can I make this work?
Thanks in advantage.
> On 8/10/07, John Mendenhall <[EMAIL PROTECTED]> wrote:
> > Per my previous message, I have recently upgraded from
> > php 4.4.0, to php 4.4.7. My configure options are as
> > follows:
> >
>
> >
> > I would like to know what I am doing wrong here.
> > When I turn off pear, this does not happen.
Well, I have no idea what the Phython StringIO method does. Could someone
explain in PHP terms maybe? Google gave me this explaining stringIO
http://docs.python.org/lib/module-StringIO.html . It didnt' make much sense
still after reading it though.
- Dan
"Rick Pasotto" <[EMAIL PROTECTED]>
Um yeah. The PHPpatterns.com site hasn't been updated for years. Plus I'm
unable to find any actual content on anything there. I looked through the
indexes but didn't find anything.
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
steve,
though i havent used c
Hey Nathan,
Actually what I was looking for was an application so that I could have a
service like craiglist.
Joey
From: Nathan Nobbe [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 3:46 PM
To: Joey
Cc: PHP
Subject: Re: [PHP] Open Source Job Wanted system
craigslist is out
On Thu, August 9, 2007 1:54 pm, Joey wrote:
> Has anybody had any experience with any open source Job posting
> systems out
> there?
Check this out:
http://jobcoin.com/
I haven't had a chance to install it and play with it yet, but it sure
seems reasonable in its approach.
--
Some people have a
On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote:
> I doubt this, but is there any way to determine via PHP if a browser
> was refreshed automatically via a META tag vs the person clicking the
> refresh button?
You could embed something in the META tag's URL such as:
http://example.com?from_me
I have a suspicion that this is something like.
1. User enters info
2. Checks if info is indeed valid
|_ If not then ask the user for correct info
3. Done process the info
Is this right?
You can do this buy having PHP post to itself, it checks if the info is
valid and if it isn't it renders
On Fri, August 10, 2007 12:12 pm, Sancar Saran wrote:
> Once upon a time I try to ignite PHP community to develop some kind of
> client
> side php, which failed, because lack of interest (or because of
> javascript).
> In open source world everthing boosted from personal interest.
Wez did a PHPScr
On Fri, August 10, 2007 11:48 am, Faither wrote:
> I'm kind of lost with how str_replace , preg_replace, ereg_replace or
> even explode are handling a "\n"-ewline.
.
.
.
> Is it even possible under windows? ^^
In Linux, the newline is "\n", but...
Under Windows, the newline isn't "\n", it's "\r\n
1 - 100 of 121 matches
Mail list logo