Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Bastien Koert
On Fri, Mar 5, 2010 at 10:38 AM, Ashley Sheridan wrote: > On Fri, 2010-03-05 at 10:41 -0500, Daniel Brown wrote: > >> On Fri, Mar 5, 2010 at 10:28, Ashley Sheridan >> wrote: >> > >> > And you get to adopt new ones if you don't like the ones you got? >> >>     Yes, but you can't put any up for ad

Re: [PHP] xoops

2010-03-04 Thread Bastien Koert
On Thu, Mar 4, 2010 at 1:27 PM, Ryan Cunningham wrote: > Hi all > > I am fairly new to the forum but I have a question that maybe I could get > some input on, I have a client that is looking to run a new informational > site. The basis of which allows visitors to post up their events or > function

Re: [PHP] App to put a whole PHP Site in CD/DVD

2010-03-02 Thread Bastien Koert
On Tue, Mar 2, 2010 at 6:11 AM, Ashley Sheridan wrote: > On Tue, 2010-03-02 at 08:12 -0300, Juan wrote: > >> Hi, >> I need an application to run mysql/php/apache or similar in one cd, to >> make a presentation. >> >> The presentation itself is a php site that uses mysql to do some >> queries, to s

Re: [PHP] Accessing Windows File Comments

2010-02-25 Thread Bastien Koert
On Thu, Feb 25, 2010 at 9:59 AM, Floyd Resler wrote: > One of my users has asked if I can display comments with a file list on their > site.  So I thought I might be able to use the comments from the properties > of the file.  Is there any way I can access this from PHP?  The files are > actual

Re: [PHP] Excel Spreadsheets and PHP

2010-02-19 Thread Bastien Koert
You can also create an htnl table and excel will happily handle that as well. The real trick is to get IE to accept the stream as a file download. I find that I need to save the file first and the push the file down. On 2/19/10, Hansen, Mike wrote: >> -Original Message- >> From: Ian Ro

Re: [PHP] Advice on maintaining public and private files

2010-02-19 Thread Bastien Koert
On Fri, Feb 19, 2010 at 1:19 PM, Michael Stroh wrote: > I have a site I'm working on with some data that I want to be readable by > anyone, but some files that I want to keep hidden from outside users. Here is > an example of my file structure. > > /products/data1/item_1/data.txt > /products/dat

Re: [PHP] Linux ERD software

2010-02-18 Thread Bastien Koert
On Thu, Feb 18, 2010 at 7:26 AM, Ashley Sheridan wrote: > I don't normally need an ERD, but this latest project I'm on has some > pretty complex database tables, and as I'm working with someone else on > it, I need to plan out exactly how all the tables relate to each other > properly. Do any of y

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Bastien Koert
On Thu, Feb 11, 2010 at 8:47 AM, Teus Benschop wrote: > On Thu, 2010-02-11 at 08:26 +, Jochem Maas wrote: >> if you're doing all this already in order to facilitate a multi-platform >> install ... why not go the extra yard and have the install process setup >> a cronjob (or scheduled task, lau

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Bastien Koert
On Wed, Feb 3, 2010 at 2:37 PM, Robert Cummings wrote: > Ashley Sheridan wrote: >> >> On Wed, 2010-02-03 at 14:02 -0500, Robert Cummings wrote: >> >>> Ryan S wrote: Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place

Re: [PHP] Read directory; store filenames found in mySQL table?

2010-01-13 Thread Bastien Koert
On Wed, Jan 13, 2010 at 10:50 AM, Rahul S. Johari wrote: > > On Jan 13, 2010, at 10:40 AM, Rahul S. Johari wrote: > >> >> On Jan 13, 2010, at 9:50 AM, Warren Windvogel wrote: >> >>> On 2010/01/13 04:25 PM, Rahul S. Johari wrote: Ave, This is what I'm trying to do; I want to rea

Re: [PHP] I am not receiving any e-mail from the list...

2010-01-11 Thread Bastien Koert
On Mon, Jan 11, 2010 at 10:17 AM, Daniel Brown wrote: > On Mon, Jan 11, 2010 at 10:10, Richard wrote: >> >> I had this (I think) recently; mail simply stopped coming from the >> list and I can't remember unsubscribing (though that's not saying >> much...). I simply re-subscribed and all was dandy

Re: [PHP] Form validation and save the form

2010-01-11 Thread Bastien Koert
On Mon, Jan 11, 2010 at 10:18 AM, Angelo Zanetti wrote: > > > -Original Message- > From: aditya shukla [mailto:adityashukla1...@gmail.com] > Sent: 11 January 2010 05:03 PM > To: Robert Cummings > Cc: Angelo Zanetti; php-general > Subject: Re: [PHP] Form validation and save the form > > Tha

Re: [PHP] Re: Happy New Year

2009-12-31 Thread Bastien Koert
On Thu, Dec 31, 2009 at 1:20 PM, Carlos Medina wrote: > tedd schrieb: >> >> Hi gang: >> >> Happy New Year! >> >> May 2010 > 2009. >> >> Cheers, >> >> tedd >> > Happy new Year, > i wish you exited works, exited drinks, exited chicks and course exited code > :-D > > Carlos As long as we all don't e

Re: [PHP] output buffer

2009-12-29 Thread Bastien Koert
On Tue, Dec 29, 2009 at 4:09 PM, Marc Fromm wrote: > I am receiving the "Cannot send session cookie - headers already sent" > message even though I am using ob_start() at the top of my script. > The php.ini file has output_buffering set to 4096 4096. > My server is running Red Hat Enterprise Linu

Re: [PHP] strtotime - assumptions about default formatting of dates

2009-12-24 Thread Bastien Koert
On Thu, Dec 24, 2009 at 9:12 AM, tedd wrote: > At 10:20 PM +1000 12/24/09, Angus Mann wrote: >> >> Hi all. I need to allow users to enter dates and times, and for a while >> now I've been forcing them to use javascript date/time pickers so I can be >> absolutely sure the formatting is correct. >>

Re: [PHP] refuses to complete all queries

2009-12-09 Thread Bastien Koert
On Wed, Dec 9, 2009 at 7:18 PM, Allen McCabe wrote: > I have a "PURGE ORDERS" link that calculates which orders are made up > entirely of expired shows and deletes them. Well, that's idea anyhow. > > The procedure does 3 things: > > 1. Gets the order_id of all orders that contain all expired shows

Re: [PHP] Filtering results via user input

2009-12-08 Thread Bastien Koert
On Tue, Dec 8, 2009 at 1:49 PM, Allen McCabe wrote: > I wrote a function (inferior no doubt) that takes the values of a form with > a get method to filter results from the database. > > It is a list of orders, and I need to be able to filter by the user, the > user's school, or specific items (fin

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Bastien Koert
On Fri, Nov 27, 2009 at 11:20 AM, Ashley Sheridan wrote: > On Fri, 2009-11-27 at 17:10 +0100, Julian Muscat Doublesin wrote: > >> Hi, >> >> Just to update every one. This solution below worked perfectly. Thank you >> very much Jonathan. I have one other question though. Can anyone help me on >> th

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Bastien Koert
On Thu, Nov 19, 2009 at 11:46 AM, Paul M Foster wrote: > On Thu, Nov 19, 2009 at 03:07:42PM +, Ashley Sheridan wrote: > >> On Thu, 2009-11-19 at 10:09 -0500, Paul M Foster wrote: >> > > > >> >>     Ahem. You are correct. I should have escaped the double quotes. I've >>     *never* made this k

Re: [PHP] File To Blob Corruption

2009-11-16 Thread Bastien Koert
On Mon, Nov 16, 2009 at 8:05 AM, tedd wrote: > At 10:17 AM + 11/15/09, Ashley Sheridan wrote: >> >> Like someone mentioned on the link you posted; storing the images in the >> database does offer a layer of security, as database access is far >> easier to control than file access. >> >> Thanks

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Bastien Koert
On Thu, Nov 12, 2009 at 8:40 PM, Robert Cummings wrote: > I've never even heard of Aptana... I use Joe...it's a terminal based editor. > Works anywhere you have a terminal... just like other popular editors such > as vi :) > > Cheers, > Rob. > > > Daevid Vincent wrote: >> >> Whoa, am I reading thi

Re: [PHP] RE: Multiple file upload

2009-11-11 Thread Bastien Koert
On Wed, Nov 11, 2009 at 12:08 PM, tedd wrote: > Hi: > > This is one way to do it: > > http://php1.net/c/multi-uploads/index.php > > You can either give the user defined "slots" for them to fill, or not, or > give them a button to add another "Choose File" button. > > After you get the user informa

Re: [PHP] Re: Converting tables into forms

2009-10-28 Thread Bastien Koert
On Wed, Oct 28, 2009 at 8:53 AM, Bob McConnell wrote: > From: Ashley Sheridan > >> On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote: >> >>> I am trying to take MySQL tables and use the table structure to > create >>> HTML/PHP forms in as few steps as possible for further development. I >>

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Bastien Koert
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld wrote: > I have no doubt that this is due to an update that was done on my system at > some point, but unfortunately I can't pinpoint where.  The upshot is that > PHP is completely unresponsive for me when run from Apache and I'm not sure > where to l

Re: [PHP] Spam opinions please

2009-10-20 Thread Bastien Koert
On Tue, Oct 20, 2009 at 4:12 PM, Ashley Sheridan wrote: > On Tue, 2009-10-20 at 21:01 +0200, John Black wrote: > >> Gary wrote: >> > I believe they are human spammers as all the input fields are correctly >> > filled out (phone in phone, address in address etc). >> > As I said they are mostly the

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bastien Koert
This is a lot of posts to say either read it off character by character or just email the damn line. On 10/16/09, Dotan Cohen wrote: >>> Yes, the other end of the phone is an experienced PHP developer. >>> >> >> IMO, if you have to explain this code over the phone or any medium: >> >> ($item->get

Re: [PHP] Native support to MS SQL Server

2009-10-09 Thread Bastien Koert
On Fri, Oct 9, 2009 at 9:11 AM, Ashley Sheridan wrote: > On Fri, 2009-10-09 at 09:06 -0400, Bastien Koert wrote: > > > Would this be a good time to troll about the virtues of MySQL over > > MSSQL? :p > > > > Thanks, > > Ash > > http://www.ashleyshe

Re: [PHP] Native support to MS SQL Server

2009-10-09 Thread Bastien Koert
> Would this be a good time to troll about the virtues of MySQL over > MSSQL? :p > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > It has virtues? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] NULLS vs Empty result in PHP

2009-09-23 Thread Bastien Koert
On Wed, Sep 23, 2009 at 11:35 AM, Philip Thompson wrote: > On Sep 23, 2009, at 9:48 AM, Dan Shirah wrote: > >>> >>> From reading the other responses to this thread, it seems that you want >>> to >>> "skip" or "exclude" rows in the results where my_column === null. >>> >>> If this is correct, why n

Re: [PHP] Touch screen programming help

2009-09-21 Thread Bastien Koert
On Mon, Sep 21, 2009 at 9:29 AM, Robert Cummings wrote: > > > Tommy Pham wrote: >> >> Original Message >>> >>> From: Manish - dz - PHP >>> To: php-general@lists.php.net >>> Sent: Monday, September 21, 2009 5:32:59 AM >>> Subject: [PHP] Touch screen programming help >>> >>> Hi    Is it p

Re: [PHP] Re: Question: Sorting through table headers?

2009-09-14 Thread Bastien Koert
On Mon, Sep 14, 2009 at 3:57 PM, Bastien Koert wrote: > On Mon, Sep 14, 2009 at 3:29 PM, Marcus Gnaß wrote: >> Tony Marston wrote: >> >>> You cannot do this in a separate class as it requires action in both the >>> presentation (UI) and data access layers,

Re: [PHP] Re: Question: Sorting through table headers?

2009-09-14 Thread Bastien Koert
On Mon, Sep 14, 2009 at 3:29 PM, Marcus Gnaß wrote: > Tony Marston wrote: > >> You cannot do this in a separate class as it requires action in both the >> presentation (UI) and data access layers, and a single class is not allowed >> to operate in more than one layer. > > You can, but you shouldn'

Re: [PHP] Hoping for a hand with a login script

2009-09-10 Thread Bastien Koert
On Thu, Sep 10, 2009 at 12:21 PM, Ben Dunlap wrote: >> So I'm trying to set up a small website that includes a store ( >> www.rareintaglio.com), i have all of my HTML hammed out and now I'm working >> on creating an admin login for the sites owner to input data from a back simple folder protectio

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Bastien Koert
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote: > > Hiya, > I'm writing an app that let's my client upload images, the image html code > is added to an XML file. > Take a look at the element below: > > >    e1022 >     >    Blue Ski Trousers >    8.99 >   > > Now, whenever PHP writes this to

Re: [PHP] mail attachment

2009-09-05 Thread Bastien Koert
RTFM Bastien On Saturday, September 5, 2009, Grega Leskovšek wrote: > How do I attach a file in mail function or do I have to use PEAR (and if how > ...). What are the advantages of PEAR? When do You suggest to use PEAR? > Thanks in advance, > -- Peace refuge: http://users.skavt.net/~gleskovs/ >

Re: [PHP] Special Characters in a String for Output

2009-08-27 Thread Bastien Koert
On Thu, Aug 27, 2009 at 9:56 AM, David Stoltz wrote: > I have: > > $goalString = "Goals Entered By ".$mymanager."On > ".$when.":".$mygoal.""; > > Which outputs in this tag: > > > > But if there are double or single quotes in any of the $goalString, it > messes up the output. > > I know this i

Re: [PHP] Re: How to output a NULL field?

2009-08-26 Thread Bastien Koert
On Wed, Aug 26, 2009 at 12:06 PM, Andrew Ballard wrote: > On Tue, Aug 25, 2009 at 3:22 PM, Shawn McKenzie wrote: >> First off, if the value is NULL in the database then in PHP it will be >> the string "NULL" and not a null value as far as I remember. > > I've not seen this happen. I've found, depen

Re: [PHP] Exclusive File Access

2009-08-26 Thread Bastien Koert
On Wed, Aug 26, 2009 at 12:35 PM, Warren Vail wrote: > I have two processes running on the same server, one is creating a file, > loading it with data, and this process runs real slow. > > > > The second process processes a directory, finds the new file and begins > reading the file contents. > > >

Re: [PHP] php cms?

2009-08-25 Thread Bastien Koert
On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote: > Hey list, > > I am going to use a cms for some sites and I have looked a little at > Typo3, Joomla and php-fusion. > Can anyone recommend a system where it is easy to customize the > "templates"? > > regards > Lars Nielsen > > > -- > PHP Genera

Re: [PHP] How to output a NULL field?

2009-08-25 Thread Bastien Koert
On Tue, Aug 25, 2009 at 2:00 PM, David Stoltz wrote: > $rs->Fields(22) equals a NULL in the database > > My Code: > > if(empty($rs->Fields(22))){ >        $q4 = ""; > }else{ >        $q4 = $rs->Fields(22); > } > > Produces this error: > Fatal error: Can't use method return value in write context in

Re: [PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread Bastien Koert
On Tue, Aug 25, 2009 at 10:37 AM, kyle.smith wrote: > > -Original Message- > Recently i read this blog post about speed issues comparing PHP with > ASP.net, please, read that and comment what you think about it: > http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu > s-

Re: [PHP] DB Question | A hotel reservation scenario

2009-08-18 Thread Bastien Koert
On Tue, Aug 18, 2009 at 10:45 AM, Behzad wrote: > Dear list, > e-Greetings! > > I'm faced with an interesting and challenging problem. > > Consider a database, designed for a hotel. > At any given time, each room has a different status: It's Busy or Reserved, > or Free. > > It's easy to retrieve nu

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Bastien Koert
[snip]. Cryptic crap does > not mean that you're a clever programmer, it only shows that you don't know > any better. [/snip] I know people like this -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Include Paths

2009-08-12 Thread Bastien Koert
On Wed, Aug 12, 2009 at 12:06 PM, Ashley Sheridan wrote: > On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote: >> SORRY BUT >> I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS >> LIST >> I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME >> OFF THIS

Re: [PHP] Sending email w/ attachments

2009-08-10 Thread Bastien Koert
On Mon, Aug 10, 2009 at 9:49 PM, Skip Evans wrote: > Hey all, > > Trying to send emails with attachments, first try at this. And am trying to > adapt sample code I found here: > > http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php > > Trying this: > > ($data contains the contents

Re: [PHP] reason for a "Notice:.." on one site but not another? (Same code.)

2009-08-09 Thread Bastien Koert
Bastien Sent from my iPod -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Question: what are frameworks?

2009-08-09 Thread Bastien Koert
On Sun, Aug 9, 2009 at 9:29 AM, Sudheer Satyanarayana wrote: > Michael A. Peters wrote: >> >> Ralph Deffke wrote: >>> >>> good question !! I think the word "framework" is modern fashion term in >>> the >>> first case. in former days we used to say "library" C comes with a >>> standard >>> library,

Re: [PHP] Notification system

2009-08-07 Thread Bastien Koert
On Fri, Aug 7, 2009 at 10:25 PM, Jonathan Tapicer wrote: > Also, take a look at Comet Server: > http://en.wikipedia.org/wiki/Comet_(programming) > > I think that Facebook uses that and also Gmail, it tends to consume > less resources than periodical ajax calls, the hidden iframe method is > simple

Re: [PHP] Re: PHP programming strategy

2009-08-05 Thread Bastien Koert
On Wed, Aug 5, 2009 at 8:02 AM, Ashley Sheridan wrote: > On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote: >> Thank you to all of you who have commented on this query. >> >> On the subject of comments, I feel that Larry Garfield settled this query by >> pointing out >> that halving the size of a p

[PHP] Need a Linux copy of the php.ini file

2009-08-04 Thread Bastien Koert
Trying to install php at amazon and have a version with no 'dymanic modules'. Does anyone have a list of those modules? I specificially need curl mysql mysqli at this time thanks -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Multiple MySQL Queries

2009-08-04 Thread Bastien Koert
On Tue, Aug 4, 2009 at 11:40 AM, wrote: >        Is what I'm looking to do not possible in PHP?  I've come close with > a JavaScript version, but I'd rather not rely on everyone having JS turned > on.  Or am I stuck having to use JS? > > Thanks again, > Frank > > >>        I'd like to revisit this

Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)

2009-08-04 Thread Bastien Koert
On Tue, Aug 4, 2009 at 10:58 AM, Miller, Terion wrote: > > > > ---snip > > Was going to say the exact same thing.  No one should have to put up with > that crap. > > I suggest if this was a normal occurrence, a chat with him would be a start.   > If you get nowhere with that, a trip to HR woul

Re: [PHP] ForEach Range Problems

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 3:10 PM, Miller, Terion wrote: > > > > On 7/31/09 2:00 PM, "Miller, Terion" wrote: > > > > > On 7/31/09 1:56 PM, "Bastien Koert" wrote: > > $letters = ''; > > Nope still gives the same error:  Notice:

Re: [PHP] ForEach Range Problems

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 2:51 PM, Miller, Terion wrote: > > > > --snip--- > > -- > Well I almost have it with this, I keep getting an undefined index $letter > error though and then it outputs the $menu how do I fix that > >  //Create array with letters AND number sign                           > $

Re: [PHP] ForEach Range Problems

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 1:40 PM, Miller, Terion wrote: > > > > On 7/31/09 12:27 PM, "Bastien Koert" wrote: > > $letter = isset($_GET['letter']) ? $_GET['letter'] :""; > >  echo ''; > >  foreach(range('A',&#x

Re: [PHP] ForEach Range Problems

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 12:53 PM, Miller, Terion wrote: > > > > > I have this script that works, just a couple tweeks needed... > > 1. I don't want it to default to A being selected > 2. I need the number range part to only display one # sign not 10 of them, > somehow I have to have it pull any rec

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 10:59 AM, Miller, Terion wrote: > > > > On 7/31/09 9:53 AM, "Bastien Koert" wrote: > > On Fri, Jul 31, 2009 at 10:28 AM, Miller, > Terion wrote: >> >> >> >> On 7/31/09 8:58 AM, "m0s" wrote: >> >

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 10:28 AM, Miller, Terion wrote: > > > > On 7/31/09 8:58 AM, "m0s" wrote: > > (!empty($row['notes']) && IsAlpha($row['notes'])) > > I tried that and this one: > > If (!empty($row['notes']) && ctype_alpha($row['notes'])) > > It didn't display the notes at all... > > And this

Re: [PHP] Argh Date problems

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 4:02 PM, Miller, Terion wrote: > Ok so I got the > $inDate = strtotime($results[3][$i]); > > Giving me the unix date now I am trying all the different date functions that > will put it in the -00-00 like sql stores it because I ran it with the > unix stamp and it just

Re: [PHP] Nitro PDF Form Element

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 3:31 PM, Dare Williams wrote: > Dear Forum, > > I have an already created PDF Document that has a Form Element in it that was > created with NITROPDF. But the problem is just that I need a way to pass > value or populate the Document Form Element with value store in a Sess

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 10:43 AM, Miller, Terion wrote: > > > > On 7/28/09 9:40 AM, "Bastien Koert" wrote: > > On Tue, Jul 28, 2009 at 10:34 AM, Bob McConnell wrote: >> From: Miller, Terion >> On 7/28/09 8:35 AM, "Ashley Sheridan" wrote: >>

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 10:40 AM, Miller, Terion wrote: > > > > <,snip> >> > > You can also do this right within MySQL without needing to create a > variable.  This should work: > $sql = "SELECT DISTINCT restaurants.ID, name, address, inDate FROM > restaurants, inspections WHERE restaurants.name !=

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 10:34 AM, Bob McConnell wrote: > From: Miller, Terion > On 7/28/09 8:35 AM, "Ashley Sheridan" wrote: > >> $pastDays = strtotime("-30 days"); >> $date = date("d/m/y", $pastDays); >> >> Well I tried and got no results from my query and I know there >> results with date ranges

Re: [PHP] Multiple MySQL Queries

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 10:11 AM, wrote: >        This may be more of a MySQL question than PHP, but I'm hoping someone > can point me in the right direction.  I have working code (below) that pulls > data from a particular category in our db.  I'd like to be able to pull data > from multiple cate

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Bastien Koert
On Tue, Jul 28, 2009 at 9:46 AM, Miller, Terion wrote: > > > > On 7/28/09 8:44 AM, "Ashley Sheridan" wrote: > > On Tue, 2009-07-28 at 09:42 -0400, Miller, Terion wrote: >> >> >> On 7/28/09 8:35 AM, "Ashley Sheridan" wrote: >> >> $pastDays = strtotime("-30 days"); >> $date = date("d/m/y", $pastDay

Re: [PHP] newbie: problem with $_Post[]

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:31 PM, A.a.k wrote: > Hello > I have a very simple test form named "pass.php"  : > > > username : > password : > > > > $user=$_POST['user']; > $pass=$_POST['pass']; > if(($user=="myname")&&($pass="mypass")) > echo "access granted"; > else > echo "access denied"; >

Re: [PHP] Single Quotes in Form Inputs

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 12:41 PM, Mari Masuda wrote: > You need to sanitize and escape the input before inserting it into the db. >  You can use http://us.php.net/mysql_real_escape_string to escape the input. > > On Jul 27, 2009, at 09:35, Ben Miller wrote: > >> Hi, >> >> >> >> I have a form in whi

Re: [PHP] How to pull window to the foreground - Window Focus

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 11:39 AM, WebPat wrote: > Andrew Ballard wrote: >> >> A lot of sites are moving to simulated dialog windows inside the page. >> They have a few nice benefits: >> >> 1) Since they aren't real windows, they do not interfere with other >> tabs or windows you have open in your b

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 11:25 AM, Shawn McKenzie wrote: > Miller, Terion wrote: >> >> >> On 7/27/09 9:40 AM, "Jim Lucas" wrote: >> >> Miller, Terion wrote: >>> I want to store only 1000 records at a time in the session variable thought >>> I could use a range(1,1000 >>> >>> How would you do t

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:54 AM, Miller, Terion wrote: > > > > =snipped >> > > I would page the data with the LIMIT call as Jim suggested. What is > the user doing with 1K records and how are they getting 1K records? > > -- > > Bastien > > Cat, the other other white meat > > > Here is a li

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
hings, like > trying to save instead of open > And boss thinks it's the server strain and we need ranged sessions...would my > thinking on using the foreach(range work though? > > > > On 7/27/09 9:34 AM, "Bastien Koert" wrote: > > On Mon, Jul 27, 2009 at 10:3

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:30 AM, Miller, Terion wrote: > I want to store only 1000 records at a time in the session variable thought I > could use a range(1,1000 > > How would you do this, store the first 1000 , then the second on refresh etc > > My snippet so far > > ---

Re: [PHP] How to pull window to the foreground - Window Focus

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 8:31 AM, WebPat wrote: > I have a web page with a button that displays additional information for the > user. It does a Window.Open to create a "popup" window, then populates it. > > If the user goes back to the web page without closing the window, it often > goes behind the

Re: [PHP] How to build an FF extension

2009-07-23 Thread Bastien Koert
On Thu, Jul 23, 2009 at 10:21 AM, Kyle Smith wrote: > Robert Cummings wrote: >> >> Ashley Sheridan wrote: >> > >>> >>> Wikipedia can hardly be accounted an official source of anything, >>> especially considering how it gets the content! If you want official, >>> then http://www.mozilla.com/en-US/fi

Re: [PHP] How to build an FF extension

2009-07-23 Thread Bastien Koert
Go to the ff site and read the docs bastien On Wednesday, July 22, 2009, Javed Khan wrote: > How to build an FF extension and how to install it. I'm using Fedora 10 > operating system. > Can someone please provide me with the steps > Thanks > J.K > > > -- Bastien Cat, the other other white

Re: [PHP] Client Side PHP

2009-07-22 Thread Bastien Koert
On Wed, Jul 22, 2009 at 1:56 PM, Javed Khan wrote: > I need help on my project I want to have my browser do compling of PHP > scripts. Can someone please send me some concepts and if possible codes to do > this. I know this aspect will pose great security threat to the server and > client but I

Re: [PHP] Session Confusion.

2009-07-22 Thread Bastien Koert
On Wed, Jul 22, 2009 at 1:19 PM, Dare Williams wrote: > Dear Forums, > > Kindly advice me professionally because, am getting more confused on what to > do about my application that needed to be online very soon. > > The fear is about Session and Authentication. > > Here are my questions. > 1.   Mu

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Bastien Koert
On Mon, Jul 20, 2009 at 4:47 PM, Chris Payne wrote: >> Really? This is an actual problem for you? It sounds too me that you have a >> malicious user on your server and if so, fire them. If you suspect you've >> been hacked from externally, then I would format and re-install -- or use a >> backup fr

Re: [PHP] pre-screening pages before served?

2009-07-20 Thread Bastien Koert
On Mon, Jul 20, 2009 at 4:25 PM, Daevid Vincent wrote: > > >> -Original Message- >> From: oxygene...@gmail.com [mailto:oxygene...@gmail.com] On >> Behalf Of Chris Payne >> Sent: Monday, July 20, 2009 12:58 PM >> To: php-general@lists.php.net >> Subject: Re: [PHP] pre-screening pages before

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim wrote: > > On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: > >> On Fri, Jul 17, 2009 at 11:51 AM, tedd wrote: >>> >>> At 11:12 AM -0400 7/17/09, Jason Pruim wrote: >>>> >>>> Hi everyone! >&g

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 11:51 AM, tedd wrote: > At 11:12 AM -0400 7/17/09, Jason Pruim wrote: >> >> Hi everyone! >> >> So some of you may have noticed that I have been away for quite awhile... >> Been trying to get settled (Moved across the country) and getting a job. >> >> And now that that is don

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 11:12 AM, Jason Pruim wrote: > Hi everyone! > > So some of you may have noticed that I have been away for quite awhile... > Been trying to get settled (Moved across the country) and getting a job. > > And now that that is done I have a question about a project that I might b

Re: [PHP] Characters causing problems in search strings?

2009-07-17 Thread Bastien Koert
On Thu, Jul 16, 2009 at 5:40 PM, Miller, Terion wrote: > My little browse /search restaurant project is coming along, but I just > noticed that any restaurant with a &, () or # in the name like say for > example Arby's Store #12 ...will not return results... Yet if a name has a / > or a - it's not

Re: [PHP] Syntax Snag need extra eyes

2009-07-16 Thread Bastien Koert
On Thu, Jul 16, 2009 at 12:43 PM, Andrew Ballard wrote: > On Thu, Jul 16, 2009 at 12:35 PM, Jim Lucas wrote: >> >> Andrew Ballard wrote: >> > On Thu, Jul 16, 2009 at 12:25 PM, Jim Lucas wrote: > [snip] >> >> Also, this is the wrong way to use printf().  Please go read the manual >> >> page for th

Re: [PHP] MySql Injection advice

2009-07-13 Thread Bastien Koert
On Mon, Jul 13, 2009 at 5:52 PM, Ashley Sheridan wrote: > On Mon, 2009-07-13 at 16:30 -0400, Bastien Koert wrote: >> On Mon, Jul 13, 2009 at 4:18 PM, Haig Dedeyan wrote: >> > On July 13, 2009 09:48:54 am Haig Dedeyan wrote: >> >> On Monday 13 July 2009 14:31:09 tedd w

Re: [PHP] MySql Injection advice

2009-07-13 Thread Bastien Koert
On Mon, Jul 13, 2009 at 4:18 PM, Haig Dedeyan wrote: > On July 13, 2009 09:48:54 am Haig Dedeyan wrote: >> On Monday 13 July 2009 14:31:09 tedd wrote: >> > At 3:53 PM -0400 7/12/09, Paul M Foster wrote: >> > >On Sun, Jul 12, 2009 at 09:07:45AM -0400, tedd wrote: >> > > >> > > >> > > >> > >>  As for

Re: [PHP] PHP not running properly

2009-07-10 Thread Bastien Koert
On Fri, Jul 10, 2009 at 4:17 PM, Daniel Brown wrote: > On Fri, Jul 10, 2009 at 15:44, Togrul > Mamedbekov wrote: >> Hello Sir or Madam, >> >> We just updated our PHP 5.2 software. And when I try to run the php info >> script! I get a blank screen! > >    What do you see when you view the source of

Re: [PHP] mysql cache query as xml

2009-07-10 Thread Bastien Koert
On Fri, Jul 10, 2009 at 1:23 PM, workerho...@studysite.eu wrote: > hmm, the infrastructure ist good, this is just this query > so to solve my problem i could run mysql on the application server and store > just this table > and read the query from them, it could solve my problem litte, i hope s

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 4:13 PM, Tony Marston wrote: > > >        My sincerest apologies.  I have been a complete jackass this entire > time and every single one of you has been correct.  From this point > forward I vow to keep my God damned mouth shut unless spoken to. > >        You see, I have be

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 9:54 AM, Tony Marston wrote: > > "Bastien Koert" wrote in message > news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... > On Thu, Jul 9, 2009 at 8:54 AM, Tony > Marston wrote: >> >> "Stuart" wrote in message &g

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 8:54 AM, Tony Marston wrote: > > "Stuart" wrote in message > news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... > 2009/7/9 Tony Marston : > >> I thought of a better analogy. You ever been on the London >> Underground? There's a rule that says you stand on t

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Bastien Koert
On Wed, Jul 8, 2009 at 12:50 PM, Daniel Brown wrote: > On Wed, Jul 8, 2009 at 12:38, Tony Marston > wrote: >> What rules? I never agreed to abide by any rules before I started posting to >> this group. My newsreader assumes top posting by default, so I have been top >> posting for the past 10 year

Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-06 Thread Bastien Koert
Try xamp or one of the preconfigured packages bastien On Sunday, July 5, 2009, wrote: > Hello, > > My name ich Chantale, I am 15years old and in a german Lycee. I like to study > Informatic in two years and now try to code my first applications. I am new > to php and like to code my own Intra

Re: [PHP] exasperated again - shot in the foot

2009-06-30 Thread Bastien Koert
On Tue, Jun 30, 2009 at 4:48 PM, PJ wrote: > PJ wrote: >> Could somebody please explain to me what is wrong with this code? >> In my script it works, returns the correct id, but when I try it in a >> test pages, nothing in the world gets it to work. This is rather >> frustrating, again: >> THIS WOR

Re: [PHP] Compare and inserting with php

2009-06-30 Thread Bastien Koert
On Tue, Jun 30, 2009 at 12:09 PM, Miller, Terion wrote: > > > > On 6/30/09 10:40 AM, "Bastien Koert" wrote: > > On Tue, Jun 30, 2009 at 11:17 AM, Ashley > Sheridan wrote: >> On Tuesday 30 June 2009 15:42:01 Miller, Terion wrote: >>> Okay, what I am

Re: [PHP] Compare and inserting with php

2009-06-30 Thread Bastien Koert
On Tue, Jun 30, 2009 at 11:17 AM, Ashley Sheridan wrote: > On Tuesday 30 June 2009 15:42:01 Miller, Terion wrote: >> Okay, what I am trying to do is this: >> >> I have a db full of inspections, daily I need to run a script that will >> grab the posting of inspections, check them against the db to m

Re: [PHP] Best way to reinstate radio-button states from database?

2009-06-28 Thread Bastien Koert
On Sun, Jun 28, 2009 at 7:12 PM, Rob Gould wrote: > I have a webpage which allows people to log in and make selections with > radio buttons and hit SUBMIT and saves the data from those radio buttons to > a mySQL database. > > However, I'm finding that I also need the ability to allow a user to log

Re: [PHP] mysql_query blocking

2009-06-27 Thread Bastien Koert
On Saturday, June 27, 2009, Bastien Koert wrote: > Why issue/do a lock at all? Shouldn't need a large lock at read > > bastien > > On Saturday, June 27, 2009, Daniel Kolbo wrote >> Ashley Sheridan wrote: >>> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolb

Re: [PHP] mysql_query blocking

2009-06-27 Thread Bastien Koert
Why issue/do a lock at all? Shouldn't need a large lock at read bastien On Saturday, June 27, 2009, Daniel Kolbo wrote: > Ashley Sheridan wrote: >> On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote: >>> Ashley Sheridan wrote: On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote: >

Re: [PHP] information feed

2009-06-27 Thread Bastien Koert
On Sat, Jun 27, 2009 at 10:28 AM, Ashley Sheridan wrote: > On Sat, 2009-06-27 at 15:21 +0200, madunix wrote: >> I am running several web servers (Linux/Apache/PHP/MySQL) with  alot of >> statistical data, I got multiple request from different providers >> they asked us to implement a mechanism thro

<    1   2   3   4   5   6   >