php-general Digest 30 Mar 2011 08:17:02 - Issue 7250
Topics (messages 312123 through 312137):
Re: Permission Denied - Help Requested
312123 by: Adam Richardson
312126 by: Ethan Rosenberg
312127 by: Al
312128 by: Ethan Rosenberg
312132 by: HallMarc
php-general Digest 30 Mar 2011 22:46:04 - Issue 7251
Topics (messages 312138 through 312145):
Re: Path question
312138 by: Richard Quadling
Grasping class / controllers
312139 by: Aleksandar Skodric
312140 by: Ashley Sheridan
312141 by: Aleksandar Skodric
On Tue, 29 Mar 2011 03:21:48 +0300, Andre Polykanine wrote:
[...]
My questions are:
1. what are the restrictions of ImageCopyResampled()? Can I make a jpg
image from a jpg one, and a png image from a png one? And what about
gif's?
Yes, or even a JPEG from a GIF, or a PNG from a JPEG, etc.
On 29 March 2011 19:41, D. Dante Lorenso da...@lorenso.com wrote:
On 3/28/11 8:18 PM, Jack wrote:
Hello All,
Is there a smarter way to do includes by setting up a path or something
where I don't have to include /home/domain.com/includes/include_file.php
Apparently my path is as shown above,
Hi all,
I am using Codeigniter framework, tho' I believe my question is more PHP
related in general.
Problem I am having is following.
Codeigniter (CI) uses general class CI_Controller for all functions.
I have extended this controller with: abstract class CORE_Controller
extends
Aleksandar Skodric aleksan...@skodric.com wrote:
Hi all,
I am using Codeigniter framework, tho' I believe my question is more
PHP
related in general.
Problem I am having is following.
Codeigniter (CI) uses general class CI_Controller for all functions.
I have extended this controller with:
Hi,
Yes indeed you are correct.
Found out that framework was loading libraries from array in specific
order, whereby one overrules the next one.
Anyway, problem solved by rearranging the order of the array :)
Thanks anyway :)
On 03/30/2011 04:13 PM, Ashley Sheridan wrote:
Aleksandar
On 3/28/2011 3:40 PM, Bostjan Skufca wrote:
Great, please report back if/when you discover the cause.
After searching for some information about the error messages I was
getting on the file server, I found this:
http://www.spinics.net/lists/linux-nfs/msg14679.html
I ran 'server nfslock
At 12:07 AM 3/30/2011, Adam Richardson wrote:
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg eth...@earthlink.netwrote:
At 05:33 PM 3/29/2011, Adam Richardson wrote:
Thanks.
What do you see if you run this? Can't open or create file!
Ethan
OK,
If you're running PHP as an
Dear List -
Thanks for your help.
Here is another one.
I cannot get my session variables to work. The program will print out
a chess board and show the positions of the pieces after the move
Here are code snippets: The program is chess2.php
?php session_start();
error_reporting(1);
Nice of you to post the resolution of your problem. Glad to hear it is fixed
now.
Take care,
b.
On 30 March 2011 17:46, Rob Adams rad...@circlepix.com wrote:
On 3/28/2011 3:40 PM, Bostjan Skufca wrote:
Great, please report back if/when you discover the cause.
After searching for some
Dear List -
Thank you for your help in the past. This an update on my session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect that $_SESSION has been set.
?php session_start(); ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote:
Dear List -
Thank you for your help in the past. This an update on my session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect that $_SESSION has been set.
?php
All,
I want to build a config file class that gets called statically. Is
there such a thing as a static constructor? Example:
class Daz_Config {
public static function load() {
...
}
public static function get($key) {
self :: load();
...
}
}
Daz_Config ::
There is such thing, but its not called static constructor, its called
singleton pattern
class SingletonA
{
public static instance;
public SingletonA(){}
public static function getInstancce()
{
if(self::instance != null)
{
return self::instanc;
}
return new
At 07:28 PM 3/30/2011, Ashley Sheridan wrote:
On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote:
Dear List -
Thank you for your help in the past. This an update on my
session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect
On 31 March 2011 06:56, D. Dante Lorenso da...@lorenso.com wrote:
All,
I want to build a config file class that gets called statically. Is there
such a thing as a static constructor? Example:
class Daz_Config {
public static function load() {
...
}
public static function
17 matches
Mail list logo