Re: [PHP] Auto-generating HTML

2010-09-20 Thread Bastien Koert
and then shows the form with no other processing than maybe a loop. That way I can create the HTML as I please, copy and paste it into the function, and then do what ever I need to, to process the data before turning that into an array and passing it into the function function showForm($data, $er

Re: [PHP] Database Administration

2010-09-22 Thread Bastien Koert
all the data in one DB and just separate them out based on user id, to ensure they only see their own data? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Administration

2010-09-24 Thread Bastien Koert
On Fri, Sep 24, 2010 at 2:05 PM, tedd wrote: > At 11:19 AM +0100 9/24/10, Tom Barrett wrote: >> >> On 22 September 2010 21:40, Bastien Koert wrote: >> >>>  Not at all. What I would suggest is that you create a separate mysql >>>  user that is used exclusive

Re: [PHP] Database Administration

2010-09-24 Thread Bastien Koert
On Fri, Sep 24, 2010 at 2:26 PM, tedd wrote: > At 2:09 PM -0400 9/24/10, Bastien Koert wrote: >> >> @tedd, >> >> He wants not techie users to create new systems for their clients when >> they sign up. It involves creating a DB and he's wondering about >

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
--- > http://sperling.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I bet it wasn't much., $.10 (ten cents) per line? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-10-07 Thread Bastien Koert
ck to the question at hand -- what price would you sell a line of > your code for? > > Cheers, > > tedd > > > -- > --- > http://sperling.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > One Beelyon Dollars -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-10-13 Thread Bastien Koert
visit: http://www.php.net/unsub.php >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Netbeans and Notepad++ -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text messaging from the web

2010-10-14 Thread Bastien Koert
uture connections will be refused. The best is to hook up with an SMS provider who can provide the services at a reasonable cost (cell-trust or click-a-tell) and let them manage the SMS portion. You then need to code against their service, which is usually pretty easy -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
t/ >> > > > I always bottom post when I'm replying from my computer, but when on the > move or at work, I'm only left with my Android, and the default email > client doesn't allow reply positioning of any sort, so it's always > top-posting :( > >

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
//www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Parenting ruins everything ;-) -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien Koert
> > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > oh oh, here we go again...com'on Friday's not until tomorrow! -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
ll. I know mine has been. Its Friday, let's relax, take a breath and get back to what we all love, PHP! -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
t; > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Watch our previous prime minister explain proof http://www.youtube.com/watch?v=aX6XMIldkRU&feature=related -- Bastien Cat, the other other white meat

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Bastien Koert
s for everyone's help. >> >> Tom >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > My xml file is ... > > > ® > > Using different tools the error is always along the lines of ... > > "This page contains the following errors: > > error on line 1 at column 11: Entity 'reg' not defined > Below is a rendering of the page up to the first error." > > > > &#ae; > > "This page contains the following errors: > > error on line 2 at column 8: CharRef: invalid decimal value > Below is a rendering of the page up to the first error." > > The only thing I could do was ... > > > ® > > > -- > Richard Quadling > Twitter : EE : Zend > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Couldn't you cdata wrap that value? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Character encoding hell

2010-10-26 Thread Bastien Koert
gt; PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > This approach is what I wanted to suggest as well. You can simulated a db with an XML file if you wanted to and even assign the IDs as numerical to make life really easy -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forcing Download - IE Issue

2010-10-27 Thread Bastien Koert
To unsubscribe, visit: http://www.php.net/unsub.php > > Have a look at the headers page in the manual http://php.net/manual/en/function.header.php There are a number of examples that talk about downloading for IE (it blows as doing that) -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form post question

2010-10-28 Thread Bastien Koert
bscribe, visit: http://www.php.net/unsub.php > > Check boxes (assuming you have more than one in the set) are generally coming in as an array. You can see this by running this echo ""; print_r($_POST); echo ""; to see the entire post array -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-10-28 Thread Bastien Koert
Any feedback is appreciated! > > Don > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > This article from evolt is a great place to start http://evolt.org/incoming_mail_and_php?from=50&comments_per_page=50 Readi

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

2010-11-01 Thread Bastien Koert
//bind this socket with the above ip and port > $ret = socket_bind($sock, $addr, $port); > > do { >    $ret = socket_listen($sock, 10); >    $msgSock = socket_accept($sock); >    $buf = socket_read($msgSock, 1024); > > > Please let me know if you need any further deta

Re: [PHP] Password protected directory

2010-11-02 Thread Bastien Koert
o access the file. Then the password can be held in the config file and the user never sees it -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template engines

2010-11-08 Thread Bastien Koert
authorized. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > We are using some flex components for charting. Very cool with lots of flexibility. Just pass in xml datasets -- Bastien Cat, the other other white meat -

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?

Re: [PHP] Retrieving function values

2010-11-14 Thread Bastien Koert
27;] = "some value"; $data['continue'] = "some value"; return $data; or send it back as a delimited string $data = $parse .'|'. $display .'|'. $continue; return $data; -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-11-16 Thread Bastien Koert
mpossible to hide an email address. Use it once >> on a mailing list like this and it's there for the whole world to see on >> archive listings. I even though that my email wouldn't be found in >> a .pdf CV I'd made, but thanks to Google it is now! >> >> Basically, it might not be worth the effort to hide email addresses, and >> instead see about setting up spam filtering at the server level. You >> don't have to download and filter it your end, and it saves on >> bandwidth. >> >> Thanks, >> Ash >> http://www.ashleysheridan.co.uk >> >> >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Why not just make a simple contact form and never show the address? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing Use of PHP site

2010-11-17 Thread Bastien Koert
ment10.com >> >> For a quick overview - >> http://www.appointment10.com/Appt10_Promo/Overview.html >> > > A hash is useful, but I think you are on the right track with session vars. > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe

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

2010-11-19 Thread Bastien Koert
** > zend guard or phpencoder or ioncube GIYF -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-11-22 Thread Bastien Koert
ost->ID, 'thumbnail', true); >> >>         if ($thumbPath == "") { >>             $thumbPath = "/images/comingsoon.png"; >> >>         } >> >>         ?> >>     >>     > class="grid-product&quo

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Bastien Koert
> “Encouragement from God’s Word” > http://www.TheVerseOfTheDay.info if ( @checkdnsrr($mailDomain, "MX") ) { might work.. the @ symbol usually suppresses the error -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't find existing file

2010-11-25 Thread Bastien Koert
#x27;PEBKAC' used  :) > > I prefer PICNIC. > > So you can now have a Senior Picnic or a Kiddies Picnic and it all > sounds quite pleasant. > > -- > Richard Quadling > Twitter : EE : Zend > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY > > -- >

Re: [PHP] empty() in email message

2010-12-13 Thread Bastien Koert
Smart Security. > > http://www.eset.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Less complication is better, reduce the code to the below. The empty portion needs to be inside the p

Re: [PHP] Error Querying Database

2010-12-15 Thread Bastien Koert
r phpinfo() to ensure it is enabled. >> >> Steve >> > Steve > > Again thank you, here is my phpini information, so it would seem mysqli is > enabled > > >      MysqlI Support enabled >      Client API library version  5.1.41 >      Active Persistent Links  

Re: [PHP] Re: Error Querying Database

2010-12-15 Thread Bastien Koert
'$singles', '$six', '$can', '$bottles', '$tap', '$size', '$desc', '$ip' )") > or die(mysql_error()); > > echo "Data Inserted!"; > > I am now getting this error message, but it does not make sense > > You have an error in your SQL syntax; check the manual that corresponds to > your MySQL server version for the right syntax to use near 'desc, ip)VALUES > ('', '', 'Imported', '', '', '', '', '', '', '', '68.80.24.11' at line 1 > > Does this mean I am getting closer to getting some actual work done today? > > Thanks again > > gary > > > > __ Information from ESET Smart Security, version of virus signature > database 5706 (20101215) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > DESC is a reserved word in mysql ( http://dev.mysql.com/doc/refman/5.1/en/reserved-words.html ) Either change the field name or enclose the statement in backticks to prevent this error. Changing the field name is my recommended action -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with Include

2010-12-21 Thread Bastien Koert
lake out on him. One of his >> customers threatened to take this flaky code to another company and get >> their opinion about whether it was good code or not. My ex-boss >> explained that, of course, they'd shoot it down. Because that's what >> programmers do--

Re: [PHP] Server response very poor again

2010-12-22 Thread Bastien Koert
gt; -- > > Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting > (866-) 725-4321 > http://www.parasane.net/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Geez, and it ins't even Friday yet! -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-12-29 Thread Bastien Koert
privileges necessary to > allow drag and drop. > > Cheers, > Rob. > -- > E-Mail Disclaimer: Information contained in this message and any > attached documents is considered confidential and legally protected. > This message is intended solely for the addressee(s). Disclo

Re: [PHP] ErrorDocument 500 and PHP

2011-01-03 Thread Bastien Koert
> seems and most of the stuff on the net is just static! > > Perl interacts "fully" with Apache from what I can gather. Anyone know > whether this is planned for the future? When I had to use IIS and ASP it had > this functionality and it was very handy. > > Thanks a

Re: [PHP] Hot Topics

2011-01-05 Thread Bastien Koert
r go out of your way, then why are you posting here? > > You're just a hard-crusted softie. A crustacean? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-05-31 Thread Bastien Koert
nstance on a >> Windows server running PHP as opposed to a Unix server? >> >> Jeff > > You might need to change a few basic configuration options (paths, > database, etc) inside Drupal/Wordpress/.., but otherwise those are > perfectly compatible on Windows & Li

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Bastien Koert
> > -- > Jim Lucas > > http://www.cmsws.com/ > http://www.cmsws.com/examples/ > http://www.bendsource.com/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > If you don't want dependencies, try sw

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

2012-06-01 Thread Bastien Koert
e have any suggestions of companies that > might work for my scenario? > > Any feedback is appreciated ;-) > > Don > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Amazon has an email service you can plug

Re: [PHP] Searching IDE.

2012-06-13 Thread Bastien Koert
eans for projects notepad++ for quick edits editpad pro (free for linux is really good) I've also installed Sublime on my mac, but haven't got enough time with it to have an opinion... -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-09-06 Thread Bastien Koert
you want to go crazy I would suggest looking at http://meteor.com or derbyjs.com to build the app. They run on node and manage the real time changes to the dom content between systems -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Programmers and developers needed

2012-09-13 Thread Bastien Koert
velopers to create a world wide >>> system. >>> >>> Is it bigger than a bread box? >> >> Will it blend? >> > > Sure, if you find a big enough blender ;) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

[PHP] Responding to an XML data post

2012-09-27 Thread Bastien Koert
$xml; is not making back to their system. Not sure how I can post back to their site -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cURL issues posting to an end point

2012-10-04 Thread Bastien Koert
result = curl_exec($ch); curl_close($ch); // Print CURL result. echo $ch_result; } The endpoint recipient says they are not receiving the data and I am at a loss to figure out why. Any insight would be appreciated. Thanks, -- Bastien Cat, the other other whit

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
ovides you with a result that > organizes the images by name. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Read the images into an array and then sort the array...glob() gives you that array so use one of the many

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
t; > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > The DreamInCode one is good. MySQLi is the recommended option over MySQL since the mysql one is deprecated. PDO is also a great option since you can prepare your queries to help sanitize the data -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML to Array

2013-03-11 Thread Bastien Koert
est, > > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I came across this XML to JSON to an array some time ago. It might be something function xmlToArray($xml) { return json_decode(json_encode((array) simplexml_load_string($xml)),1); } -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2013-03-13 Thread Bastien Koert
se, but > even someone so narrow minded would have a hard time arguing in earnest > that it suffered from too little choice and a lack of solutions to a > problem. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > Two minutes with google got me this: http://ww

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: > > > > > >

Re: [PHP] Split/Group date together.

2013-07-18 Thread Bastien Koert
for 3 days. I need a way to split it up for every day > even when the requst is as above and don't know in what way I can do it. > > I like to have all records for day 16 in one table in PHP/HTML and all > records for day 17 in another table. > i.e, Day 16 have 5 rows and day 17th and 18th have 7 and 8 rows. > > I hope for your help and advice to do also this correct. > > Thank you for your time and effort! > > Karl > -- Bastien Cat, the other other white meat

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Bastien Koert
of students. Granted the > college could have advertised my PHP class more, but still there is an > overwhelming demand for Java Programmers. My questions is "Why?" > > Cheers, > > > tedd > > ___ > tedd sperling > t...@sperling.com > > > >

Re: [PHP] PHP Dependency Injector

2013-09-05 Thread Bastien Koert
t; -- > > Facebook: www.facebook.com/JuanSebastianScatularo > > Twitter: www.twitter.com/js_scatularo > > Web: www.sebastianscatularo.com.ar > > > > > > -- > Sorin Badea - Software Engineer > -- Bastien Cat, the other other white meat

Re: [PHP] Apache's PHP handlers

2013-09-19 Thread Bastien Koert
ound. > > -Stuart > > -- > Stuart Dallas > 3ft9 Ltd > http://3ft9.com/ > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php You can also run a strip_tags() call on the file upload to help prevent this Bastien -- Bastien Cat, the other other white meat

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Bastien Koert
unsubscribe, visit: http://www.php.net/unsub.php > > Convert the chart to an image and then insert that into the pdf -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to list and to PHP

2011-02-21 Thread Bastien Koert
ng : e-e.com/M_248814.html : bit.ly/9O8vFY >>> >> http://www.phparch.com/magazine/2006-2/february/ in case anyone was >> wondering. >> > Hi Richard, > Thanks for the welcome, the advice and the link. > I was not aware of PHP | Architect. > Truth be told I&#x

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 R

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

2011-03-01 Thread Bastien Koert
Most of them are good, a few of them are bad. Can anyone see anything I'm >> doing wrong or a case I'm not covering? Thanks much. >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Could it be that the addslashes is creating a \0 (null) value? That might screw up the decryption routine. -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Name extraction in query

2011-04-04 Thread Bastien Koert
4 > http://www.mnsi.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Try using LOCATE instead of the FIELD function $q = "SELECT race_winner,count(race_date) as wins, substr(race_winner,LOCATE(' &#x

Re: [PHP] File Upload Problem

2011-04-06 Thread Bastien Koert
P General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > check out the max post size -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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, Bast

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

2011-09-19 Thread Bastien Koert
ard of facebook oracle uses php in the web based admin tool ibm has a close association with zend and php microsoft is supporting php natively in win2008 server Usage stats http://php.net/usage.php -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] book quest

2011-09-28 Thread Bastien Koert
Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I had great success with Wrox PHP Programming and PHP Essentials by Julie C. Meloni The latter is dated, but was clearly written. -- Bastien Cat, the other other white meat -- PHP General Ma

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

2011-10-04 Thread Bastien Koert
Are you running this via IIS or Apache? If IIS, download and install the MS Web Platform app. Use that to install drupal or wordpress and it will install PHP and mysql for you running under IIS -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newline and return issues in string

2011-10-11 Thread Bastien Koert
\n", "\r"); > > str_replace($filter,’’,$string) ß this is useless in this situation I have > tried and it does not change the string at all. > > Understand the newlines and returns do not display in the string as > literals. Meaning you do not see /n or /r it is hid

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Bastien Koert
ect >>> website: http://www.pulsarinara.com >>> >> >> >> Sounds like the downloader php script would be perfect (what Shawn >> suggested). Have the script check the login status, then (if valid) send the >> proper headers for the file and read out the data with the script. >> >> -- >> --Zootboy >> >> Sent from my PC. >> >> > > > -- > Ricardo > ___ > IT Architect > website: http://www.pulsarinara.com > For images and the like, I have a separate page that is called that handles the image and the headers needed In the page I have some thing like echo ""; Then in the get-image.php page i have the code that gets the image from the db, outputs the appropriate headers and then outputs the image -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] json_encode confusion

2011-11-10 Thread Bastien Koert
. When I echo out the json encoded data, the keys are all nulls. Can someone point me in the correct direction? It may be that I need to manually create the key names as an array first, which I was hoping to avoid since the file format coming from the client is still in some flux. -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Bastien Koert
; only shows the logo top left, search top right, and then these in the tabs: >> >>       Home Forum Documentation Videos http://www.cmsws.com/ > http://www.cmsws.com/examples/ > http://www.bendsource.com/ > > C - (541) 408-5189 > O - (541) 323-9113 > H - (541) 323-4219 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Works for me as well in Chrome -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Bastien Koert
--- sales prod data 6 etc > > > any other hints will help a lot... > > -- > Thanks, > Dave - DealTek > deal...@gmail.com > [db-11] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP] number_format

2011-12-19 Thread Bastien Koert
uld you check it before formatting? Or if the data is coming from the db, force it to 0 if null? $var = (is_double($number_var)) ? $number_var : 0; -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-03-02 Thread Bastien Koert
27;s > table in any way shape or form. I am considering the COMPANY_ID to be the > parent at this point and I can get all who belong to a company. I just need > to turn that lineage into a tree. Would they let you make a copy or a join table where you could build what you need? The

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

2012-03-27 Thread Bastien Koert
ow user form with upload field process the form on the server (incl file upload) check the file extension to ensure you're not sending something bad create the email attach the file send log that you received the file and send the email unlink the file -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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, phpd

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&

RE: [PHP] QuickTime question

2007-08-15 Thread Bastien Koert
nload/"; type="video/quicktime" controller="true" autoplay="true"> bastien> Date: Wed, 15 Aug 2007 11:25:43 -0400> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Subject: [PHP] QuickTime question> > Hi gang:>

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"

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>

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 > Fro

RE: [PHP] Cookies and sent headers

2007-08-18 Thread Bastien Koert
aware that you may hit a memory limit for large pages. This is server / OS depandant so you may want to read up on server documentation bastien > To: php-general@lists.php.net; [EMAIL PROTECTED] > Date: Sat, 18 Aug 2007 16:39:29 +0200 > Fro

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

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 >

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 buil

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

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,

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>

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

RE: [PHP] Create a matrix gallery

2007-09-03 Thread Bastien Koert
echo ""; $counter++; } hth bastien } ?> > Date: Mon, 3 Sep 2007 04:30:29 -0400> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] Create a matrix gallery>> hi list. I wonder if anyone

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@

RE: [PHP] php Login script issue

2007-09-16 Thread Bastien Koert
rName='$userName' AND password = '$password'"))){ if(($rec['userName']==$userName)&&($rec['password']==$password)) bastien > Date: Sun, 16 Sep 2007 02:39:57 -0700> From: [EMAIL PROTECTED

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

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> > Th

[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'

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 ´ i

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:

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 styl

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:> >>

<    1   2   3   4   5   6   7   >