Search found 25 matches

by Gate
Sat Apr 02, 2011 4:12 am
Forum: Say Hello
Topic: I don't think i posted here
Replies: -1
Views: 1779

Re: I don't think i posted here

I didn't realise anyone else in Hull even knew what PHP was...there are very few of us in the north east haha!
by Gate
Tue Feb 15, 2011 2:30 pm
Forum: Say Hello
Topic: I don't think i posted here
Replies: -1
Views: 1779

I don't think i posted here

Wazzup :lol:
by Gate
Sat Feb 12, 2011 1:18 am
Forum: Coding
Topic: Php question..what is this code?
Replies: -1
Views: 3363

Re: Php question..what is this code?

OOP is like a ferarri in programming terms, lots of power and it looks nice.

Procedural programming is like the AIDS of the programming world.
by Gate
Sat Feb 12, 2011 1:08 am
Forum: General Development
Topic: need advise
Replies: -1
Views: 1921

Re: need advise

Now that i`m looking, you are first creating a loop while $r <= num_rows() however, wouldn`t it make more sense to do this: if(mysql_num_rows($q) > 0) { while($r = mysql_fetch_assoc($query)){ // do something } }else{ // .no results were found.. } That logically makes no sense to me as the 'while' l...
by Gate
Mon Feb 07, 2011 10:30 pm
Forum: Code Sharing
Topic: String Cleaning Function
Replies: -1
Views: 3219

Re: String Cleaning Function

Chris wrote:Memory saver:

Code: Select all

function secure_input($input)
{
     return htmlentities(mysql_real_escape_string(strip_tags($input)));
}
 
Rather go for clarity,good formatting and comments over saving maybe 2 bytes of memory. you should too!
by Gate
Sat Feb 05, 2011 6:06 pm
Forum: Coding
Topic: Account Credits
Replies: -1
Views: 1663

Re: Account Credits

If you need a hand, just drop me a message and i'll get back to you with some contract details and we will sort it out for you!
by Gate
Sat Feb 05, 2011 10:06 am
Forum: General Development
Topic: Need advice on selling game
Replies: -1
Views: 1587

Re: Need advice on selling game

Make sure you get a decent template designed for the full system as from your projects that is what you lack (not your fault, not everyone is a artist!) I could possibly help you out if you wanted (i'll do the design and you can sort me out with a little cash once you've sold some copies) Just drop ...
by Gate
Sat Feb 05, 2011 8:41 am
Forum: Coding
Topic: Account Credits
Replies: -1
Views: 1663

Re: Account Credits

Paypal is pretty easy, the system works as follows: 1) Your Website takes payment amount and item that the user is buying and post's these to paypal (usually using cURL) 2) Paypal takes details and process's orders 3) Paypal sends $_POST data back to a url script of your choice (Example: Send: Useri...
by Gate
Fri Feb 04, 2011 4:01 pm
Forum: Off-Topic
Topic: Website Hosting
Replies: -1
Views: 6207

Re: Website Hosting

Get HostGator and get plan 2 for the unlimited domains, i've not had one problem or downtime in 2 years and there customer support on the forums is superb with anywhere between 10-40 hostgator customer support people on at any time!
by Gate
Fri Feb 04, 2011 2:08 pm
Forum: Code Sharing
Topic: String Cleaning Function
Replies: -1
Views: 3219

Re: String Cleaning Function

It seem's that the passing by reference symbols are PHP version's of pointers, where as pointer's in C++ actually have a use in referencing blocks of memory, PHP it seems to me, lacks any use with it's 'pointer' system in a web enviroment

Go to advanced search