Re: [PHP] Accessors

2009-02-19 Thread Thodoris
Also, i know php is an interpreted language. But wouldn't it be possible to write a virtual machine for php and compile byte code... I know, php is not Java or Actionscript :-P but it could be an add on feature. i guess the eval wouldn't work then would it? Although eval could still be interpret

[PHP] What good is SoapClient->__getTypes() ?

2009-02-19 Thread Shanon Swafford
Hi guys, I'm using PHP 5.1.6 and I'm calling a WSDL that has 4 functions. This is a brand new service opened by one of our vendors so I'm sure it is going to change. So I'm thinking I would like to build a page that pulls the data structures and builds html input forms automatically. So when I

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
Ashley Sheridan napsal(a): On Thu, 2009-02-19 at 23:34 +0100, Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd

Re: [PHP] Unique User Hashes

2009-02-19 Thread Ashley Sheridan
On Thu, 2009-02-19 at 23:34 +0100, Martin Zvarík wrote: > Chris napsal(a): > > Martin Zvarík wrote: > >> Chris napsal(a): > >>> Martin Zvarík wrote: > tedd napsal(a): > > At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: > >> tedd napsal(a): > >>> At 5:10 PM +0100 2/19/09, Martin Zvar

Re: [PHP] php cli memory leak error

2009-02-19 Thread Jochem Maas
Lewis Wright schreef: > 2009/2/19 Jochem Maas : >> Thodoris schreef: seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check o

Re: [PHP] Execute flash files with PHP

2009-02-19 Thread tedd
There's a tutorial here: http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two (have not tested it myself). The php code is available for download from that page as well. And the video there is awesome! The narrator sounds like the one in my video: http://webb

Re: [PHP] Execute flash files with PHP

2009-02-19 Thread Chris
R B wrote: Hello. I have two scripts in php that reads a .swf or .flv movie file, like this: SCRIPT # 1 SCRIPT # 2 The script # 1 with the .swf file works fine: the video is executed with streaming. The script # 2 with the .flv file is executed but without streaming. There's a tutorial

Re: [PHP] Execute flash files with PHP

2009-02-19 Thread Chris
R B wrote: Hello. I have two scripts in php that reads a .swf or .flv movie file, like this: SCRIPT # 1 SCRIPT # 2 The script # 1 with the .swf file works fine: the video is executed with streaming. The script # 2 with the .flv file is executed but without streaming. If i execute the mo

Re: [PHP] Two troublesome fields

2009-02-19 Thread Terion Miller
Thanks Terion Happy Freecycling Free the List !! www.freecycle.org Over Moderation of Freecycle List Prevents Post Timeliness. Twitter? http://twitter.com/terionmiller Facebook: http://www.facebook.co

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
Chris napsal(a): Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a

Re: [PHP] Unique User Hashes

2009-02-19 Thread Chris
Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you nee

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
Chris napsal(a): Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email

[PHP] Execute flash files with PHP

2009-02-19 Thread R B
Hello. I have two scripts in php that reads a .swf or .flv movie file, like this: SCRIPT # 1 SCRIPT # 2 The script # 1 with the .swf file works fine: the video is executed with streaming. The script # 2 with the .flv file is executed but without streaming. If i execute the movie.flv direc

Re: [PHP] Unique User Hashes

2009-02-19 Thread Chris
Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if

Re: [PHP] Re: Secure File Paths, File System - (simplified question)

2009-02-19 Thread Shawn McKenzie
Daniel Kolbo wrote: > > > Shawn McKenzie wrote: >> Daniel Kolbo wrote: >> >>> Hello PHPers, >>> >>> I am quite ignorant about file system security. I was hoping you all >>> could help me understand things. >>> >>> How does one restrict php script from going (reading, writing) files in >>> the

Re: [PHP] Two troublesome fields

2009-02-19 Thread Bastien Koert
On Thu, Feb 19, 2009 at 3:21 PM, Terion Miller wrote: > Hi all, I seem to be having a problem with getting two fields to insert > into > a table, the other fields insert but not these two > its from a form that is a duplicate, basically I have a workorder that I > want to make a copy of, I call it

Re: [PHP] How should I ....--its a date/timestamp issue (RESOLVED)

2009-02-19 Thread Terion Miller
Thanks Terion Happy Freecycling Free the List !! www.freecycle.org Over Moderation of Freecycle List Prevents Post Timeliness. Twitter? http://twitter.com/terionmiller Facebook: http://www.facebook.co

[PHP] Two troublesome fields

2009-02-19 Thread Terion Miller
Hi all, I seem to be having a problem with getting two fields to insert into a table, the other fields insert but not these two its from a form that is a duplicate, basically I have a workorder that I want to make a copy of, I call it from the db, populate a form in case changes want to be made, an

Re: [PHP] Re: Secure File Paths, File System - (simplified question)

2009-02-19 Thread Daniel Kolbo
Shawn McKenzie wrote: Daniel Kolbo wrote: Hello PHPers, I am quite ignorant about file system security. I was hoping you all could help me understand things. How does one restrict php script from going (reading, writing) files in the file system? As I see it, a php programmer could chan

Re: [PHP] Accessors

2009-02-19 Thread Shawn McKenzie
> Also, i know php is an interpreted language. But wouldn't it be possible to > write a virtual machine for php and compile byte code... I know, php is not > Java or Actionscript :-P but it could be an add on feature. i guess the eval > wouldn't work then would it? Although eval could still be inte

Re: [PHP] Accessors

2009-02-19 Thread Philip Thompson
On Feb 19, 2009, at 10:55 AM, Jochem Maas wrote: please keep replies on list. Sorry! Philip Thompson schreef: On Feb 19, 2009, at 2:59 AM, Jochem Maas wrote: Philip Thompson schreef: Hi all. What are your thoughts? Does this seem like a reasonable implementation? Useful? Poin

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vo

Re: [PHP] Unique User Hashes

2009-02-19 Thread tedd
At 5:28 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it'

Re: [PHP] Accessors

2009-02-19 Thread Jochem Maas
please keep replies on list. Philip Thompson schreef: > On Feb 19, 2009, at 2:59 AM, Jochem Maas wrote: > >> Philip Thompson schreef: >>> Hi all. >> >> >> >>> >>> What are your thoughts? Does this seem like a reasonable implementation? >>> Useful? Pointless? Hit me up - I can handle *constru

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
tedd napsal(a): At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it's a waste of my time... if you want me to vote y

Re: [PHP] Unique User Hashes

2009-02-19 Thread tedd
At 5:10 PM +0100 2/19/09, Martin Zvarík wrote: tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it's a waste of my time... if you want me to vote you do everythin

Re: [PHP] Unique User Hashes

2009-02-19 Thread Martin Zvarík
tedd napsal(a): At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it's a waste of my time... if you want me to vote you do everything you can to make it as pleasant as possible -- c

Re: [PHP] Unique User Hashes

2009-02-19 Thread tedd
At 1:49 AM +0100 2/19/09, Martin Zvarík wrote: Guys, I have not seen a poll where you need to input your email address - and if I would I would not vote - because it's a waste of my time... if you want me to vote you do everything you can to make it as pleasant as possible -- certainly that i

Re: [PHP] php cli memory leak error

2009-02-19 Thread Lewis Wright
2009/2/19 Jochem Maas : > Thodoris schreef: >>> >>> >>> seems to work fine here. >>> >>> What are your php.ini (memory related) settings? >>> >>> run: >>> >>> /usr/local/bin/php --ini >>> >>> and get the location of the php.ini file that is getting used. Check >>> our the memory settings in that f

Re: [PHP] php cli memory leak error

2009-02-19 Thread Jochem Maas
Thodoris schreef: >> >> >> seems to work fine here. >> >> What are your php.ini (memory related) settings? >> >> run: >> >> /usr/local/bin/php --ini >> >> and get the location of the php.ini file that is getting used. Check >> our the memory settings in that file. >> >> >> >> > > Some general

Re: [PHP] PHP AS an FTP server

2009-02-19 Thread paragasu
i successfully configure vsftp login using pam-mysql last time. http://pam-mysql.sourceforge.net/ http://www.linux.com/feature/125789 user can login to ftp server using the same password on web.. hope it help On 2/18/09, Michael Kubler wrote: > Yeah, I don't want local user access (SSH, their

Re: [PHP] Which file "Included" me?

2009-02-19 Thread Michael A. Peters
Nisse Engström wrote: On Wed, 18 Feb 2009 10:37:53 -0800, "Michael A. Peters" wrote: http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean) Amazing! Not once did they mention htmlspecialchars(

Re: [PHP] Accessors

2009-02-19 Thread German Geek
It's not a bad idea but usually having accessor and mutator methods are used to validate the data first before writing it to the properties. If you don't have validation, you might as well set them directly and make them public and don't really need a generic setter/getter method. Although, this w

Re: [PHP] Accessors

2009-02-19 Thread Jochem Maas
Philip Thompson schreef: > Hi all. > > What are your thoughts? Does this seem like a reasonable implementation? > Useful? Pointless? Hit me up - I can handle *constructive* criticism. > But for now, it's late and past my bedtime. how do you set a property to null? > Cheers, > ~Philip > >

Re: [PHP] Which file "Included" me?

2009-02-19 Thread Nisse Engström
On Wed, 18 Feb 2009 10:37:53 -0800, "Michael A. Peters" wrote: > http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html > > explains a technique to validate the input as well (don't trust that is > clean) Amazing! Not once did they mention htmlspecialchars(). /Nisse -- P