Re: [PHP] any https / php gotchas ???

2005-12-30 Thread Colin Ross
this all depends on the web server (IIS/Apache) being used... On 12/26/05, Curt Zirzow <[EMAIL PROTECTED]> wrote: > > On Mon, Dec 26, 2005 at 07:42:48AM +, Dave Carrera wrote: > > Hi List, > > > > Are there any https / php gotchas to take into consideration for an app > > i am writing that wil

Re: [PHP] Web Service Php - Currency Conversion

2005-11-27 Thread Colin Ross
New version released that fixed the bug, fyi On 9/28/05, Thomas <[EMAIL PROTECTED]> wrote: > > I have used nusoap and a xmethods service. You can get the ziped files > here: > http://www.thomash.co.za/uploads/forex/forex.nusoap.zip > > Hope that helps > > BTW: also had issues with the PEAR package

Re: [PHP] Re: x years old

2005-07-02 Thread Colin Ross
and for completeness of the topic, ceil() will round fractions up. i.e. ceil(16.1) = 17 ceil(16.0) = 16 I think the Credit Card Industry using ceil() alot ;P On 7/2/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > > Ryan A wrote: > > Hey guys, > > This is the code I am using to

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Colin Ross
I don't think a lot of people think tat PEAR sucks, we are all, as a community, just looking for ways to make it better. C On 6/25/05, Chris Shiflett <[EMAIL PROTECTED]> wrote: > > Matthew Weier O'Phinney wrote: > > The perl culture is one that includes testing and documentation as > > the norm

Re: [PHP] php - jscript - onclick event..

2005-06-22 Thread Colin Ross
First of all, I _think_ this is more of a javascript/jscript question than a php one. Are you just trying to make a javascript call from php onload? If so, i'm pretty sure you can use window.onLoad in a script block in the head. Also, be sure to set your scripting type in the onclick. i.e. onc

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-12 Thread Colin Ross
h, so maybe it's just me... > > PS Got no idea what ob_start() does to buffer your output... Wild Guess is > it just uses RAM, and if your HTML is too big to fit in RAM/swap, you are > screwed. > > On Wed, May 11, 2005 3:14 pm, Colin Ross said: > > at this point,

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Colin Ross
s kinda info in the same style that it saves session data (under /tmp) by default, one of the main reasons why session data should not be concidered all too secure Colin On 5/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Wed, May 11, 2005 10:02 am, Colin Ross said: &

[PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Colin Ross
I am working on a bit of code for credit-card processing, so please keep in mind, security of the data is essential.. On part of it i wish to use a buffer, but i wonder if that data is saved anywhere on the running system (as a temp file, etc), or is it just held in the system's memory? My conce

Re: [PHP] Error suppression operator (@)

2005-05-04 Thread Colin Ross
Pretty much the only time i use it is form processing... so i don't get a bunch of errors when someone doesn't fill out a (non-required) field.. Also i use it to prefill form data is i have a session running, ie. " /> like others have mentioned... if there is no value, the form is blank, otherw

Re: [PHP] sessions not being stored

2005-04-07 Thread Colin Ross
ser under which runs Apache > 2.0.48 > > --- On Thu 04/07, Colin Ross < [EMAIL PROTECTED] > wrote: > From: Colin Ross [mailto: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Thu, 7 Apr 2005 13:19:49 -0700 > Subject: Re: [PHP] sessions not being stored > > do

Re: [PHP] PHP 5 Status

2005-04-02 Thread Colin Ross
Now, as far as I know though, there are still issues with Apache 2 and PHP-libraries, correct? On Apr 2, 2005 11:38 PM, Colin Ross <[EMAIL PROTECTED]> wrote: > > ok, thanks for your input. > now to make a roll-out plan for upgrading... > Colin > > > On Apr 1,

Re: [PHP] PHP 5 Status

2005-04-02 Thread Colin Ross
ok, thanks for your input. now to make a roll-out plan for upgrading... Colin On Apr 1, 2005 1:17 PM, Jordi Canals <[EMAIL PROTECTED]> wrote: > > On Apr 1, 2005 8:30 PM, Colin Ross <[EMAIL PROTECTED]> wrote: > > > Is PHP 5 ready for production environments? Is it c

[PHP] PHP 5 Status

2005-04-01 Thread Colin Ross
Is PHP 5 ready for production environments? Is it concidered stable, or is it just a matter of going a while with no new bugs discovered to get to stable.. Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-29 Thread Colin Ross
i was thinkin in more general term too, what about: $data =& readfile($file); /// etc, etc, etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php + mysql: binary arrays

2005-03-29 Thread Colin Ross
oops.. how bout if i send it to the group too... > http://us4.php.net/manual/en/function.preg-split.php > > example for you: > > $groups = '0101000100101010001110010100111'; > $groups_array = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY); > print_r($groups_array); > $groups_as_string = implode

Re: [PHP] PHP CODE TO DISPLAY ISP

2005-03-29 Thread Colin Ross
and least we forgot about all the users coming from behind a proxy farm with a different ip for each request.. AOL C On Mon, 28 Mar 2005 12:28:32 -0700, Leif Gregory <[EMAIL PROTECTED]> wrote: > Hello jenny, > > Monday, March 28, 2005, 9:36:07 AM, you wrote: > j> i am making a website in php

Re: [PHP] Session data disappearing?

2005-03-29 Thread Colin Ross
In edit_schedule.phps: if (isset($_POST['add_available'])){ $year = $_POST['year']; $year = $year['NULL']; $month = $_POST['month']; $month = $month['NULL']; $day = $_POST['day']; $day = $day['NULL']; $time = $_POS

Re: [PHP] How to sort that array?

2005-03-29 Thread Colin Ross
What I did in a situation like this (much more complicated though, with nested select boxes in a form) was use a database, and then created a php-created javascript file. The javascript file was buffered, and then cached (saved to a file) with a timestamp... So, I can limit the amount of times the

Re: [PHP] Pagination

2005-03-25 Thread Colin Ross
watch out for SQL injection attacks on that one though: what if the 'user' went to "page.php?start=1;SELECT * from `mysql`; On Thu, 24 Mar 2005 22:55:01 +0100, pavel <[EMAIL PROTECTED]> wrote: > > I am wanting to paginate records from a MySQL Database. > > I want there to be 5 records on a page,

Re: [PHP] How can I destroy parameters by page

2005-03-25 Thread Colin Ross
on a side note, for devs, i don't really like how you can override the values of the $_GET (or $_POST) array, seems like it could be a security threat. Also, with that ability, you can never tell (especially if you are making a mod, etc for a larger system) if what your dealling with is the ACTUAL

[PHP] Regex

2005-03-20 Thread Colin Ross
I'm trying to compress down a php-powered javascript file. In the file i have php run a bunch of loops and foreaches to build huge nested arrays for use in the javascript. Since this will be an often loaded page with ALOT of backend processing, I've decided to compress the file as much as I can and