-Original Message-
From: Paul Halliday [mailto:paul.halli...@gmail.com]
Sent: Thursday, October 27, 2011 2:43 PM
To: PHP-General
Subject: [PHP] What is wrong with this preg_match?
I have the following:
if (isset($argc)) {
if ($argc == 1 || $argc > 2 || !preg_match("(\d{4}-\d{2}-\d{2}
-Original Message-
From: Ken Robinson [mailto:kenrb...@rbnsn.com]
Sent: Thursday, October 13, 2011 1:33 PM
To: php-general@lists.php.net
Subject: Re: [PHP] FW: parse error
At 01:26 PM 10/13/2011, Robert Williams wrote:
>On 10/13/11 10:06, "David Savage" wrote:
>
>
> >php -l voip_cdrs.p
g logic here));
guess it all depends on how you want to do it... but that would make it
1 db query
good luck!
--
Steve Staples
Web Application Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;, ',
$usersids) .")";
not very elegant, and I am not sure that the IN is any better than doing
50 mysql calls, but this is only 1 call, and gets you the data.
Are you querying the database to get the id's in the frist place? if
so, you could look at doing an inner join on
array $arrUsers.
foreach ($arrUsers as $user){
foreach ($user as $val) {
echo $val . "";
}
echo '';
}
--
Steve Staples
Web Application Developer
519.258.2333 x8414
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2011-08-27 at 17:55 -0400, Daniel P. Brown wrote:
> On Sat, Aug 27, 2011 at 01:01, Jim Lucas wrote:
> >
> > Well, you might have to go about this the long way. I suggest you cut larger
> > sections of code out until you get a working script. Then start putting it
> > back together.
>
>
On Wed, 2011-08-03 at 09:22 -0400, Matty Sarro wrote:
> Hey everyone,
> I am a super newbie just beginning to learn PHP. Awhile ago, I had
> used aptana for dabbling with php and was amazed to find out that it
> had a built in php interpreter so I could do some minor testing
> without having to upl
On Tue, 2011-08-02 at 10:04 -0500, Donovan Brooke wrote:
> Hello!,
>
> I must not be understanding something as I would expect 'f_file'
> to show up in the print_r below.:
>
> ---form--
>
>
>
>
>
>
> ---endform--
>
> --index.php--
>
> --/index.php--
>
>
>
>
> The result I
On Thu, 2011-07-14 at 13:39 +0100, Stuart Dallas wrote:
> On Thu, Jul 14, 2011 at 1:37 PM, Steve Staples wrote:
>
> > On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
> > > A valid variable name starts with a letter or underscore
> >
> > If I am not mist
On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
> On 13 Jul 2011 at 22:39, Micky Hulse wrote:
>
> > They must mean labels as in "general naming convention rules for
> > programming"... Like not naming a variable/function "label" with a number at
> > the front.
> >
> > Here's a page about
> What do you think you gain by limiting the link to a single use? If you
> think you're preventing them from passing it on to other people, then yes
> you are, but if you do that then they'll simply send the digital file
> instead so you're actually trading a poor user experience and increased
> s
On Thu, 2011-06-30 at 15:20 +0100, Geoff Lane wrote:
> On Thursday, June 30, 2011, Jasper Mulder wrote:
>
> I think the moral is that one should never code when tired ;(
>
or coding while drunk... my favorite typo is $this == 'value'; or
$$this = 'value'; very hard to find sometimes...
As
On Wed, 2011-06-29 at 16:42 -0400, Steve Staples wrote:
> I am trying to connect to an informix database, and using excel and odbc
> it works fine.
>
> I installed the PDO_INFORMIX via:
> pecl download pdo_informix
> phpize
> ./configure --with-pdo-informix=/opt/IBM/informix
I am trying to connect to an informix database, and using excel and odbc
it works fine.
I installed the PDO_INFORMIX via:
pecl download pdo_informix
phpize
./configure --with-pdo-informix=/opt/IBM/informix
make
make install
and it all appeard to work... phpinfo() shows that it's enabled, and
act
On Tue, 2011-06-28 at 17:34 +0100, Stuart Dallas wrote:
> On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote:
>
> > On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
> >
> >> Fatih, please explain what you mean by "the code files are being cached.
> >> and modifications in methods are skipped
>
On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote:
> On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote:
> > On 24 June 2011 18:23, Tamara Temple wrote:
> >> On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
> >>> On 24 June 2011 15:44, Vitalii Demianets
> >>> wrote:
> And furthe
t the age of 16...
--
Steve Staples
Web Application Developer
519.258.2333 x8414
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2011-06-07 at 16:09 +0300, Vitalii Demianets wrote:
> On Tuesday 07 June 2011 13:35:06 Richard Quadling wrote:
> > Hi.
> >
> > What do you get for ...
> >
> > php -r "var_dump(realpath(null));"
> >
>
> 1.
> PHP 5.3.6 @ Gentoo Linux(x86_64)
>
> tmp $ php -r "print getcwd();"
> /var/tmp
>
Just wondering if anyone has done anything for this? I personally
haven't had any "ideas" come to mind yet...
Looking forward to seeing them!!! (once they come)
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2011-05-05 at 21:41 +1000, Roger Riordan wrote:
> On Thu, 31 Mar 2011 16:40:06 -0400, eth...@earthlink.net (Ethan Rosenberg)
> wrote:
> ...
> >> > > Can you rephrase the question, Ethan, or give more details? From
> >> > >the way it sounds, you're concerned that destroying a session w
On Thu, 2011-04-28 at 19:19 -0400, Robert Cummings wrote:
> On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote:
> > Thanks switch and case seems to be more faster for the job and a lot cleaner
> > --Original Message--
> > From: Andre Polykanine
> > To: dholmes1...@gmail.com
> > Cc: php-gener
On Wed, 2011-04-27 at 11:54 -0400, Joshua Kehn wrote:
> If this is the PHP list thinking of it's moderately active. I sometimes
> forget which ones I'm subscribed to.
>
> Regards,
>
> -Josh___
> Joshua Kehn | josh.k...@gmail.com
> http://joshuakehn.com
>
On Mon, 2011-04-18 at 11:05 +0100, Richard Quadling wrote:
> On 18 April 2011 04:38, Bastien wrote:
> >
> >
> >
> >
> > On 2011-04-17, at 10:26 PM, tedd wrote:
> >
> >> Hi gang:
> >>
> >> Anyone have an email script that allows attachments they would share?
> >>
> >> I've been trying to figure th
de... use that. they are a
helpful bunch over there.
--
Steve Staples
Web Application Developer
MNSi (Managed Network Systems Inc.)
519.258.2333 x8414
http://www.mnsi.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2011-03-31 at 16:51 -0400, Daniel Brown wrote:
> On Thu, Mar 31, 2011 at 16:40, Ethan Rosenberg wrote:
> >
> >
> > Ash -
> >
> > I can be working on more than one program simultaneously and have one tab
> > open w/ program A and another w/ program B. The site in reference is
> >
On Thu, 2011-03-31 at 17:34 +0100, Stuart Dallas wrote:
> On Thursday, 31 March 2011 at 17:24, Kirk Bailey wrote:
> I need to extract the name of the subdirectory a page lives in to
> > use in the title for that page. This will be returned as a string to
> > echo to the output stream. Now how the
On Thu, 2011-03-31 at 12:24 -0400, Kirk Bailey wrote:
> I need to extract the name of the subdirectory a page lives in to
> use in the title for that page. This will be returned as a string to
> echo to the output stream. Now how the heck do I do that?!?
>
> --
> end
>
> Very Truly yours,
>
On Fri, 2011-03-25 at 10:56 +, Richard Quadling wrote:
> On 25 March 2011 09:57, Kalle Sommer Nielsen wrote:
> > Dear usang...@gmail.com,
> >
> > We are sorry to inform you back that the PHP project only is of the age 15,
> > which means we are not eligible to take participate within your game
On Wed, 2011-03-23 at 09:59 -0400, Floyd Resler wrote:
> I am in need of an upload progress meter. I've seen plenty of tutorials =
> on-line requiring installing modules, hooks, patches, etc. However, my =
> Wordpress install accomplished this without me having to make any =
> modifications to my
On Wed, 2011-03-23 at 08:28 -0400, Jim Giner wrote:
> I am outputting to a on an html page. A doesn't work, nor
> does \n, hence the
. Of course, if I don't need the & then I've
> just saved two keystrokes. :) Also - I do believe I tried ($i+1) and that
> didn't work either.
>
> "Paul M
On Tue, 2011-03-15 at 01:20 -0400, Jack wrote:
> Thanks everyone... great examples...works ( both methods )
>
> Thanks!
> Jack
>
> > -Original Message-
> > From: Alexis Antonakis [mailto:ad...@antonakis.co.uk]
> > Sent: Tuesday, March 15, 2011 1:10 AM
> > To: Jack
> > Subject: Re: [PH
On Fri, 2011-03-11 at 21:28 +0200, Danny wrote:
> Hi guys,
>
> I have a form that has a long list of radio-bottons inside of it. The
> radio-buttons are dynamically created via php and MySQL.
>
> Here is an example of one of the radio buttons:
>
> "
> value="0">
> "
> value="1">
>
> Now, when
On Fri, 2011-03-04 at 09:55 -0500, Daniel Brown wrote:
> On Thu, Mar 3, 2011 at 14:59, Ashley M. Kirchner wrote:
> >
> >Can PHP detect this, or should I look into some delayed
> > process of checking the file's modified time stamp versus current time and
> > not touch the file till
On Thu, 2011-03-03 at 13:23 -0700, Ashley M. Kirchner wrote:
> > Write the file with a temporary name and extension. Once the file is
> closed,
> > change the name to the pattern your server is looking for. Once you finish
> > processing it, either change the name again, or move it to a different
>
On Thu, 2011-03-03 at 11:30 -0700, Nathan Nobbe wrote:
> Hey gang,
>
> (Yes Tedd, I like your style, when it pertains to how you address the list
> :))
>
> I have a new curiosity that's arisen as a result of a new contract I'm
> working on, I'd like to bounce around some thoughts off the list and
On Thu, 2011-03-03 at 10:42 -0500, HallMarc Websites wrote:
> Maybe I misread this and it seems to me he is asking how they could trigger
> the jQuery event after the necessary PHP script is called. Maybe it is being
> over-thought, have you tried placing the javascript call after the PHP
> script?
On Thu, 2011-02-24 at 12:52 -0500, Gary wrote:
> "Steve Staples" wrote in message
> news:1298568238.14826.2431.camel@webdev01...
> > On Thu, 2011-02-24 at 11:42 -0500, Gary wrote:
> >> "Steve Staples" wrote in message
> >> news:1298492194.1482
On Thu, 2011-02-24 at 11:42 -0500, Gary wrote:
> "Steve Staples" wrote in message
> news:1298492194.14826.2425.camel@webdev01...
> > On Wed, 2011-02-23 at 14:56 -0500, Gary wrote:
> >> "Steve Staples" wrote in message
> >> news:1298490417.1482
On Wed, 2011-02-23 at 14:56 -0500, Gary wrote:
> "Steve Staples" wrote in message
> news:1298490417.14826.2418.camel@webdev01...
> > On Wed, 2011-02-23 at 14:17 -0500, Gary wrote:
> >> "Jim Lucas" wrote in message
> >> news:4d653673.7040...@cm
On Wed, 2011-02-23 at 14:17 -0500, Gary wrote:
> "Jim Lucas" wrote in message
> news:4d653673.7040...@cmsws.com...
> > On 2/23/2011 4:35 AM, Gary wrote:
> >> "Pete Ford" wrote in message
> >> news:62.c1.32612.d49d4...@pb1.pair.com...
> >>> This bit?
> >>>
> >>> On 22/02/11 22:06, Gary wrote:
> >
On Thu, 2011-02-17 at 15:36 -0600, Nicholas Kell wrote:
> On Feb 17, 2011, at 3:29 PM, Steve Staples wrote:
>
> > Is there a workaround for 32bit systems wanting to use
> > fopen()
> > is_file()
> > filesize()
> >
> > and i am sure there are oth
Is there a workaround for 32bit systems wanting to use
fopen()
is_file()
filesize()
and i am sure there are others.. on files that are > 2gb?
My development box is win visat 64bit, and i dont have any issues, when
i ported it to my test live server, it is running 5.2.8 32bit, and it is
not readi
On Wed, 2011-02-16 at 19:04 -0500, Daniel Brown wrote:
> On Wed, Feb 16, 2011 at 18:15, Daevid Vincent wrote:
> > Aha! I am working for the company that was the root of PHP!
> >
> > http://www.panasonic.net/history/founder/chapter3/story3-02.html
> >
> > ;-)
>
> I'm surprised you found that.
On Tue, 2011-02-15 at 15:54 -0500, tedd wrote:
> At 2:20 PM -0500 2/15/11, Mujtaba Arshad wrote:
> >I would say all languages have their 'lousy developers', however, since very
> >few schools focus on teaching the 'proper coding style' for PHP it leads to
> >people learning from a variety of resour
On Tue, 2011-02-15 at 08:07 -0500, Floyd Resler wrote:
> On Feb 14, 2011, at 5:24 PM, Paul M Foster wrote:
>
> > On Mon, Feb 14, 2011 at 05:15:11PM -0500, Floyd Resler wrote:
> >
> >>
> >> On Feb 14, 2011, at 4:18 PM, Paul M Foster wrote:
> >>
> >>> On Mon, Feb 14, 2011 at 03:35:02PM -0400, Pau
On Mon, 2011-02-14 at 16:10 -0500, Paul M Foster wrote:
> On Mon, Feb 14, 2011 at 12:32:51PM -0500, Steve Staples wrote:
>
> > Hi!
> >
> > I've been developing this stand alone application, found the webserver
> > that I am going to use (it is written in php
Hi!
I've been developing this stand alone application, found the webserver
that I am going to use (it is written in php) and all is good... on
windows.
I can get the php.exe and php-cgi.exe running no issue on windows
without "installing" them... even tested on 3 machines (developed on
Vista, sen
On Tue, 2011-02-08 at 21:15 +0100, Tolas Anon wrote:
> On Tue, Feb 8, 2011 at 8:54 PM, Tolas Anon wrote:
> > But in the meanwhile I found a new idea to try as well;
> >
> >curl_setopt($ch, CURLOPT_HTTPHEADER, array(
> >'Connection: Keep-Alive',
> >
On Fri, 2011-02-04 at 20:25 +0100, Thijs Lensselink wrote:
> On 02/04/2011 04:59 PM, Steve Staples wrote:
> > On Fri, 2011-02-04 at 07:51 -0800, Jim Lucas wrote:
> >> On 2/4/2011 5:37 AM, Steve Staples wrote:
> >>> Hello Guys/Gals,
> >>>
> >>>
On Fri, 2011-02-04 at 07:51 -0800, Jim Lucas wrote:
> On 2/4/2011 5:37 AM, Steve Staples wrote:
> > Hello Guys/Gals,
> >
> > it's friday (at least where I am it is) and I have an issue with a
> > script that I just started using again. The problem is, is that i
Hello Guys/Gals,
it's friday (at least where I am it is) and I have an issue with a
script that I just started using again. The problem is, is that it uses
the built in PHP mail() function, and on my testing server, mail()
doesn't work. The other issue, is that I use SMTP Auth to connect to my
ma
-- purposely top posting as well --
just think, here in ontario, we have UBB... where Bell is proposing a 25
cap on usage... you sir, are killing my usage!
:)
On Tue, 2011-02-01 at 12:18 -0700, Alexis wrote:
> Bloody Hell!!
>
> How many lines is the footer in your email response!!!
>
> I ma
On Sun, 2011-01-23 at 17:40 -0800, Tommy Pham wrote:
> > -Original Message-
> > From: Tommy Pham [mailto:tommy...@gmail.com]
> > Sent: Sunday, January 23, 2011 5:23 PM
> > To: 'Paul M Foster'
> > Cc: 'php-general@lists.php.net'; 'Thijs Lensselink'
> > Subject: RE: [PHP] Different sessions,
On Wed, 2011-01-19 at 21:46 -0600, Larry Garfield wrote:
> On Wednesday, January 19, 2011 8:56:50 pm Tommy Pham wrote:
>
> > > And actually, thinking about it, I wonder if requiring the explicit
> > declaration
> > > is a good thing anyway because then it's immediately obvious and
> > > greppable
On Wed, 2011-01-19 at 01:07 -0600, Larry Garfield wrote:
> Hi all. I'm trying to come up with a solution to an architectural problem I
> could use some extra eyes on.
>
> I have (or will have) a large code base with lots of classes, spread out over
> many optional plugin components. These clas
On Wed, 2011-01-12 at 20:58 +0100, Per Jessen wrote:
> sono...@fannullone.us wrote:
>
> > I'd like to make a suggestion for a change, or possibly an addition,
> > to the PHP language.
> >
> > I'm learning PHP and have been very excited with what it can do in
> > relation to HTML. But when I got
On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote:
> On 12 January 2011 13:20, Steve Staples wrote:
> > Jim,
> >
> > Not to be a smart ass like Danial was (which was brilliantly written
> > though), but you have your "example" formatted incorrectly.
; ", $category);
> > echo "$replace";
>
> Try this instead
>
> echo '',$replace,'';
>
> Jim Lucas
[snip]
Jim,
Not to be a smart ass like Danial was (which was brilliantly written
though), but you have your "example" formatted i
ls an issue? or is this only numerals only?
it also is my business number :P 990-9327 (WEBS)
TheStapler.ca is also my domain... which is a my nickname (last name
is staples) ANYWAY... way off topic there, was just wodnering about
the "legality" of my 990webs domains... since i can
tions the way Javascript does.
>
> Wait until you get to PHP's automatic casting of strings to numbers under
> the proper conditions. You'll scratch your head for quite a while once
> you hit that one.
>
> Paul
>
> --
> Paul M. Foster
> http://noferblatz.co
http://sperling.com/
>
on my Ubuntu box, I can copy and past the √ (square-root) character and
it displays properly in he address bar on google chome, but it
translates it back to the http://xn--19g.com and doesn't show anything
else (well... the page loads...LOL)
so did you register the xn--19q.com address knowing that it would
work/translate to √.com (square-root) ?
--
Steve Staples
Web Application Developer
519.258.2333 x8414
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2011-01-02 at 21:10 -0500, David McGlone wrote:
> On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote:
> > On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
> > > Thanks for the replies. I'll just put a php on all my html containing
> > > php. A little of topic. Wich IDE
On Wed, 2010-12-29 at 19:35 -0500, Daniel P. Brown wrote:
> On Wed, Dec 29, 2010 at 19:12, Ethan Rosenberg wrote:
> > Dear List -
> >
> > Thank you for all your help in the past.
> >
> > Here is another one
> >
> > I would like to have a regex which would validate that a telephone number
> >
On Wed, 2010-12-29 at 17:36 +, Richard Quadling wrote:
> On 29 December 2010 17:24, Steve Staples wrote:
> > I can create the PDF's no problem, it is just how to send the created
> > pdf to the printer to print (it is a label printer, printing 3x5 labels)
>
>
On Wed, 2010-12-29 at 11:49 -0500, Paul M Foster wrote:
> On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote:
>
> > Hi!
> >
> > I have an app that needs to be created, and it is all running on linux.
> > I am sure I shoulnd't really write it using
Hi!
I have an app that needs to be created, and it is all running on linux.
I am sure I shoulnd't really write it using PHP, but it's kinda what I
know, and am familiar with... so I am thinking about doing with PHP.
Anyway, for simplicity sake, i am creating a pdf through php (no
problems there)
On Wed, 2010-12-22 at 12:49 -0500, Daniel P. Brown wrote:
> On Wed, Dec 22, 2010 at 12:17, Nicholas Kell wrote:
> >
> > I am with Steve. Well, what I mean is, on this topic I am in agreement with
> > Steve. My connection, etc. seems to be quite responsive.
>
> Oh, that's what you mean! Seve
On Wed, 2010-12-22 at 10:19 -0500, Al wrote:
> It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
> times outs etc.
>
> Took me 4 tries to post this.
>
> Al...
>
Not trying to sound rude or prickish... but is it your ISP or connection
to the intertubes? Or co
On Fri, 2010-12-17 at 12:22 -0500, Robert Cummings wrote:
> On 10-12-17 12:08 PM, Steve Staples wrote:
> > On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote:
> >> [snip]
> >> Thank you with your excellent help in the past. Here is another
> >> puzzler.
On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote:
> [snip]
> Thank you with your excellent help in the past. Here is another
> puzzler
>
> I am trying to write a program that can have two(2) independent forms
> in one PHP file. When I run the code below [from PHP - A Beginner's
> Gui
On Wed, 2010-12-15 at 15:41 -0500, Gary wrote:
> ""Gary"" wrote in message
> news:81.d1.49824.33c09...@pb1.pair.com...
> >I cant seem to get this to connect. This is to my local testing server,
> >which is on, so we need not worry that I have posted the UN/PW.
> >
> > This is a duplicate of a s
On Wed, 2010-12-15 at 14:34 -0500, Gary wrote:
> "Steve Staples" wrote in message
> news:1292440837.5460.8.ca...@webdev01...
> > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote:
> >> I cant seem to get this to connect. This is to my local testing server,
> &g
On Wed, 2010-12-15 at 13:42 -0500, Gary wrote:
> I cant seem to get this to connect. This is to my local testing server,
> which is on, so we need not worry that I have posted the UN/PW.
>
> This is a duplicate of a script I have used countless times and it worked.
> The error message is 'Error
On Thu, 2010-12-09 at 19:06 +, Ashley Sheridan wrote:
> On Thu, 2010-12-09 at 14:03 -0500, TR Shaw wrote:
>
> > On Dec 9, 2010, at 1:36 PM, Marc Fromm wrote:
> >
> > > We have web forms that send the user an email confirmation after
> > > submission, like most forms do.
> > > The emails are
> Twitter: http://twitter.com/m_elensule
> Facebook: http://facebook.com/menelion
>
> ----- Original message -
> From: Steve Staples
> To: php-general@lists.php.net
> Date: Monday, December 6, 2010, 6:41:34 PM
> Subject: [PHP] Redirect output to a file on the web server
>
On Mon, 2010-12-06 at 16:19 +, Richard Quadling wrote:
> On 6 December 2010 15:46, Ferdi wrote:
> > On 6 December 2010 20:47, Steve Staples wrote:
> >
> >> On Mon, 2010-12-06 at 20:29 +0530, Ferdi wrote:
> >> > Greetings List members,
> >> >
&g
On Mon, 2010-12-06 at 20:29 +0530, Ferdi wrote:
> Greetings List members,
>
> I have a script that takes quite a while to run, one or two hours, I wish to
> redirect the normal php output to a file on the webserver itself. I don't
> mind if in the process, the browser displays a blank page. The re
On Fri, 2010-12-03 at 18:11 -0500, Govinda wrote:
> Hi all
>
> I have a question which I see from googling has been discussed at
> length.. but I want to know what you would recommend based on our
> particular needs. I want to be on the right track before I find out a-
> week-of-work later t
On Thu, 2010-12-02 at 10:07 -0500, Daniel P. Brown wrote:
> On Wed, Dec 1, 2010 at 23:13, Kirk Bailey wrote:
> [snip!]
> >
> > Can this be improved to exclude anything with a '.' or a '-' in it's name?
> > This will exclude the smileys and cgi-bin and such. If it can be persuaded
> > to read a 1 l
On Wed, 2010-12-01 at 20:18 +0400, Nadim Attari wrote:
> On 12/01/2010 07:18 PM, Jay Blanchard wrote:
> > [snip]
> >>> If I just put only this piece of code:
> >>>
> >>> >>> var_dump($_POST);
> >>> ?>
> >>>
> >>> i get nothing.
> > [/snip]
> >
> > Where are you putting this var_dump?
> >
> >
On Tue, 2010-11-30 at 22:26 +0330, Mohammad Taghi Khalifeh wrote:
> Hi there,
> I have a package written in pure PHP, some .php files that refer to others
> via require_once(''),
> but when I try to see package's contents via a browser, the pacakge just
> shows nothing: a blank page.
> I've activat
On Mon, 2010-11-29 at 13:01 -0500, Daniel Brown wrote:
> On Mon, Nov 29, 2010 at 12:52, Al wrote:
> > On 11/29/2010 11:03 AM, Daniel P. Brown wrote:
> >>
> >> Via what news server(s), Al?
> >>
> >
> > news.php.net
>
> Okay, figured as much. I had mentioned some time ago that I would
> lo
On Fri, 2010-11-26 at 15:21 +0200, Sotiris Katsaniotis wrote:
> Greetings fellow PHP developers!
>
> I am looking of a relatively simple way to export a whole database into
> an Excel file. I have several methods to export tables to Excel files
> but unfortunately I have failed to export a whole
On Tue, 2010-11-23 at 20:55 +0100, Peter Lind wrote:
> On 23 November 2010 20:52, Steve Staples wrote:
> > tap tap tap... testing testing... 1, 2, 3
> >
> > Hello?No activity since yesterday at like 6pm EST... am i not
> > getting messages, or has there not been
tap tap tap... testing testing... 1, 2, 3
Hello?No activity since yesterday at like 6pm EST... am i not
getting messages, or has there not been any activity?
Just curious... carry on about your business... :P
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
On Mon, 2010-11-22 at 15:26 -0800, David Harkness wrote:
> On Mon, Nov 22, 2010 at 3:05 PM, Richard Quadling wrote:
>
> > Would it be overboard to use a namespace? Aren't namespaces handled by
> > the autoloader? If not autoload(), how about spl_autoloading?
> >
>
> Autoloading is for determining
> perhaps you could just google wordpress pagination
>
> http://www.google.ca/#sclient=psy&hl=en&q=wordpress+pagination&aq=1&aqi=g4g-o1&aql=&oq=&gs_rfai=&pbx=1&fp=88df74f51cdeec4c
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
Here, this may help:
http://lmgt4u.com/?q=wordpress+pag
some products returns
> like "-18.%"
> when i escape only 2 chars
> i get e result like
> "-5.%"
>
> so is there a way to round that value to int not float?
>
>
would something like this should work... just pieced it from the smarty
site:
http://www.smarty.net/docsv2/en/language.function.math
{math assign='yuzde' equation="x + y" x=$height y=$width format="%.2f"}
Steve
--
Steve Staples
Web Application Developer
519.258.2333 x8414
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2010-11-16 at 10:25 -0700, Hansen, Mike wrote:
> > -Original Message-
> > From: Hansen, Mike
> > Sent: Tuesday, November 16, 2010 10:24 AM
> > To: 'Daniel Brown'
> > Subject: RE: [PHP] Why the PEAR hate?
> >
> > > -Original Message-
> > > From: paras...@gmail.com [mailto:p
On Mon, 2010-11-15 at 22:43 +, Ashley Sheridan wrote:
> On Mon, 2010-11-15 at 16:27 -0500, Steve Staples wrote:
>
> > Ok, dumb question, and i have tested, but I want to ensure that my tests
> > were accurate, and behavior is correct.
> >
> > Ok, i have an int
Ok, dumb question, and i have tested, but I want to ensure that my tests
were accurate, and behavior is correct.
Ok, i have an integer, that based on what it is, does certain things...
switch ((int)$intval)
{
}
now, if i need to do something on a few of the numbers, then:
case 0:
On Tue, 2010-11-09 at 16:51 +0100, Dušan Novaković wrote:
> Hello there,
>
> I have to make chat for website that has around 10 000 users (small
> social network). So before I start, I would like to hear different
> opinions. Important thing is to have in mind that in one moment you
> can have ove
On Mon, 2010-11-08 at 14:41 -0700, Hansen, Mike wrote:
> I really like the idea of using a templating engine. Which one do you use?
> Why? For those that don't use templating engines, why don't you use them?
>
>
for the longest time, i didn't know about them, and was breaking in and
out of php
On 5 November 2010 16:30, Nathan Nobbe wrote:
> >>>
> >>>
> >>>> On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples
> >>>>
> >>>>
> >>> wrote:
> >>>
> >>>
> >>>> On Fr
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
> On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote:
>
> > Hey guys (and gals)
> >
> > I am writing something that needs to connect to a SMB server... can this
> > be done easliy?
> >
> > I copie
Hey guys (and gals)
I am writing something that needs to connect to a SMB server... can this
be done easliy?
I copied a sample code from php.net that used the system() command and
mounted the SMB to a /mnt/tmp partion, and technically, it works the
problem is, is that mount has to be run as r
On Thu, 2010-11-04 at 11:48 -0600, Nathan Nobbe wrote:
> On Thu, Nov 4, 2010 at 11:43 AM, Nathan Nobbe wrote:
>
> > $ yum search php | grep -i socket
> > php-pear-Net-Socket.noarch : Network Socket Interface
> >
>
> check that - thats def *not* the package you're looking for, it's a
> userspace o
On Thu, 2010-11-04 at 12:34 -0400, Daniel P. Brown wrote:
> On Thu, Nov 4, 2010 at 12:33, Daniel P. Brown
> wrote:
> >
> >If you continue to have issues, let me know and I will remove you.
>
> From the list, that is, to be clear. Not the Earth.
>
i lol'd.
--
PHP General Mailing Li
On Thu, 2010-11-04 at 00:00 +0800, David Nelson wrote:
> Hi Thijs, :-)
>
> On Wed, Nov 3, 2010 at 20:38, Thijs Lensselink wrote:
> > I re-read your original post. And noticed you include the function inside
> > your child action.php
> > Is there a special reason for that? You want to overwrite th
On Tue, 2010-11-02 at 11:10 +, Nathan Rixham wrote:
> Ben Brentlinger wrote:
> > it could be that you tried a cheap hosting account with a company that
> > have a bulk mailing script meant for sending spam. I can imagine a spammer
> > hijacking your site to send malware from it, one of the more
1 - 100 of 131 matches
Mail list logo