Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread Sancar Saran
On Wednesday 24 March 2010 03:17:56 Tommy Pham wrote: Let's go back to my 1st e-commerce example. The manufacturers list is about 3,700. The categories is about about 2,400. The products list is right now at 500,000 and expected to be around 750,000. The site is only in English. The store

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread Sancar Saran
On Wednesday 24 March 2010 21:42:53 Tommy Pham wrote: On Wed, Mar 24, 2010 at 10:18 AM, Sancar Saran sancar.sa...@evodot.com wrote: On Wednesday 24 March 2010 03:17:56 Tommy Pham wrote: Let's go back to my 1st e-commerce example. The manufacturers list is about 3,700. The categories

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread Sancar Saran
On Wednesday 24 March 2010 22:42:17 Rene Veerman wrote: On Wed, Mar 24, 2010 at 10:34 PM, Sancar Saran sancar.sa...@evodot.com wrote: On Wednesday 24 March 2010 21:42:53 Tommy Pham wrote: On Wed, Mar 24, 2010 at 10:18 AM, Sancar Saran sancar.sa...@evodot.com wrote: On Wednesday 24

Re: [PHP] ini files as config - hidden

2009-08-15 Thread Sancar Saran
On Friday 14 August 2009 08:31:46 pm דניאל דנון wrote: I'm building a little framework for my self, The configuration of the framework is done in an ini file, How do you suggest to hide its contents? .htaccess wont be good (or atleast only htaccess) since if its turned off The file

Re: [PHP] Question: what are frameworks?

2009-08-09 Thread Sancar Saran
On Sunday 09 August 2009 02:47:37 pm Parham Doustdar wrote: Hi there, I've heard of frameworks, but I don't quite know what they are used for. I've done a little search on the internet, but even though I've been able to find different PHP frameworks, I'm not quite sure what they offer, or in

Re: [PHP] Asterisk anyone?

2009-07-30 Thread Sancar Saran
On Wednesday 29 July 2009 10:18:08 pm Skip Evans wrote: Hey, I've been asked to write a simple couple of public pages that would let an Asterisk customer modify their account configuration, but the client has no idea how Asterisk stores its data, apparently not in MySQL. Anyone know of any

[PHP] Using large multi dimenstional arrays in js

2009-06-17 Thread Sancar Saran
Hello all, My new project needs to use large multi dimenstional php arrays in javascript. I'm not sure how to do it. Is there any lead or any one give a clue. Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Periodic Actions in PHP?

2009-06-13 Thread Sancar Saran
On Saturday 13 June 2009 11:42:49 am Parham Doustdar wrote: Hi there, I'm going to create a small chat script with PHP. The messages you want others to see will be added to a flat file (I.E. TXT file), and read and displayed by PHP. However, I want this reading and displaying to be periodic.

Re: [PHP] MySQL after oracle, still Wise?, was Web application design .......

2009-06-03 Thread Sancar Saran
On Tuesday 02 June 2009 11:36:28 pm optoma...@rogers.com wrote: Everybody has given Angus really great advice in this previous thread and I have learned a lot too. I hope no one mines the fork but I am in the exact same situation as Angus. If anyone could spare a bit of time regarding

Re: [PHP] Web application design considerations - a good reference ?

2009-06-02 Thread Sancar Saran
On Tuesday 02 June 2009 07:50:36 am Angus Mann wrote: Hi all. I'm working on a PHP project for my own personal business use. It will handle billing and invoices as well as payments and time management, bookings, appointments and a few more. I may add things like personal messaging between

Re: [PHP] templating engine options

2009-05-26 Thread Sancar Saran
On Tuesday 26 May 2009 03:48:41 am Nathan Rixham wrote: Sancar Saran wrote: ?php $content = 'No Comments'; if(isset($comments) and is_array($comments) and count($comments) 0 ) { $content = ''; foreach( $comments as $index = $comment ) : $content. = a href='. $comment-link

Re: [PHP] templating engine options

2009-05-25 Thread Sancar Saran
You're missing the point just because he threw in some old HTML styling attributes. The main issue is the overhead of added parsing layers to find where content goes in the HTML. Aren't we already using a language (PHP) that parses for place holders for dynamic content within HTML

Re: [PHP] templating engine options

2009-05-25 Thread Sancar Saran
On Tuesday 26 May 2009 01:44:43 am Nathan Rixham wrote: Stuart wrote: 2009/5/25 Robert Cummings rob...@interjinn.com: I continued the discussion with Nathan. I too have had an off-list discussion with Nathan on this topic, and a productive one at that. which would probably be a good

Re: [PHP] CSS tables

2009-05-18 Thread Sancar Saran
Well. If you really really want to go Table less css. You have to you one of those CSS frameworks. I suggest YAML And even with YAML. You have to fix your design to IE6. My point of view positioning with DIV was time consuming process and very frustrating experience (especially with

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Sancar Saran
On Monday 20 April 2009 16:48:42 Marc Christopher Hall wrote: Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen with the main db we PHP'ers have come to know and love especially since v 5 sudo apt-get install postgresql -- PHP General Mailing List

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Sancar Saran
Probably a bit off topic and The Game is over man. Javascript coming with flank speed. Next generation JS Framworks will take html generation jobs from server side. Whole thing of Server Side MVC and other yada yada was became joke. Those server siders become JSON pushers for JS frameworks.

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Sancar Saran
On Monday 23 March 2009 12:33:58 Robert Cummings wrote: On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote: Probably a bit off topic and The Game is over man. Javascript coming with flank speed. Next generation JS Framworks will take html generation jobs from server side. Whole

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Sancar Saran
On Monday 23 March 2009 16:24:55 Robert Cummings wrote: On Mon, 2009-03-23 at 15:58 +0200, Sancar Saran wrote: On Monday 23 March 2009 12:33:58 Robert Cummings wrote: On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote: Probably a bit off topic and The Game is over man

[PHP] Object Context Question in object-object-variable

2009-03-02 Thread Sancar Saran
Hello list. I'm trying to implement someting on OO way. I got 2 classes class a { var $config = array(); var $b = ''; function __construct { $this-b = new b($this-config); } } class b { var $config = array(); function foo() { switch($this-config['bar']) { } } }

Re: [PHP] Object Context Question in object-object-variable SOLVED

2009-03-02 Thread Sancar Saran
On Monday 02 March 2009 20:50:56 Sancar Saran wrote: Hello list. I'm trying to implement someting on OO way. I got 2 classes class a { var $config = array(); var $b = ''; function __construct { $this-b = new b($this-config); } } class b { var $config = array

[PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-15 Thread Sancar Saran
Hello list. Recently we had some serious discussion on local boards. I prefer calling PHP as Web Framework of C and C++ if you had a time for this fruitless discussion. Please send your opinions. Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Module Structure ideas

2009-02-12 Thread Sancar Saran
On Wednesday 11 February 2009 21:42:24 Ashley Sheridan wrote: On Wed, 2009-02-11 at 21:20 +0800, Virgilio Quilario wrote: Last year I began to sepearte my module files to many files for their purposes. Last time use use lots of dirs for their types someting like

[PHP] Module Structure ideas

2009-02-10 Thread Sancar Saran
Hello List, Last year I began to sepearte my module files to many files for their purposes. Last time use use lots of dirs for their types someting like controllers a.cont.php b.cont.php definition a.def.php b.def.php models a.model.php b.model.php views a.view.php b.view.php

Re: [PHP] long echo statement performance question

2009-02-06 Thread Sancar Saran
On Friday 06 February 2009 19:12:08 Frank Stanovcak wrote: I'm in the process of seperating logic from display in a section of code, and wanted to make sure I wasn't treading on a performance landmine here, so I ask you wizened masters of the dark arts this... is there a serious performance

Re: [PHP] Web Shop Management

2009-01-31 Thread Sancar Saran
On Friday 30 January 2009 23:14:25 Edmund Hertle wrote: 2009/1/30 Sancar Saran sancar.sa...@evodot.com Hello everyone, Maybe it was bit off topic. Recently we move our web server. Of course there where tons of WTF ??? So is there any kindof web based management system to handle

Re: [PHP] Web Shop Management

2009-01-31 Thread Sancar Saran
that doesn't quite sound like what you want as it isn't something you host, and you'd basically need to create a new one for each project. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Sancar Saran wrote: Not really. It was someting like customer tracking. Finding

[PHP] Web Shop Management

2009-01-30 Thread Sancar Saran
Hello everyone, Maybe it was bit off topic. Recently we move our web server. Of course there where tons of WTF ??? So is there any kindof web based management system to handle. Web based projects. I'm looking for someting like this Customer -- Project 1 -- Project 2 -- Project

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Sancar Saran
Hello guys, It seems most of you very tallended programmers. Could you generate someting like php-- withouth OO just namespaces ? and make 95% of php programmers very happy... this Object Orgy going to blow that language which makes us productive programmers. and My vote goes to Tony...

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Sancar Saran
... Sancar Saran

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Sancar Saran
On Thursday 15 January 2009 17:45:35 Robert Cummings wrote: Hell, yes, signed to from start to end. After RoR, PHP guys (including Zend) goes nuts. Every one eat his brains to develop RoR like Framework. What are you smoking? I like my framework the way it is. I'm sure others

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Sancar Saran
On Monday 05 January 2009 16:29:09 Merlin Morgenstern wrote: Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate

Re: [PHP] Architecture patterns in PHP

2008-12-29 Thread Sancar Saran
On Sunday 28 December 2008 01:40:01 Michael C. Yates wrote: Hey, How do you structure your web applications? I am thinking in terms of separating presentation and logic. How is that done in PHP? And how many architecture patterns are there? Thanks Micheal C. Yates Well, I use, way

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Sancar Saran
On Thursday 04 December 2008 10:45:21 Richard Heyes wrote: Hi, From a recent IEBlog post: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements -to-come-in-ie8.aspx Microsoft and Standarts ? Ship load of crap... Every web developer should open class action suit

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Sancar Saran
On Thursday 27 November 2008 19:07:42 Daniel P. Brown wrote: On Thu, Nov 27, 2008 at 11:08 AM, tedd [EMAIL PROTECTED] wrote: Hi gang: Happy Turkey Day to all who are working on Thanksgiving. Back at you, my friend. Some on the list may not even know what Thanksgiving is, being

Re: [PHP] ZendOptimizer + APC

2008-10-22 Thread Sancar Saran
On Tuesday 21 October 2008 19:35:53 Jochem Maas wrote: anyone know whether running ZendOptimizer + APC simultaneously still causes allsorts of problems ... I know it did in the past but I can't find any very recent stuff about the issues online. You have to buy Zend Performance platform. Thats

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Sancar Saran
On Friday 17 October 2008 02:14:18 Nathan Rixham wrote: Evening All, I'd be /really/ interested to know who uses what! *Procedural or OOP?* Procedural in design. And code a bit different. I'm groupping my functions under classes like util, user, session etc. Each function is public static.

[PHP] Eclipse - PDT, prevent validation on some files

2008-09-24 Thread Sancar Saran
Hello there, sorry to bugging the list and I hope finding the answer quickly. Today I watch a youtube video which showing eclipse pdt and I want to try. It was amazing, it was so advanced after kate and if I handle one thing, I would be very happy. This thing checks every file in the

Re: [PHP] SESSIONS vs. MySQL

2008-09-19 Thread Sancar Saran
Use memcached based session handler Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web Project Leader -- Contract - San Francisco area

2008-09-17 Thread Sancar Saran
On Wednesday 17 September 2008 22:00:48 Dan Joseph wrote: But again, I'm not defending the guy. Let him fight for himself. :) Fight for himself ? He can't. I'm pretty sure he did not know anything about that mail. And if it was true they search microsoft oriented and this list was't very

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-11 Thread Sancar Saran
Because, M$ earning money from Win GUI. No WinGUI no money. From the begining, M$ try to broke web compatibilty in every way... Sure M$ has bad records about software quality. But even ask yourself. WHY IE (especially 5 and 6) SO buggy even M$ standards. M$ isn't mr nice guy and they wont get

Re: [PHP] ASCII Captcha

2008-08-31 Thread Sancar Saran
http://blogs.zdnet.com/security/?p=1835 That was great. Human captcha resolvers. $2 per 1000 resloved captchas... ouch... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ASCII Captcha

2008-08-29 Thread Sancar Saran
Hello there, Actually my captchas show the world some funky coloured text... :-) I just wondering. What if we show captcha using ASCII ART format. like pre |||

Re: [PHP] Re: PHP IDE needed

2008-08-27 Thread Sancar Saran
Whats wrong with echo ?php echo Hello World; ? index.php is there anything to satisfy your needs... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ?=class::$lang[$this-lang]['_key_']? Not working

2008-08-21 Thread Sancar Saran
Hello, I god very weird problem on cent os server. I use php templates on TYPO3 based system. which uses short tags some how ?=class::$lang[$this-lang]['_key_']? was not working. System works perfectly on my ubuntu machine. Another problem was. I can get $this-lang I can get

Re: [PHP] ?=class::$lang[$this-lang]['_key_']? Fixed myBAD

2008-08-21 Thread Sancar Saran
Sorry to bothering list. my_bad I damn bug generated by mysef and ignited by sort order... /my_bad Sorry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP4?

2008-07-30 Thread Sancar Saran
Because, People believes Do not fix until broke Motto. Testing new online application may painfull. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
On Friday 18 July 2008 15:53:06 Manoj Singh wrote: Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh Premature optimization as root of all evil. Use less sql connection as

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
On Friday 18 July 2008 18:43:43 Robert Cummings wrote: On Fri, 2008-07-18 at 16:47 +0300, Sancar Saran wrote: Do not use, template system, use inline php code for templates. Oh dear... you must subscribe to FUD 101. Cheers, Rob. -- http://www.interjinn.com Application and Templating

[PHP] Pure PHP

2008-07-18 Thread Sancar Saran
Hello, I want to write some of my ideas about php performance and maintenance. Also you may consider this response to Robert's template systems arguments. I hope my english does not disturb too much. As a uneducated php developer, I have open mind to anything. I try lots of things. After so

Re: [PHP] Optimization of PHP Code

2008-07-18 Thread Sancar Saran
And one thing. (1). It is very convenient to pre-process static information at compile time rather than on every request (specific properties, content chunks, content relocation, etc). Additionally, it can compile to static HTML, One of my sites using 3rd party as data source (via xml).

Re: [PHP] What font/size do you use for programming?

2008-07-09 Thread Sancar Saran
On Wednesday 09 July 2008 02:23:49 tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd Monospace 9

Re: [PHP] Re: Re: Re: Military Service WAS [PHP] Capitalization of variable

2008-06-24 Thread Sancar Saran
I hate to say this, but I am expendable. If that's what it takes to keep my country and my family safe, myself and many other men would quickly rise to take the fire. /salute -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: RE: Military Service WAS [PHP] Capitalization of variable

2008-06-22 Thread Sancar Saran
On Saturday 21 June 2008 16:58:24 Michelle Konzack wrote: Merhaba Sancar, Am 2008-06-20 09:21:30, schrieb Sancar Saran: The Turkish Gendarmerie (Jandarma Genel Komutanligi) ;-) How long is the service there? 15 Months. Thanks, Greetings and nice Day/Evening Michelle Konzack

Re: [PHP] RE: Military Service WAS [PHP] Capitalization of variable

2008-06-20 Thread Sancar Saran
On Thursday 19 June 2008 18:25:10 Jay Blanchard wrote: [snip] I wonder how many of us on the list served. It's got to be more than just you and I, Tedd, wouldn't you think? [/snip] U.S. Air Force The Turkish Gendarmerie (Jandarma Genel Komutanligi) -- PHP General Mailing List

Re: [PHP] (*OT) What we are going to do about those OT's?

2008-06-20 Thread Sancar Saran
On Saturday 21 June 2008 00:23:04 Nitsan Bin-Nun wrote: Someone had to start some thread like this.. I think we should create another list for those OT's as Daniel suggested. Any ideas? Regards Shabat Shalom, Nitsan btw I cant see any reasonable cause to avoid OT's in the general list,

Re: [PHP] Discussion of method -- config files

2008-06-19 Thread Sancar Saran
Hi tedd My final solution was. class conf { public static $vals = array(); // config array ... } conf::$vals['mysql_host'] = 'localhost'; conf::$vals['mysql_user'] = [EMAIL PROTECTED]; you can access anywhere of your script and you won't need to pollute $GLOBALS. Regards Sancar On

Re: [PHP] Discussion of method -- config files

2008-06-19 Thread Sancar Saran
Well, after reaching this $GLOBALS['live']['current']['c']['modules']['traffics']['url'] = 'blah'; I change my mind to use public static variables. using conf::$vars (or someting like that) was more pratic than using $GLOBALS directly. You can set config each of your classes. Regards

Re: [PHP] Re: php framework vs just php?

2008-04-24 Thread Sancar Saran
On Wednesday 23 April 2008 21:29:40 tedd wrote: At 5:24 PM +0300 4/22/08, Sancar Saran wrote: Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... Yes, and I'm programming with it. But, that's what jQuery and I call a library. Cheers, Name it whatever you

Re: [PHP] Re: php framework vs just php?

2008-04-24 Thread Sancar Saran
On Thursday 24 April 2008 14:52:12 Eric Butera wrote: On Thu, Apr 24, 2008 at 2:42 AM, Sancar Saran [EMAIL PROTECTED] wrote: It works. It needs to read tons of docs before writing someting useful and it was [EMAIL PROTECTED]@ to writing programs with zend framework. It has tons of real

[PHP] Prevent Parsing some nodes in XML documents

2008-04-22 Thread Sancar Saran
Hello Everyone. I'm trying to use xml structure my pages. My problem was when I was embeding html into xml documents. adding ![CDATA[ html code ]] resolves problem for reading. And if I serialize any php array contains html code int xml problems repeating agin. So ? I'm asking is there any

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Sancar Saran
Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... You are really doing tons of things with much less code. And jQuery was javaScript thingy and in php world nothing was comperable. My toughts about php frame work was; All those frameworks claim their way was

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Sancar Saran
My method was. Store into global thingy. Then echo very end of the page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Sancar Saran
On Monday 03 March 2008 07:07:18 Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ )

Re: [PHP] Re: Call PHP script from MySQL

2008-02-19 Thread Sancar Saran
Hello, you may call external php script someting like that $val = asp's_fopen(http://www.example.com/calculate.php?var=password_field); php // calculate.php echo correct hash (vpopmail); ? Regards Sancar On Wednesday 20 February 2008 01:58:48 Mário Gamito wrote: Hi Nathan, Is it

Re: [PHP] Template system in PHP

2008-02-13 Thread Sancar Saran
Hello, I vote for Typo3 template system. If you work bunch of HTML only designers this one best. If you have some php avare designers, you should go with php based + memcached template systems. Second option was much faster anything else. Just store the template into memcached and do some

Re: [PHP] Session and Multi Server Architecture

2008-02-12 Thread Sancar Saran
On Tuesday 12 February 2008 16:06:04 Stut wrote: Sancar Saran wrote: Hello On Tuesday 12 February 2008 13:39:19 Stut wrote: I'll be using memcache as a simple cache. I hate sessions and avoid them for anything but the most trivial sites. The main sites I work with no longer use

Re: [PHP] Session and Multi Server Architecture

2008-02-12 Thread Sancar Saran
Hello For poor man's multinode, ADODB offers Sql based sessions, it was good enough for starters. Of course memcached based session storage was an option. But with this model need better implementation. Memcached was just cache, there was no offical way to backup data. (as far as I know)

Re: [PHP] Session and Multi Server Architecture

2008-02-12 Thread Sancar Saran
Hello On Tuesday 12 February 2008 13:39:19 Stut wrote: I'll be using memcache as a simple cache. I hate sessions and avoid them for anything but the most trivial sites. The main sites I work with no longer use sessions because they add a pointless layer of complexity to any application that

Re: [PHP] Session and Multi Server Architecture

2008-02-12 Thread Sancar Saran
On Tuesday 12 February 2008 00:45:59 Michael McGlothlin wrote: implement session_set_save_handler() with a database, or ideally, memcache. I use memcache with a secondary db backing. Works pretty well. I use it for session data as well as any other uses I want to make of memcache. Memcache

Re: [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-24 Thread Sancar Saran
On Thursday 24 January 2008 17:44:03 Luc Maltier wrote: Hello! My first message: I've just updated PHP from 5.1.4 to 5.2.5 (to solve an Apache problem when double-clicking on links). This was successful, as the problem is now solved, but I now, sometimes, get a message stating that the

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Sancar Saran
On Wednesday 16 January 2008 15:33:04 Jochem Maas wrote: tbt schreef: Hi, I'm a newbie to php and i would like to set register_globals to 'on' from my php script itself(eg:- index.php). Is there any way of doing this. you think you would like that. but you are wrong. register_globals is

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Sancar Saran
Hello Hell frezezer over. odd verb. but I get the message. indeed it's seem it hath freezeth nicely. Me thinks regsiter_globals are evil too. And what about this session_start(); $_SESSION['refString'] = $_GET['refNo']; what about it? 1. you mean the fact that the GET val

Re: [PHP] uh oh, I defined a resoruce

2008-01-14 Thread Sancar Saran
Hello Jochem, no not in the slightest. both those bits of code are identical for one (apart from the fact that neither are valid syntax). and whatever your trying to point out it's beside the point (I think). any possible race condition will be occuring with the code that *sets* data into

Re: [PHP] uh oh, I defined a resoruce

2008-01-13 Thread Sancar Saran
On Sunday 13 January 2008 16:53:42 Jochem Maas wrote: Sancar Saran schreef: Well, ADODB and TYPO3 are successfull oss procjecs which uses PHP and they utilizes globals at large. windows is a successful OS but most people would agree it's built on a foundation of cruft. success

Re: [PHP] uh oh, I defined a resoruce

2008-01-13 Thread Sancar Saran
On Sunday 13 January 2008 21:42:28 Jochem Maas wrote: no race conditions occur in code written in php? true that there is no direct race conditions that can occur as a direct result of running code but obviously you've never dealt with multi-user systems using a databse backend, or

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Sancar Saran
Well, ADODB and TYPO3 are successfull oss procjecs which uses PHP and they utilizes globals at large. Regards. Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Byte Size of an array

2008-01-07 Thread Sancar Saran
Hello, I just wonder to how can I find a memory size of an array. Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] best way for PHP page

2008-01-02 Thread Sancar Saran
On Wednesday 02 January 2008 09:17:50 Alain Roger wrote: Hi, i would like to improve my coding quality when i use PHP code and for that i would request your help. in my web developer experience, i have to confess that i've never succeeded in spliting PHP code from HTML code. i mean that

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-24 Thread Sancar Saran
) and English by myself. Because of this time to time I found my self into very alien position for others. On Monday 24 December 2007 19:13:07 tedd wrote: At 4:18 PM +0200 12/19/07, Sancar Saran wrote: that said, avoid globals like the plague - sometimes you may come up

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Sancar Saran
example code // current code //--- Set DB $GLOBALS['db'] = NewADOConnection($GLOBALS['c']['db']['type'].'://'. $GLOBALS['c']['db']['user'].':'.$GLOBALS['c']['db']['pass'].'@'.$GLOBALS['c'] ['db']['host'].'/'.$GLOBALS['c']['db']['name']); $ADODB_FETCH_MODE = ADODB_FETCH_NUM; // Fastest Get Method

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-20 Thread Sancar Saran
Hello All, Thanks for joining the conversation. It seems there where no real technical dead end for using $GLOBALS directly. Using $GLOBALS directly very similar to coding standarts. It just up to you. Also I try explain my enviroment a liddle bit. First of all my function declarationgs gonna

[PHP] Opinion about the using $GLOBALS directly

2007-12-19 Thread Sancar Saran
Hello list. I want know to you opinions about using $GLOBALS directly. like $GLOBALS['myString'] = 'test'; $GLOBALS['myArray']['this'] = 'this'; $GLOBALS['myArray']['that'] = 'that'; $GLOBALS['myClassObj] = new SomeClass; Regards Sancar -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-19 Thread Sancar Saran
Hello Jochem, Thanks for response, I'm using this aproach maybe more than one year. I did not get any problems. there is no real difference between 'global $foo' and $GLOBALS['foo'], and the second is probably more maintainance friendly (as Rob pionted out) Yes you are right writing global

[PHP] Re: PHP on .NET DLR

2007-08-10 Thread Sancar Saran
Hello there, Once upon a time I try to ignite PHP community to develop some kind of client side php, which failed, because lack of interest (or because of javascript). In open source world everthing boosted from personal interest. Hi, Thanks for chipping in. Silverlight is not a fad,

Re: [PHP] Articles or News Management Systems

2007-08-08 Thread Sancar Saran
/subcat/documentTitle/document.xml /category/subcat/subcat/documentTitle/document.xml /category/subcat/subcat/documentTitle/document.xml On Wednesday 08 August 2007 03:49:25 Chris wrote: Sancar Saran wrote: Hello List, I'm going to add some kind of articles system into my cms. General aim

Re: [PHP] Articles or News Management Systems -- Full Message

2007-08-08 Thread Sancar Saran
them also another mini project. Regards Sancar On Wednesday 08 August 2007 03:49:25 Chris wrote: Sancar Saran wrote: Hello List, I'm going to add some kind of articles system into my cms. General aim of this articles system have unlimited branches (or sub categories), each branch may

[PHP] Articles or News Management Systems

2007-08-07 Thread Sancar Saran
Hello List, I'm going to add some kind of articles system into my cms. General aim of this articles system have unlimited branches (or sub categories), each branch may own editors or writers. I'm looking for current imlementations of this kind of systems. Does anyone suggest a system to have

Re: [PHP] Authentication script working in firefox but strange results in ie7

2007-08-04 Thread Sancar Saran
Hello , Those code doesn't mean anything to client browser, you may session cookie problem. Please check php.net online manual about it. Regards Sancar On Saturday 04 August 2007 18:20:49 Brian Seymour wrote: I mostly use Firefox but still I check to make sure everything works in IE7 and

Re: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Sancar Saran
On Wednesday 01 August 2007 17:46:44 Brad Bonkoski wrote: Hi, Please Check php.ini of cli. They are different. Maybe there where problem in php.ini Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Authentication

2007-07-27 Thread Sancar Saran
On Friday 27 July 2007 20:51:51 Dan Shirah wrote: All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Sancar Saran
This is sucks, Those publishers ripping the authors then they blame the pirates... Real steal was %95 of book prices Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Sancar Saran
On Monday 23 July 2007 12:20:50 David Powers wrote: Sancar Saran wrote: Those publishers ripping the authors then they blame the pirates... Real steal was %95 of book prices No, the author gets 10% of what the publisher gets. If you look at prices on Amazon or other online bookstores

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Sancar Saran
believe all this mumbo jumbo to generate and bring your content to people. Ironically publishers can't bring your content much more people than pirates. On Monday 23 July 2007 14:00:31 David Powers wrote: Sancar Saran wrote: It was still ripping, They got 18 USD you got 2 USD. Out of that $18

Re: [PHP] PHP Performance and System Load

2007-07-20 Thread Sancar Saran
Hi, What is your desired performance level on what kind of hardware. Have look memcached, General performance tip do not include more than 10 files a page load. I had CMS project too. Sometimes it uses 10 MB of php memory (generally uses 3 mb of php memory). It uses Memcached in every way

Re: [PHP] best technique to get the ID of the last inserted value

2007-07-20 Thread Sancar Saran
On Friday 20 July 2007 21:10:28 Marcelo Wolfgang wrote: Hi all, I'm a newbie in PHP, and I want to know what's the best technique you guys use when you need to get the id of the last inserted value in the database. My first thought is to do a SELECT on the db and get the last id, but I

Re: [PHP] Re: PHP Performance and System Load

2007-07-20 Thread Sancar Saran
Hi, I had lots of loop in my code. My gain was %4 to %6 and I say may gain another %10. Of course your millage was different than me Regards Sancar On Saturday 21 July 2007 01:03:45 Richard Lynch wrote: On Fri, July 20, 2007 4:16 am, Colin Guthrie wrote: Sancar Saran wrote: Another

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread Sancar Saran
I believe, we are here for solving problems. Pirating has very very long history. Even Julius Ceasar (hope I wrote correct) can't defeat them. On other way modern life style steals other species resources. Does anyone feel guilty about this ? Also you may want know, more than 4 billion of

Re: [PHP] Pirate PHP books online?

2007-07-16 Thread Sancar Saran
http://www.thepiratebay.org On Monday 16 July 2007 14:42:25 Dotan Cohen wrote: On 16/07/07, Austin C [EMAIL PROTECTED] wrote: Dont be so harsh. I used to torrent PHP books, and everyone I turrented, I ended up buying from a book store so I could take it with me. So, that kind of stuff

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-15 Thread Sancar Saran
On Saturday 14 July 2007 15:01:13 David Négrier wrote: Hi I just watching your screen cast, it has very good ideas. I wonder does any other language has same kind of aproach. Later or sooner this kind of aproach become must in web business. Regards Sancar. Indeed, Xaja relies on the

Re: [PHP] Persistent Objects

2007-07-15 Thread Sancar Saran
On Sunday 15 July 2007 19:58:09 Wesley Acheson wrote: Hi, At work we use Java so one thing is annoying me. Is there really no way to create a persistent object in PHP? As far as my understanding goes each object will be recreated on each and every request. The reason I was asking is I

  1   2   >