Re: [PHP] Returning results

2010-10-20 Thread Bastien
> Blessings > David M. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php David, the $result variable/object is the handle to the result data set, not the resulting data. You would still need to acc

Re: [PHP] Returning results

2010-10-20 Thread Bastien
Yeah, it's got a few downsides! Bastien Koert 905-904-0334 Sent from my iPhone On 2010-10-20, at 8:27 PM, "Daniel P. Brown" wrote: > On Wed, Oct 20, 2010 at 20:11, Bastien wrote: >> >> David, the $result variable/object is the handle to the result data set, n

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Bastien
gt; > note, that i take the time to bottom-post and clean up emails when i > have time, but if i don't, i don't. people discuss things for > discussion, they don't discuss things because they care how it is > placed. that's like getting a present and whining about th

Re: [PHP] questions about if statements regarding a checkbox

2010-10-30 Thread Bastien
On 2010-10-30, at 10:28 PM, wrote: > > > > > If check it will submit the value of 'on' > > So > > If($_POST['test'] == "on') > { > Do this > }else{ > Do this > } > > > Richard L. Buskirk > > > -Original Message- > From: Ben Brentlinger [mailto:b...@benbrent.com] > Sent: Satu

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-04 Thread Bastien
ion tcl_MySQL_OpenDataBase($link, $database) { > > mysql_select_db($database, $link); > > } > > > > function tcl_FillComboBox($result, $label, $col1, $col2, $onchange) { > > echo ''.$label.' value="">'; > > while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { > > echo ''.$line[$col2]; > > } > > echo ''; > > } > > > > ?> > > > > > -- > Aeropuerto Internacional Frank País García de Holguín. > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Ajax back to the server to run the php Bastien Koert

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

2010-11-08 Thread Bastien
used when it received the > cookie from the server [emphasis added]*. > > = > > So, use the flag, but remember it's not a fix-all. > > Adam > > -- > Nephtali: PHP web framework that functions beautifully > http://nephtalipr

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Bastien
it: http://www.php.net/unsub.php The windows web platform installer is also an option and will install php/Mysql and other apps like moodle, sugarcrm and others. Bastien > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] code quest

2010-11-26 Thread Bastien
t/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > To get you started: > > function get_directories($path) > { > $files_and_dirs = scandir($path); > $dirs = array_filter($files_and_dirs, function($elem) { return > is_dir($elem); }); > //

Re: [PHP] Strange Query Error...

2010-11-27 Thread Bastien
y m.AUCCIIM_ID > order by m.preferred_last_name > > What is causing it to choke via PHP? > > Thanks! > > Don Try removing the backticks around the table names. If you do use them, then all values (field names and table names) need it. Bastien Koert Sent from my iPhone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ORM doctrine

2010-12-12 Thread Bastien
was requiring 1000 user concurrency and the app as it was only handled 10 users. I re-architected the app to cache out the form since it was identical for each user, and we easily hit the required benchmark. Form caching is one of the most important omptimizations that can be made ( especially

Re: [PHP] Static content at runtime

2010-12-28 Thread Bastien
t; have high traffic. > > David Yep. Been there, done that! Got massive increases out of the system by using that process. Bastien Koert Sent from my iPhone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Bastien
> from the Darkside of Hell. Anyway, sorry for being ten days late, but > happy birthday, Chap. It was good getting to know you. And, as the > Ques know, "friendship is essential to the soul." > > -- > > Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Ho

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

2011-02-24 Thread Bastien
eneral Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > How about because dotnet and the dotnet framework is a windows product? Bastien Koert 905-904-0334 Sent from my iPhone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: is there any syntax to save a file in mysql?

2011-03-28 Thread Bastien
and use the filesystem to store the actual files in a folder for each user. From Practical experience, after about 12gigabytes of data in the db, you will start seeing performance issues. Not to mention time and performance issues when backing the db. Bastien Koert Sent from my iPhone -- PHP Gene

Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

2011-04-02 Thread Bastien
gt; > Management rises to their level of competence++. > > Cheers, > > tedd > > -- > --- > http://sperling.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Tedd, I usually find

Re: [PHP] email w/attachments

2011-04-17 Thread Bastien
;t work. I'm about to pull out > what hair I have left. > > Cheers (I think), > > tedd > > -- > --- > http://sperling.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I

Re: [PHP] php to store data

2011-05-02 Thread Bastien
n the server, and it's much >>> faster. >>> >>> However, if you're stuck with text files, then look at things like >>> fopen, fwrite and file_get_contents functions, as these should help a >>> lot. >>> >>> -- >>>

Re: [PHP] vend-bot?

2011-07-03 Thread Bastien
ing a one time token for each transaction? Should be simple enough to manage. Bastien Koert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP frameworks

2011-07-21 Thread Bastien
+1 for CI! it's a joy to work with Bastien Koert 905-904-0334 On 2011-07-21, at 5:20 PM, Paul M Foster wrote: > On Thu, Jul 21, 2011 at 03:59:52PM -0500, Chris Stinemetz wrote: > >> Hello all, >> >> I am thinking about venturing into PHP frameworks, but I would

Re: [PHP] form handling

2011-08-11 Thread Bastien
net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I would bet it's the quotes screwing up the js. Can / are you escaping that variable when ajaxing it back? Bastien Koert 905-904-0334 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] (Kinda sorta) PHP related: recovering lost passwords

2011-08-16 Thread Bastien
ist (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Never never send emails with passwords. I have a number of clients who are requesting that the user answer a security question and then it emails a link with a defined lifespan which will allow them to change the password. If they don't click the link in time, it expires and the process starts all over again. Bastien -- 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-24 Thread Bastien
at you phpmyadmin user account has the drop privilege. If not, grant that privilege or create another user account that does have more privileges Bastien -- 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] 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] 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] 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] '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] 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] 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
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] 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
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-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] 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] 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] 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

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

[PHP] RE: [PHP-DB] How to optimize select of random record in DB ?

2004-10-15 Thread Bastien Koert
skip the two step process and use RAND in the sql statement SELECT * FROM table1, table2 WHERE a=b AND c bastien From: -{ Rene Brehmer }- <[EMAIL PROTECTED]> To: [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: [PHP-DB] How to optimize select of random record in DB ? Date: Fri, 15 Oct 2004 07

[PHP] RE: [PHP-DB] Re: Office document upload to website (and inserting in MySQL if possible)

2004-10-02 Thread Bastien Koert
aded if ($DBFlag == 1){ confirmation(); } function show_form() { ?> Composition: Send this file: function upload() { // In PHP versions earlier than 4.1.0, $HTTP_POST_FILES should be used instead // of $_FILES. global $article, $FileFlag,$myfile; $uploaddir

Re: [PHP] Days until Easter and Christmas

2008-11-17 Thread Bastien Koert
On Sun, Nov 16, 2008 at 1:18 PM, Yeti <[EMAIL PROTECTED]> wrote: > > I guess Canadians are slower, eh? :-) > LOL > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Only cuz it colder here! -- Ba

Re: [PHP] Re: phpDesigner 2008?

2008-11-18 Thread Bastien Koert
ttp://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I found the licensing on phdesigner to be somewhat restrictive. Its not a bad editor, but I have been playing with Aptana which has a slightly steeper learning curve -- Bastien Cat, the other other white meat

Re: [PHP] while-question

2008-11-18 Thread Bastien Koert
; > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Is this where we starting singing 'Pass the dutchie on the left hand side'? -- Bastien Cat, the other other white meat

Re: [PHP] How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Bastien Koert
l treated as separate, so you may want to do them as a > transaction if you need to fall back in-case of a problem. > > > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > One thing to watch there is that you don't exceed the max query size limit (which looks to be about 64K in size) for the sql string -- Bastien Cat, the other other white meat

Re: [PHP] Re: file_Exists() and case

2008-11-24 Thread Bastien Koert
gt;> >> Now I can proceed to my next problem. >> > > You never answered one of my questions. Where are you getting $basePicture > from? Why does it differ in case from the actual file on disk. If you ask me > you'd be better off trying to resolve this problem further upstream at the > point where the case gets changed but your workflow doesn't appear to notice > it. > > -Stut > > -- > http://stut.net/ > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > why not just create a small script that will move the files into the correct folder from a temp storage spot and rename them to lowercase, then you are always dealing with the same case and it should make things easier for you. -- Bastien Cat, the other other white meat

Re: [PHP] Netbeans 6.5 WAS: phpDesigner 2008?

2008-11-27 Thread Bastien Koert
se PDT (and how does Zend get off > charging $400 for "Zend Studio" which amounts to a few Eclipse plugins?!? > Seriously? That's $150 at best) > > Daevid. > http://www.daevid.com <http://daevid.com> > > I've installed it but have yet to use it. I am having a good time with APTANA Studio, though there is a learning curve -- Bastien Cat, the other other white meat

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
ailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. -- Bastien Cat, the other other white meat

  1   2   3   4   5   6   7   >