Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
http://www.rgraph.org (Updated November 29th) > haha -- Bastien Cat, the other other white meat

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
> To unsubscribe, visit: http://www.php.net/unsub.php > > How about not throwing a js error on opening a new tab? Kinda basic, even MS should be able to handle that or so I would have hoped. I have less issues with Chrome and its beta -- Bastien Cat, the other other white meat

Re: [PHP] Help with IF ELSE

2008-12-05 Thread Bastien Koert
gt; > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > One option is to base64encode it before sticking it in the db and then doing a base64decode upon retreival. -- Bastien Cat, the other other white meat

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Bastien Koert
avaScript is client-side, ergo untrusted. Javascript can be nice as an > addition, but only that. > > > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Never trust the

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Bastien Koert
inline; filename="' . $dir.$file . '"'); header("Content-Transfer-Encoding: Binary"); header("Content-length: ".filesize($dir.$file)); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . $file . '"'); readfile("$dir$file"); } else { echo "No file selected"; } //end if }//end function -- Bastien Cat, the other other white meat

Re: [PHP] MSSQL_CONNECT problem

2008-12-08 Thread Bastien Koert
nside the DMZ and that your DNS resolves the server names, correct? > > When making your connection try doing it like this: > > //Assign the server connection to a variable > $connect = mssql_connect('SERVERNAME, 'USERNAME', 'PASSWORD'); > > //Select your database and reference the connection > mssql_select_db('DATABASE', $connection); > Have you created a mssql account to allow connetion from whereever you are coming from? -- Bastien Cat, the other other white meat

Re: [PHP] A MySQL Question

2008-12-09 Thread Bastien Koert
: http://www.php.net/unsub.php > > The omniverse or the underverse? -- Bastien Cat, the other other white meat

Re: [PHP] Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-11 Thread Bastien Koert
largest because they either do more (symfony) or are designed to be used piecemeal (ZF) CodeIgnitor is one of the easiest ones to start using with Cake not far behind -- Bastien Cat, the other other white meat

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Bastien Koert
e db will allow the entry of the instructor id in the courses table. The idea is to force data integrity in a system such that certain records can't be created without having the necessary backup data from another table. Joins should allow you to pull the data from the table in one query hth -- Bastien Cat, the other other white meat

Re: [PHP] First PHP program

2008-12-13 Thread Bastien Koert
> > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > There are a host of free editors that can be looked at Apatana Studio and NetBeans are excellent editors -- Bastien Cat, the other other white meat

Re: [PHP] php client

2008-12-14 Thread Bastien Koert
wsdl. > > works a treat. > > http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html > http://wso2.org/projects/wsf/php > https://jax-ws.dev.java.net/ > google > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Bastien Koert
." > > Twelfth Night, Act II, Scene V >by William Shakespeare > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Getting email to work on a Windows installed local machine is a pain in the ass...I usually just code it and test it online since I tend to use the same code all the time -- Bastien Cat, the other other white meat

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Bastien Koert
cript to somehow go through each record and create this > unique value? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > update mytable set hash_field = md5(AutoIdField + unix_timestamp()) -- Bastien Cat, the other other white meat

Re: [PHP] Printing

2008-12-17 Thread Bastien Koert
> I would suggest sending a PDF to the client and allowing the client to handle the rest. -- Bastien Cat, the other other white meat

Re: [PHP] Printing

2008-12-17 Thread Bastien Koert
dividual value > and uses it in a query to extract information and build a pdf which is > automatically output to a file. > > Once a PDF has been generated I want to send it to the users printer to be > printed. > You can't, the best you can do is send the PDF down and let the user choose to do with it what they will -- Bastien Cat, the other other white meat

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Bastien Koert
e (like http://jocr.sourceforge.net/ ) and shell out to it to do the reading in. One of our clients wrote a .NET app to just this that renames the file with the ocr barcode after which we pick it up and handle the rest hth -- Bastien Cat, the other other white meat

Re: [PHP] PHP Form email w/attachment

2008-12-17 Thread Bastien Koert
phpmailer to handle the mailing...easy peasy -- Bastien Cat, the other other white meat

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Bastien Koert
) > To unsubscribe, visit: http://www.php.net/unsub.php > > Assuming you are using some flavor of IE, ensure the Always Show Friendly Errors Messages is unchecked the browser's Tools > internet options > advanced tab -- Bastien Cat, the other other white meat

Re: [PHP] ACL Framework / Library

2008-12-24 Thread Bastien Koert
L as part of the framework http://framework.zend.com/manual/en/zend.acl.html -- Bastien Cat, the other other white meat

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Bastien Koert
HP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Congrats on the new critter to be...they are a lot of fun after the first year of eating sleeping and pooping ;-) -- Bastien Cat, the other other white meat

Re: [PHP] IE Problem Detecting Post Variables

2009-01-01 Thread Bastien Koert
On Thu, Jan 1, 2009 at 11:59 AM, Ashley Sheridan wrote: > On Thu, 2009-01-01 at 11:25 -0500, Phpster wrote: > > What about using the onclick to set a js variable to be sent to the > > server? That should be more cross server compliant. > > > > Bastien > > > &

Re: [PHP] First steps towards unix and php

2009-01-08 Thread Bastien Koert
gt; -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Ubuntu has my vote as well. Also has good support for wireless drivers and other laptop goodies. -- Bastien Cat, the other other white meat

Re: [PHP] How can a script tell if there's a MySQL problem?

2009-01-09 Thread Bastien Koert
ribe, visit: http://www.php.net/unsub.php > > 1. Make sure you are freeing up all resources as soon as you can -> mysql_close(); 2. Change the my.cnf file connection number to a larger amount -> * max_connections* 3. cache what you can (memcache, apc, filesystem, etc) -- Bastien Cat, the other other white meat

Re: [PHP] iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-13 Thread Bastien Koert
right a messing all up. > > I am really stuck so any help could be very useful... > > -- > Thodoris > > Could you base64encode() the data? Or try HtmlEntities()? Is it text data that is causing the issue? -- Bastien Cat, the other other white meat

Re: [PHP] installing php 5 with pdflib

2009-01-13 Thread Bastien Koert
try dompdf from www.digitaljunkies.ca...its a class for pdf that I found pretty simple to implement -- Bastien Cat, the other other white meat

Re: [PHP] developers life

2009-01-19 Thread Bastien Koert
focus > > > > regards :-) > > i so have more important things to do > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Bastien Cat, the other other white meat

Re: [PHP] maybe we could all?

2009-01-19 Thread Bastien Koert
; >> to do so here, how can we then tell others that we won't allow them to >> discuss their PHP-related projects on this list? >> >> > have to agree dan, not to mention the noise; people needing genuine helps > posts getting missed etc.. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I'm in, sounds like fun and a great way to learn new stuff -- Bastien Cat, the other other white meat

Re: [PHP] Re: Client/Server Printing

2009-01-21 Thread Bastien Koert
> http://www.radicore.org > > > Paul > > > > -- > > Paul M. Foster > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I still like dompdf from http://www.digitaljunkies.ca<http://www.digitaljunkies.com> -- Bastien Cat, the other other white meat

Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Bastien Koert
d you can get what you want. > > Note that this is all hearsay on my part. > > ymmv > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Is that hearsay or heresy? -- Bastien Cat, the other other white meat

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Bastien Koert
gt; > Paul > > -- > Paul M. Foster > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > The only real way then to avoid a page refresh with just PHP / HTML (for the links) would be to use (i)frames and load the new content into the frame -- Bastien Cat, the other other white meat

Re: [PHP] best practice wrt multi-lingual websites, gettext() etc.

2009-01-26 Thread Bastien Koert
and export utilities. > > Hi Bastien > > interesting - does this mean you're also coding for language-awareness > yourself? I mean, you must have your own gettext() functionality? > > > A number of pup apps take the approach of storing the label > > translation

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Bastien Koert
tsan is probably correct, in that you should just use a preset template or blog software and change $250 flat for it...the first few you might lose money on (if considered in a per hour basis) but as you get faster and more familiar with it, you can get that going more quickly. -- Bastien Cat, the other other white meat

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Bastien Koert
-- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > You need to charge what you think is fair to support the application. If the calls are few and far between and more related to new dev work, then maybe $10/mth is fair...judge by how many support requests there are knowing that in the first few months after launch there will be more than after 1 year -- Bastien Cat, the other other white meat

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
tern. This way your code that runs via the CLI (command line) can produce the same data as the code that gets the data for the HTML. The only difference is what you plan to do with that data. You could feed it to a controller and let the controller feed it to a View to render in a browser, or send it to a FileOutput class to create a file of the data for comsumption by another resource. -- Bastien Cat, the other other white meat

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 3:28 PM, Paul M Foster wrote: > On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: > > > On Wed, Jan 28, 2009 at 2:58 PM, Don Collier >wrote: > > > > > > > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wro

Re: [PHP] Database Tables Relation Issue

2009-01-30 Thread Bastien Koert
t; that becomes necessary. > > Andrew > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Third table is the way to go. From a performance perspective, with a packed field (values delimited in some way) you would likely be doing a LEFT LIKE or FULL LIKE (%value or %value%) statement which causes full tables scans since the index can't be used. That is much slower than querying a simple table with single values where the index can be used. -- Bastien Cat, the other other white meat

Re: [PHP] frameworks

2009-01-30 Thread Bastien Koert
and kaboodle Speed - CodeIgniter seems to be the winner for now Completeness - symfony has a full ORM layer Mix of the above - cakephp Each comes with its own learning curve from easy to steep... downloaded several and play with them to work out what fits your needs -- Bastien Cat, the other other white meat

Re: [PHP] Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Bastien Koert
l Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I usually do, only because I grew up using ASP with requires it...just another bad habit -- Bastien Cat, the other other white meat

Re: [PHP] Payment question in Canada

2009-01-30 Thread Bastien Koert
ist to go to. > > > > Thanks in advance, > > > > > > Thanks, > > Ernie > > > > > > ...man will occasionally stumble over the truth, but usually manages to > pick himself up, walk over or around it, and carry on. > > > Winston S. Churchill* *

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Bastien Koert
2009/2/4 Bulend Kolay > I attached my code > Thanks > > > > > Show your code, but it sounds like maybe the HTML flag is not set. >> Consider using a class like phpmailer or the mime mail class from >> phpclasses.org >> >> Bastien >> >>

Re: [PHP] Mutiple SQL request

2009-02-04 Thread Bastien Koert
indeces and run explain plans on the queries to see if any of them can be optimised to run quicker? -- Bastien Cat, the other other white meat

Re: [PHP] Mutiple SQL request

2009-02-04 Thread Bastien Koert
; > I ran explain, the result for extra is 'Impossible WHERE noticed after > reading const table...' > > How can i optimize this query? > > Is there some tutorial on the net? > > > > Thanks, > > Zechim > > > > *De:* Bastien Koert [mai

Re: [PHP] is this use of subquery "smart"

2009-02-04 Thread Bastien Koert
lists.mysql.com/ > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > try a case when then statement. -- Bastien Cat, the other other white meat

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
u could use InnoDB and have it cascade delete join > records. Status is nice though in case they come back or to provide > an undelete type functionality. > > -- > http://www.voom.me | EFnet: #voom > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > this gets my vote -- Bastien Cat, the other other white meat

Re: [PHP] Clarity needed

2009-02-06 Thread Bastien Koert
uronext), which is generally considered to be > the oldest formal stock exchange. > > ... so stick that in your pipe and smoke it ... oh wait you can't, > which is why there's a constant stream of planes touching down here, > full of yanks gagging to get shitfaced. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > WOW! Jochem, you need to relax just a little bit and bring down that blood pressure... And the dutch were hardly the only ones in there.. Greets from Canada -- Bastien Cat, the other other white meat

Re: [PHP] Re: Simple Search Logic Issue...

2009-02-16 Thread Bastien Koert
> Make like a banana and split. > Today is Sweetmorn, the 46th day of Chaos in the YOLD 3175. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > hate to do this at a late date, but %c will match anything ending in 'c'...'c%' will match anything starting in 'c' -- Bastien Cat, the other other white meat

Re: [PHP] Re: webapp to drive/monitor a bunch of system processes

2009-02-16 Thread Bastien Koert
ked at webmin? I haven't used it in a while but it ties in > a lot of monitoring/control/config of the machine and I assume you could > easily develop plugins for it. > > > -- > Thanks! > -Shawn > http://www.spidean.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > what about xenoss? http://www.zenoss.com/ -- Bastien Cat, the other other white meat

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Bastien Koert
Chrome, Opera and Safari: > http://www.rgraph.org (Updated February 14th) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Never met a pussy I didn't like :-P -- Bastien Cat, the other other white meat

Re: [PHP] function array problem

2009-02-17 Thread Bastien Koert
? > > > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > i tend to do function addEvent($values='') { if (!is_array($values)) { $values = Array('name' => '', 'venue' => '', 'description' =>'', 'errors' => Array()); } //rest of the code } -- Bastien Cat, the other other white meat

Re: [PHP] escape your variables

2009-02-18 Thread Bastien Koert
al/en/function.ereg.php] 2. Use mysql_real_escape_string in the query whereever the data is potentially harmful. > > > 2. How do you use mysql_real_escape_string on a string entered in a form > page with input and $_POST where the inputs are strings like $titleIN, > $authorINetc.? > > > -- > > Phil Jourdan --- p...@ptahhotep.com > http://www.ptahhotep.com > http://www.chiccantine.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Bastien Cat, the other other white meat

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Bastien Koert
ame or /filename works. If the > reference is up a level, ../ works > > e.g. to reference root/images/ from root/authors = ../images/file.ext > from root = /images/file.ext or images/file.ext > > I haven't needed to go to a deeper level yet. > > -- > > Phil Jourdan --- p...@ptahhotep.com > http://www.ptahhotep.com > http://www.chiccantine.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ../../ means go up two directories from the current working directory that your file is in -- Bastien Cat, the other other white meat

Re: [PHP] Two troublesome fields

2009-02-19 Thread Bastien Koert
-- > Twitter? > http://twitter.com/terionmiller > > Facebook: > http://www.facebook.com/people/Terion-Miller/1542024891"; > title="Terion Miller's Facebook profile" target=_TOP>http://badge.facebook.com/badge/1542024891.237.919247960.png"; border=0 > alt="Terion Miller's Facebook profile"> > Bill Watterson - "There is not enough time to do all the nothing we want > to > do." > Why not try a insert into table select fields from table where id = $id -- Bastien Cat, the other other white meat

[PHP] mobile texting app question

2009-02-20 Thread Bastien Koert
ciate any replies. -- Bastien Cat, the other other white meat

Re: [PHP] Re: how to deal with multiple authors for one book

2009-02-24 Thread Bastien Koert
ERE > book_author.ordinal = 1], [(first_name, last_name)WHERE > book_author.ordinal = 2]) AS Author > > I suspect that one cannot nest the CONCAT_WS statement and I suspect the > WHERE is not in the right place either, but this seems to be fairly > logical... am I on the right track? > > Problem 2... is similar to Problem 1 but deals with multiple categories > (62) and I'll deal with than when I get this one solved. > TIA > > -- > > Phil Jourdan --- p...@ptahhotep.com > http://www.ptahhotep.com > http://www.chiccantine.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > try: 1. using a subselect using your concat_ws 2. a view if your db supports its 3. using php to manipulate the resultset -- Bastien Cat, the other other white meat

Re: [PHP] Getting An Inventory Product Count

2009-02-27 Thread Bastien Koert
> keep is simple for this newbie > > > > > -- > Thanks - RevDave > Cool @ hosting4days . com > [db-lists 09] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > select modelId, count(*) as total from table group by modelId -- Bastien Cat, the other other white meat

Re: [PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
SQL Server. > > Bob McConnell > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > MySQL, DB2, SQL Server -- Bastien Cat, the other other white meat

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
or Web Edition databases? > > -- > Thanks! > -Shawn > http://www.spidean.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Just another marketing tool to sell a limited toolset db to punters who like marketing hype -- Bastien Cat, the other other white meat

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Bastien Koert
do to get this result? > > > > > -- > Thanks - RevDave > Cool @ hosting4days . com > [db-lists 09] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > A dirty way is to query the table where 1=

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Bastien Koert
s and 3 adminID > What about joining the queries? > > SELECT admin.UserName, admin.AdminID, workorders.WorkOrderID, > workorders.CreateDate, workorders.Location, workorders.WorkOrderName, > workorders.FormName, workorders.STATUS, workorders.Notes, workorders.pod > FROM admin LEFT JOIN workorders ON (admin.AdminID = workorders.AdminID) > WHERE admin.Retail1 = 'yes' > > I know it looks like a mess, but it should do the trick > > > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > incorrect syntax on your query try SQL query: SELECT WorkOrderID, CreatedDate, Location, WorkOrderName, AdminID , FormName, STATUS , Notes, pod FROM `workorders` WHERE AdminID in ( '20','61','24') -- Bastien Cat, the other other white meat

Re: [PHP] Strange charecters

2009-03-04 Thread Bastien Koert
On Wed, Mar 4, 2009 at 2:10 AM, Paul Scott wrote: > On Wed, 2009-03-04 at 10:09 +0530, Chetan Rane wrote: > > I am using ob_start() in my application. However I am getting this error > > about headers already sent. > > > > _Any_ output will set that error off. Check for Notices, Warnings, > echo'

Re: [PHP] verify another flavor

2009-03-06 Thread Bastien Koert
like comparison $sql1 = "SELECT first_name, last_name) FROM author WHERE (first_name LIKE '%first_nameIN%' && last_nameIN LIKE '%last_nameIN%')" but most likely, you really want a true comparison to see if that user exists $sql1 = "SELECT first_name, last_name) FROM author WHERE (first_name = 'first_nameIN' && last_nameIN = 'last_nameIN')" -- Bastien Cat, the other other white meat

Re: [PHP] insert array values

2009-03-06 Thread Bastien Koert
; http://www.ptahhotep.com > http://www.chiccantine.com/andypantry.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > As its an array, you could join the data with an IMPLODE into a string, but does that meet your needs? The other option is to create a sub-table for this element and insert each item thru a loop individually. -- Bastien Cat, the other other white meat

Re: [PHP] include_path

2009-03-06 Thread Bastien Koert
P General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If the SMARTY call is the same to the same path, should it not be require_once("Smarty.class.php"); and not require_once("Smarty/Smarty.class.php"); -- Bastien Cat, the other other white meat

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Bastien Koert
(http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Are you getting an error? What does 'not working' mean? -- Bastien Cat, the other other white meat

Re: [PHP] Daily and Weekly Calendar classes

2009-03-12 Thread Bastien Koert
ndar it puts them in the right > time slot, etc, etc. > > I can do the rest of the coding > > Free is best! > > -Jason > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > check www.hotscripts.com ww

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Bastien Koert
hulsjohari.com > [Web] http://www.rahulsjohari.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > You are overwriting the variable ($csv_data) that holds the row, add a period (concatenator) operator to build the up the data #WRITE ROWS TO VARIABLE $_csv_data .= trim($row['PHONE']).",".trim($row['DATE']).","."\n"; <-- THIS is where my problem is! This only writes the last row!! -- Bastien Cat, the other other white meat

Re: [PHP] PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-13 Thread Bastien Koert
odd > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > there is a version of phpmyadmin for postgre. phppgadmin is available from sourceforge.net -- Bastien Cat, the other other white meat

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
ag1&loc=us I like dompdf from www.digitaljunkies.ca Its a class that takes html and creates a pdf from it -- Bastien Cat, the other other white meat

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
om it > I saw online at http://us3.php.net/manual/en/pdf.installation.php that I > could build PDF from some extension. However, I use Linux, and I don't think > this installation using dll extension supports it. I ran the code and still > get this error. > > Any ideas? > Tha

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
xpress yourself with gadgets on Windows Live Spaces > http://discoverspaces.live.com?source=hmtag1&loc=us > Its a class set of files, so there is no real install. I just placed the folder containing the class files in my dir and in the calling page, required() the main file. The dompdf.inc.php file is where i handle the filesystem links -- Bastien Cat, the other other white meat

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
oping to use the function pdf_new to get > this to work by assembling some modules. Is what I am trying to do here not > possible? > > Thanks for your help. > > Alice > -- > > Bastien > > Cat, the other other white meat > > -- > S

Re: [PHP] "Default" field

2009-03-18 Thread Bastien Koert
and now can't find how it's done. > > Paul > > -- > Paul M. Foster > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Bastien Cat, the other other white meat

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Bastien Koert
ead First OOP...another is Martin Fowlers Patterns of Enterprise Architecture. The MVC pattern is explained well in a number of places, but worth checking out are both the cakephp framework site and the codeingniter site. You'll find that there are people from both camps here, pure OOP and other just as happy with procedural coding styles. Many use both, using objects to handle common tasks like DB interaction or filesystem processes. -- Bastien Cat, the other other white meat

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Bastien Koert
s into smaller pieces to limit the exposure to potential issues when you have to make changes. PCI is a pain in the ass and the rules that govern that make things very difficult, though I can see why it all needs to be there. The application I support (classic ASP) comprises 149 Mb of code in some 1500 + files scattered across some 50+ folders each with their own db access code. Nightmare isn't the word for it. It uses some 160+ DB tables as well. Rebuilding it is a task that I am looking forward to and am definitely using the MVC pattern with OOP to some extent. I am looking at codeigniter as the framework for this as its is one of the fastest and simplest of the frameworks to work on HTH -- Bastien Cat, the other other white meat

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Bastien Koert
as? :-( > > > > > > Luke > > > > > > > Why not try: > > > > $command = 'C:\path\to\gammu.exe --sendsms EMS 200 -text "test1 test2"'; > > > > -- > > Thanks! > > -Shawn > > http://www.spidean.com > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > try double slashes for the path and wrap the pathin quotes if there are spaces in it. Or if possible get rid of the spaces in the folder names -- Bastien Cat, the other other white meat

Re: [PHP] Read Text Content from PDF file

2009-03-20 Thread Bastien Koert
anted to be installed. So I have to look for > another solution. > > > > Is there a possibility, PHP library, something with which I can READ the > texts from a PDF document with PHP? > > > > Thanks a lot, > > Andy. > > > > http://www.setasign.de/prod

Re: [PHP] Read Text Content from PDF file

2009-03-20 Thread Bastien Koert
On Fri, Mar 20, 2009 at 10:23 AM, Andrei Bintintan wrote: > Could you be more precise? I’m looking at that class, but I can’t see any > function that does that. > > Andy. > > > > *Von:* Bastien Koert [mailto:phps...@gmail.com] > *Gesendet:* 20 March 2009 14:57 >

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Bastien Koert
t; tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Tedd, JS has been running on MS servers for a long time. It was always viewes as an acceptable replacement for vbscript. -- Bastien Cat, the other other white meat

Re: [PHP] Form To Mail script generators for Linux

2009-03-23 Thread Bastien Koert
ster, safer, easier. >> http://clk.atdmt.com/MRT/go/141323790/direct/01/ >> >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > http://www.hotscripts.com/category/php/scripts-programs/form-processors/ is another place to look -- Bastien Cat, the other other white meat

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Bastien Koert
h > > client and server side. > > > > Arno > > > > > > Yes, it's very difficult (and probably insecure) to distribute your > entire database to all of the clients that might use it. Not to mention > all of the libraries: image manipulation, pdf gener

Re: [PHP] Error printer_open()

2009-03-27 Thread Bastien Koert
www.php.net/unsub.php > > Does the php_printer.dll exist in the EXT folder? -- Bastien Cat, the other other white meat

Re: [PHP] Help figuring out an uploading script problem...

2009-03-30 Thread Bastien Koert
> Twitter? > http://twitter.com/terionmiller > -------- > Facebook: > http://www.facebook.com/people/Terion-Miller/1542024891"; > title="Terion Miller's Facebook profile" target=_TOP>http://badge.facebook.com/badge/1542024891.237.919247960.png"; border=0 > alt="Terion Miller's Facebook profile"> > Perchance did the permissions change on the folder or has the ini changed to limit the uploaded data? Is the folder full to disk capacity of the OS? -- Bastien Cat, the other other white meat

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Bastien Koert
nsub.php > > I have a couple of managers you can have...they bleat like sheep most of the time any way and don't provide much other than dung... -- Bastien Cat, the other other white meat

Re: [PHP] Java applet clearing session variables?

2009-04-02 Thread Bastien Koert
pplet clears the > session variables? Or how to stop/work around it so I can use the applet and > the php script? > > Thanks, > > Dan > > > > Add the session hash to the page as a hidden field and revalidate /regenerate the session when the page gets submitted? -- Bastien Cat, the other other white meat

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Bastien Koert
gt; To unsubscribe, visit: http://www.php.net/unsub.php > > instead of loading the php.exe, load FF and point to the script, note that this will open a browser window and you will need to close that in order to keep the resources on the server from being exhausted due to many windows being opened. -- Bastien Cat, the other other white meat

Re: [PHP] difficult select problem

2009-04-06 Thread Bastien Koert
LEFT JOIN publishers AS c ON bp.publishers_id = c.id LEFT JOIN book_author AS ba ON b.id = ba.bookID LEFT JOIN author AS a ON ba.authID = a.id WHERE last_name like '$Auth%' "; The above assumes that $Auth has a value of A and should pull all the authors whose last name starts with the letter A -- Bastien Cat, the other other white meat

Re: [PHP] difficult select problem

2009-04-07 Thread Bastien Koert
n building the data. From there build an xml snippet ( and store it in the database perhaps in the main books table. Then on future calls to that book to display the same data, request the xml and use that to display all the data. That way you get the search functionality you are looking for and a one time hit to build that data into one common format. That would make the future reads of that data much quicker. -- Bastien Cat, the other other white meat

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Bastien Koert
registered domain name, my ISP nameserver starts using it, every time - > and never a problem. > > e-mail support has been answered within 24 hours, and once with a phone > call because the tech didn't understand my question. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I like and have used www.misk.com for the last three years. Its got a nice interface and domains are $10/year -- Bastien Cat, the other other white meat

Re: [PHP] Hello, I have a question about php array max number

2009-04-09 Thread Bastien Koert
.php > > Could be the memory limit on the server, could be the query only returning 1500 rows. -- Bastien Cat, the other other white meat

Re: [PHP] pear mdb2 and null

2009-04-13 Thread Bastien Koert
[snip] >> I need it to error when an attempt to create a record without setting that >> field is attempted, but setting the field to an empty string is fine. >> >> Attempting to insert data without defining that field indicates there is >> not sufficient information to create a record. Setting that

Re: [PHP] try - catch is not so clear to me...

2009-04-14 Thread Bastien Koert
t sent'); >} > > } > catch (Exception $e) > { > send_email_with_error_to_admin($e, $content); > } > > why am I getting both emails? I'm receiving confirmation email and email > with error message - that I'm supposed to get if the first one is not sent > for some reason?!?!?!? > > thanks for any help. > > -LL > > > what does this function [send_confirmation_email($email, $subject, $content)] return? -- Bastien Cat, the other other white meat

Re: [PHP] try - catch is not so clear to me...

2009-04-14 Thread Bastien Koert
il($to, $subject, $body) { $headers ="MIME-Versin: 1.0\n" . "Content-type: text/plain; charset=ISO-8859-1; format=flowed\n" . "Content-Transfer-Encoding: 8bit\n" . "Reply-To: Contact \n". "From: Contact \n" . "X-Mailer: PHP" . phpversion(); $result = mail($to, $subject, $body, $headers) or die(mysql_errno()); return $result; } -- Bastien Cat, the other other white meat

Re: [PHP] Logical next step in learning?

2009-04-14 Thread Bastien Koert
/dvds rental site anything that will put you in a spot where the issues you run into are not in a book. Its the only way to learn real life programming -- Bastien Cat, the other other white meat

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Bastien Koert
nclude_once) in case it is defined somewhere in there. Another > > possibility I can think of is to be defined in a framework that you use. > > > > You can check the user and internal functions using the > > get_defined_fumctions(): > > > > http://us.php.net/manual/en/function.get-defined-functions.php > > > > -- > > Thodoris > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > grep gets my vote, since i don't use netbeans -- Bastien Cat, the other other white meat

Re: [PHP] PHP/MYSQL/ Encrypting Sensetive information

2009-04-17 Thread Bastien Koert
varchar(255) you could also add some tracking [last_access_time] int (unix timestamp) [last_access_id] varchar(32) if you want to store the data with the record -- Bastien Cat, the other other white meat

Re: [PHP] Let me google that for you.

2009-04-17 Thread Bastien Koert
unsub.php > > simplest would be an [i]frame. Heresey maybe, but quick...other options would include something ajaxy and some divs -- Bastien Cat, the other other white meat

Re: [PHP] php isn't displaying mysql query correctly

2009-04-17 Thread Bastien Koert
PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > shoulnd't this echo "".$mysqli_get_support_types[types]; be echo "".$mysqli_get_support_types_result[types]; -- Bastien Cat, the other other white meat

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Bastien Koert
P into their application engine. MySQL enterprise will nicely fill a hole in the lineup for SMB that Oracle has a tough time supporting with the expensive enterprise class products. Hopefully there won't be much change in the next few years, but I shall remain hopeful that things will stay the current course -- Bastien Cat, the other other white meat

Re: [PHP] Time difference desired load

2009-04-20 Thread Bastien Koert
are. > I am asking for load desired results NOT your take on my code… > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > You are doing a lot of calculation on this combining both PHP and SQL code. How many rows are you affecting with this query at one time? I hate to say it, but this to me is just begging for a unix timestamps, then you can simply deal with the seconds remaining on this counter. -- Bastien Cat, the other other white meat

Re: [PHP] Encrypting email

2009-04-21 Thread Bastien Koert
al Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > A number of our clients are moving towards secure webmail delivery and the mechanism is as Tedd describes. The only other option, if your clients are all on Outlook, is to use something like GPG for outlook to encrypt the transmission ( http://www.gpg4win.org/index.html ). -- Bastien Cat, the other other white meat

<    1   2   3   4   5   6   7   >