On Sat, Jan 31, 2009 at 7:32 AM, Ashley Sheridan
wrote:
> On Fri, 2009-01-30 at 21:33 -0500, Eric Butera wrote:
>> On Fri, Jan 30, 2009 at 9:28 PM, Ron Piggott
>> wrote:
>> > How do I determine the value oftx from this string?
>> >
>> >
On Sat, Jan 31, 2009 at 9:33 AM, Ashley Sheridan
wrote:
> On Sat, 2009-01-31 at 08:38 -0500, Eric Butera wrote:
>> On Sat, Jan 31, 2009 at 7:32 AM, Ashley Sheridan
>> wrote:
>> > On Fri, 2009-01-30 at 21:33 -0500, Eric Butera wrote:
>> >> On Fri,
On Sat, Jan 31, 2009 at 10:10 AM, tedd wrote:
> My mother always told me to close the door. She wasn't a programmer, but it
> kept the chickens out.
>
> As a matter of habit, I always close all tags. However, I have yet to be
> bitten by the problem everyone speaks about (knock on wood).
>
> Cheer
On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie wrote:
> Eric Butera wrote:
>> On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson wrote:
>>> On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote:
>>>> From what I could tell, this was
>>>> the best RA
On Sat, Jan 31, 2009 at 1:12 PM, Nathan Rixham wrote:
> Eric Butera wrote:
>>
>> On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie
>> wrote:
>>>
>>> Eric Butera wrote:
>>>>
>>>> On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson wrote
On Sat, Jan 31, 2009 at 2:16 PM, Nathan Rixham wrote:
> Eric Butera wrote:
>>
>> On Sat, Jan 31, 2009 at 1:12 PM, Nathan Rixham wrote:
>>>
>>> Eric Butera wrote:
>>>>
>>>> On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie
>>>&g
On Mon, Feb 2, 2009 at 6:42 AM, Edmund Hertle wrote:
> Hey,
> normally I prefer to do all my includes (classes + config files) at the
> beginning if my php files. But recently I thought about including some
> classes only if they are needed later in my code (like pear Mail and
> Mail_mime only if
On Mon, Feb 2, 2009 at 7:49 AM, Gavin Hodge wrote:
> Hi,
>
> I'm fairly new to PHP, having migrated from the Java / C# world.
>
> I wrote some code similar to the following:
>
> $success = true;
> $success &= operation1();
> $success &= operation2();
>
> if ($success === true) {
>operation3();
On Mon, Feb 2, 2009 at 12:51 PM, Jim Lucas wrote:
> Terion Miller wrote:
>> Is there a certain thing that should be suspected and looked at first when
>> getting the php blank page of hell
>> I have errors on and nothing is being output anywhere to lead me in the
>> right direction, I have a V
On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote:
> Hi gang:
>
> A related question to my last "Clarity needed" post.
>
> I have a tutor table (showing all the tutors), a course table (showing all
> the courses), and a course-to-tutor table (showing all the instances of what
> tutor teaches what course
On Thu, Feb 5, 2009 at 7:37 AM, Merlin Morgenstern wrote:
> Hi there,
>
> I recently upgraded on my prod system from php 4.x to the newest php
> version. Now german characters lik "Ö" show up as ?. I have the same setup
> running on a test server, where the characters show up OK. After searching
>
On Fri, Feb 6, 2009 at 12:15 PM, Bruno Fajardo wrote:
> In my opinion, you would achieve better results using a template
> engine, like Smarty (http://www.smarty.net/). In addition, your code
> would be entirely separated from presentation in a elegant way.
>
> 2009/2/6 Frank Stanovcak :
>> I'm in
On Fri, Feb 6, 2009 at 1:13 PM, tedd wrote:
> At 1:55 AM +0100 2/6/09, Jochem Maas wrote:
>>
>> that tedd's unlimited educational resources (tutors/courses) might
>> go someway to undoing all the harm Fox News inflicts on the masses.
>
> Or to provide clarity to those who think that Fox News is do
On Fri, Feb 6, 2009 at 1:46 PM, Frank Stanovcak
wrote:
>
> "Eric Butera" wrote in message
> news:6a8639eb0902061020v793d22b9x1430872c2170b...@mail.gmail.com...
>> On Fri, Feb 6, 2009 at 1:13 PM, tedd wrote:
>>> At 1:55 AM +0100 2/6/09, Jochem Maas wrot
On Fri, Feb 6, 2009 at 1:43 PM, Bruno Fajardo wrote:
> Well, Smarty's caching layer is very fast. Maybe not as fast as an
> echo statement, but apparentely Frank was also interested in separate
> logic from presentation, and a series of echo's is not the best
> solution in my opinion. :-)
> But th
On Fri, Feb 6, 2009 at 2:10 PM, Bruno Fajardo wrote:
> I am so stick to Smarty that I never tried other solutions, like
> Savant. Thanks for the tip, I'll try it right away.
>
> Cheers.
>
> 2009/2/6 Eric Butera :
>> On Fri, Feb 6, 2009 at 1:43 PM, Bruno Fajardo wrot
On Mon, Feb 9, 2009 at 11:20 AM, Thodoris wrote:
>
>> Hi gang:
>>
>> At the college where I teach, they are considering teaching OOP, but they
>> don't want to settle on a specific language.
>>
>> My thoughts are it's difficult to teach OOP without a language -- while
>> the general concepts of OO
On Mon, Feb 9, 2009 at 12:19 PM, Stuart wrote:
> 2009/2/9 tedd :
>> Hi gang:
>>
>> At the college where I teach, they are considering teaching OOP, but they
>> don't want to settle on a specific language.
>>
>> My thoughts are it's difficult to teach OOP without a language -- while the
>> general
On Mon, Feb 9, 2009 at 8:52 PM, sean greenslade wrote:
> I have a login system that I am coding. I need it to generate a unique token
> on login to be stored in the browser's cookie. I currently use a script that
> generates a MD5 hash of the current unix timestamp, then checks the mysql
> databas
On Fri, Feb 13, 2009 at 5:13 PM, Gary Maddock-Greene
wrote:
> Note quite there yet here but yes Happy 1234567890 day to you too
>
> --
> - Gary Maddock-Greene
> "Luke Slater" wrote in message
> news:200902131812.43295.l...@blog-thing.com...
>
> --
> PHP General Mailing List (http://www.php.net/)
On Sun, Feb 15, 2009 at 9:17 PM, Andrew Ballard wrote:
> On Sun, Feb 15, 2009 at 1:22 PM, דניאל דנון wrote:
>
>> Hello,
>>
>> Is there anyway to get a list of sitess that are on a specific IP?
>>
>> I looked, But I couldn't find anything.
>>
>> I tried to make some with dns_get_record and gethost
On Mon, Feb 16, 2009 at 2:58 PM, Colin Guthrie wrote:
> 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble:
Those reply lines are funny. =)
--
http://www.voom.me | EFnet: #voom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
On Mon, Feb 16, 2009 at 6:32 PM, tedd wrote:
> At 7:58 PM + 2/16/09, Colin Guthrie wrote:
>>
>> 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble:
...
>>>
>>> Sorry, should've mentioned, I'm talking about PHP6.
>>
>> Not heard about it but I'd like it. Short tags
On Tue, Feb 17, 2009 at 3:10 PM, Ashley Sheridan
wrote:
> I've had a bit of a problem with a function I'm using for a form.
> Essentially, the function looks like this:
>
> function addEvent($values = Array('name' => '', 'venue' => '',
> 'description' => '', 'errors' => Array()))
> {
>// code
On Wed, Feb 18, 2009 at 8:34 AM, PJ wrote:
> To focus on mysql_real_escape_string, I am recapping... questions below
> QUOTE:==
> Instead of doing this (for an imaginary table):
> $sql = "insert into table1(field1, field2) values ('$value1', '$value2')";
>
> do
> $sql = "insert into table1
I hoping to add a space between the date and the time in this:
$thedate = date('M jS g:i A', $postTIME);
i.e, between* jS* and *g:i*
I've looked around but can't find anything.
Thanks
Eric Sherman
Multi Media Information
--
Copyediting the web, one page at a time.
On Wed, Mar 4, 2009 at 8:04 PM, PJ wrote some stuff...
You should do a little reading on some of the keywords that have been presented.
Specifically you don't sanitize a value into your db. You escape it.
Prepared statements are a way of doing this that makes it a bit harder
to mess up. You ha
On Wed, Mar 4, 2009 at 8:18 PM, Chris wrote:
> You only need to escape data coming from a user going in to your database.
If you put user input into your database and pull it back out, it's
still raw user input. Never trust any piece of data ever, whether it
comes from a superglobal OR within yo
On Wed, Mar 4, 2009 at 8:54 PM, Michael A. Peters wrote:
> Eric Butera wrote:
>
>>
>> So here's some examples of bad behavior.
>>
>> = Database =
>> Bad:
>> $name = mysql_real_escape_string($_POST['name'], $link);
>> myql_query(&quo
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote:
> Hi all,
>
> This is my first post to the list. Have been observing for a few weeks and
> have learnt a lot.
>
> I am having an issue in one of my scripts where using the
> mysql_real_escape_string function is stripping content out of my input d
On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote:
> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote:
>> On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote:
>>> Hi all,
>>>
>>> This is my first post to the list. Have been observing for a few weeks and
>&g
On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote:
> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote:
>> On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote:
>>> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote:
>>>> On Thu, Mar 5, 2009 at 11:16 AM, Ni
On Thu, Mar 5, 2009 at 1:47 PM, haliphax wrote:
> On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote:
>> On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote:
>>> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote:
>>>> On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote
On Thu, Mar 5, 2009 at 3:07 PM, haliphax wrote:
> Sadly, my company is throwing PHP out the window in favor of ASP.NET,
> as they have an irrational fear of Open Source software. Don't get me
> wrong--.NET is pretty darn cool--but I literally enjoy working in PHP.
> The fact that I don't need an I
On Thu, Mar 5, 2009 at 3:29 PM, Nigel Green wrote:
> On 05/03/09, Eric Butera wrote:
>
>> Make sure to always pass your active database connection into the
>> second parameter of mysql_real_escape_string. There could be
>> character set differences between your two s
On Thu, Mar 5, 2009 at 2:06 PM, James wrote:
> Right, I'm having some rather strange issues between mysql and php when it
> comes to inserting Japanese text. I have the table and fields set to
> utf8_unicode_ci, if I use phpmyAdmin to insert japanese text through the
> interface it works just fine
On Thu, Mar 5, 2009 at 6:20 PM, Brian Hansen wrote:
> Hi.
>
> Our company is merging with another company and newsletter now needs to go
> out to more than 100.000 people. Before it was only a couple of thousands.
>
> I have developed a mail queue using a database and a cronjob, but I am not
> in
On Sat, Mar 7, 2009 at 8:04 AM, Michael A. Peters wrote:
> In some earlier thread (I really don't want to dig to find it) I argued for
> running mysql_real_escape_string right on the _POST
>
> I must concede I was definitely wrong about that.
>
> The right place to do it is in a database abstracti
On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster wrote:
> On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote:
>
>
>
>
>>
>> PDO. :) Anything else is a waste of cpu cycles.
>
> I've looked into PDO, and I just didn't find it as feature-rich as
On Sat, Mar 7, 2009 at 5:20 PM, Nathan Rixham wrote:
> Eric Butera wrote:
>>
>> On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster
>> wrote:
>>>
>>> On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote:
>>>
>>>
>>>
>>>
On Mon, Mar 9, 2009 at 2:07 PM, Shawn McKenzie wrote:
> Picu Priya wrote:
>> Hello Everyone, I have just joined the PHP Community.. I hope, I will spend
>> good time here.. I am already a PHP programmer, and Love to learn a lot of
>> new php tricks while helping others, as best of my knowledge. :)
On Wed, Mar 25, 2009 at 8:30 AM, Jochem Maas wrote:
> Christoph Boget schreef:
Backslash? Seriously? I'm hurt that my suggestion of "¬" (ASCII170 ?)
wasn't used. :-(
>>> Backslash doesn't sound like it will look very pretty
>>
>> Windows and DOS have been getting away with it for the las
On Thu, May 7, 2009 at 9:41 AM, Igor Escobar wrote:
> Ok guys, thanks.
>
>
> Regards,
> Igor Escobar
> Systems Analyst & Interface Designer
>
> --
>
> Personal Blog
> ~ blog.igorescobar.com
> Online Portifolio
> ~ www.igorescobar.com
> Twitter
> ~ @igorescobar
>
>
>
>
>
> On Thu, May 7, 2009 at 7:
On Sun, May 24, 2009 at 5:32 AM, Nathan Rixham wrote:
> Hi All,
>
> A recent post just reminded me of something I did a while ago that may be of
> use to many of you (and its sitting doing nothing), it's a kind of how to
> for getting a full development environment up and running simply.
>
>
> Ecl
On Sun, May 24, 2009 at 7:47 PM, Eddie Drapkin wrote:
> I use Zend Studip (I coughed up the fee, and it's worth it) for PHP, JS,
> HTML and CSS> THere's a WYSIWYG HTML editor built in, and that's the only
> drawback I hear from a lot of people about PHP IDE's. And, it's built on
> Eclipse, so wh
On Thu, May 28, 2009 at 4:47 AM, Guus Ellenkamp
wrote:
> I'm trying to attach an uploaded file to an e-mail which I receive in
> Outlook. Neither the first part, nor the second part displays properly. The
> header looks ok when displayed on the screen. What am I missing?
If you value your time th
On Wed, Jun 3, 2009 at 2:29 PM, Paul M Foster wrote:
> (Sorry, I hit the wrong button and sent the reply only to Skip.)
>
> On Wed, Jun 03, 2009 at 11:18:57AM -0500, Skip Evans wrote:
>
>> Hey all,
>>
>> I have a file uploader module that allows users to upload
>> documents and of course people ar
On Thu, Jun 4, 2009 at 2:14 PM, Ed Bukhman wrote:
> Hello,
>
> Could someone suggest the steps needed to troubleshoot the "webpage has
> expired" issue in IE. I have a self-posting php form which queries and
> writes to a pgsql database. Occasionally, when an input is entered, the form
> never loa
On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings wrote:
> Matty Sarro wrote:
>>
>> Real men use perl ;)
>
> When I was younger my dad told me real men drink their coffee black... I
> tried it for a month and then I told him real men choose their own path in
> life.
>
> Cheers,
> Rob.
>
> --
> PHP Ge
On Tue, Jun 16, 2009 at 8:43 PM, PJ wrote
some nonsense:
> I'm sorry, guys, but I am really getting po'd.
Fail. Please try again.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FireFox addon module
injecting that artifact during code fix-up phase. Run FF in safe mode
and see if it's still there.
-eric
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Jul 14, 2009 at 6:21 AM, Anton Heuschen wrote:
> This is just a general question,
>
> I am not 100% on when to use global $var , and $this->var and how/what
> about the GLOBAL vars
>
> Lets say I have one file I call config.php here I connect to the db, to
> ldap etc the con
On Tue, Jul 14, 2009 at 7:46 AM, Tiji varghese wrote:
> Hello,
>
> I've implemented a contact form on my website that would email me the
> contents of the form and also add it to the database. Its working perfectly
> but I'm not too sure about the security part. I don't know much about the
> sec
On Thu, Jul 16, 2009 at 12:09 PM, Bob McConnell wrote:
> I recall, years ago, having a set of utilities that would build a call
> tree from application code written in C. This was useful for figuring
> out dependencies in code that someone else had written. I would like to
> do something similar wi
On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbo wrote:
> Hello,
>
> Call me a dreamer...but I got to ask.
>
> Is there any software for helping speed up PHP by utilizing internal PHP
> caching?
>
> I am not talking about the external php cache/header control. Smarty
> caching doesn't give me the con
On Thu, Jul 16, 2009 at 12:09 PM, Daniel Brown wrote:
> On Thu, Jul 16, 2009 at 11:59, Martin Scotta wrote:
>> Hi all!
>>
>> I'd like to add php.net to my browser search box.
>> Most browser can do it by "looking" at some XML provided by the site.
>
> I had written one about two and a half years
On Sat, Jul 18, 2009 at 7:14 AM, Daniel Kolbo wrote:
> Daniel Kolbo wrote:
>> Eric Butera wrote:
>>> On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbo wrote:
>>>> Hello,
>>>>
>>>> Call me a dreamer...but I got to ask.
>>>>
>>>
On Tue, Aug 4, 2009 at 7:19 PM, Govinda wrote:
> Terion,
>
> I've done a lot of backend programming, but I'm even more newbie than you in
> PHP... so take this from an equal, & FWIW:
> I think we in this work can all get dry/impersonal and grouchy at times, but
> to rephrase the others, in perhaps
On Wed, Aug 5, 2009 at 3:06 AM, Ashley Sheridan
wrote:
> On Tue, 2009-08-04 at 20:49 -0700, Steve wrote:
>> Daniel Brown wrote:
>> > Just as a heads-up, in case you guys weren't yet aware (cross-posting):
>> >
>> > Elance.com was the victim of an SQL injection attack earlier this
>> > summ
On Thu, Aug 13, 2009 at 4:45 PM, Ralph Deffke wrote:
> Hi Martin,
>
> thanks for ur efforts, this is a lot of good work.
>
> for my opinion the start is a bit too much theoretical and valid for all
> type of application. In simple words, u are too close to the book.
>
> I would love to have somethi
On 1/10/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
> Philip Thompson wrote:
>> Hi.
>>
>> Does anyone know if the mssql_connect/_init/_bind/etc require a
>> lot of
>> overhead?
>>
>> I have a page that requires multiple function calls and each
On 1/12/07, Sancar Saran <[EMAIL PROTECTED]> wrote:
Hi,
Due to my English knowladge shortcomings or just my own stupity I cannot setup
a working php debug module.
Is any one have working solution.
My target was, able to check every functions and or files for performance
issues.
I thing this c
On 2/14/06, Paul Scott <[EMAIL PROTECTED]> wrote:
I am busy porting/rewriting our framework
(http://avoir.uwc.ac.za/projects/nextgen & http://kngforge.uwc.ac.za)
from PHP4 to PHP5, and would like to know if there are any additional
mailing lists that anyone knows of that are specifically focused
On 1/17/07, Beauford <[EMAIL PROTECTED]> wrote:
I hope I can explain this so I can get this figured out, 'cause if not I may
just have to find an alternative to PHP. I can't be wasting 3 and 4 days on
something as simple as this.
This isn't a very nice intro into asking a question on a mailing l
I've heard some concern expressed that PHP might be more insecure
then other methods of developing website where security was of prime
importance. Now, I personally do not believe this, but it would help
me to convince others if I could point to major sites, where security
(mostly with resp
On Feb 1, 2007, at 9:47 AM, Jochem Maas wrote:
Eric Gorr wrote:
I've heard some concern expressed that PHP might be more insecure
then
other methods of developing website where security was of prime
importance. Now, I personally do not believe this, but it would
help me
to con
On Feb 1, 2007, at 9:50 AM, Jay Blanchard wrote:
Also, check out
http://www.shiflett.org as Chris is one of if not the leading
expert in
security with PHP.
Great site. thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/1/07, Eric Gorr <[EMAIL PROTECTED]> wrote:
On Feb 1, 2007, at 9:50 AM, Jay Blanchard wrote:
>
> Also, check out
> http://www.shiflett.org as Chris is one of if not the leading
> expert in
> security with PHP.
Great site. thank you.
--
PHP General Mailing List (ht
On Feb 1, 2007, at 10:06 AM, Jochem Maas wrote:
Eric Gorr wrote:
On Feb 1, 2007, at 9:47 AM, Jochem Maas wrote:
Eric Gorr wrote:
I've heard some concern expressed that PHP might be more
insecure then
other methods of developing website where security was of prime
importance. N
I haven't tracked this particular issue, but I know when PHP5 was
first released is wasn't recommended in a commercial/production
environment. However, a lot of time has passed and we're at v5.2
now...have things changed? Have Google&Yahoo, for example, moved to
PHP5? Or is PHP4 still the r
On 2/13/07, blackwater dev <[EMAIL PROTECTED]> wrote:
If I use add slashes, it strips everything, I just want to replace all the
double quotes with slash double quote but this, of course, throws errors:
str_replace(""","\"",$code);
Thanks!
Try this
$string = 'Hello "person." How are you?';
On 2/14/07, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
Newbie to PHP here. I have a list of categories, as checkboxes, that I
would like a user to be able to choose from. There are literally
hundreds of categories, however most of them are children categories. I
obviously don't want to di
On 2/21/07, Ross <[EMAIL PROTECTED]> wrote:
Thought it would be in the phpinfo() but cannot find it.
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If it is compiled in then you should see it in phpinfo. I looked at
mine and saw a h
On 3/6/07, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote:
Jochem Maas wrote:
> tell him this: "never ever ever ever so much as accept a creditcard number
> as input to any of his scripts let alone store it somewhere - leave that to
> the payment provider who has the expertise, secure (hopefully) syst
On 3/12/07, Larry Bradley <[EMAIL PROTECTED]> wrote:
I need to "goto" different PHP pages in my web site depending on what
happens within some PHP code.
For example, if the user is not logged in when he goes to a page, I want to
send him to a LOGIN page.
I've have everything working fine, usin
On 4/1/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
Hi,
I made this site in PHP that has a page with some PDFs to download.
My costumer wants that only subscribed people are allowed to download
the PDFs.
I've already made the subscrbe and login mechanism.
Now, my question for you is about letti
On 4/3/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
Hi,
> One popular method is to place your files outside of the webroot.
I thought about that.
> This makes it so people cannot access the files directly. Then create
> a PHP script to read the file to the user with the correct mime type
> usin
On 4/5/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
Does anyone have any experience using engine-level debuggers and/or
extensions in PHP? I installed the PECL module APD just a moment ago, and
haven't even used it yet, because I wanted to see if anyone here has a
better suggestion. I'd like
On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hey... I am new to the list so please forgive me if I say anything that might
have already been discussed. So here we go...
OK I am attempting to start a new application using PHP. I have started and
stoped this application now 2 times
On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Eric Butera wrote ..
> On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hey... I am new to the list so please forgive me if I say anything that
> might have already been discussed. So here we go...
>
On 4/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thanks a lot every one. These are great replies.
I guess I should have explained a bit more about what I'm doing.
first of all, this is not my site, it's for a client of mine.
second, I did suggest using a paypal API or a paid site to tak
I am just curious if anybody else has this issue. My platform is OSX
10.4.9 using a custom compiled PHP 4.4.x (4.4.6 & 4.4.7RC1)
I've tried using the php.ini setting zlib.output_compression = On and
also ob_start("ob_gzhandler"); directly. Each time I call up the page
it crashes.
On the server
On 4/12/07, Chetan Graham <[EMAIL PROTECTED]> wrote:
Hello to All!
I've been monitoring this emotional listing from the beginning and feel
the need to bring out some of my personal experience on this exciting
matter of
WYSIWYG vs. the 'power-user'
1) I started back when there where no GUI's ava
On 4/18/07, Wolf <[EMAIL PROTECTED]> wrote:
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the s
On 4/19/07, Stut <[EMAIL PROTECTED]> wrote:
Tobias Wurst wrote:
> i use serialize() to save my object in $_SESSION.
Why? There's no point in serialising something into $_SESSION. Anything
you put in there gets serialised by the session handler.
That isn't necessarily 100% true.
http://www.stub
ng to much with much configuration. Is sqlite
included with most php setups?
2) Should I be using sqlite 2 or 3?
Thanks for your time!
Regards.
Eric
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Sep 8, 2009 at 9:41 PM, Paul M Foster wrote:
> On Tue, Sep 08, 2009 at 11:20:01AM +0800, Eric Boo wrote:
>
>> Hi,
>>
>> I'm currently using a text file to store data which the php script
>> will read and write back to. I've a few questions:
>&g
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framework.
I've created some mockups of how the framework might be used based
around a very simple 'bank', but I'm trying to get some feedback before
I go and
: Eric Bauman [mailto:baum...@livejournal.dk]
Sent: Wednesday, October 07, 2009 9:35 AM
To: php-general@lists.php.net
Subject: [PHP] Insult my code!
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framew
On 7/10/2009 7:25 PM, David Otton wrote:
2009/10/7 Eric Bauman:
Any thoughts would be much appreciated!
One observation. "Model" isn't a synonym for "Database Table" - models
can be anything that encapsulates business logic. Requiring all your
models to inherit fro
On 8/10/2009 1:20 AM, Andrea Giammarchi wrote:
So far I stopped at the first line, the constructor, where I can spot with what I can
read SQL injections "everywhere"
I hope here is a proper validation there, 'cause as is, sounds truly dangerous,
since you are not using bindParams or other PDO
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
popularity trends are examined? The best way for me to know php4 % and
php5 %. I appreciate any good suggestions.
Here's a pretty graph comparing PHP version usage and time:
http://www.nexen.n
y are
invented so the codes will going to be much more clean, readable, reusable, maintainable.
"Running codes" is not enough.
Eric asked about how his MVC structure looks. And we are trying to help what we know
about MVC. He didn't asked if the code is fine for running. So giving an a
On 7/10/2009 5:34 PM, Eric Bauman wrote:
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framework.
I've created some mockups of how the framework might be used based
around a very simple
On 12/10/2009 9:21 PM, David Otton wrote:
2009/10/11 Eric Bauman:
As before, please feel free to insult my code. ;-) Any and all feedback is
of course most appreciated.
I know you're more concerned with structure, but your checkInt()
method is arguably buggy/has an un-noted assumptio
I'm in the process of implementing an ultra-light MVC framework in PHP.
It seems to be a common opinion that the loading of data from a
database, file etc. should be independent of the Model, and I agree.
What I'm unsure of is the best way to link this "data layer" into MVC.
I've considered a
On 24/10/2009 7:36 PM, Kim Madsen wrote:
Hi
PHP closes an open db connection when the script is done.
I've read somewhere that in PHP6 this behaviour will dissapear, is this
true? In that case using mysql_close() would definetly be best practice
in all current scripts, to make it portable.
A n
and the
login.php isacting as if I have not entered any parameters.
Why are the parameters not being accepted?
I am using php version 5.2.6 on a ubuntu linux box
Thank you
Eric H. Lommatsch
Programmer
360 Business
Doh, I should have thought of that!
Thanks, that is what happens when you use code that someone else has writen
and included with a software package. At least I assumed that the code was
already written correctly to accept parameters. I guess it wasn't.
Thank you
Eric H. Lommatsch
Progr
Ben
It seems that you can just update the column with a update query like this,
update table set field = field + 1 where some condition
This might be the thing you need.
Eric
On 12/29/09, Ben Miller wrote:
>
> I hope this isn't a bone-head question - Is there a MySQL quer
301 - 400 of 1219 matches
Mail list logo