You work at a company as a developer You are given a project that entails a registration – login system as well
some_function();
either calling unset($obj) or assigning $obj = null doesn’t seem to call the __destruct() method
contact them
the code above doesnt work of course
mace – i figured somebody here might have some idea
of some examples of how it might connect
gnat42, that’s because a reference of the object still exists somewere
can you edit php.ini?
no
its just cPanel shared hosting
s,of the object,to the object,
doh
have you connected to a database?
no, i can’t connect
the thing is..
What is your error?
then I must miss understand how it works, because I’m looping
when i go to add a new database, it is an ‘ODBC Datastream’ that i create
and at the start of the loop I assign the variable
and at the end, I call unset on it
have you *ever connected to a database?
on my own linux servers, yes it works perfectly
gnat42, an object is destroyed when no more varible references it
ODBC is “cross-platform drivers”
when i create a new ‘ODBC Datastraem’ it doesn’t ask for a username or password
I only ever reference it by one variable
it may be linked by domain
gnat42, pastebin your code please
it is an inherited class
okay
Mace im so dead
Mace – how does that affect the connect string?
aa^way: debug, find out where it stops
I’ve trying to find a ‘memory leak’
in no way at all
because that loop increases memory consumption on every iteration
unless I uncomment all assignments to the $client variable
can someone help me try to fix a data connection already open error for ftp, the errors are shown here, http://pastebin.com/d75955205
the $client variable is a 4th level subclass to a ORM system and I think it is leaking the memory so I want it to call the destruct function so I can try to release it
coudl somebody who is a genius at arrays give me 5 minutes please
gnat42, could you please reduce the code to a reproducible case ?
ODBC are just drivers
Mace well it is not stopping. it just doesnt load new info from server with ajax, in mozilla it does. i dont know how to fix it humm.. ctrl+refresh doesnt do also job, but might be that im at IE4linux
at the moment i use mysql_connect(“localhost”,”username”,”password”);
sure
so i tried connecting without a username or password and it says
mysql_connect() [function.mysql-connect]: Access denied for user ‘ODBC’@'localhost’ (using password: NO)
aa^way: console.log the variables at every stage with Firebug in FF
aa^way: find out waht’s going off
whats*
contact their support if you ask me
ya its just that they’re in Vietnam
and don’t speak english
great choice of web host
it was the best choice
get yourself an english speaking host for $1pm
it is not for me, it is for a customer
i already have my own servers in europe
and just use it for the mysql
sure you do
but vietnamese internet is really bad when connecting outside vietnam
Mace, is that sarcasm?
http://hashbin.com/7322.html
the destruct function doesn’t get called until after the loop is complete
bah keep closing this by accident
gnat42, can you paste the class definition ?
sure, but it is empty, its a fourth level subclass used simply for overriding the generated class
so Client extends BaseClient which extends Doctrine_Record …
the issue is most definitely in the Doctrine library I’m using, but I was hoping to pin point it by getting the destruct function called and releasing/resetting it somehow in there
gnat42, one of those subclass have to hold an copy of the object itself as object property
I see
so something like $this-_copy = $this; ?
yep, well that’s not a copy but that’s another variable that references the same object
those circular references are not well handled nowadays
hmm, any idea as to how to find something like that
can reflection or something like that give me a hint where its happening?
it has to happen inside the constructors and/or the methods the constructor calls
(in your case)
right, that should have been obvious
thanks
I’ll dig some more
much appreciated
gnat42, by simply var_dumping the object, you should see where the recursion is
var_dump
Maxdamantus, var_dump provides more informations, so it’s a better alternative to print_r when it comes to debugging…
Only the array count.
And the variable type.
and the strings’ length, and .. and …
var_dump is yuck though.. Just the look of it.
Generally, you wouldn’t use print_r for anything other than debugging either.
print_r(null); print_r(“”);
not that good for debugging
aew galera! alguem pode me ajudar?
___TIAGO___, english only here
ok
sorry
I boy’s ! I have one problem! do you help-me?
simply ask your question
Boys? One problem? Do we? Ask the question!!
one problem in my page of Send e-mail
wait =D
php6 zend_is_callable the 3rd argument is now a zval how do i convert a char to zval
how can a file know if it’s been included by another file through include or require, as opposed to being browsed to by the surfer?
require_once, include_once
ahh
hmmm, I’m not sure how one would detect that in PH
… PHP
[sacabonos]: pvt
[sacabonos]: sorry xD
Alanius, just define a IS_INTERNAL constant in your frontend pages and die if it’s not defined in your include files
[SubFreeze]: pvt. look
ekneuss look pvt =/
I don’t get it
hi people, i have a question for u, not about php itself, but about the writing-style. When i indent my php files, i have alot of pure html and im not sure what the best is to do, indent php or html or both? thanks. And anyone got an good indenting course for writing nice code? thanks for your
time.
there’s a problem in my page with the e-mail sending system.
is this ok? http://pastebin.ca/652391
thanks
There is no right or wrong way to indent one’s code. As long as it works, and is easily readable, then you should be fine.
img style=\”margin-top:4px\” src=\”asdf\”
stuff is dynamic^^
thanks for your answare But what does u guys preffer?
hello, is there a graphical way to edit php.ini like a webpage or something?
logik-bomb: looks good – just taught me something new – prevents sql injections aparrently – just read up on it
could someone get a check at my page code?
hasn’t taught me to spell properly though
how would i convert ‘email%40domain.com’ to email@domain.com
Personally, I indent my HTML and any other markup as well
so you basicly indent both the same way? Isnt there some kind of layout of how a man should write his code? Im pretty good (not saying im an elite) at php, but my code is messy and a structured way to write code-tutorial would be great.
The layout/rules I use for styling are kind of in my head
okei, i guess the answare is that i need to write code i think look good
http://phpro.org/tutorials/PHP-Coding-Style.html
Not sure if it’s any good, but I just came across it
thank u sub
Anone know vimeo video downloader? Bah google gives old ones, vimeo has updated their system
You’re welcome
so your advice to lilminime re indenting was ‘theres no right or wrong way to indent code’
that’ll be helpful
he’ll probably start writing with if statements indented 5 tabs in from the actual body of the if statement.
And your advice was?
my advice was ‘away from computer’
hehe
Lol
It seems every project I work on has different “rules” so I told him to do what he felt looked good
I want to develop a web application with 125 tables, can php support all that?
Yes, can your hardware?
you mean database tables?
yes,
if your database can support that..
someone told me that php doesn’t work so well with a great amount of tables. I will use MySQL?
then, I don’t have problem using PHP for it, right
X3rus, wikipedia uses MySQL (IIRC)
why do you have 125 tables?
is a web application for a company
quick question for you
well, that does not answer the question
unset($obj) should call the destructor on that obj?
so it doesn’t depend on php, it depends on the hardware and the database
granted that the obj has no other references to it?
hm, can i crate classes at runtime?
yes..?
how?
class A { }
rza, that’s not at runtime, that’s at compile time
ah true
i need to dynamically create a new class
but php files are compiled all the time
with a certain dynamic name
ahmmm why ?
every time you include a file it’s “compiled”
TehSausage yeah, but the point is that i don’t have a file with the class def in it
easier phpunittest creation..
you could make it generate a php file, include, then delete it
or maybe runkit has something like that
can you use $x = new stdClass(); $x-test = create_function(x,x); ?
hm
i’d need an include that takes a astring and interprets it
but there’s nothing like that in the doc
return $x.’!';
?
? i don’t see it creating a class def
im so stupid
eval()
http://pastebin.ca/652434 what i was just working on – simpler creating of test suites than the default
Hi
My phpinfo() is looking for php.ini in a non-existent directory (a wrong one). What should I do?
hi there
is there a way to change where php looks for php.ini?
i’ve created a mysql table. I specified default values for every field. when I make a request like INSERT INTO table VALUES(…) how can I insert only one field and let others take the default value of MySQL ?
Is it possible to use a class that is set ($class = new class in a php file that is included? At the moment php messages: Fatal error: Call to a member function loginbox() on a non-object in /opt/lampp/htdocs/ezy/index.php on line 16?
I think that is a compile time option, and if using the cli you can give it a flag
in apache2, you can set PHPIniDir
otherwise for apache you’d have to set it in apache.conf
Specify only the fields you want to insert values for
Nasky – INSERT INTO table SET col1 = val1
I don’t want to set the class ($class = new class in the master (that file that includes) the php file in wich the class is set
INSERT INTO table (col1) VALUES (val1)
(I’ve never liked the VALUES format … )
INSERT INTO table (field2, field5) VALUES (‘aa’, ‘bbb’)
as long as you include the class definition before instantiating it, you can do it wherever in your code.
hm doesn’t work
!doesn’t work
!+doesn’t work
thanks guys
you have to be more specific than “doesn’t work”
yes, http://nopaste.info/321e99caee.html
was already creating nopast
i’m looking for a way using preg_replace to replace any amount of _ characters into a single one. For example te____t__sdf should become te_t_sdf.
you need to include the file with the class definition. I do not see that happening.
one more question can i set a default value for a DATE field in MySQL ? because I tried to et “0000-00-00″ but it seems not to be accepted
#mysql
I skipped it in this version.. it is included
Burhan, ohh ok thx
it is not being included, which is why you are getting that error.
ok.. mustbe right. because it is included via an other class
anyone have any idea
I gonna check the including
thx
But.. the problem is.. if i start the class in master file by $class = new class; then everything works
that is not the problem, the problem is you need to include the class definition, instantiate it, then call a member.
and it is obviosly not possible to call a member in a file seperated from the class definition and instantiation. Because it is included.. really
how can you have a member definition outside the class? That would just be a function.
php include ‘myclass.php’; $obj = new MyClass; $obj-member(); ?
Just to reply I tried using PHPIniDir in the httpd.conf file but it made no difference to the ini directory in the phpinfo() listing
- Or I’m just incompetent
I think the latter
I can’t reap it! With a different class this approach seems to work
http://www.ginawildganzprivat.dl.am/
!isset and empty is the same thing ?
if(empty($_SESSION['id'])) it’s not like if i do if(!isset($_SESSION['id']))
no, isset and empty are different
http://us.php.net/manual/en/function.empty.php
this is valid right? “array_name[][index_1]=5;”
as a string yes
how about as php code
if index_1 is a constant and array_name is prefixed with $
yes, both of those are true
sure then
$arr[][][][][][][]['index'] = 5; is valid, just a little odd
is it possible to execute c libraries in php?
anyone?
Think you can with PEAR
how is that jonathan?
I wouldn’t know sorry
I just read about it once
i see
v5 or re-engineer the c lib to be a php extension
perhaps just a wrapper
pecl.php.net/ffi
Thanks TML I think that is what I was thinking of
ffi is a package not defaultly installed?
a bit out of date/unmaintained by the look of it
i dont see much info on the site, i wouldnt know its what i am looking for
Maybe pear has a simalar one
No
you couldn’t even do it from PEAR
huh? i dont get it
What don’t you get? If you want to call arbitrary C libraries, use the ffi module. It’s still in alpha, so I wouldn’t build any mission-critical stuff on it, but it’s there
Hi all. I’m trying to generate a calendar grid for a given month (current). Is there a simpler way than taking today, scrolling back to the first day of the month, scrolling back to Sunday, iterating forward to the end of the month, and then padding out to Saturday? That just feels like there
should be some easier method.
(My goal is to get an array of all the days that will be in the grid, then array_chunk() to 7 elements, and then render that as a table.)
TML, where can i find the “ffi” documentation?
There’s YUI’s cal widget
inside the tarball
That’s pretty easy
Yeah, I’m not looking for a JS widget.
ok thanks
I’m looking to generate my own table for it. (Particular reasons for this case; it’s not a UI thing.)
TML… never really used either, never had the reason too. I guess that’s where I go wrong.
PEAR is a collection of PHP scripts. PECL is a collection of PHP extensions written in C.
Well, every month will always start with ‘1′
Well yes.
But not on the same day.
So you’re trying to figure out what day of the week the month starts with?
php.net/date
The calendar grid is always 5 lines, with Sunday in the first column and Saturday in the last, padded.
perhaps as a start you could store the array so you don’t generate it all the time and use the date function TML has linked too
I am very good friends with date(), yes.
I was just hoping that I there was something easier than lots of iteration.
easier for what?
It’s not clear to me why you need “lots of iteration”
Scrolling back to the previous Sunday from the first of the month, unless it’s already on a Sunday.
What do you mean “scrolling back”?
hi, is there a way to change a method of the parent? class myclass extends parentclass…
just define over it
If the method is public or protected, you simply redefine it.
Crell ok thanks
http://uk.php.net/manual/en/function.cal-days-in-month.php will help I think
Yeah, saw that. I don’t have the calendar extension available, though.
Well days in the month doesn’t change much… just write a short script
You need the number of days in a month? Ask date for the day of the month for day 0 of month+1
Feb 0 == Jan 31
etc
And that’s end-of-year and leap-year safe, right?
yes
Hum…
can someone help me out for a sec
http://phpfi.com/255546
what am i missing?
must be like some ‘
comma
$_POST['name']
place a comma after that
bah thats it
hehe
thx
Filter input ok tea cya later
You also dropped a $
still didnt work though
Inside of interpolated strings, either don’t quote your array keys, or use {}
{$_POST['foo']}
You also REALLY need to learn about SQL injection
This script is hacking a great big “hack me” sign, and someone eventually will
hrm
what exactly does that encapsulation do?
http://phpfi.com/255547
same old same old, i see?
those are the two files, i reedit them
one is the form to submit…the other is the submit action
pear.php.net/html_quickform may help you with your form rendering and validation needs
which module i need to work with pdf files?
fpdf or fpdi
f00li5h, how to install it under linux?
imean do i have to compile php with some support or need to isntall some package?
its rpm base distro
foolish how do i install html quickform?
they’re pure php’
or use it
pear libraries are pure php too, you can just snag them and stick them in your include_path
oh
what exactly does this do for me?
ive heard of pear
im just trying to learn in depth php
pear is just a bundle of useful php classes that you can use
from a business aspect…not exactly a full tim eprogrammer aspect
html_quckform does forms, with validation ruels and the like
how would i call on it?
include ‘html/quick_form.php’; $form = new HTML_QuickForm();
the rest is in the docs on pear.php.net
ah
does the html qucikf form file need to be within the root web dir?
no, it needs to be in the include path
except the file i just a file 0[1] type
you generally wantn to keep libraries out of the doc-root
okay
it’s paranoid, but you should try to keep everything non-public out of the docroot
there are multiple folders in here…what of all this do i need?
element, datasource, container
folders in what?
files (php) node.php, factory.php
exception.php
etc
in the quickform2 folder
says quickform was superceded
install the PEAR module first
yeah, one is php4, the other a php5 rewrite
which should i use?
if you’ve got php5, try html_quickform2
i’ve not tried the rewrite, so i’m not sure of how stable it is, the docs should say
it says html_quickform2 is in alpha, so i’m not sure how trustworthy it is
okay i just installed the first one
now that the mod is installed then what?
it’s just a bundle of classes
i used pear install html_quickform
the docs say how you can interact with them
that parts done
excelent
does that mean i have to download the package information now? or is that done with that command?
pear will have installed it into /usr/local/pear
the docs will show you examples of how to use the classes
okay
seems confusing
there’s a quickstart
quckstart?
under end user docs
http://pear.php.net/manual/en/package.html.html-quickform.tutorial.php
oh nice i see that
you create a form object, then add fields to it
then you just have to check if the form is valid, and render/process the results accordingly
I have a question about php6
there is no php6
wrong channel
join #fantasy
wrong php6-dev branch
right
sounds usefull
not really its still being developed
or wait.. actually not rly
its not finnished yet
ugh I ran a script with php file.php & and now when I try to run it again it doesnt run or print to terminal
does that script use locks of some kind?
well I think I figured out why I’m not getting any error messages at all
Broken pipe –
pdo is freaking out
No.
It doesn’t debug or anything now.
f00li5h i still cant figure that shit out heehee, 5 hourrs now fucked with it
aa^way: that ajax cruft?
yer
what does the script do?
aa^way: find a library that already works
Broken pipe” when using pdo?
nope, which db you using?
postgres, unixODBC connection
It
very likely a problem with your unixODBC driver
It’s just a bot.
can you not just use postgresql directly using the postgre driver?
I think the & messed it up or something it doesnt debug or anything
not even connect
Does anyone have good information about sending better emails through mail() function. Pretty sure its better MIME types, but I dont know much else about it.
I don’t understand why, I can connect to the db with isql just fine, and other apps use the same dsn with no problems
I’d perfer to send Rich Text / HTML emails
ah hrm
how can i call a script to run in the background? i’ve got a page that updates a user’s profile, then I want to call a php script that performs some database maintenance that may take three to five seconds, but i don’t want the user to have to wait for it to happen or to even know it’s
happening
friday \m/
trevord
Linux or Windows?
linux
for your server?
You’d want to run Cron jobs then.
Crons run at specific times in the background.
can’t i invoke the job from my script?
how can i access protected members of the instance of parent class from extended class in php5?
You want it to run timely maintenance?
reenignEesreveR, through $this
well, i could do it that way, but i don’t think updates will happen that often, i just want it to run the maintenance kind of thing as soon as an update is made
Well… I mean the other way is to make a complex function
And include it at the end of your “update”
cstockton, doesn’t work for me
you know?
hrm?
you’re writing an ircbot?
yea
but if the user navigates away before it finishes, will that screw it up?
Does anyone have good information about sending better emails through mail() function. Pretty sure its better MIME types, but I dont know much else about it. I’d perfer to send Rich Text / HTML emails
reenignEesreveR, protected properties are accessible from a child class, but not private
cstockton, do i have to redeclare it in child class?
oh
reenignEesreveR, no, it’s inherited
i tried daemonizing it with & and now nothing works
Does it literally take 5 minutes? I guess the better question is what kind of operations does it need to do?
does it have a log it writes to?
no
also, backgrounding it in a shell isn’t quite enough to daemonise it
paste ur code in paste bin
no it takes more like 5 to ten seconds, it does some cache clearing and updating
it just does like monie$ file.php monie$
nothing
ps ax, does it show it?
I know what youre saying, in not sure exactly how to produce the results you want, if its even possible… but hold on 1 second
i could do a shell_exec(‘php script.php’), i wonder if my shared host would allow that, they give me shell access…
No.
I know wget will execute a script on the server too.
I had to use it to make cron jobs work.
so it exits tehn
hmm
If you can send a raw unix command from php to the server
you’re runnning scripts with wget?
You mayget the results you’re looking for.
Im running a quick cron with it. Implimented it 6 months ago.
urgh
Did a search and its the results I got.
I found what was wrong.
you know that means other people can run your script too, right?
yeah?
It’s not the &, the weather script was locking it up.
ok, thanks, i’ll try that, the only issue would be if php waited until the script was finished before continuing
but i’ll give it a try
Thanks for helping f00li5h.
it may run it once the comman is parsed
I tried using the weather parser pear module
The script updates a day counter each day for “job postings”
It’s not a big script im worried about, but im not deadset on wget
I would change it for something better if i knew something better to change it to.
hi, I have a question about arrays
This right here messes it up.
$weather = &new Services_Weather();
$wdc = $weather-service( “Weatherdotcom” );
I’ve put an array inside a function because I want that array to be available to different files. I’m using function showarray($arrayname) { $$arrayname = array(); $$arrayname['key'] = ’some value’; } – but this doesn’t seem to work, any ideas what’s wrong?
(basically it just provides an empty array)
maxo, why not just define the array in a file in the global name space
what do you mean?
maxo, and include the file as needed
I guess I could do, I’m just kinda curious as to why it’s not working in the function though
maxo, are you returning the array?
yes, I’ve also got return $$arrayName;
hey guys, is it true that some servers don’t allow htaccess files?
maxo, paste your code in paste bin
ok hold on a sec
What’s wrong with this line,$weather = &new Services_Weather();
$wdc = $weather-service( “Weatherdotcom” );
maxo, I am not sure variablevariables is what your wanting here
maxo, and using global is not the best idea, better to use the return value
it’s so I can specify a name for the array
maxo, Are you, building some things for this array?
and beneath where the function is called, I’ve also got asort($myArrayName); and if I remove global, I get: Warning: asort() expects parameter 1 to be array, null given
maxo, you might want to do something like $thearray = showarray(‘whatever’); asort($thearray);
aha
the problem with variable variables and array, is the value of the array changes
cool, got it
thanks
php manual says if i start a program and want to leave it running in the background, i “have to make sure that the output of that program is redirected to a file or some other output stream or else PHP will hang until the execution of the program ends.” how i do i redirect output to…nowhere? i
don’t really care about the ouput and want to completely ignore it
/dev/null on linux
what about adding & to the end?
/dev/null?
yes
ok, thank you
you need to background it, and redirect it’s standard error too
that will take the result and then send all the text to nothingness
would ls -l & also work?
there is more to do yes, but thats basically it
no that would just send the process to the background all resulting text would still apear in the console
ah ok
you either need the output of the command or your running one and don’t care about the output then you can direct or pipe it to /dev/null which is nothingness or to a file with the same command but put the path to the file there.
and | (pipe)?
is a bitshift. | is a logical OR
overwrites, and | sends the data to a different program
of course, you were speaking in terms of PHP, since we don’t do linux shell stuff here
overwrites stdin
Hi, I’m using /*
Hi, I’m using eval(“\$” . $allents[$i]-tagname() . ” = \”" .
utf8_decode($allents[$i]-get_content())
.. “\”;”);
*/
ok, that went bad, sorry
so im still trying to figure out
| takes stdout from something and sends it to something elses stdout
whats wrong with this line?
$insert=”INSERT INTO que (name, desc, date, offer, email) VALUES (‘$_POST['name']‘, ‘$_POST['desc']‘, ‘$_POST['date']‘, ‘$_POST['offer']‘, ‘$_POST['email']‘)”;
mysql_query($insert);
something elses stdin rather
http://pastebin.ca/652598 — why does that display an empty array only ?
nickelnick, you’ve got single quotes inside singlequotes
aarcane, seems like a problem with ur for loop
so $_POST['name']; without the ‘
in front and behind
I’m using domxml_open_file to open a xml file to parse (still using php4 for this). If I have a invalid XML file that will not work and some of my clients use & char inside XML file. Can I solve this with some function?
#
for ($i; $i = -5; $i–)
should be $i = 5
reenignEesreveR, I don’t know why, it loos right, i, each time through decrement i, until i is less than or equal to negative 5
i is zero initially, condition $i = 5 does not satisfy anytime so loop is never executed
reenignEesreveR, no, I’m working with negative integers
so then what is wrong with….
$insert=”INSERT INTO que (name, desc, date, offer, email) VALUES ($_POST['name'], $_POST['desc'], $_POST['date'], $_POST['offer'], $_POST['email'])”;
mysql_query($insert);
reenignEesreveR, oh, that has to be TRUE ? I thought it stopped when it became true :-S
your for loop is incorrect hehe
yeah, I tweaked it, and I got it working
but I got my negative index array working fine, thanks
you want ($i; $i = -5; $i–)
nickelnick, it should be like VALUES (‘{$_POST['name']}’,'{$_POST['desc']}’ …
anyone?
in SQL query, ur string values must be single quoted
oh
nickelnick, please read about mysql_real_escape_string
nickelnick, that query is unsafe and could be used to hack you
so i should use the one that reenign said?
nickelnick, sql inject is a better word then hack, but I like it to sound scary
nope, do something like $safe_name = addslashes($_POST['name']) first, then put $safe_name in ur query
reenignEesreveR, addslashes is better then nothing, but realescapes tring is better
reenignEesreveR, it escapes things like \x1a and \x00
i have rewritten a large web application written procedurally, to OOP.. I have tried VERY hard to avoid global variables and have been successful until today.. I have a few basic user settings like their timezone, etc. that I would prefer not to PASS to every single object in the program!
Should I be declaring a global settings array, or is that even possible? my initial attempts have failed
nickelnick, http://us3.php.net/mysql_real_escape_string
global variables make baby me cry
how could someone hack it?
writing oo just to avoid globals makes the baby jesus cry
magic
request.php?name=’ (DELETE FROM * table), ‘ finish query
hi, ppl that use vim to code, know any fast shortcut to comment a block of lines, using visual or something like that without needing to enter in insert mode ?
nickelnick, suppose ur query is “SELECT count(*) from user where name=’$name’ and password = ‘$password’ “, put $name = “admin’OR’1′=’1″ u’ll know what can go wrong
who uses vim, get a real editor like nano. mm nano….
So I have an index page that I’d like users to be able to customize the order and creation of a bunch of “modules” and have it saved in the database. Anyone have any clever ideas on how I might do this?
reenignEesreveR … count(*) AS `count` also
Findarato, vi and vim are professional tools for system administrators and developers who can effectively use them
why not just use /* */
Findarato, haah.. yes i dont necessarily like them.. but im scratching for a solution here
I have like 5 layers of class inheretence.. I am not finding it easy to propagate this basic array all the way down
dc3aes, might want to look at organizing your object model
dc3aes, that much inheritance may or may not be appropriate
dc3aes, however; for your problem with user settings, may want static access for them
i wondered if I wasn’t going about it wrong but it is working in every other way..
vi and vim are text based text editors they are not better than any other text based editor.
really the timezone has been my most basic problem, since I have intelligent small objects that need to report back their time, etc.. so I was talking directly to them and went ruh roh!
Findarato, I prefer ed, myself.
dc3aes, final class settings() { public $settings; private __construct() } setSetting($var, $val) { self
Permalink Comments off