« first day (628 days earlier)      last day (4334 days later) » 

12:07 AM
if someone has missed this game : axon.wellcomeapps.com (online, free, touch-or-click)
 
user557846
12:35 AM
my nurons are to short for playing that
 
1:32 AM
damn .. i wasted ~1.5 hours on this one : interactive.usc.edu/projects/cloud/flowing/black.html
 
 
1 hour later…
2:41 AM
hello all
 
 
2 hours later…
4:30 AM
@Paul Hello :)
 
4:42 AM
@OmeidHerat hello.... but i'm not paul lol
 
hahah, hello :)
that is 'aight @Justin
 
At least someone is here... not completely quiet I suppose
wish i felt like staring at some code... ;\
 
well, when you don't feel like coding you can always read about coing. :P
 
lol.. I don't even know where to go to read about it these days.... i have books I haven't touched in years..
had a bunch of bookmarks a while back -- but my HDD failed so i lost everything...
 
sourcemaking.com
that is a good place :)
 
4:51 AM
will have to go take a look
 
hello @OmeidHerat
 
 
3 hours later…
7:34 AM
morning
 
7:58 AM
Good morning
Is it possible to add glassy effect to image using imagemagick
 
Hello , if i implement HTML5's validation plugin and have another front-end javascript validation what will work first?? the browser API or The js?? or how can i do this without letting the two collide with each other. .
 
@tomexsans Are they both doing the same or are they doing different stuff?
 
@PeeHaa, they are doing the same stuff. . . for browsers who cannot support HTML5 they can use the js, but how about the browser that supports both??
 
@tomexsans Go with feature detection in JS and only fallback to JS check when the browser doesn't support HTML% validation
 
Hello
 
8:10 AM
@PeeHaa, thank you thats one way to do it. But i'm not good in js, is there by any chance built in API on HTML5 or JS lib for that?? if there is what do you call so i can have a research, thanks
 
I need a bit of advice is some one can help ?
 
@sniffer , just type in your question and anyone that can answer will surely reply to it :)
 
@tomexsans I heard some people were using modernizr.com for featire detection
 
Sorry, i just saw the note.
 
@PeeHaa, i'll take a look into that,
thanks . .:)
 
8:16 AM
anyway, i have learned java in computer science school, i know quite a bit about JSP and Servlets, but i was surprised to know that hosting companies in my country support only PHP and ASP.NET, so i want to choose which one to learn, i love the fact that PHP is open source, and i want to know if PHP supports separating presentation from the business logic (eg. MVC)
 
@sniffer, Well, yes there are many PHP frameworks supporting MVC, HMVC and many other VC's out there :D
 
user557846
yes it does
 
@Sniffer php is easier then ASP.net
 
i agree with Random
 
user557846
get a vps, run anything you like, no need to learn a new language
 
8:18 AM
@Random i have worked with ASP.NET before (its not that hard and you can build a complete website in short time)
 
user557846
certinly no need to host in your own country
 
many hosting company supports PHP and ASP.. .i don't knowwith your country . .
 
@Dagon sorry but i am not familiar with term VPS, what's that ?
 
user557846
Virtual private server (VPS) is a term used by Internet hosting services to refer to a virtual machine. The term is used for emphasizing that the virtual machine, although running in software on the same physical computer as other customers' virtual machines, is in many respects functionally equivalent to a separate physical computer, is dedicated to the individual customer's needs, has the privacy of a separate physical computer, and can be configured to run server software. The terms virtual root server (VRS) and virtual dedicated server (VDS) are also used as synonyms of VPS. However...
 
@PeeHaa, yup this is what i needed thanks buddy. . .your always the repWhore hahahaha
 
8:21 AM
@tomexsans :D
 
@Dagon got it, thanks
 
@Sniffer ???
 
user557846
none of my personal sites are hosted in my country, USA is cheaper
 
@Sniffer patterns have (almost) nothing to do with languages.
 
@PeeHaa yes, i know that fact
 
8:23 AM
Yet you ask: and i want to know if PHP supports separating presentation from the business logic (eg. MVC)
 
@PeeHaa but i like the fact that java provides JSPs which enables you to completely separate presentation from business logic.
@PeeHaa i don't like mixing html with php code
 
maybe sniffer wants the MVC approach on every language . . . like me hehehehe
 
@tomexsan probably true
 
@Sniffer I don't know JSP, but MVC is just yet another design pattern.
The only issue with MVC and PHP (will be the same for asp). Is the fact that it is serverbased
I.e. views cannot easily keep on talking with the model layer once presented
 
@PeeHaa since you seem to know a lot about PHP, what's the best way to seperate both, and that doesn't make you fall into a maintenance hell.
 
8:28 AM
Could you define maintenance hell? At when point would you get that?
morning @Leigh :)
 
@PeeHaa have you heard of the term unobtrusive javascript ?
 
@Sniffer sure
 
@PeeHaa yo
@Sniffer If it's in the browser, all javascript is intrusive imo ;)
 
@Sniffer It's a buzzword for common sense :)
 
@PeeHaa @Leigh i you know exactly what that is i would like somehow to do it in a similar fashion to PHP and HTML
meaning don't put PHP code inside an attribute value, or in the body, or in the head or in event handlers, PHP should stay out of the HTML page, similar to the CodeBehind feature in ASP.NET
 
8:38 AM
uhm what your trying to achieve is possible maybe. . .
 
@tomexsans how could that be, as this is a crucial decision to whether i am gonna learn PHP or not ?
 
user557846
the best way to choose a language is to look at the job ads and see which is paid more.
 
@Sniffer Well, it's totally possible, that doesn't mean its the right thing to do
 
@Sniffer What is this codebehind thing? Is it like a templating engine?
 
@PeeHaa it's bits of ASP.NET, in the HTML page ;)
 
8:44 AM
@Dagon i agree, but both seem to be well paid in here.
 
@Sniffer Ok here's a better answer. It's 100% possible, you just have to write the code for it. Go get busy with your learning.
 
@Leigh OK.
 
for what i have read it separates the Logic from the Views or HTML . . i don't know if some kind of technology exists, but PHP is as good as it is with or with out the CODEBEHIND stuff. . .
 
@tomexsans If he wants silly tags like <php:textbox ..>, he can have them, he just needs to buffer output and write a dom parser
 
@Leigh Ah right. Is that what the reason I see that extra markup in asp pages? Always wondered.
 
8:48 AM
@tomexsans The CodeBehind technology is a fancy name, what it means for ASP.NET web apps, is that html and markup (view) goes into the ASPX pages and the code (business logic) goes into a file linked to the ASPX page (usually a C# or VB) code that handles the business logic.
 
@PeeHaa It's a fancy name for templating engine, that's all
@Sniffer FYI, most well known templating engines for PHP compile the view + logic, injecting PHP into the html anyway
 
@Sniffer, will the codebehind technology provide faster web apps??
faster like fast . . .
 
@tomexsans sorry, don't know about that, but from what i saw when googling is that it is fast.
@Leigh i don't care about the fancy silly tags, i care about the principle behind them, and to me it seems a pretty good one.
 
@Sniffer personal preference. The answer is, it's possible, there's plenty of engines out there, or write your own.
 
@tomexsans anyway, ASP.NET is pushing towards the MVC pattern two, it is their latest framework
@Leigh i agree it is personal, and that's why i am asking all the questions to figure out if i am going to learn PHP.
 
8:55 AM
@Sniffer, PHP has a lot of framework with MVC pattern . and HMVC too..
i think HMVC is pretty neat for me. . .
 
@tomexsans can you name one please, so i don't have to look much
 
@Sniffer well in my personal opinion, basing your decision on whether to learn a language or not, on whether it has features similar to CodeBehind, is not a good reason to learn it. If you want ASP.NETs CodeBehind features, go and learn that.
 
here are two frameworks one is using MVC approach CODEIGNITER, and this uses HMVC Approach Kohana, Kohana is taken from codeigniter. . .
 
@Leigh i am not looking for language featuring stuff like codebehind, i am after the principal, anyway @tomexsans seems to know about that.
@tomexsans thanks, i have downloaded CodeIgnitor, but haven't worked with it, and every body seems to love it.
 
@Sniffer be careful when asking for frameworks here in chat. Or even better duck for cover ;)
 
8:58 AM
to know how both are different from each other, you'll just have to do a little research, well hey, i practiced using framework without basic PHP you can do it, but you''ll bleed. .
 
@PeeHaa what's wrong with that ?
 
@Sniffer The question itself is not wrong, but most frameworks suck
either they are saying they are doing mvc, while the actually are doing MVCi (MVC inspired) ™ @tereško
 
@sniffer, i advised you to use codeigniter because it's one framework i know with good documentation :D
 
Or they are doing OOPi (Object Oriented Programming inspired) ™ @PeeHaa
 
@PeeHaa so what is your strategy with every new project. you just start coding from scratch.
 
9:01 AM
Or they are using PHP4 style prgramming
 
but you can research on what is the best framework there is on PHP, and you'll be surprised hahahaha
 
Or they are doing bad pratices in gereral
 
@tomexsans you are right on that one :)
 
Or they just suck (CakePHP e.g.)
 
@PeeHaa i see your point, you really hate frameworks.
@PeeHaa so how do you go about making your website, you just write your own stuff and use them over and over again.
 
9:03 AM
@Sniffer Hate is a big word, but yeah :)
@Sniffer I use my own framework (which I'm also starting hating more and more), hence I'm working on the new version
 
@sniffer well you can call them frameworktheist hahahaha
 
@Sniffer Every framework you ever look at, will include things you will never use, and do not want
 
@PeeHaa hahaha :)
i have remembered another thing, i asked the the question but no body seemed to know what's the problem.
0
Q: PHPIniDir Directive causing apache to crash

SnifferI have installed Apache (httpd-2.2.17-win32-x86-openssl-0.9.8o) and PHP (php-5.3.5-Win32-VC9-x86) on Windows XP SP3 and when i use put the PHPIniDir into the Apache configuration file, then Apache won't start, it would crash, and if i removed the directive it works fine but of course doesn't read...

 
@sniffer , save the hassle and install wampserver
 
@Sniffer 1 sec. Lemme see whether I can find something
 
9:07 AM
@Sniffer is your hosting going to be a windows environment? I always have my test servers mimicking the destination environment. VMs are your friend.
 
goodbye guys nice chatting with you
 
good bye @tomexsans
@Leigh thanks for the advice, fortunately i have linux and windows hosting
 
@tomexsans later
@Sniffer what is the error you are getting when you include the phpini directive?
 
@PeeHaa i am not getting anything, the apache server won't start at all, it just crashes on startup.
 
@Sniffer nothing in apache error log? Have you run a config check? Are you using PHPIniDir directive before php module is loaded?
 
9:20 AM
@Leigh nothing in the error log, and checked everything.
 
@Sniffer How do you know it's crashing? What do you get?
 
i have saw some people complaining about that in apache website, and some mentioned that they used another version that solved it for them and others copied the php.ini file to the apache root directory.
 
does apache have permissions to read the php.ini?
 
@Leigh the stupid windows crash report.
 
crash report.. isn't that normally for things that cause memory access violations and whatnot? did it generate a stack trace?
 
9:22 AM
@Leigh yes, it is able to load the php dll in the same folder.
@Leigh it seems that like a dll called apache_ts.dll or something like that is the one crashing.
 
sure it's not php5ts.dll?
 
@Leigh that's it.
what the hell, i just tried it and it seems to be loading correctly this time. !!!!!!!!!
 
:P
 
i just uncommented the line that was causing the problem and it worked
!!!!!!!!!!
 
:D
 
9:26 AM
@Sniffer well, next step would be trying to run php on the command line, using that ini file, and make sure all the extensions are loading correctly
 
@Leigh ok
thanks a lot to every one for help. nice chat. goodbye
 
@Leigh This is the perfect time to repwhore and answer his question on main :-) cv-ring here we come!
 
hi al
i need assistance in a questn
any1 help?
 
@sharon See the room description
 
????
 
9:39 AM
@PeeHaa I managed to get a couple of nice answers in yesterday (particularly proud of one of them actually), but I feel they're going to be ones that creep up slowly
It's a useful one to bookmark :) stackoverflow.com/questions/11340974/…
 
@sharon Just ask. Don't ask whether someone can help
 
:((
 
hai all ,I have one doubt ,Is it possible browser refresh detect (like javascript) using php?
 
$clientName = $_REQUEST["vijay"];
 
@srini use a session and track the requests?
 
9:44 AM
hw dis works?
 
@Leigh i am new in php could you explain breiefly
 
@srini I could, but you could also google briefly
 
i already searched no one got it like this
@Leigh i already searched no one got it like this
 
$clientName = $_REQUEST["vijay"]; @Leigh
 
hi everyone, I am working with an regular expression, but do not know actually what this regular expression mean /##\\\.+?##/
@sharon do you know what this regular expression mean /##\\\.+?##/
 
@Leigh thanks buddy cool !!!
 
@PeeHaa , do you have knowledge about this regular expression /##\\\.+?##/
 
@abdulwakeel don't ping random people
@hakre morning
 
ok, but I thaught @sharon my be away
 
10:03 AM
@abdulwakeel Look at the room description. If somebody is able to help you and wants to help you they will
Anyway: what don't you get of that regex pattern?
 
ok
I have old code, written two year before, now I want to know about. what its actully finding in string. like "this is testing ## please ignore ##"
I have tried, but not found any match
 
Those dots may be more than one
 
you mean I should Have string which contain more than 1 dots.
 
@abdulwakeel Nope. You may have more than one dot
 
can you write an example string
 
ok thanks, let me view
 
@abdulwakeel np
 
morning
 
10:30 AM
Morning
 
10:54 AM
In case someone missed it.
 
11:13 AM
@PeeHaa , someone else has copyright for coming up with MVCi term
btw, morning
 
@tereško hmmm damn. I hope that someone isn't going to sue me :|
And morning
 
@PeeHaa hi :)
and good morning everybody.
the weather is great and I'm thinking to jump into the pool soon (tm).
 
damn , i missed such a nice discussion on MVC
 
@user587244 show us your config file (and change your password) — j0k 2 hours ago
Anyone using Doctrine + Codeigniter?
@tereško just recently got into MVC , particularly Codeigniter, would have loved to be in on the discussion.
 
11:29 AM
no , you wouldn't
because CodeIgniter along with CakePHP are two of the worst popular frameworks available in PHP
 
@tereško hey I pinged you. You can't blame me for the fact that you only now woke up ;)
 
@PeeHaa , true
wait .. no .. maybe not
 
@tereško Hmm, I see. I am using one of the worst Popular Frameworks -- How now?
 
@watkib , which tutorial are you following for CI+Doctrine ?
@watkib , and yes , i mentioned word "popular" because if you have followed /r/PHP , you would know enormous amount of minor frameworks , which are just horror-inducing
 
@teresko a popular one here: joelverhagen.com/blog/2011/05/…
Minor frameworks like Lithium e.t.c Horror inducing -- not CI in my experience cz it has a less than steep learning curve
 
11:39 AM
well .. you could start by checking if $connectionOptions has all the correct values
Lithium is one of popular frameworks , which is a fork of kohana , which focuses on functional programming and namespacing
 
I see. $ConnectionOptions? Where's that variable?
 
in your code
in the constructor of the modified Doctrine class
 
12:05 PM
ok thanks. What does this !$this->options['password'] ? '':$this->options['password']), $this->options['other']); mean?
 
@watkib the construction you see as: parameter = condition ? value: alternative_value; is called ternary operator
also , it is not part of the tutorial link, which means that i have no idea WHAT it does
 
morning
 
@tereško thanks, one used instead of an if statement? True its is not part of the tut, its the line of code the error points to
 
Morning Carrie
 
mornin'
 
12:19 PM
What it's supposed to do... is check if it's empty or set -- if it's set it sets the first variable, otherwise it sets it to the 'other' variable... But that doesn't look like the entire line of code...
 
But i want use Linux server because Windows Servers are expensive LOL!
 
that shouldnt be the only reason why ;]
 
I think I'm going to get my editing badge simply by removing the php tag from questions that have nothing to do with php
 
Yeah -- pure comedy that guy
lol do it!
 
12:25 PM
I mean... I am.. its in progress :p
 
very nice.. well i'm going back to bed.. 6AM, get a call from work "we cant get to a specific website on one of the computers!!!!" - "which computer are you on?" - "#12" -- "that one isn't wired up yet -- and someone stole the wireless controller"
 
lol
 
i watched Lord of the rings extended version in bluray this past weekend.. epic
 
yeah, and like 14 hours...
The only thing I didn't like is that they didn't include the battle of the shire at all
 
yes, on the 14 hours, it took 4 days to complete.. i would just cut it off when i was going to pass out
 
12:32 PM
I felt that was pivotal to the story
 
yeah, he also cut some minor things that i really didnt understand.. like a small for instance, when bilbo is challenging gandalf in the shire about keeping the ring.. he just cuts that.. but it has pretty major significance imo
 
And what about Tom Bombadill... seriously.. never even made it in, in the first place :(
 
True, but the story makes sense without those parts
to me, the meaning and the message changes slightly without the battle of the shire
Without it, it comes across that small people can do big things when helped by others. With it, it comes across that they really can stand on their own, and anyone can make a difference if they believe they can...
 
yeah, i agree.. but my point is, in the extended version (ie only the true lotr nerds are going to buy) why cut anything?
 
@CarrieKendall true...
 
12:35 PM
also, there were some special fx mess ups in the extended scenes.. but overall, thumbs up to peter jackson.. i am probably going to watch some commentary
 
@Leigh To me, the only thing that story provided was the source of the swords. It didn't add any great meaning or pretense to the rest of the story...
 
hiee...this is leroy here...sorry to interrup u guys.....
 
@ircmaxell I enjoyed it in the book and wanted to see how they portrayed him in film, that is all
 
true
 
12:38 PM
@ircmaxell yeah, that was a huge surprise.. creepy and excellent imo
 
:-D
shoot. To go to work, or to go to the doctor
 
also, his teeth are adorable
 
go to the doctor, and get a doctors note so you don't have to go to work!
 
@Justin True its not the end of the line of code. Here is the entire try and catch block :
 
I do have to work. So if I go to the doctor, I'll be working from home...
 
12:39 PM
I Do that often lol...
 
I hate doing it
 
@Justin `try {
$this->dbh = new PDO($this->options['dsn'], $this->options['username'],
(!$this->options['password'] ? '':$this->options['password']), $this->options['other']);

$this->dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
throw new Doctrine_Connection_Exception('PDO Connection Error: ' . $e->getMessage());`
 
I get so much less done
 
I seem to get more work done from home than when i go in.... Don't have as many people begging me to help 'fix' their computer....
 
A big part of my job is helping others (and interfacing with people)
so working from home puts up a big barrier to that...
 
12:41 PM
-1
Q: How to migrate website to new server without any downtime and keep users alive when migrating website?

JimitHow to migrate website to new server without any downtime and keep users alive while migrating website to another server? Please explain me how can we transfer website without any downtime? Please help me.

0
Q: How to migrate website to new server without any downtime and keep users alive when migrating website?

JimitHow to migrate website to new server without any downtime and keep users alive while migrating website to another server? Please explain me how can we transfer website without any downtime? Please help me.

 
Yeah my job is technically not to be the network/IT guy its just to be the programmer... but i've filled that role, because the idiot CTO doesn't think it's his job either
 
Found this on r/php: phpmentoring.org
 
@NikiC interesting
 
@NikiC I clicked their github link. No PHP whatsoever. Disappointing :)
 
They also has a very rudimentary assignment method right now: github.com/phpmentoring/phpmentoring.github.com/wiki/… :D
 
12:55 PM
@watkib WTF is that ?
 
Any sed or awk ninga around ? I want something from "something" { ID2432412412 } . I can use sed to drop the " marks and then use the akw to print the $1, but that is ugly and heaps bad. :P
 
Do you guys ever get to that point where: You have work assigned to you, you have to do it, you can do it, it's not hard, but you'd just rather be working on something else so you continuously put off the work you're supposed to be doing...
 
@tereško would u please help me? Please look into above problem ant give me some soulution
 
Ahaha, he tracked us down. @Jimit what's your budget for users food and water during your downtime? :D
 
12:58 PM
lol @Leigh
 
@tereško its a try and catch block from Doctrine's Connection.php one that returns ''PDO Connection Error: SQLSTATE[28000] [1045]' thought might help debug error.
 
@tereško Please help me
 
@tereško which php framework is not worst?
 
I think somebody just made the list
 
@tereško I don't need you, but I just want to make you mad because of all the pings
 
1:01 PM
@Jimit help yourself.... try moving everything and figure it out... We've given you the answer multiple times... what you want, is not what will happen.. get used to it
 
@PeeHaa , naah , the flash plugin had crashed at some point , there were no beeps
 
@tereško [dont-give-up] ho-[php]-e
 
I don't have sound on at work, so many random links clicked in a day, I don't want a nasty surprise
 
@fluty , you might notice, that i already pointed out the two, which are "the worst" .. so .. even a 5-year-old would understand that the rest are "not the worst"
 
@tereško We all know you're a Zend Framework enthusiast ;)
 
1:05 PM
Lithium termed framework for those that hate frameworks. slideshare.net/nateabele/…
 
@tereško which 2 were deemed the worst? I think i missed that
 
2 hours ago, by tereško
because CodeIgniter along with CakePHP are two of the worst popular frameworks available in PHP
 
@watkib , that error means that you are trying to make a DB connection without sending a password
 
I can agree with that!
 
0
A: How do I get rid of this border outline for my image map areas when clicked (OS X Chrome Only)

ESOL ESEKAll I have to say is APPL - BITE ME FOR TAKING 3 HOURS OUT OF MY DAY TO SOLVE THIS IDIOTIC PROBLEM CAUSED BY YOU! FYI - none of the outline or focus tags worked in the style. It only worked shoved into the img tag which I moved out of the head into the body in an A ID replacement for a div. BTW...

Good for a laugh
 
1:08 PM
off to doctor, bbl
 
@MikeB notice how many no-rep people are answering that topic (it's not really a question)
@NikiC the IRC channel seems dead
 
@watkib you solved the wrong problem
 
@tereško Yes, seems rather empty
 
@watkib did you even try to see what were you passing with $connectionOptions ?
 
@teresko I agree, totally. Wrong problem. It's temporal.
 
@NikiC , and completely offtopic
 
1:53 PM
@teresko I checked here goes: $connectionOptions = array(
'driver' => 'pdo_mysql',
'user' => $db['default']['username'],
'password' => $db['default']['password'],
'host' => $db['default']['hostname'],
'dbname' => $db['default']['database']
);
 
@tereško yeah
 
@watkib , no , i meant var_dump( $connectionOptions );
> <Shereen> Please I want help
 
Wha? I have never heard this before:
0
Q: mysql_fetch_array() quotes increase speed?

user1364191http://www.securityandcaffeine.com/2008/04/03/php-mysql-and-mysql_fetch_array/ The above article surprised me. It says: mysql_fetch_array() - "1 – Use quotes! 1/7th of the time to get $result['2'] compared to $result[2]" Any idea whether that's true?

 
lol .. another case of revenge-downvotes for me
i wonders , who did i insult this time
 
2:11 PM
i need some advice guys, i'm currently planning on making a web content management system and i was wondering what database is better, mysql or postgreSQL? any insights from you?
 
if you can choose, postgreSQL is better
though , when you are making a CMS system , it would not matter so much
in any case , you would be using PDO as connection abstraction , and , unless you are going to use pgsql-specific SQL, you would be able to switch RBDMS with minimal hustle
 
postgresql is typically more robust, mysql is typically faster
 
.. that, of course, assumes, that you have separated data storage and domain logic , @Saber
 
postgres doesn't have master-master replication
 
depends on your priorities
 
2:17 PM
@MikeB , actually it has , with 3rd party tools
mysql , on the other hand, does not have cascaded DELETE (the trigger implementation is incomplete)
 
its support for triggers, stored procs, constraints, all that leaves a bit to be desired
it all feels a bit bolted-on
 
@tereško I bet it does through 3rd party tools :p
 
@MikeB you'd have to change the engine in order to do it. at that point, is it really "mysql" anymore? :)
 
btw, what's the scuttlebutt on referring to it as Maria instead of MySQL
 
@MikeB, the 3rd party tool i referred to is : bucardo.org/wiki/Bucardo
in case you get an urge to play around with it
 
2:21 PM
@tereško Nice! ty
 
honestly, i have never worked on project with multi-headed SQL cluster
 
well what im planning is a online learning environment. lecturers can post lectures etc..etc... allowing them to get full control of their content.. btw its a school project. so note me as noobs. :)
 
Based on my code here: http://pastebin.com/p4e5SCCC

How would I echo a slide only if it contains an image?

I'm lost because if I make an if statement for $key=="img" its only going to echo the image portion, not sure how I should handle it.
 
here is one more reason for going with postgresql: if you are a noob, you will have to learn SQL anyway. And in my experience, postgresql books are better.
mostly because mysql book are usually filled with bad php code .. or php books filled with horrifying mysql code
 
i see. i think i'll go for mySQL for the mean time, its where i should probably start off. and speaking of books, ive been searching the web with books about php and mysql and i cant get seem to decide which one, any recommended books?
is this a good one "Beginning PHP and MySQL: From Novice to Professional" ?
 
2:35 PM
no idea ... gonna find a torrent in a moment
 
oh.ok
 
howdy folks
 
Quick question. Why can't you use PHP files as ErrorDocuments?
 
huh
 
I added this to my htaccess: ErrorDocument 404 /errorcode.php
And if I open the errorcode.php file by navigating to it, it works, but the htaccess part doesn't work if I enter in a file that does not exist
 
2:45 PM
@Chris Try using a fully qualified url
 
@Saber , ok .. after a quick look : i would not learn PHP from that book , and the php-sql interaction in that books is wrong ( if not even harmful ) , and that books teaches almost nothing about SQL itself
 
@Mike B the problem with doing that is its an application I am making that users will install and I won't know the directory its going to
Ok I changed it for testing, and now when it redirects, it only prints hte URL of the filee on the screed: localhost/master/errorcode.php
 
@tereško oh i see. thanks. saw another one Web Database Applications with PHP & MySQL, 2nd Edition
geez, its hard to find good books these days
 
@Saber , please, stop looking for "php and mysql" books
find one for php , and one for mysql
 
x2
 
2:49 PM
really, you should have mentioned that earlier.lol. okay.okay
 
well .. ok .. i didn't spell it out =/
 
lol, its fine.now i got 2 problems . what book about php and what book about mysql. :p
 
Sam
Afternoon guys and gals
I used a php + mysql book when i was starting and it was really good
 
If anyone would like to help me out, more detail and better explanation of my issue: stackoverflow.com/questions/11346819/…
 

« first day (628 days earlier)      last day (4334 days later) »