Jump to content


trq

Member Since 31 Mar 2005
Offline Last Active Today, 02:16 AM

#1476894 PHP Enabled Websites

Posted by trq on 21 April 2014 - 06:03 PM

Actually, now that i have looked into this, I find that It would be easier to host one myself. So uh... How do i do that? :confused:


What makes you think that when you obviously have no idea what is involved?

Find a host.


#1476452 New forum software

Posted by trq on 16 April 2014 - 06:12 PM

Oh fuck. Ignore me.

I thought this was a different thread related to the forums here.

Gotta lay off the crack :)


#1475913 does CodeCanyon is a reliable source of income?

Posted by trq on 12 April 2014 - 06:04 PM

I'd never heard of it until now, but it doesn't really look like anything I would want to put my name to.

Most anything like this: "script" sites, freelancer etc etc drive down the value of my profession.


#1474107 Help converting Python to PHP

Posted by trq on 27 March 2014 - 08:27 AM

No one is going to write the code for you. I think you misunderstand the point of a help forum.


#1473593 How does elementId in document.getElementById(elementId) pass values to a var...

Posted by trq on 23 March 2014 - 05:48 AM

elementId is the first argument passed into the setText function. Its a variable.


#1472770 Class what is best practise? form->handler->class->db

Posted by trq on 16 March 2014 - 08:18 AM

Q: Is this best practise? (form->handler->classes->db) REF BELOW CODE!


It is one way of handling things, and is probably pretty close to how most frameworks would handle it.



Q: How do you guys handle your forms -> classes -> db?


Most frameworks have some form of "form" handling built in.

Q: What is best practise?


Don't reinvent the wheel.

Q: In PAGE: index.php should it be including all 3 other pages? is that how you include a class?


No and No. Classes should be auto loaded using an autoloader (see spl_autload)


#1472764 Submit Form to a php script

Posted by trq on 16 March 2014 - 05:42 AM

Sounds like you need to read some basic ajax tutorials.

Were not going to write one for you, there are plenty already out there.


#1472511 Lock page from changes by another user

Posted by trq on 13 March 2014 - 04:18 PM

Do you know what the correct term for this function would be? I don't really know what to search for.


I'm not sure there is a particular term for it or anything to search for.

If you "think" about your problem however, you should be able to come up with a solution.

That is what programmers do.

If your stuck, what have you tried?


#1469474 Symfony 2 sharing data between controllers

Posted by trq on 19 February 2014 - 05:28 AM

Oh and besides. Controllers should be pretty dumb. What you describe as a solution is likely the side effect of some other poor design decision.


#1468591 Is Node Js really 'taking over'?

Posted by trq on 12 February 2014 - 07:56 AM

it was just about him saying about the employability that striked me as odd


PHP is still the most widespread used of the back end web languages and it's popularity is yet to wain. In fact, I would say that the language, community and job prospects (for quality devs) are still very much on the rise. The reason you don't hear that much about it, is because it has been on top for a long, long time.

There is plenty of exciting stuff happening outside of the world of PHP, but there are also plenty happening within it. No harm (at all) in learning a new language/technology though.


#1468376 Recommendation for an Application Framework

Posted by trq on 10 February 2014 - 05:41 AM

Seriously. This question has been asked a million times. Its personal preference.

Download a few and follow along with the "Getting Started" tutorials. You decide.


#1468375 Got some q's about php appz/svn and others

Posted by trq on 10 February 2014 - 05:38 AM

svn is old school. git is the more widely used and feature rich version control system.

You can host OSS projects for free on https://github.com. If you have't heard of Github, your really have been living under a rock. :)

As for a http server for testing. Just install one locally.


#1466143 php framework extension for dreamweaver

Posted by trq on 22 January 2014 - 05:57 AM

Learn to write code.


#1464489 Variable Variables Question

Posted by trq on 08 January 2014 - 04:47 PM

I'm trying to simulate a "register globals = ON" environment


Why the hell would you do that? Register globals is disabled by default for a reason. It has massive security implications.


#1463809 Title, Artist, and Album Artwork in PHP

Posted by trq on 04 January 2014 - 05:52 AM

Your question is far too vague.




Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com