Re: [PHP] Re: $_POST to function?

2006-02-24 Thread Christopher Taylor
I am not as familiar with php as I am c++ but I wonder if you need to pass by reference? Does this make sense in the context of php? One other thing I would try is setting $temp = $_Post and then passing $temp. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Php Setup Question

2006-03-01 Thread Christopher Taylor
I am trying to setup a webserver for testing at home. I can execute php scripts fine, but I cannot include local files like include (test.php). The page comes up with a permission denied. The url is http://mojo.hst-percussion.com/index.php. The phpinfo is http://mojo.hst-percussion.com/test.php

[PHP] large file transfers

2006-03-09 Thread Christopher Taylor
Has anyone seen a script or class that can handle file uploads of large files (greater than 20 meg)? Any direction as to where to look would be appreciated. Chris

[PHP] Making Php Libraries

2006-02-06 Thread Christopher Taylor
I am new to this list so forgive me if this has already been addressed. What I would like to do is keep a library of php scripts on my site. I would like customer sites to call the functions in my library, but have their server do the work. I would like to keep the proprietary code off of the

Re: [PHP] Making Php Libraries

2006-02-06 Thread Christopher Taylor
Jochem Maas wrote: search for 'php encoder' and use one (some cost money). I believe that the php encoder keeps the syntax but changes the variable names to make it less readable. I am not sure if this is enough. changing an file extension from 'php' to 'inc' does nothing to protect your code

Re: [PHP] Re: Making Php Libraries

2006-02-06 Thread Christopher Taylor
Oliver Grätz wrote: All attempts at shutting of access to the code is bound to fail. PHP is an interpreted anguage. If the script on the other server can read your code then the programmer of that script can also read your sourcecode. So, what to do? You could use some of the encoders. Using the

Re: [PHP] The Big Date and Time Debacle

2006-02-07 Thread Christopher Taylor
Stephen Martindale wrote: I am having great difficulty understanding dates and times with PHP and MySql. As far as I understand them, the PHP date and time construct is timezone and DST aware, but MySql's DATETIME and TIMESTAMP fields are not. I believe that this is where my confusion origina