Re: [PHP] Database Administration

2010-09-24 Thread Bastien Koert
On Fri, Sep 24, 2010 at 3:50 PM, Bob McConnell wrote: > From: tedd > >>At 2:36 PM -0400 9/24/10, Bastien Koert wrote: >>>On Fri, Sep 24, 2010 at 2:26 PM, tedd wrote: >>>>  At 2:09 PM -0400 9/24/10, Bastien Koert wrote: >>>>> >>>>>

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread Bastien Koert
On Thu, Oct 7, 2010 at 1:20 PM, tedd wrote: > Hi gang: > > Several years ago I was involved in a court case where a programmers work > was being evaluated to establish a dollar amount for the work done. > > The case was a dispute where the client wanted money back from a programmer > for a discont

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread Bastien Koert
On Thu, Oct 7, 2010 at 4:51 PM, tedd wrote: > At 6:50 PM +0100 10/7/10, a...@ashleysheridan.co.uk wrote: >> >> Surely it would have been a bit more sensible to work out the time the >> programmer had spent on the project and then calculate it as a percentage of >> the total time that programmer wo

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Bastien Koert
On Wed, Oct 13, 2010 at 1:40 PM, James Diamond wrote: > Hey Mike, > > I use zend eclipse, love it. > > What I love about it is what I love about any IDE, code complete, project > configurations, customizable preferences of the editor, etc. > > I have used Eclipse (Pre-Zend), Zend Eclipse, Zend St

Re: [PHP] Text messaging from the web

2010-10-14 Thread Bastien Koert
On Thu, Oct 14, 2010 at 11:50 AM, Larry Martell wrote: > On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster > wrote: >> Folks: >> >> Being fairly geezerly, I know almost nothing about this, so be gentle. >> >> Assuming someone entered information in a form on a website. Normally, >> you would email

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
On Thu, Oct 21, 2010 at 11:30 AM, Ashley Sheridan wrote: > On Thu, 2010-10-21 at 10:25 -0400, Daniel Brown wrote: > >> Hey, Folks; >> >>     Just a gentle reminder after watching things get worse by the day: >> it is one of the rules of this and all official php.net mailing lists >> that you must

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
On Thu, Oct 21, 2010 at 10:47 AM, Daniel Brown wrote: > On Thu, Oct 21, 2010 at 10:41, Robert Cummings wrote: >> >> I can't speak for everyone here (or who is no longer here)... but my posts >> have dwindled significantly due to work and family time constraints :| > >    Same here, but isn't it a

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
On Thu, Oct 21, 2010 at 4:33 PM, Michael Shadle wrote: > On Thu, Oct 21, 2010 at 1:21 PM, Nathan Nobbe wrote: > >> what does syntax highlighting have to do w/ a mess of text that could be >> sorted out by folks willing to take the extra 2 seconds to put their >> thoughts at the bottom of a mail?

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 9:22 AM, Jay Blanchard wrote: > [snip] > really makes me question remaining a member...it's been a close thing a > few times in the last week. > [/snip] > > $door = new door("large", "heavy", "swift"); > $door->open(); > $door->hitArse(); > $door->close(); > > C'mon, the ru

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 12:46 PM, Jay Blanchard wrote: > [snip] > I read some place that the first one to mention Nazi's lose the > argument. > [/snip] > > Nah, it is just proof of, as mentioned before, Godwin's Law > (http://en.wikipedia.org/wiki/Godwin%27s_law) > > -- > PHP General Mailing List

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 2:28 PM, Richard Quadling wrote: > On 22 October 2010 19:01, TR Shaw wrote: >> >> On Oct 22, 2010, at 1:56 PM, Ashley Sheridan wrote: >> >>> On Fri, 2010-10-22 at 12:03 -0400, Adam Richardson wrote: >>> On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw wrote: > Anyo

Re: [PHP] Character encoding hell

2010-10-26 Thread Bastien Koert
On Tue, Oct 26, 2010 at 1:32 PM, Mari Masuda wrote: > > On Oct 26, 2010, at 10:10 AM, Marc Guay wrote: > >>> A windows server, or windows client to the same Linux server? I believe >>> that this issue is starting to get a bit over my head, with the different >>> operating systems involved and su

Re: [PHP] Forcing Download - IE Issue

2010-10-27 Thread Bastien Koert
On Wed, Oct 27, 2010 at 4:18 PM, Floyd Resler wrote: > I'm trying to force a download using the following code: > header('Content-type: text/calendar'); > header('Content-Disposition: attachment; filename="calendar.ics"'); > echo $calendar; > > It works great in all browsers except IE.  In IE, the

Re: [PHP] form post question

2010-10-28 Thread Bastien Koert
On Thu, Oct 28, 2010 at 10:12 AM, Jack wrote: > I have a form which has the following: ( quick clip ) > > > >   action="http://www.abc.com/processing/process_form.php"; onSubmit="return > preSubmit();"> > > > >     > >                 value="Peer Guide" /> > >                Peer Guide > >      

Re: [PHP] Reply to an EMAIL get posted in a mySQL TABLE

2010-10-28 Thread Bastien Koert
On Thu, Oct 28, 2010 at 1:24 PM, Don Wieland wrote: > Hi gang, > > I use a Project Management System (PM) that generates emails to my account. > I can REPLY to that email and it will be inserted into the PM. I believe the > ID is in the subject. I assume the email is sent to a specified email and

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Bastien Koert
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr wrote: > Hello, > > I was trying to create a socket connection from a Solaris machine to a Red > Hat machine  to get the PATH in Red Hat machine remotely on Solaris machine > and display it to the user. > > We have a PHP 5.1.6 installation on a Li

Re: [PHP] Password protected directory

2010-11-02 Thread Bastien Koert
On Tue, Nov 2, 2010 at 1:05 PM, Ben Miller wrote: > I need to access and read the files in a password protected directory with a > PHP script using the readdir function.  I'm already making users login to a > secure area, so I don't want to make them enter a password again to access > the files -

Re: [PHP] Template engines

2010-11-08 Thread Bastien Koert
On Mon, Nov 8, 2010 at 4:58 PM, Robert Cummings wrote: > On 10-11-08 04:51 PM, Steve Staples wrote: >> >> all of my projects now consist of smarty, pear mdb2, phpmailer, jquery, >> fpdf (if needed), and pchart (again, if needed).   these are my personal >> choices, and I have been happy with them

Re: [PHP] Is session_start() using encrypted cookies with HTTPS

2010-11-09 Thread Bastien Koert
On Tue, Nov 9, 2010 at 2:10 PM, Adam Richardson wrote: >> >> If the cookie needs to be encrypted, why not just encrypt it and worry less >> about the transport layer? Or just down one hash value id cookie and pull >> back the secure data for action just on the server? >> >> Bastien > > > The issue

Re: [PHP] Retrieving function values

2010-11-14 Thread Bastien Koert
On Sun, Nov 14, 2010 at 10:12 PM, Ron Piggott wrote: > I am writing a custom function and I need to be able to retrieve 3 values > from it. > > string_parse_tool ( $string_to_parse ) > > The 3 variables I need to retrieve from the function are: > > $string_to_parse > $string_to_display > $continu

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread Bastien Koert
On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek wrote: > I tried this: > class=\"safety\">sss>a/ a>"; > ?> > and css: > .safety { direction:rtl; unicode-bidi: bidi-override; } > for the address jocplus@gmail.com > but I haven't managed it to display properly > Could someone please direct me,

Re: [PHP] Securing Use of PHP site

2010-11-17 Thread Bastien Koert
On Wed, Nov 17, 2010 at 8:21 AM, Nicholas Kell wrote: > > > On Nov 17, 2010, at 6:51 AM, Don Wieland wrote: > >> Hello all, >> >> I have recently built a site using PHP. I was a little loose with GET and >> POST methods because I was using it for personal/private use. Now I am >> thinking of go

Re: [PHP] How to protect the source code.

2010-11-19 Thread Bastien Koert
On Fri, Nov 19, 2010 at 4:39 PM, Hans Åhlin wrote: > Hi > Does any one know if there is any way for me to protect my source code > without the requirement of a extension being installed on the server? > i.e encryption, obfusicator, script library, compile the code. > > Any idea is appreciated. > >

Re: [PHP] Wordpress Page: How to add pagination?

2010-11-22 Thread Bastien Koert
On Mon, Nov 22, 2010 at 12:14 PM, Rico Secada wrote: > On Mon, 22 Nov 2010 09:27:28 +0800 (SGT) > vince samoy wrote: > > Hi Vince. > > This is not a Wordpress mailing list. This is the general users PHP > mailing list. > >> Hi guys, >> >> I was wondering if this is the right place that this quest

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Bastien Koert
On Wed, Nov 24, 2010 at 2:13 PM, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with no >

Re: [PHP] Can't find existing file

2010-11-25 Thread Bastien Koert
On Thu, Nov 25, 2010 at 9:07 AM, Richard Quadling wrote: > On 25 November 2010 00:14, Tommy Pham wrote: >>> -Original Message- >>> From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of >>> Daniel P. Brown >>> Sent: Monday, November 22, 2010 12:08 PM >>> To: Dee Ayy >>> Cc: PHP

Re: [PHP] empty() in email message

2010-12-13 Thread Bastien Koert
On Mon, Dec 13, 2010 at 12:47 PM, Gary wrote: > I have an email message > > $msg =  'Name: $fname ' . ' $lname\n' > . "Phone: $phone\n" > . "Email: $email\n" > > and it works fine, however in this message there are about 30 variables that > are being called...as such > > . "Order: beefschnitzel $b

Re: [PHP] Error Querying Database

2010-12-15 Thread Bastien Koert
On Wed, Dec 15, 2010 at 3:11 PM, Gary wrote: > > Sent: Wednesday, December 15, 2010 2:44 PM > Subject: Re: [PHP] Error Querying Database > >>> > 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,

Re: [PHP] Re: Error Querying Database

2010-12-15 Thread Bastien Koert
On Wed, Dec 15, 2010 at 3:41 PM, 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 script

Re: [PHP] Problem with Include

2010-12-21 Thread Bastien Koert
On Tue, Dec 21, 2010 at 1:28 PM, a...@ashleysheridan.co.uk wrote: > (Apologies for top posting; on my mobile just now.) > > Not true. Refactoring code is one of the main tasks of a developer. None of > us produce perfect code, and some code is less perfect than other code. It's > instinct to wan

Re: [PHP] Server response very poor again

2010-12-22 Thread Bastien Koert
On Wed, Dec 22, 2010 at 1:13 PM, Daniel P. Brown wrote: > On Wed, Dec 22, 2010 at 13:07, Steve Staples wrote: >>> >> whoa... wait a sec there...  i seem to recall this statement... ;) >> >> "This seems to be the most likely, and considering how all messages >> are permanently and independently ar

Re: [PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Bastien Koert
On Wed, Dec 29, 2010 at 3:03 PM, Robert Cummings wrote: > On 10-12-29 03:02 PM, Robert Cummings wrote: >> >> On 10-12-29 02:54 PM, Michelle Konzack wrote: >>> >>> Hello Tommy Pham, >>> >>> Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Applic

Re: [PHP] ErrorDocument 500 and PHP

2011-01-03 Thread Bastien Koert
On Mon, Jan 3, 2011 at 2:30 PM, David Lidstone wrote: > On 03/01/2011 18:38, Nilesh Govindarajan wrote: >> >> On 01/03/2011 11:46 PM, David Lidstone wrote: >>> >>> Hi >>> >>> First up, I apologise as this must have been posted before, but the >>> server is so slow I can't search, or even read mess

Re: [PHP] Hot Topics

2011-01-05 Thread Bastien Koert
On Wed, Jan 5, 2011 at 11:31 AM, tedd wrote: > At 2:16 AM -0500 12/30/10, Robert Cummings wrote: >> >> On 10-12-30 12:36 AM, Daniel Brown wrote: >>> >>>     Yeah, that was in for a few weeks, but I believe it was Robert >>> Cummings >>> who went out of his way to show its imperfections. Maybe we s

Re: [PHP] Differences between PHP on LAMP and PHP on Windows Servers

2012-05-31 Thread Bastien Koert
On Thu, May 31, 2012 at 9:38 AM, Matijn Woudt wrote: > On Thu, May 31, 2012 at 3:29 PM, Gates, Jeff wrote: >> From: Matijn Woudt mailto:tijn...@gmail.com>> >> Date: Wednesday, May 23, 2012 3:59 PM >> To: "a...@ashleysheridan.co.uk" >> mailto:a...@ashleysheridan.

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Bastien Koert
On Thu, May 31, 2012 at 12:24 PM, Jim Lucas wrote: > On 05/31/2012 03:28 AM, Voß, Marko wrote: >> >> Hello, >> >> I need to perform uploading of large files using the HTTP_Request class: >> >> http://pear.php.net/manual/package.http.http-request.php >> >> How am I supposed to do that with this cla

Re: [PHP] Simple Email System (SES) Provider

2012-06-01 Thread Bastien Koert
On Fri, Jun 1, 2012 at 8:32 PM, Don Wieland wrote: > Hi all, > > I built a system in PHP/mySQL where a group of users post events, sign-up > for events, change their arrival times, remove thier names from events, and > post related notes on the events. Each time an action is done, an email is > ge

Re: [PHP] Searching IDE.

2012-06-13 Thread Bastien Koert
On Wed, Jun 13, 2012 at 9:23 AM, Marc Guay wrote: > I've used both Netbeans and Aptana w/ WinXP over the past few years > and of the two I would recommend Aptana.  Netbeans was crippling slow > and Aptana often gets it's workspace corrupted, which makes both of > them crappy (yet free!), but for d

Re: [PHP] use JSON storage on RAMdisk instead of SQL? (for fast moving sites)

2012-09-06 Thread Bastien Koert
On Thu, Sep 6, 2012 at 2:28 PM, Matijn Woudt wrote: > Op 6 sep. 2012 12:48 schreef "rene7705" het volgende: >> >> Hi Folks.. > >> >> I seem to have figured most of this out, but before I embark on weeks >> of coding, I'd like to give the SQL experts here a chance to convince >> me to stick to My

Re: [PHP] Programmers and developers needed

2012-09-13 Thread Bastien Koert
On Thu, Sep 13, 2012 at 8:44 AM, Matijn Woudt wrote: > On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples wrote: >>> From: Tim Dunphy [mailto:bluethu...@gmail.com] >>> Sent: September 13, 2012 7:26 AM >>> >>> > We are looking for programmers and developers to create a world wide >>> system. >>> >>>

[PHP] Responding to an XML data post

2012-09-27 Thread Bastien Koert
Hi All, I am stuck in something where a 3rd party app pushes an XML post to my site. They need me to respond to that push with a synchronous XML post back confirming that the data was received / had issues etc. Those XMLs are defined, but I am not sure how to push that XML back. A simple echo $xm

[PHP] cURL issues posting to an end point

2012-10-04 Thread Bastien Koert
Hi All, I have a page that receives third party data into my app, xml data via https post. This works fine and I receive the data as expected. The issue I am facing is around posting XML data back as a synchronous response to the post I receive. I am using the following code: function sendXMLConf

Re: [PHP] cURL issues posting to an end point

2012-10-04 Thread Bastien Koert
On Thu, Oct 4, 2012 at 1:35 PM, Alejandro Michelin Salomon wrote: > Bastien: > > -Mensagem original----- > De: Bastien Koert [mailto:phps...@gmail.com] > Enviada em: quinta-feira, 4 de outubro de 2012 11:54 > Para: PHP-General > Assunto: [PHP] cURL issues posting to an

Re: [PHP] Re: building upon the code RE: Differences

2012-10-04 Thread Bastien Koert
On Thu, Oct 4, 2012 at 10:41 PM, Jim Giner wrote: > On 10/4/2012 10:15 PM, David McGlone wrote: >> >> I hope I'm not being a pest. >> >> I've played with the return and echo so much today I've finally realized >> I'm >> going in circles. But I can say I understand it more than ever. >> >> Now what

Re: [PHP] storing & searching docs

2012-12-13 Thread Bastien Koert
On Thu, Dec 13, 2012 at 12:41 PM, Matijn Woudt wrote: > On Thu, Dec 13, 2012 at 5:13 PM, Jim Giner > wrote: > >> On 12/13/2012 10:56 AM, Bastien wrote: >> >>> >>> >>> Bastien Koert >>> >>> On 2012-12-13, at 9:10 AM, Jim Giner

Re: [PHP] Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-14 Thread Bastien Koert
On Thu, Feb 14, 2013 at 1:24 PM, Haluk Karamete wrote: > I recommend a third option, that is PDO. > > Start here please. http://net.tutsplus.com/?s=pdo > > On Thu, Feb 14, 2013 at 9:49 AM, dealTek wrote: >> Hi everybody, >> >> Newbie is trying to set up OOP With PHP and MySQL or MySQLi database c

Re: [PHP] XML to Array

2013-03-11 Thread Bastien Koert
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers wrote: > > On Mar 10, 2013, at 6:03 AM, richard gray wrote: > >> On 10/03/2013 11:47, Karl DeSaulniers wrote: >>> >>> Hi Guys, >>> I am hoping someone can guide me or help me fix this issue. >>> I have been lost in the code for some time now. >>> I

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-13 Thread Bastien Koert
On Wed, Mar 13, 2013 at 2:55 PM, Ashley Sheridan wrote: > On Wed, 2013-03-13 at 19:24 +0100, Marco Behnke wrote: > >> Am 13.03.13 12:57, schrieb Gary: >> > ma...@behnke.biz wrote: >> > >> >> Do us all a favor abnd stay away from open source if you do not honor >> >> the work >> >> us wannabes put

Re: [PHP] Newbie Question - Parse XML with PHP...

2013-04-21 Thread Bastien Koert
I have an app that gets passed in xml and use this code to read that data in // We use php://input to get the raw $_POST results. $xml_post = file_get_contents('php://input'); Maybe it will help Bastien On Sat, Apr 20, 2013 at 7:48 AM, shiplu wrote: > > > > > > > > Question: how do you use $

Re: [PHP] Split/Group date together.

2013-07-18 Thread Bastien Koert
Normally, what I do here is handle that in the loop to display the records ... so start by adding an order by clause to keep the dates together SELECT * FROM transportdokument WHERE dato >= '16/7/2013' AND dato <= '18/7/2013' order by dato $prior_date = ""; $sHTML = ""; while($rows = mysql_fetc

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Bastien Koert
I think the big takeaway there is that JAVA is one of the primary language for larger companies and applications. Start ups tend to use smaller easier to use tools like php / javascript / python / ruby. I saw one figure recently that put php at 75% of websites out there (i think that came out when

Re: [PHP] PHP Dependency Injector

2013-09-05 Thread Bastien Koert
Jee, that should have been a friday comment..."how does your dic standout" On Thu, Sep 5, 2013 at 4:06 PM, Sorin Badea wrote: > There are few tutorials about home made dic. How does your dic stand out > from the crowd ? > > Regards. > > On Thu, Sep 5, 2013 at 10:56 PM, Juan Sebastian Scatularo

Re: [PHP] Apache's PHP handlers

2013-09-19 Thread Bastien Koert
On Thursday, September 19, 2013, Stuart Dallas wrote: > On 19 Sep 2013, at 14:39, Aziz Saleh > > wrote: > > > The best way to handle file uploads is to: > > > > 1) Store the filename somewhere in the DB, rename the file to a random > string without extension and store the mapping in the DB as well

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Bastien Koert
On Thu, Feb 17, 2011 at 2:13 PM, Ashley M. Kirchner wrote: > >    I'm currently using Google Visualization API[1] to generate both > interactive and static charts for a client and they're viewing these > online[2].  However they now want to be able to download a PDF containing > the charts (static

Re: [PHP] New to list and to PHP

2011-02-21 Thread Bastien Koert
On Mon, Feb 21, 2011 at 9:37 AM, Pete Woodhead wrote: > On 2/20/2011 6:41 PM, Richard Quadling wrote: >> >> On 20 February 2011 23:34, Richard Quadling  wrote: >>> >>> On 18 February 2011 19:03, Pete Woodhead >>>  wrote: Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be hon

Re: [PHP] Dotnet Remoting

2011-02-24 Thread Bastien Koert
On Thu, Feb 24, 2011 at 3:33 PM, Daevid Vincent wrote: > > >> -Original Message- >> From: Bastien [mailto:phps...@gmail.com] >> Sent: Thursday, February 24, 2011 4:18 AM >> To: Gary >> Cc: php-general@lists.php.net >> Subject: Re: [PHP] Dotnet Remoting >> >> >> >> On 2011-02-24, at 5:17 AM

Re: [PHP] Help! Made a boo-boo encrypting credit cards

2011-03-01 Thread Bastien Koert
On Tue, Mar 1, 2011 at 12:34 PM, Brian Dunning wrote: > I just wanted to ping this, as it's becoming a serious problem. I hope > someone can help. > > > On Feb 11, 2011, at 2:42 PM, Brian Dunning wrote: > >> Hey all - >> >> I'm using mcrypt to store credit cards into MySQL. About 90% of them decr

Re: [PHP] Last Name extraction in query

2011-04-04 Thread Bastien Koert
On Mon, Apr 4, 2011 at 2:40 PM, Steve Staples wrote: > On Mon, 2011-04-04 at 14:06 -0400, Jim Giner wrote: >> no - that address came back undeliverable. >> > >> > To subscribe to the list, send an empty message to >> > >> > >> > Marc >> >> >> > http://lists.mysql.com/mysql > > there is the subscr

Re: [PHP] File Upload Problem

2011-04-06 Thread Bastien Koert
On Wed, Apr 6, 2011 at 1:10 PM, tedd wrote: > Hi gang: > > I wrote a simple script to upload image files from my desktop to a server -- > the exact same code works on two servers, but fails on a third. > > I suspect there is something set different between the servers, but I can't > find it. > > O

Fwd: [PHP] Storing indefinite arrays in database

2011-05-10 Thread Bastien Koert
-- Forwarded message -- From: Bastien Koert Date: Tue, May 10, 2011 at 4:37 PM Subject: Re: [PHP] Storing indefinite arrays in database To: Benedikt Voigt On Tue, May 10, 2011 at 4:16 PM, Benedikt Voigt wrote: > Hi, > I'am very new to PHP, so please any comment

Re: [PHP] PhpMyAdmin in EasyPHP cannot run DROP DATABASE

2011-08-24 Thread Bastien Koert
On Wed, Aug 24, 2011 at 1:30 PM, Nam Gi VU wrote: > Thanks Bastien for your suggestion. > Though, I use the `root` account with `All privileges' but it still not > allowing me to call `drop database'. > What should I do next? > > On Wed, Aug 24, 2011 at 6:25 PM, Bastien wrote: >> >> On 2011-08-23

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Bastien Koert
On Mon, Sep 19, 2011 at 5:08 PM, Tedd Sperling wrote: > Hi gang: > > I need information to convince administrators in "management" that PHP is a > viable subject that should be taught in college with credits going toward a > Degree or Certification. > > You see, I am pushing for a Web Developmen

Re: [PHP] book quest

2011-09-28 Thread Bastien Koert
On Wed, Sep 28, 2011 at 6:20 PM, Kirk Bailey wrote: > The best book for a beginner? No, don't tell me php.net, I hear that one > already, and while it is indeed good, I want something in a dead tree > edition I can canny around and smoke as needed. > > -- > end > > Very Truly yours, >            

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Bastien Koert
On Tue, Oct 4, 2011 at 9:47 AM, Kirk Bailey wrote: > I installed it in a Windows XP PC with a cgi capable server in it. No dice, > nothing happens. I also installed python in the same computer. Works > perfect. NEITHER language modified the http server. > > So, what do I have to do to get php to p

Re: [PHP] newline and return issues in string

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 7:58 AM, wrote: > I have come across an issue with my string that I would like to find a > faster way to resolve. > > It seems there are new lines and returns at different positions of the > string. > > > > First I exploded on the new line explode(“\n”, $ string) > > This

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez wrote: > Hi! > > i'm was checking, readfile(); and fpassthru(); > > With easy examples, i can use it for show a pic in the screen and download a > file, from outside of documentRoot. It works fine. > > The problem that i have now, is, i need can w

[PHP] json_encode confusion

2011-11-10 Thread Bastien Koert
Morning all, I've been having some fun with converting a text data file import into a json object for storage. I have a text file that is pipe delimited coming in via an upload. The first row is the headers and the second row is the data. Using this code: $data = file("inline_Nov_8_2011.txt");

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Bastien Koert
On Tue, Nov 29, 2011 at 4:13 PM, Jim Lucas wrote: > On 11/29/2011 12:54 PM, Daevid Vincent wrote: >> >> >> -Original Message- >> From: Matijn Woudt [mailto:tijn...@gmail.com] >> Sent: Tuesday, November 29, 2011 12:48 PM >> To: Daevid Vincent >> Cc: php-general-h...@lists.php.net; php-gener

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Bastien Koert
On Fri, Dec 16, 2011 at 1:49 PM, DealTek wrote: >> >> >> I would give consideration to the 'group by' function for your query, and >> loop through that. > > Thanks Mike - will do... > > -- > > *beginner question* - what would we call this type of query/display: > > reporting or summary or

Re: [PHP] number_format

2011-12-19 Thread Bastien Koert
On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: > In the previous version of PHP we were using, I could pass a string to > number_format and it would just change it to a 0 without complaint.  With > 5.3.6 I get an "expects double" error.  I don't suppose there's a way to make > it work lik

Re: [PHP] Nested database loops and completing an unordered list....

2012-03-02 Thread Bastien Koert
On Fri, Mar 2, 2012 at 7:43 AM, Jay Blanchard wrote: >> My usual approach to a problem like this to to includes a parent column in >> the table >> >> ID (int pk) >> Parent ( default null ) // no parent >> Item >> Itemtype >> [etc] >> >> Parent will then hold either a null if a top level item, or

Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Bastien Koert
On Tue, Mar 27, 2012 at 8:41 AM, Christopher Svanefalk wrote: > Addendum: what standard functions could I invoke to accomplish the file > system view part? > > On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk < > christopher.svanef...@gmail.com> wrote: > >> Dear all, >> >> I am rather green

[PHP] RE: [PHP-DB] recommending a PHP book?

2005-03-15 Thread Bastien Koert
Martin Fowler is the man behind most of this style of Enterprise Architecture (http://www.martinfowler.com/books.html#eaa) His Pof EAA is the definitive book on this and is used as the model for php bastien From: "Danny Lin" <[EMAIL PROTECTED]> To: php-db@lists.php.net, phpdoc@lists.php.net, ph

RE: [PHP] www.soongy.com

2007-08-14 Thread Bastien Koert
Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop screen bastien> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Date: Tue, 14 Aug 2007 20:15:27 +0500> Subject: [PHP] w

RE: [PHP] QuickTime question

2007-08-15 Thread Bastien Koert
Can't you just embed the file in the page? http://www.apple.com/qtactivex/qtplugin.cab"; height="256" width="320"> "> " pluginspage="http://www.apple.com/quicktime/download/"; type="video/quicktime" controller="true"

RE: [PHP] adding "Back to Search results" link

2007-08-15 Thread Bastien Koert
what about hadding the search form elements to the results page and letting the users search right from there bastien> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Wed, 15 Aug 2007 15:44:46 -0500> Subject: Re: [PHP] adding "Back to Search results" link> > Jim and Brad.> > Tha

RE: [PHP] About Session And Cookies

2007-08-17 Thread Bastien Koert
If cookies are not available, you can either hide the id in the hidden form field element or enable trans_sid to automatically pass the session id in the url bastien> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; php-general@lists.php.net> Date: Fri, 17 Aug 2007 17:03:54 -0700> Subject: RE:

RE: [PHP] Cookies and sent headers

2007-08-18 Thread Bastien Koert
sessions and cookies either need to be set at the beginning of the page, or you can look into the ob_start(), ob_flush() functions to use output buffering bastien > To: php-general@lists.php.net > Date: Sat, 18 Aug 2007 11:25:54 +0200 > From: [EMAIL PRO

RE: [PHP] Cookies and sent headers

2007-08-18 Thread Bastien Koert
The commands start and use an output buffer, a chunk of memory that stores all the output on the server until the ob_flush, the buffer flush, function is called. You need to be aware that in high load situations this may adversly affect performance since it loads the servers memory, also be aw

RE: [PHP] mail() issue

2007-08-22 Thread Bastien Koert
try doing a trim($email) to remove any whitespace, just in case bastien> Date: Wed, 22 Aug 2007 08:27:36 -0400> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: php-general@lists.php.net> Subject: Re: [PHP] mail() issue> > The "." (period) is simply the end of my sentance in the email.> > T

RE: [PHP] ignore-user-abort and connection-handling

2007-08-23 Thread Bastien Koert
if aborted actions are a worry, then consider using transactions in the database, if the process is interupted at any time, the changes made will all role back to a pre transaction start state. bastien > Date: Thu, 23 Aug 2007 13:30:00 -0400 > From:

RE: [PHP] SQL Distinct-like behaviour

2007-08-24 Thread Bastien Koert
Read them all into an array and do an array-unique on it bastien> Date: Thu, 23 Aug 2007 23:54:40 -0300> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] SQL Distinct-like behaviour> > How could I iterate over the files in a directory and build a list of unique> filename

RE: [PHP] text to HTML

2007-08-26 Thread Bastien Koert
the closest is nl2br() which converts line breaks to tags. Other than that, you would need to look at regex manipulation to make those changes. Bastien > From: [EMAIL PROTECTED] > To: php-general@lists.php.net > Date: Sun, 26 Aug 2007 10:36:06 -0400

RE: [PHP] A simple PHP script to generate a Pie Chart based on SQL query

2007-08-27 Thread Bastien Koert
http://www.aditus.nu/jpgraph/ bastien > Date: Mon, 27 Aug 2007 10:44:01 -0700 > From: [EMAIL PROTECTED] > To: php-general@lists.php.net > Subject: [PHP] A simple PHP script to generate a Pie Chart based on SQL query > > Hello All, > > I am looking fo

RE: [PHP] Pragmatically changing a "Record Number"

2007-08-29 Thread Bastien Koert
Please don't do that...autonumber should not be relied for anything other than a unique row identifier. It should NOT matter to the application what that value is as long as it unique. If you need a count of the number of records, do a query (select count(*) from table...) bastien> To: php-ge

RE: [PHP] mail() silly question

2007-09-01 Thread Bastien Koert
no difference bastien > Date: Sat, 1 Sep 2007 08:00:11 -0500> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] mail() silly question>> I have a question that might be too silly for those of you who are PHP> gurus.>> Here it c

RE: [PHP] Create a matrix gallery

2007-09-03 Thread Bastien Koert
Hotmail sucks but try this [code] $counter = 1; while ($rows=mysql_fetch_assoc($getpic)) { //close the tr tag after 5 photos usng the mod function to check the counter if($counter % 5 == 0) { echo ""; //reset the counter $counter = 1; } extract ($rows); echo ""; echo ""; $counter++;

RE: [PHP] Dealing with auto-increment in MySQL

2007-09-04 Thread Bastien Koert
I just let it go...there is no need to manage that process or you'll just screw up the mysql... it shouldn't be relied on for anything other that uniqueness any way bastien > Date: Mon, 3 Sep 2007 23:53:22 -0400> From: [EMAIL PROTECTED]> To: > php-general@lists.php.net> Subject: [PHP

RE: [PHP] php Login script issue

2007-09-16 Thread Bastien Koert
argh! hotmail sucks I don't see in the script where you are using $_POST / $_GET / $_REQUEST to access tha data from the form. Its likely that the example you are following is old and uses 'register_globals'. Since register_globals is a huge security hole and is not active in any new installat

RE: [PHP] setup help in IIS6

2007-09-18 Thread Bastien Koert
Have you created the .php file type in the IIS and pointed IIS to the php.exe? Bastien> Date: Tue, 18 Sep 2007 22:39:07 -0400> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] setup help in IIS6> > Hello,> > I have installed the latest PHP on my windows server 2003 IIS6 m

RE: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-20 Thread Bastien Koert
Max file size is a hint to the browser and not all support it...you can't count on it bastien > To: php-general@lists.php.net> Date: Thu, 20 Sep 2007 14:45:36 -0500> From: > [EMAIL PROTECTED]> Subject: [PHP] MAX_FILE_SIZE not working with file > uploads> > The punchline question is: What am

[PHP] OT IDEs

2007-10-03 Thread Bastien Koert
I just found a tool called CodeLobster, but the site seems a little funky, mostly because the owners first language is not English...is anyone using this tool and is it any good? Thanks bastien _ Be seen when you can't be he

RE: [PHP] inserting ´ in a db

2007-10-03 Thread Bastien Koert
There are any number of elements to try htmlspecialchars mysql_real_escape_string addslashes RTFM and see what works best for your situation bastien> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Date: Thu, 4 Oct 2007 11:44:34 +0900> Subject: [PHP] inserting ´ in a db> > Hi li

RE: [PHP] IIS 6 and php.ini not being friends

2007-10-10 Thread Bastien Koert
why not try searching the c:/windows folder for a copy of the php.ini file? Maybe there is a straggler that needs to be deleted. Bastien> Date: Wed, 10 Oct 2007 17:24:54 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: php-general@lists.php.net> Subject: Re: [PHP] IIS 6 and php.in

RE: [PHP] How do I get PHP to save a backslash in a Mysql table?

2007-10-10 Thread Bastien Koert
use mysql_real_escape_string bastien> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Date: Wed, 10 Oct 2007 13:48:03 -0400> Subject: [PHP] How do I get PHP to save a backslash in a Mysql table?> > Hi,> > I have a field in which a user inputs a Windows style directory path, hence > us

RE: [PHP] Which PHP-Editor to use?

2007-10-16 Thread Bastien Koert
In the same boat here...waiting for a guinea pig to ok it Bastien> Date: Tue, 16 Oct 2007 08:56:16 -0500> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: Re: [PHP] Which PHP-Editor to use?> > On 10/16/07, Stut <[EMAIL PROTECTED]> wrote:> >> > Zoltán Németh wrote:> > > 2007. 1

RE: [PHP] IF command

2007-10-18 Thread Bastien Koert
Are you sure that the value is a string? If its numeric, then try the check without the quotes around the value bastien> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Date: Thu, 18 Oct 2007 19:49:55 -0500> Subject: [PHP] IF command> > When $component_reference is 5 or 19 I don't w

RE: [PHP] Multi-table pager sorted by date

2007-10-21 Thread Bastien Koert
damn hotmail blows But if the database supports it, what about using a view that is made up of the two tables? Could that be a possibility? Bastien > From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Date: Sat, 20 Oct 2007 21:39:03 -0400

RE: [PHP] problem with foreach

2007-10-22 Thread Bastien Koert
I am sure that I am late to the party, but am sure that double or single quotes at least are needed around the attribute values to make this work Civil Rights bastien > Date: Mon, 22 Oct 2007 12:20:55 -0500> From: [EMAIL PROTECTED]> CC: php-genera

RE: [PHP] Question about time...

2007-10-24 Thread Bastien Koert
what about if (date("m") == 11){ echo ""; } bastien > To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Wed, 24 Oct 2007 15:57:38 -0400> Subject: [PHP] Question about time...>> Hi Everyone,>> I am attempting to get the logic of so

<    1   2   3   4   5   6   >