TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 30
Search took 0.15 seconds.
Search: Posts Made By: Morishani
Forum: Tips & Tricks 04-12-2008, 11:04 AM
Replies: 28
Views: 2,881
Posted By Morishani
You don't have to put a boolean statement over...

You don't have to put a boolean statement over there, just put true :

while (true)
echo "Ha Ha!";


:)
Forum: General 03-31-2008, 12:05 PM
Replies: 5
Views: 640
Posted By Morishani
Agree for sure, And by organization you can...

Agree for sure, And by organization you can maintain your code to be faster.

Becouse when you gather all the functions and variables to classes, it is much easier to make it work faster.
Forum: Advanced PHP Programming 03-30-2008, 11:25 AM
Replies: 11
Views: 4,572
Posted By Morishani
Good stuff, Thanks :)

Good stuff, Thanks :)
Forum: Tips & Tricks 03-29-2008, 06:41 PM
Replies: 16
Views: 1,235
Posted By Morishani
Hi, Thanks for the benchmarks ^^

Hi, Thanks for the benchmarks ^^
Forum: The Lounge 02-27-2008, 03:38 PM
Replies: 54
Views: 3,749
Posted By Morishani
PHP is going no where :(

I wish that php would go somewhere in the direction of C++ as programming habits (more OOP, more type-hinting, etc').

but.. it seems that no-body in PHP want people to write "int/char/string" in...
Forum: Tips & Tricks 02-24-2008, 03:39 PM
Replies: 32
Views: 3,243
Posted By Morishani
list,array

Nice... ^^
Forum: Tips & Tricks 02-24-2008, 03:35 PM
Replies: 45
Views: 5,695
Posted By Morishani
Great tips. thanks.

Great tips. thanks.
Forum: Tips & Tricks 02-24-2008, 03:32 PM
Replies: 28
Views: 2,881
Posted By Morishani
Oh, the "For ever" Loop :) I read about it in the...

Oh, the "For ever" Loop :)
I read about it in the past week :)
Forum: Javascript, AJAX, E4X 02-24-2008, 03:25 PM
Replies: 7
Views: 1,067
Posted By Morishani
Prototype do more (I think), you can put in it...

Prototype do more (I think), you can put in it some css phrases like :

and it will return all the elements that matches to the css phrase.
Forum: Advanced PHP Programming 02-24-2008, 03:21 PM
Replies: 4
Views: 699
Posted By Morishani
I would pass the instance too, by reference...

I would pass the instance too, by reference (http://il.php.net/manual/en/language.references.pass.php).
Forum: Advanced PHP Programming 02-24-2008, 03:19 PM
Replies: 3
Views: 751
Posted By Morishani
Thanks bluesaga.

Thanks bluesaga.
Forum: General 02-24-2008, 03:16 PM
Replies: 26
Views: 32,278
Posted By Morishani
Kick ass shit :) I wish it was faster

Kick ass shit :)
I wish it was faster
Forum: Show Off 12-20-2007, 07:59 PM
Replies: 5
Views: 1,028
Posted By Morishani
I don't think there is a normal way to surf the...

I don't think there is a normal way to surf the web without knowing to type english charachters :)

w-w-w-.-g-o-o-g-l-e-.-c-o-m is the base for the web and from there you can type in any language you...
Forum: Show Off 12-20-2007, 05:07 PM
Replies: 5
Views: 1,028
Posted By Morishani
Yepe, thats called hebrew :) thanks for the...

Yepe, thats called hebrew :) thanks for the comment ^^
Forum: Show Off 12-20-2007, 04:12 PM
Replies: 5
Views: 1,028
Posted By Morishani
New client site.

www.nar.co.il

What do you think?
The logo made by my friend which is a designer,
The rest I designed/programmed.
Forum: General 11-30-2007, 07:25 PM
Replies: 34
Views: 4,317
Posted By Morishani
Wink Well , There you go : function...

Well , There you go :

function a($szStr)
{
return mysql_real_escape_string($szStr);
}
Forum: Advanced PHP Programming 11-28-2007, 05:59 PM
Replies: 21
Views: 1,356
Posted By Morishani
Oh, if you make sure the files are locked then...

Oh, if you make sure the files are locked then it's ok ^^
Forum: Advanced PHP Programming 11-28-2007, 05:14 PM
Replies: 21
Views: 1,356
Posted By Morishani
Puting the database name or any database...

Puting the database name or any database information in any file that is accessible to users somehow is not a good idea.

If you put the database name or any information like that in a text file make...
Forum: Advanced PHP Programming 11-28-2007, 08:11 AM
Replies: 12
Views: 10,996
Posted By Morishani
You're preety right there. Good point. That must...

You're preety right there. Good point. That must be the reason that I couldn't find a good solution for my "none exists problem" :)
Forum: General 11-20-2007, 07:47 AM
Replies: 11
Views: 651
Posted By Morishani
Yes it does the same thing but OOP is about...

Yes it does the same thing but OOP is about maintaining code easily, so when you change the classname you don't need to change the name of the function that constructs the class.
Forum: Advanced PHP Programming 11-17-2007, 05:23 PM
Replies: 12
Views: 10,996
Posted By Morishani
But is there any better solution? Or let me put...

But is there any better solution? Or let me put it that way : What is the best way to do this?
Forum: Advanced PHP Programming 11-17-2007, 04:58 PM
Replies: 12
Views: 10,996
Posted By Morishani
Salath, I think I'm gonna choose your solution to...

Salath, I think I'm gonna choose your solution to this problem, but now i've got another problem - how to get to the table object from the columns object,
what i did is something like this, and i...
Forum: Advanced PHP Programming 11-17-2007, 02:26 PM
Replies: 12
Views: 10,996
Posted By Morishani
Thats one nice way, but after that you can also...

Thats one nice way, but after that you can also do :

//main code, not inside a class :
$columns = new columns();
$columns->add("asdf");

And I don't want that, but if there is no way to delete this...
Forum: Advanced PHP Programming 11-17-2007, 02:09 PM
Replies: 12
Views: 10,996
Posted By Morishani
Thanks but that is not what i'm looking for. I'm...

Thanks but that is not what i'm looking for.

I'm talking about that the "columns" class will be only available within the "tables" class, and cannot be available outside of the "tables" class.
Forum: Advanced PHP Programming 11-17-2007, 01:10 PM
Replies: 12
Views: 10,996
Posted By Morishani
Class inside a class(?)

Hey all, I have a question for you.

I Have one class, lets call it for example "table". inside that class I want to insert another class, for example "columns".

but I don't need the "columns" class...
Showing results 1 to 25 of 30

 

All times are GMT. The time now is 11:45 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design