Re: [PHP] advice on how to build this array from an array.

2011-06-07 Thread Jim Lucas
v] => true )] ? > > hope this makes sense > > Adam > > > On 7 Jun 2011, at 22:25, Jasper Mulder wrote: > >> >> >>> From: a...@blueyonder.co.uk >>> Date: Tue, 7 Jun 2011 21:50:27 +0100 >>

Re: [PHP] advice on how to build this array from an array.

2011-06-07 Thread Adam Preece
e_cat_id] => 9 [main_nav] => true ) [1] => Array ( [name] => metric iso threads [id] => 29 [page_cat_id] => 9 [main_nav] => true )] ? hope this makes sense Adam On 7 Jun 2011, at 22:25, Jasper Mulder wrote: > > ------------ >> From:

RE: [PHP] advice on how to build this array from an array.

2011-06-07 Thread Jasper Mulder
> From: a...@blueyonder.co.uk > Date: Tue, 7 Jun 2011 21:50:27 +0100 > To: php-general@lists.php.net > Subject: [PHP] advice on how to build this array from an array. > > hi all, > > please forgive me if i do not make sense, il

[PHP] advice on how to build this array from an array.

2011-06-07 Thread Adam Preece
hi all, please forgive me if i do not make sense, ill try my best to explain. i have this array or arrays. Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] => 10 [main_nav] => true [cat_name] => material range ) Array ( [name] => standard stainless steels [id] => 31 [p

[PHP] Advice needed - general (GPS, databases, webs etc.)

2010-05-15 Thread SED
Hi, I'm in the search for resources for the next step in the information's age. I think smartphones with GPS and the internet will be THE BIG BUSINESS next years. Because this is hard business I'm not able to get overview and resources handly, except by selling my soul to the big companies.

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

2010-02-21 Thread Al
On 2/21/2010 9:11 AM, Kim Madsen wrote: Al wrote on 20/02/2010 19:30: I use Kim's solution and take it one step forward. Htacces files can get lost or corrupted, so No solution to that problem as I see it. In my config file I have the text string. I like the idea, but what if this fi

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

2010-02-21 Thread Kim Madsen
Al wrote on 20/02/2010 19:30: I use Kim's solution and take it one step forward. Htacces files can get lost or corrupted, so No solution to that problem as I see it. In my config file I have the text string. I like the idea, but what if this file is never accessed? -- Kind regards Kim

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

2010-02-20 Thread Al
I use Kim's solution and take it one step forward. Htacces files can get lost or corrupted, so In my config file I have the text string. //region htaccess file text // Code writes to /db folder; Admin mode checks file existence and text; replaces with this if different.

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

2010-02-20 Thread Nathan Rixham
Kim Madsen wrote: > Michael Stroh wrote on 19/02/2010 19:19: >> 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 >> /p

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

2010-02-20 Thread Kim Madsen
Michael Stroh wrote on 19/02/2010 19:19: 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/data2/item_2/data.txt s

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

2010-02-19 Thread Bob McConnell
From: Rene Veerman > the "proper way" i know of is not the easiest to implement..; > > 1) create a php script that accepts enough parameters to get at your data. > eg: /products/view.php?dataNr=1&itemNr=1 > 2) let that script compare the current user (visitor who's logged in) > to authentication

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

2010-02-19 Thread Rene Veerman
1 more thing: doing this right isn't easy. at all. it took me more than a year to "do it properly". you may wanna look around on sf.net for any package that can do this for you. On Fri, Feb 19, 2010 at 7:19 PM, Michael Stroh wrote: > I have a site I'm working on with some data that I want to be

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

2010-02-19 Thread Rene Veerman
As far as storing the files, use a seperate subdirectory called "rawData" or something, and place all your files in there, aim for 10 - 5000 files per directory, and keep it logical. But since you want to stop guessers from accessing it, use a randomID() function that you create to generate a rando

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

2010-02-19 Thread Rene Veerman
the "proper way" i know of is not the easiest to implement..; 1) create a php script that accepts enough parameters to get at your data. eg: /products/view.php?dataNr=1&itemNr=1 2) let that script compare the current user (visitor who's logged in) to authentication data that tells which it if the

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

[PHP] Advice on maintaining public and private files

2010-02-19 Thread Michael Stroh
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/data2/item_2/data.txt I would like everything in data1 to be availab

[PHP] advice on setting up new site

2009-11-11 Thread PJ
Hi guys, I've already posted on FreeBSD and didn't want to ignore you, so here goes: I appreciate the help you have given me in the past and present... I am not competent to handle the project we are embarking on, so let me ask (offer ?) it here: We're about to start new enterprise in the food serv

Re: [PHP] Advice wanted

2009-02-16 Thread Ashley Sheridan
On Mon, 2009-02-16 at 10:53 -0500, Payne wrote: > Hi, > > I am wanting to ask some advice on project I have in mind, but I am > having problems finding examples. What I am working on is a set of tools > that creates reports based on actions. I have the reports working good, > but what I advice

[PHP] Advice wanted

2009-02-16 Thread Payne
Hi, I am wanting to ask some advice on project I have in mind, but I am having problems finding examples. What I am working on is a set of tools that creates reports based on actions. I have the reports working good, but what I advice on is this. I like to create a page that shows a calendar.

Re: [PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
What do you want to implement as a radar chart? Nothing in particular. Just a generic radar chart for representing data. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Advice on a radar chart

2008-07-15 Thread tedd
At 8:26 PM +0100 7/15/08, Richard Heyes wrote: If you are willing to use googles chart api .. http://code.google.com/apis/chart/#radar Nope. It's not something I need to implement, mmore a personal (albeit with this lists help) project. -- Richard Heyes Richard: What do you want to imple

Re: [PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
If you are willing to use googles chart api .. http://code.google.com/apis/chart/#radar Nope. It's not something I need to implement, mmore a personal (albeit with this lists help) project. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Advice on a radar chart

2008-07-15 Thread Bernhard Kohl
If you are willing to use googles chart api .. http://code.google.com/apis/chart/#radar Yeti On Tue, Jul 15, 2008 at 11:35 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > Hey, > > Can anyone suggest an efficient method for plotting the marks on a radar > chart? I have the background done ( > htt

[PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
Hey, Can anyone suggest an efficient method for plotting the marks on a radar chart? I have the background done (http://www.phpguru.org/downloads/HTML5_radar/ - FF required), but that not exactly difficult. Cheers. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Maili

Re: [PHP] Advice with some code

2007-12-10 Thread Jochem Maas
Steve Finkelstein wrote: > Hi all, > > I'm having a brain freeze with some simple code that I wrote and now trying > to refactor. > > I have a block of code that looks like this: > > public function backup() public function backup(&$errors) > { > $fname = "$this->dbName.sql

Re: [PHP] Advice with some code

2007-12-10 Thread Robert Cummings
On Mon, 2007-12-10 at 18:25 -0500, Steve Finkelstein wrote: > Hi all, > > I'm having a brain freeze with some simple code that I wrote and now trying > to refactor. > > I have a block of code that looks like this: > > public function backup() > { > $fname = "$this->dbName.sql

[PHP] Advice with some code

2007-12-10 Thread Steve Finkelstein
Hi all, I'm having a brain freeze with some simple code that I wrote and now trying to refactor. I have a block of code that looks like this: public function backup() { $fname = "$this->dbName.sql.$this->zip"; $this->cmd = "mysqldump -Q -u $this->dbUser -p$this->db

Re: [PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread Dotan Cohen
On 14/11/2007, Larry Garfield <[EMAIL PROTECTED]> wrote: > I have some more benchmarks for your list if you're interested: > > http://www.garfieldtech.com/blog/magic-benchmarks > Thanks, there is some food for though there. I'll also benchmark some of them and see what I come up with. Dotan Cohen

Re: [PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread Larry Garfield
I have some more benchmarks for your list if you're interested: http://www.garfieldtech.com/blog/magic-benchmarks On Tuesday 13 November 2007, mike wrote: > On 11/13/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: > > I came across this page today: > > http://reinholdweber.com/?p=3 > > > > It covers a

Re: [PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread mike
On 11/13/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: > I came across this page today: > http://reinholdweber.com/?p=3 > > It covers a lot of flammable material (echo vs. print) but I wonder > how valid some of the advice is. Can anyone elaborate? Thanks. funny you should post this, I've recently be

Re: [PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread Robert Cummings
On Tue, 2007-11-13 at 23:37 +0200, Dotan Cohen wrote: > I came across this page today: > http://reinholdweber.com/?p=3 > > It covers a lot of flammable material (echo vs. print) but I wonder > how valid some of the advice is. Can anyone elaborate? Thanks. Some of it is definitely useful individua

[PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread Dotan Cohen
I came across this page today: http://reinholdweber.com/?p=3 It covers a lot of flammable material (echo vs. print) but I wonder how valid some of the advice is. Can anyone elaborate? Thanks. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ

Re: [PHP] advice on sql injection/XSS prevention

2007-04-10 Thread Richard Lynch
If you know you are using MySQL, you could pass all database input through mysql_real_escape_string. Or you could use prepared statements and not have to worry about escaping the data, as MySQL *knows* it's data. You'll probably not be able to defeat XSS in any meaningful way, however... Perhap

Re: [PHP] advice on sql injection/XSS prevention

2007-04-06 Thread Jordan Forssman
little effort -- no installation required. From: Zoltán Németh <[EMAIL PROTECTED]> To: Bing Du <[EMAIL PROTECTED]> CC: php-general@lists.php.net Subject: Re: [PHP] advice on sql injection/XSS prevention Date: Thu, 05 Apr 2007 16:23:23 +0200 I think it is generally a Bad Idea to allow

Re: [PHP] advice on sql injection/XSS prevention

2007-04-05 Thread Zoltán Németh
I think it is generally a Bad Idea to allow users to submit code into your system... you would be better off if you would provide some pseudo-coding possibilities which would allow them to insert certain functionalities into their content - with you providing the real code running behind and replac

[PHP] advice on sql injection/XSS prevention

2007-04-05 Thread Bing Du
Hi, I'm not an experienced PHP developer. We're hosting a content management system that allow authorized people to add PHP contents. Their PHP coding levels varies. Some are very security sensitive, but some are not. I want to know if PHP has any ready-to-use funtion to validate form input to

Re: [PHP] Advice needed: implementing custom fields in tables

2006-12-15 Thread Richard Lynch
On Tue, December 12, 2006 8:23 am, Denis Gerasimov wrote: > I am in a need of implementing custom/used-defined fields mechanism. > What I > need is adding new fileds to a db table on-the-fly. > > There are 2 possible options I know: > > 1. Add a fixed set of text columns named custom_01, cust

Re: [PHP] Advice needed: implementing custom fields in tables

2006-12-12 Thread Jochem Maas
Denis Gerasimov wrote: > Hello list members, > > > > I am in a need of implementing custom/used-defined fields mechanism. What I > need is adding new fileds to a db table on-the-fly. > > > > There are 2 possible options I know: > > 1. Add a fixed set of text columns named custom_01,

[PHP] Advice needed: implementing custom fields in tables

2006-12-12 Thread Denis Gerasimov
Hello list members, I am in a need of implementing custom/used-defined fields mechanism. What I need is adding new fileds to a db table on-the-fly. There are 2 possible options I know: 1. Add a fixed set of text columns named custom_01, custom_02, etc. 2. Alter db tables dynam

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-23 Thread Robert Cummings
On Thu, 2006-03-23 at 21:30, Richard Lynch wrote: > Are you using http://php.net/fgetcsv > > Cuz if you're not, you're gonna go nuts trying to work out the CSV > minutia > > I think CSV musta been invented by Microsoft. It's got that MS feel > to it... Taint anyways... http://support.microsoft

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-23 Thread Richard Lynch
Are you using http://php.net/fgetcsv Cuz if you're not, you're gonna go nuts trying to work out the CSV minutia I think CSV musta been invented by Microsoft. It's got that MS feel to it... On Tue, March 21, 2006 4:19 pm, Brian Anderson wrote: > The only other thing that I can think to do is t

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-23 Thread Richard Lynch
You don't. You run PHP on the Windows box with the mdb file, and set up a way for the two boxes to talk to each other. Or you convince somebody somewhere just how bad MS-Access is and abandon it entirely :-) On Tue, March 21, 2006 4:05 pm, Brian Anderson wrote: > Yeah, I thought of that, but h

RE: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-23 Thread Richard Lynch
There is, or used to be, an MS-Access MySQL synchronizer package "out there" Haven't seen it mentioned in years now, but maybe I just wasn't paying attention. Try searching for it: info.com/MS-Access MySQL synchronize On Tue, March 21, 2006 4:00 pm, Brady Mitchell wrote: >> -Original Messag

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Chris
Brian Anderson wrote: Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have odbc installed? Convert it: Search google for "convert access to mysql" and you'll find tons of results - some free, some not. -Original Message- I wonder if anyo

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
The only other thing that I can think to do is to try locally write a .sql file and ftp that for updating because MS Excel format csv is making me want to kill myself. -Brian Brian Anderson wrote: Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have odbc installed? Brady Mitchell wrote: -Original Message- I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a pe

RE: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brady Mitchell
> -Original Message- > I wonder if anyone has any ideas? As I can't just run an > update locally > and connect to the remote MySQL host, I was scheduling a > periodic export > of an access table to csv format, ftping it to the server, and then > running an update script on the remote h

[PHP] Advice updating MS Access data to remote MySQL host that only allows local access

2006-03-21 Thread Brian Anderson
I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a periodic export of an access table to csv format, ftping it to the server, and then running an update script on the remote host (simplehost.com). It just seems convol

Re: [PHP] Command Line PHP Advice

2006-01-29 Thread Nirmalya Lahiri
Angelo, I am very happy after knowing that it is working. :) --Nirmalya Angelo Christou <[EMAIL PROTECTED]> wrote: Hello Nirmalya, Thank you for your response. With the help of your reply, I've now got it working! :) Ang. Nirmalya Lahiri <[EMAIL PROTECTED]> wrote: Hi, you can do th

Re: [PHP] Command Line PHP Advice

2006-01-29 Thread Nirmalya Lahiri
Hi, you can do this by using unix command 'for'. Please apply the command written below & reply me your experiment result. for filename in `ls *.txt`;do ./edit.php $filename var1 var2;done --Nirmalya Angelo Christou <[EMAIL PROTECTED]> wrote: Hello List I would like some advice from PHP us

Re: [PHP] Command Line PHP Advice

2006-01-28 Thread Chris
Angelo Christou wrote: I read that it's better to split scripts up into small reusable parts so my plan is to keep the logic out of the edit.php script and simply pass the variables to it using another script. Am I on the right path doing this? That is a good ideology, but whether it's bes

[PHP] Command Line PHP Advice

2006-01-28 Thread Angelo Christou
Hello List I would like some advice from PHP users regarding PHP and the command line. I have a PHP script that does a whole bunch of stuff to a file on my intranet. ./edit.php filename var1 var2 Everything works fine but I need to run it on a list of files - ./edit.php invoice00212.txt var1

Re: [PHP] Advice Needed for Klorofil Open Source PHP Platform

2005-11-28 Thread Ahmed Saad
On 11/28/05, Reza Iqbal <[EMAIL PROTECTED]> wrote: > As a new open source project, we will need many advice in order > to make it success. ah an "open source" project with "encoded source code"?! how come? -ahmed

[PHP] Advice Needed for Klorofil Open Source PHP Platform

2005-11-28 Thread Reza Iqbal
Hi, I would like to give information about a new open source project named as Klorofil Collaboration Project (http://www.klorofil.org). As a new open source project, we will need many advice in order to make it success. Currently, in Klorofil Collaboration Project, we develop Klorofil Platform.

Re: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread John Nichel
George Pitcher wrote: John, Thanks for the input. I just knew I hadn't covered everything. My server is currently set up as NT4/IIS. I suppose I could look to switching to Apache though. Cheers George I really don't know the Windows world, but there _may_ be a way to set up include paths g

RE: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
Mark, Thanks, I'll follow that up as well. I don't have to do this straight away. Cheers George > -Original Message- > From: Mark Rees [mailto:[EMAIL PROTECTED] > Sent: 16 August 2005 3:33 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Advice sough

Re: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread Mark Rees
; > From: John Nichel [mailto:[EMAIL PROTECTED] > > Sent: 16 August 2005 2:25 pm > > To: php-general@lists.php.net > > Subject: Re: [PHP] Advice sought on PHP site maintenance > > > > > > George Pitcher wrote: > > > Hi, > > > > > > I

RE: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
5 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Advice sought on PHP site maintenance > > > George Pitcher wrote: > > Hi, > > > > I manage several sites for my company. Some are running our own > service to > > about 80 customers and others are

Re: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread John Nichel
George Pitcher wrote: Hi, I manage several sites for my company. Some are running our own service to about 80 customers and others are running a service for some (5 and growing) of our customers. Its the latter one that I need advice on. I have an application where each customer has a website o

[PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
Hi, I manage several sites for my company. Some are running our own service to about 80 customers and others are running a service for some (5 and growing) of our customers. Its the latter one that I need advice on. I have an application where each customer has a website on our service. The funct

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-14 Thread Richard Lynch
Alp wrote: > I would like to be able to alter the lining-up of several sections on a > php > generated webpage. What would be the best/optimal approach in achieving > that? > > As an example "sections" referred to are mostly tables generated via code > on > data obtained from a DB. Should I name th

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-14 Thread Burhan Khalid
Alp wrote: Thanks Burhan, That's almost what I exactly want to do. The question is "how do I start doing that" which methodlogy, which structure, etc,,, The first step would be to store the weight value in your database (or wherever) and link it to your modules (or content) that you want ordered.

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-13 Thread Alp
Thanks Burhan, That's almost what I exactly want to do. The question is "how do I start doing that" which methodlogy, which structure, etc,,, Alp "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alp wrote: > > Hi Jochem, > > > > Intention is to give a user the option

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Burhan Khalid
Alp wrote: Hi Jochem, Intention is to give a user the option of assigning "position" of a "section" on the page, i.e: First: sectA, then sectC, then sectE, then sectB and sectD or any other order that is indicated by the user. So it is somewhat like top-of-page, mid-of-page etc but with a numbe

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Alp
Hi Jochem, Intention is to give a user the option of assigning "position" of a "section" on the page, i.e: First: sectA, then sectC, then sectE, then sectB and sectD or any other order that is indicated by the user. So it is somewhat like top-of-page, mid-of-page etc but with a numbering/prece

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Jochem Maas
Alp wrote: ... I would like to be able to alter the lining-up of several sections on a php generated webpage. What would be the best/optimal approach in achieving that? As an example "sections" referred to are mostly tables generated via code on data obtained from a DB. Should I name them (somehow)

[PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Alp
Hi Experts, I would like to be able to alter the lining-up of several sections on a php generated webpage. What would be the best/optimal approach in achieving that? As an example "sections" referred to are mostly tables generated via code on data obtained from a DB. Should I name them (somehow),

Re: [PHP] Advice for Experienced web developer newish to PHP

2005-01-09 Thread tr
Justin wrote / napísal (a): Hi all, I'm a experienced web programmer, that is taking on a PHP project. I'm really looking to get the tricks and tips that come with experience, the lazy way :-) Project Overview Its basically a corporate info website, with an admin section to add/change content. It

[PHP] Advice for Experienced web developer newish to PHP

2005-01-09 Thread Justin
Hi all, I'm a experienced web programmer, that is taking on a PHP project. I'm really looking to get the tricks and tips that come with experience, the lazy way :-) Project Overview Its basically a corporate info website, with an admin section to add/change content. It will have several top level s

Re: [PHP] Advice on imagecreatefrom

2004-11-03 Thread Jason Wong
On Thursday 04 November 2004 00:33, Daniel Lahey wrote: > I've encountered the same bug that others have in regards to failure of > the imagecreatefromjpeg(), imagecreatefrompng(), and > imagecreatefromgif() functions when running under IE. I find it hard to believe that your choice of browser a

[PHP] Advice on imagecreatefrom

2004-11-03 Thread Daniel Lahey
I've encountered the same bug that others have in regards to failure of the imagecreatefromjpeg(), imagecreatefrompng(), and imagecreatefromgif() functions when running under IE. I found a report stating that the functions don't work in IE for PHP versions prior to 4.3.0, however this is occur

RE: [PHP] Advice Needed

2004-02-20 Thread electroteque
] Subject: Re: [PHP] Advice Needed Hello daniel, Friday, February 20, 2004, 6:10:28 AM, you wrote: deo> Hi there, i have finally built a project space for work, its a collaborate deo> space for storing important key documents (not public), what is the best deo> way to store these, outsid

Re: [PHP] Advice Needed

2004-02-20 Thread Richard Davey
Hello daniel, Friday, February 20, 2004, 6:10:28 AM, you wrote: deo> Hi there, i have finally built a project space for work, its a collaborate deo> space for storing important key documents (not public), what is the best deo> way to store these, outside the web directory or would it be safe with

[PHP] Advice Needed

2004-02-19 Thread daniel
Hi there, i have finally built a project space for work, its a collaborate space for storing important key documents (not public), what is the best way to store these, outside the web directory or would it be safe within a htaccess protected directory ? Being that to access that directory i would h

Re: [PHP] Advice: GET vs. POST vs. SESSION

2003-11-23 Thread Robert Cummings
On Sun, 2003-11-23 at 14:27, Jed R. Brubaker wrote: > I was hoping that some of you would be able to give me some advice. > > I have started creating a web application that makes heavy use of URL GET > variables in order to solve a problem that I have had with POST in the > past - namely, having

[PHP] Advice: GET vs. POST vs. SESSION

2003-11-23 Thread Jed R. Brubaker
I was hoping that some of you would be able to give me some advice. I have started creating a web application that makes heavy use of URL GET variables in order to solve a problem that I have had with POST in the past - namely, having to refresh the document and repost the variables when you use

[PHP] Replicate MSAcces form with sub-forms to PHP? Advice needed.

2003-06-10 Thread Apollo (Carmel Entertainment)
I am trying to convert MSAccess form (that have sub-forms) to PHP and can't seem to figure out a solution. Anyone done anything like this before, the sub-queries/sub-forms with PHP? Any examples? Apolinaras "Apollo" Sinkevicius Carmel Music & Entertainment, LLC web-site: http://carmelme.com _

Re: [PHP] Advice on script length please!

2003-06-06 Thread Wendell Brown
On Thu, 5 Jun 2003 10:25:01 +0100, Bix wrote: >My file is currently 1200 lines long and consist of 450 lines of case >statements and then the rest are functions. Obviously there are ways to optimize the code for speed. However, as with many optimizations, there are trade offs... One way to do a

RE: [PHP] Advice on script length please!

2003-06-05 Thread Jay Blanchard
[snip] include("common_functions.php"); switch($action) case "do this": include("do_this_funcs.php"); . function(s) called break; case "do that": include("do_that_funcs.php"); .

RE: [PHP] Advice on script length please!

2003-06-05 Thread Ford, Mike [LSS]
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: 05 June 2003 13:36 > > [snip] > > If I did this, would it make a huge amount of difference? > > I'm almost certain it WOULD make a difference, but apart from the > execution time, I can't think of anything worse

RE: [PHP] Advice on script length please!

2003-06-05 Thread Jay Blanchard
[snip] On a similar note, does php 'look at' all the functions even if not used? I can understand it reads them, but does it involve any parsing time? [/snip] http://us3.php.net/manual/en/function.include.php has a wealth of information, including important notes about security of included files.

Re: [PHP] Advice on script length please!

2003-06-05 Thread Bix
On a similar note, does php 'look at' all the functions even if not used? I can understand it reads them, but does it involve any parsing time? Bix. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] > If I did this, would it make a huge amount of difference? I'm

RE: [PHP] Advice on script length please!

2003-06-05 Thread Jay Blanchard
[snip] > If I did this, would it make a huge amount of difference? I'm almost certain it WOULD make a difference, but apart from the execution time, I can't think of anything worse than scrolling through 2000 lines of code looking for the section I'm after. Or, even if *I* could find my way aroun

Re: [PHP] Advice on script length please!

2003-06-05 Thread Justin French
on 05/06/03 7:25 PM, Bix ([EMAIL PROTECTED]) wrote: > If I did this, would it make a huge amount of difference? I'm almost certain it WOULD make a difference, but apart from the execution time, I can't think of anything worse than scrolling through 2000 lines of code looking for the section I'm a

[PHP] Advice on script length please!

2003-06-05 Thread Bix
I am developing a cms with multiple zones and user management etc My file is currently 1200 lines long and consist of 450 lines of case statements and then the rest are functions. I'm getting parse times from 0.2 to 0.8 seconds for the different pages depending on complexity. The script is d

Re: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Justin French
Right, well there's a few issues here. 1. You're asking if there's a way to parse a QXD file so retrieve the text from it. I doubt this can be done. I had a quick google for it, to no luck. I also bothered to open up a Quark 3.32 file in my text editor, to check out the source. It looks prett

RE: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Victor Stan
D do. - Vic -Original Message- From: justin brenton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 7:24 AM To: [EMAIL PROTECTED] Subject: [PHP] HELP PLEASE ! Need PHP Advice !!! can anyone give me some good advise on how abouts I should go about maintaining a newspaper web

[PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread justin brenton
can anyone give me some good advise on how abouts I should go about maintaining a newspaper website. here is what is currently in place and how i want it to be managed right now the newspapers are published in a quark file from that file pictures have to be placed in photoshop and resized , crope

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Jason Sheets
You can do either, many people have responded and given their thoughs on the matter. I personally avoid storing images in a database, the filesystem is better equipped IMO to handle files. On top of the overhead of storing the image in your database you will be creating additional database traffi

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Ernest E Vogelsinger
At 15:54 29.01.2003, Vladimir Galkov spoke out and said: [snip] > Me too. I add tracks to DB only and store images as independent files. My >experiments with storing images in DB shows large memory use wich slow down >other processes (especialy if I need to c

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Maxim Maletsky
Two problems for filesystem: 1. You cannot store over a tot number of images on some systems. Thus, storing them in DB will be headechless. Unless, you know that there will be at most some hundred pics or so. 2. Storing them in filesystem gives more trouble as you need to make sure it is - writab

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Vladimir Galkov
Me too. I add tracks to DB only and store images as independent files. My experiments with storing images in DB shows large memory use wich slow down other processes (especialy if I need to choose several images from DB). But if pictures unnumerous and small (smaler 30-40kb) my advice - insert t

Re: [PHP] Advice on uploaded files

2003-01-28 Thread Justin French
on 29/01/03 11:16 AM, Manuel Ochoa ([EMAIL PROTECTED]) wrote: > I writting a php program for a small insurance company and they want to > receive uploaded digital photos. > > Should I store the photos in a mysql database or in a directory on the hard > drive? > > If you have experience with this

[PHP] Advice on uploaded files

2003-01-28 Thread Manuel Ochoa
I writting a php program for a small insurance company and they want to receive uploaded digital photos. Should I store the photos in a mysql database or in a directory on the hard drive? If you have experience with this any advice would be appreciated.

[PHP] Advice

2003-01-08 Thread cj
G'day all I have a web page were users can upload and downloads files. When they go to download a file A list of files they can download is displayed and a check box next to each file name and a button, with which the users can click to download the selected file. What I would like to know what w

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-05 Thread bahwi
Sorry, it was late at night. I'm glad you have the SSL and everything else already taken care of. What I meant was for you to build your own session system, so that it is secure, instead of using PHP's built in session system. Someone once said that it has a 1% chance of cleaning up the session

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-05 Thread Robert Mena
Thanks Bahwi, I agree with you regarding the client-side aspect. But since we are talking about a regular web-based application in php I think I will have to deal with that. The other security concerns are already addressed, such as the use of SLL to encrypt the traffic and possibly the use of a

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-05 Thread bahwi
Sorry, OpenSSL is base in FreeBSD, so I didn't have to set it up myself. You can check www.openssl.org and www.apache.org. You still have to buy a cert though. For that, try: www.verisign.com and www.instantssl.com --- seems alot cheaper, no experience with them however But chances are your be

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-05 Thread ªüYam
Would u teach me how to setup the OpenSSL and the engine for the apache web server in order to achieve the 128 bits SSL protection? Actually, I have tried so many times but still failed to do so... First of all, there were errors occurred when I compiled the Openssl engine, It seemed looking for a

Re: [PHP] Advice with encrypting+storing sensitive data

2002-12-04 Thread bahwi
That's a big question. The most secure way, using either mcrypt or PGP, is to have an application on the client's side that does the encryption and the decryptiong. This is probably the best solution. Heavily encrypt things on both sides, and this assumes the client side is secure. Barring thi

  1   2   >