Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
Thanks, Bastien > On Sep 28, 2013, at 8:24 PM, "iccsi" wrote: > > Thanks for the information and help, > Yes, my data is pretty much static, > Can you please give me some link for the solution? > It is the solution I am looking for my current situation, >

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
sue, if it > possible I can load to an array in the memory. > > Thanks again for helping, > > Regards, > > iccsi, > > "Bastien" wrote in message > news:2fd3037d-f68d-47b3-ac4f-007d9559d...@gmail.com... > > > > Thanks, > > Bastien &g

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
Thanks, Bastien > On Sep 28, 2013, at 3:24 PM, "iccsi" wrote: > > I need create a local table on the local machine. > I would like to know is it possible to down on server side or client side or > jQuery to do the work. > Your information and help is gre

Re: [PHP] How to capture uploaded file data

2013-09-28 Thread Bastien
Thanks, Bastien > On Sep 27, 2013, at 12:56 AM, Mariusz Drozdowski wrote: > > Hi all php experts, > > I would like to ask you all a question, I hope this is the right place > to ask it. > > I'm writing a PHP extension now in c/c++. User uploads a file (could b

Re: [PHP] Friday's Question

2013-09-20 Thread Bastien
Thanks, Bastien > On Sep 20, 2013, at 12:51 PM, Tedd Sperling wrote: > > Hi gang: > > Do you use a Mousepad? > > My reason for asking is that I've used a Mousepad ever since mice first came > out (back when they had one ball). > > Now that mice are op

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] 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] Output to File Instead of Browser

2013-08-20 Thread Bastien
oyd > I guess it depends on how your code is structured. I have older coder where the HTML is all one string so a file_put_contents($html, $filename); works simply. Bastien Koert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] 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] Query regarding temporarily-uploaded files

2013-07-10 Thread Bastien
Bastien Koert On 2013-07-10, at 3:29 PM, Anthony Wlodarski wrote: > Is there anything that would prevent you from somehow uniquely knowing who > the user is uploading the file. For example you mentioned "client'. If you > know > who the client is you can append t

Re: [PHP] A Strange Problem

2013-06-20 Thread Bastien
Bastien Koert On 2013-06-20, at 2:14 PM, Tedd Sperling wrote: > Bastien: > > You were right on - by changing the directory to what I needed, everything > works. > > My follow-up question is "Why?" > > I have *never* had to specifically tell any script

Re: [PHP] A Strange Problem

2013-06-20 Thread Bastien
Bastien Koert On 2013-06-20, at 1:57 PM, Tedd Sperling wrote: > On Jun 20, 2013, at 1:44 PM, Bastien wrote: >> >> It sounds like a current working directory issue. Try running a getcwd() in >> both places to see how they are set >> >> Bastien > >

Re: [PHP] A Strange Problem

2013-06-20 Thread Bastien
in > two different places on the server. Both are one level down from root. > > Any ideas as to what is going on? > > Cheers, > > tedd It sounds like a current working directory issue. Try running a getcwd() in both places to see how they are set Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LightBox click detection

2013-06-15 Thread Bastien
Sorry 'bout the top post. That's how I do it. Capture the click event with jquery and Ajax that back to the server Bastien Koert On 2013-06-15, at 2:07 PM, Tamara Temple wrote: > Tedd Sperling wrote: >> It's Friday so I am allowed to ask odd questions. > >

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:56 PM, Tamara Temple wrote: > Tedd Sperling wrote: >> On Jun 8, 2013, at 3:00 PM, Ashley Sheridan >> wrote: >> dealTek wrote: >>> >>>> I can see the basic need for a table prefix in a case where you may use >&

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:58 PM, Tamara Temple wrote: > Julian Wanke wrote: >> A database for each client? Isn't that over-powered? If you have 1000 >> clients, you would loose the overview over your databases... > > I believe what is being talked about

Re: [PHP] Looking for a good working PDO and/or mysqli database class to get started with OOP

2013-05-30 Thread Bastien
Bastien Koert On 2013-05-30, at 10:30 PM, tamouse mailing lists wrote: > On Thu, May 30, 2013 at 8:45 PM, Stephen wrote: >> On 13-05-30 09:36 PM, dealTek wrote: >>> >>> Hi all, Thanks for your help... >>> >>> I'm looking for a very

Re: [PHP] REQUEST

2013-05-29 Thread Bastien
Bastien Koert On 2013-05-29, at 12:30 PM, Stuart Dallas wrote: > On 29 May 2013, at 17:26, Last Hacker Always onpoint > wrote: > >> HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT >> HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ. >&g

Re: [PHP] Symfony?

2013-05-20 Thread Bastien
Bastien Koert On 2013-05-20, at 12:40 PM, Tedd Sperling wrote: > Hi gang: > > Who uses Symfony? > > Cheers, > > tedd > > > _ > I do. It's not my preferred framework. It's very powerful, but very complex and has a ton of

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Bastien
Bastien Koert On 2013-05-16, at 5:28 PM, Tedd Sperling wrote: > -Dan: > > I teach this stuff and still don't fully understand the why/when for > interfaces. > > Even the guru's I talk with can't give me a good explanation as to what the > advantages a

Re: [PHP] generate onfly PDF

2013-05-05 Thread Bastien
g is there. >>>> >>>> Cheers, >>>> >>>> tedd >>> AFAIK fpdf needs zlib and gd extensions. >>> gd extension is almost everywhere enabled as extension, however i'm not sur >>> zlib is enabled on most of servers... >>> >>> What do you think about that ? >> I would think zlib is even more ubiquitous than gd; it's used all over >> the place. > > and what about TCPDF librairy ? > have you already use it ? > how are its performances ? > > I've been using dompdf for years. Does a good representation of the HTML as PDF Bastien > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] Is there a PHP based authentication library?

2013-04-02 Thread Bastien
Check out http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from Phil sturgeon. Bastien Koert On 2013-04-02, at 3:41 PM, Mark wrote: > Hi Andy, > > To be honest, that's also not what i'm looking for, but might be a > good starting point to extend

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] XML to Array

2013-03-12 Thread Bastien
Bastien Koert On 2013-03-11, at 10:50 PM, Karl DeSaulniers wrote: > > On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote: > >> On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers >> wrote: >>> >>> On Mar 10, 2013, at 6:03 AM, richard gray wro

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] 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] Apache to serve RESTful requests using PHP

2013-02-09 Thread Bastien
Bastien Koert On 2013-02-09, at 11:42 AM, AmirBehzad Eslami wrote: > Dear list, > > We're a developing a PHP-driven web service with a RESTful API, > and we have a dedicated Linux server for that with 6GB of RAM. > > Since this service will be used by many clients i

Re: [PHP] variable placeholders in a text file

2012-12-31 Thread Bastien
Bastien Koert On 2012-12-31, at 4:58 PM, tamouse mailing lists wrote: > On Mon, Dec 31, 2012 at 2:37 PM, Nelson Green > wrote: >> >> On Mon, 31 Dec 2012 14:47:20 Stephen D wrote: >>> >>> Yes! >>> >>> Easy standard stuf

Re: [PHP] how to build multilingual e-commerce website

2012-12-28 Thread Bastien
Bastien Koert On 2012-12-28, at 6:19 AM, Sachin Raut wrote: > Dear Friends, > > I have to develop multilingual e-commerce (clothing) website. Could anyone > who has developed these kind of sites before guide me on how to start the > development or recommend any tutorial / book

Re: [PHP] Strange string stuff -- maybe everything is ending...

2012-12-22 Thread Bastien
Bastien Koert On 2012-12-22, at 11:50 AM, Tedd Sperling wrote: > On Dec 22, 2012, at 7:58 AM, tamouse mailing lists > wrote: > >> A bit of an example to shed a little light? >> -snip- >> Not knowing IE really at all, nor it's JS engine, it's entirely &

Re: [PHP] Strange string stuff -- maybe everything is ending...

2012-12-21 Thread Bastien
$tmp[] = $row['category']; >} > >$topic = explode('~',$tmp); // put the delimiter between each entry >echo($topic); // this result is used in an AJAX script > Shouldn't that be implode to convert the array to s

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] storing & searching docs

2012-12-13 Thread Bastien
Bastien Koert On 2012-12-13, at 9:10 AM, Jim Giner wrote: > Thanks for the input gentlemen. Two opposing viewpoints! > > I understand the concept of using files for the docs and a table to locate > them and id them. But I am of the opinion that modern dbs are capable of >

Re: [PHP] Fwd: PHP Enterprise Bananas

2012-11-06 Thread Bastien
Bastien Koert On 2012-11-06, at 8:03 AM, Ben Edwards wrote: > Not sure if this was some type of joke but came across it a while ago. We > have some PHP we want to move from a site to a cron. Is this the answer or > is there a better way (that does not involve re-writing code i

Re: [PHP] foreach

2012-10-15 Thread Bastien
Bastien Koert On 2012-10-15, at 8:16 PM, David McGlone wrote: > I've been sitting here playing around with foreach() and I'm wondering why I > am getting these results. here's what I've been fooling around with. the code > has no perticular meaning, but I notic

Re: [PHP] SNMP via PHP

2012-10-15 Thread Bastien
Bastien Koert On 2012-10-15, at 7:09 AM, Lester Caine wrote: > OK I've spent the last two hours going through pages of crap generated by > google, and that includes google crap created by searches on sites like > http://www.phpbuilder.com - cause mainly of cause by php

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

[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

[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

Re: [PHP] Images can execute php script?

2012-09-23 Thread Bastien
Bastien Koert On 2012-09-23, at 11:57 AM, "admin" wrote: > Today I seen a hack into php that has rocked me to my foundation. > I seen a picture uploaded onto a server using php and when php displayed the > image, phpinfo() was executed and displayed. > > Does this pr

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

Re: [PHP] The end of "mysql"

2012-09-08 Thread Bastien
Bastien Koert On 2012-09-08, at 9:54 AM, Jim Giner wrote: > Nope. No PDO as yet either > > jg > > > On Sep 7, 2012, at 11:22 PM, Adam Richardson wrote: > >> On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner >> wrote: >>> So with the announced end

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] FoxPro Table Structure

2012-08-28 Thread Bastien
Bastien Koert On 2012-08-28, at 11:52 AM, Floyd Resler wrote: > On Aug 28, 2012, at 11:32 AM, Paul M Foster wrote: > >> On Tue, Aug 28, 2012 at 10:46:24AM -0400, Floyd Resler wrote: >> >>> Is there a way in PHP to get the structure of a FoxPro table (using >&g

Re: [PHP] OT (maybe not): Drupal vs WordPress

2012-08-19 Thread Bastien
ne by civicCRM, then maybe just code those pages in HTML and leave the rest to the civicCRM. But i would, based on the info above, consider Drupal more so. The added modules in drupal may make that choice worthwhile down the road Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] embedding php inside of php

2012-06-30 Thread Bastien
Bastien Koert On 2012-06-30, at 8:00 PM, Tim Dunphy wrote: > Hello, > > I am trying to get the hang of php using some examples that I found > in a book. I've been making progress lately, but one thing has me a > bit stumped. > > > In an HTML form that I am ech

Re: [PHP] If PHP Were British

2012-06-22 Thread Bastien
I bow to your skillz! That was pretty awesome! Bastien Koert On 2012-06-22, at 7:02 PM, Daniel Brown wrote: > On Fri, Jun 22, 2012 at 5:07 PM, Daevid Vincent wrote: >> http://www.addedbytes.com/blog/if-php-were-british/ > >Eh, what the hell, it's Friday.

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] Happy Diamond Jubilee everyone!

2012-06-02 Thread Bastien
Bastien Koert On 2012-06-02, at 4:51 AM, Ashley Sheridan wrote: > > > Paul M Foster wrote: > >> On Fri, Jun 01, 2012 at 06:44:17PM +0100, Ashley Sheridan wrote: >> >>> This is a bit of a shameless plug, but it is a Friday and a pretty >>> spec

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] 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] 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] Bust out a PDF via the print stylesheet?

2012-05-18 Thread Bastien
Bastien Koert On 2012-05-18, at 12:34 PM, Brian Dunning wrote: > Hey all - > > The articles on my web site already have a very nice stylesheet that produces > a print version. Does anyone know if there's a such a thing as a PHP class > that would let me put up a &quo

Re: [PHP] Running through an enormous SQL file

2012-05-04 Thread Bastien
Bastien Koert On 2012-05-04, at 7:36 PM, Brian Dunning wrote: > I have a script that downloads a 267MB SQL file (it creates and loads a MySQL > database). Any idea how to do this? Obviously I'm not going to get a file > that size into memory to loop through. > -- > PHP

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Bastien
Bastien Koert On 2012-04-19, at 4:11 PM, Silvio Siefke wrote: > On Thu, 19 Apr 2012 13:00:40 -0700 > Tommy Pham wrote: > >> Technically, it's date('now') per [1] :) RTFM FTW! > > Yes its right, i have read it on sqlite.org. > > PS: Excuse me, wh

Re: [PHP] Re: Email Antispam

2012-04-19 Thread Bastien
Bastien Koert On 2012-04-19, at 1:54 AM, tamouse mailing lists wrote: > On Wed, Apr 18, 2012 at 8:47 PM, Ross McKay wrote: >> On Wed, 18 Apr 2012 11:08:00 -0400, Jim Giner wrote: >> >>> He literally wants the "addresses" visible on the sight? [...] &

Re: [PHP] Sorting Help

2012-04-11 Thread Bastien
Bastien Koert On 2012-04-11, at 2:18 PM, Floyd Resler wrote: > > On Apr 11, 2012, at 1:11 PM, admin wrote: > >> >> >> -Original Message- >> From: Floyd Resler [mailto:fres...@adex-intl.com] >> Sent: Wednesday, April 11, 2012 11:26 AM &g

Re: [PHP] learning resources for PHP

2012-04-04 Thread Bastien
Bastien Koert On 2012-04-03, at 10:39 PM, Tim Dunphy wrote: > Hello list, > > I am quite sure that you've heard this question at least a few times > before. :) But I have been dabbling a bit in PHP for years and I've > decided that its' high time that became

Re: [PHP] securing a script that exec()s

2012-03-30 Thread Bastien
Bastien Koert On 2012-03-30, at 5:56 AM, rene7705 wrote: > Hi. > > I have a script that uses imagemagick's convert command on the commandline > to get it's work done. > These calls to exec('convert [params]') take params from the end-user via a > ht

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

Re: [PHP] MySQL table design

2012-03-22 Thread Bastien
; PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Periods are not allowed, nor other characters that are reflected in file paths. You can use the back tick to wrap the field names, but I really don't recommend it. If you ever need t

Re: [PHP] Thinking out loud - a continuation...

2012-03-22 Thread Bastien
nde","eyes":"blue","build":"medium"}},"Anna":{"email":"a...@demo.com","website":"www.anna.com","age":"24","password":"pass","description":{"hair":"brunette","eyes":"hazel","build":"petite"}}} > > jslint.com verifies this as good JSON (although I thought there had to be > square brackets around child arrays). > > If you were me would you just generate the JSON? If not what is he best way > to output an array that will nest properly for each subsequent query? > > Thanks for any insight! > > Would it not be easier to get the data from a view which has the tables joined? Then it would be one query and it's a simple matter to format the results into the multi dimensional array then json? Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CMS identification

2012-03-18 Thread Bastien
Bastien Koert On 2012-03-18, at 6:32 PM, Alain Roger wrote: > ok so here it is: > http://i220.photobucket.com/albums/dd277/alainroger/cms-login.png > > > On Sun, Mar 18, 2012 at 11:25 PM, Stuart Dallas wrote: > >> On 18 Mar 2012, at 22:20, Alain Roger wrote: >&

Re: [PHP] Graphing

2012-03-18 Thread Bastien
at jquery. > > Looking forward your responses. > > Regards > Ross > If you are looking at a js type dataviz, check out kendo-ui ( built on jquery ) If you want php based then there are tons of options (YMMV) - phpplot - jgraph - etc ( a quick google will give you more) Bastien -- 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] Nested database loops and completing an unordered list....

2012-03-01 Thread Bastien
nt will then hold either a null if a top level item, or a structured path ( 1/10/24 ) that notes the parents of the item all the way up to the parent. That way, a single query will get you all items in that parent's lineage to whatever depth is needed by using the child's value Select * from table where parent = '1/10' Would retrieve all items that are children of a top level of 1 and a second level of 10 Hth Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Test

2012-02-20 Thread Bastien
Definitely doesn't work Bastien Koert On 2012-02-20, at 2:21 PM, Jason Pruim wrote: > Nope doesn't work, ;) > > > > On Feb 20, 2012, at 1:57 PM, Jay Blanchard > wrote: > >> Does this work? >> >> -- >> PHP General Mailing Li

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Bastien
Bastien Koert On 2012-02-13, at 5:34 PM, Haluk Karamete wrote: > Yeah, but n the context of wordpress, that does not fly. > If I do a die; in the middle of wp's tinymce editor, and check back > the page, the title is already out there. > > first 5 lines wou

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Bastien
gt; http://www.php.net/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I think you should trademark that, Dan Bastien Koert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] advise needed on a mysql select library function

2012-01-13 Thread Bastien
be put into a function so that _select function internally > calls it and get the handle of the "$link" so that > mysql_select_db($db_name, $link) can run fine... in that case, should > the $link be passed &$ by ref? any issues with that? > > which approach is better? or are there other issues that I must be > aware of in starting building such a library? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > You seem to be spending time on rebuilding what a lot of frameworks already have/do. I suggest looking at them first. Code igniter Cake php Symfony Zend Fuelphp Personally, codeigniter might be the best choice as its not an overwhelming framework and it's got great docs Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Bastien
I've never had to install a package before or > is that something my hoster does? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Also try dompdf from digitaljunkies.ca. It allows you to pass an

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Bastien
-- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > MAMP is the easiest way to keep it all together and set up. Gets my vote too Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alternative session control system

2011-12-26 Thread Bastien
to work. This is the perfect place to launch the session and set the session cookie and the standard HTML headers. Ajax will only start after that initial page load and won't affect the first time the app is accessed Bastien Koert -- 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] 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] 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] Tutorial for the structure of an php-app ?

2011-11-25 Thread Bastien
o actually build a house out of those things. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Why not download some and dig into them? Something from sourceforge or a cms like pyrocms? See how they stuck it all t

[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] Converting string to array index

2011-11-05 Thread Bastien
n > > MySQL 5.1 PHP 5.3.3-6 Linux [Debian squeeze(sid)] > > > -- > Array_flip()? http://php.net/manual/en/function.array-flip.php Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novice question

2011-10-30 Thread Bastien
ailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Another option is cURL www.php.net/curl Bastien Koert 905-904-0334 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Bastien
ount... That way I don't have to load all the data... The data amount >>> won't change alot... Easy enough to set a variable... Just need to see if >>> I can integrate that with the pagination... >>> >>> Back to the drawing board! :) >>> &

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Bastien
On 2011-10-24, at 11:14 PM, Jason Pruim wrote: > > Jason Pruim > li...@pruimphotography.com > > > > On Oct 24, 2011, at 9:20 PM, Bastien wrote: > >> >> >> On 2011-10-24, at 8:50 PM, Jason Pruim wrote: >> >>> Now that I've

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Bastien
On 2011-10-24, at 11:26 PM, "Jim Giner" wrote: > Yes - but - we're talking about a user-app that the OP is trying to provide > 89M records to. Sure - "some" users might have need of looking at even as > much as a million records IF they were researching something that needed it. > But - for

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Bastien
an think of lots. I know of an app with a poorly designed system that easily gets over 240 million Bastien Koert 905-904-0334 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Geo IP Location help needed...

2011-10-24 Thread Bastien
General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Dave, If the IP is showing, could there be some left over debug in some function? If the IP is not in your list it could be anything from a new range for a region to IP spoofing or some anonymizer or even an old DB Bastien Koert 905-904-0334 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Bastien
teria? Have you run an EXPLAIN plan on the db to show how the queries are being run? Other thoughts: - are your indexes up to date? Have you optimized those index to be clean, not fragmented, and therefore fast? - can you organize the data by some criteria to better show the results? Like by

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

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] 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] 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] 'Mobile' PHP

2011-09-23 Thread Bastien
ibe, visit: http://www.php.net/unsub.php > Depending in what has to be done, could you use HTML5 with local storage and sync back up later? AFAIK android runs java programs using a custom JVM. So any app on those devices will need to run in java. Not sure that you couldn't port the php eng

Re: [PHP] Installing PHP

2011-09-20 Thread Bastien
the php folder at all. You can also set the root directory in the httpd.conf file, the apache config, to place the root of the webserver elsewhere in your filesystem Bastien Koert 905-904-0334 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2011-09-20 Thread Bastien
age'. Note this same person told me that we were moving to c# because it had the most examples on the msdn network pages. ( yes, I know it's an account setting in the msdn network :-) ) Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Bastien
That was very funny. A perfect Friday item! Bastien Koert 905-904-0334 On 2011-09-16, at 2:30 PM, "Daevid Vincent" wrote: > http://www.youtube.com/watch?v=5GpOfwbFRcs > > LOLercopter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2011-08-25 Thread Bastien
On 2011-08-26, at 12:05 AM, Nam Gi VU wrote: > Hi Bastien, > I've create new user but cannot find where to log out to change logged-in > user. > This is strange... > > On Thu, Aug 25, 2011 at 12:32 AM, Bastien Koert wrote: > On Wed, Aug 24, 2011 at 1:30 PM, Na

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

  1   2   3   4   5   6   7   >