Re: [PHP] Php's future with Asp .NET?

2003-01-16 Thread Sancar Saran
On Thursday 16 January 2003 09:07, Dhaval Desai wrote: > Hello ppl, > > I was just wondering what is php's future with something like Asp .Net > coming up...I have read many articles by Php guys who think Asp.Net is the > future. If that's the true case...is it really worth sticking to Php at > all

Re: [PHP] Passing Arrays Through Forms

2003-01-17 Thread Sancar Saran
On Thursday 16 January 2003 20:58, [EMAIL PROTECTED] wrote: > Hello Everyone, > > I've attempted this many times, but have failed to understand it each time. > I want to make it easier for myself to deal with passing variables through > a form. So I thought, why not use a single array variable to d

[PHP] Session Question

2003-01-21 Thread Sancar Saran
Hi, I'm working on a project. It uses large sql data to create pages. Last week I create some kind of cache info to create faster execution. It really works (system runs more than 10 times faster) But stroring cache data is problem. I use the session to store cache info. With using cache data s

[PHP] Session Performance questions

2003-07-02 Thread Sancar Saran
Hi, I'm working on a CMS like system. Its uses heavly SQL for page rendering. Yesterday I made a stress test. System stable for just 30 secs (for 60 request per sec, An Athlon750 with 320 mb ram). My investigation is Apache stalls when writing sessions. System uses sessions for store sniffed br

Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Sancar Saran
On Thursday 03 July 2003 20:51, Jeff Schwartz wrote: > The PHP site (under Servers-Apache 2.0) says "Do not use Apache 2.0 and PHP > in a production environment neither on Unix nor on Windows" but isn't clear > whether Linux is included or whether it applies to all Apache 2 releases > (such as 2.0.

[PHP] Stop Neurotic Posting

2003-08-06 Thread Sancar Saran
Why ? So many people always asking same questions. Many of them so lazy. They aren't search lists archieve or google, they just ask or wait for the somebody do his/her job. It just classic, if people doesn't ask same stupid questions, there is no RTFM or similar things. This is about human n

[PHP] Cliend Side Support

2003-03-29 Thread Sancar Saran
Hello, I see PHP5 news on /. , and noting about client side php support. Does any one had any new news about client side PHP ? (not PHP+GTK) Thanks. -- Sancar Saran Koytur Networks System Administrator -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP and Flash

2003-05-30 Thread Sancar Saran
On Thursday 29 May 2003 14:31, César Aracena wrote: > Hi all, > > I just made a pretty little flash banner with buttons and everything... > Does anyone knows if I can make the flash buttons links with dynamic > content? I need to fetch cartain common pages but with different > variables. > > Thanks

[PHP] Php code to create php code

2003-06-11 Thread Sancar Saran
Hi, Is there any example or/and tutorial for create php code with using php. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SQL injection

2003-06-22 Thread Sancar Saran
Hi, Is there any way, doc, article, example, idea, suggestion to how to prevent sql injection on php sites... Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Manners and Heritage

2003-06-24 Thread Sancar Saran
[EMAIL PROTECTED] wrote: Hello Everyone This is slightly off topic... so ignore or comment. Just wondering where does the term RTFM actually originate. And wouldn't it be better to say RTM or RTAM (thats Read the amazing Manual) since as a foreigner, that means non english native speaker, I can'

[PHP] Gd Lib PHP.4.3.2 Gentoo

2003-06-24 Thread Sancar Saran
Hi, Is there any problem on Php 4.3.2 GD lib ? My code works fine on Php 4.3.1 but not work 4.3.2 here code Header ("Content-type: image/jpeg"); $text = "some text"; $s= 20; $fontfile = "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf"; $size = imagettfbbox($s,0,"$fontfile",$text); $dx

Re: [PHP] Gd Lib PHP.4.3.2 Gentoo

2003-06-24 Thread Sancar Saran
I change system from apach2 to apache it fixed... Sancar Saran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pushing MySQL AB for using PHP for stored procedures language

2003-06-28 Thread Sancar Saran
Dear PHP users, MySQL AB, going to add stored procedure language for MySQL. They say "Stored procedures are currently being implemented. This effort is based on SQL-99, which has a basic syntax similar (but not identical) to Oracle PL/SQL. We will also implement the SQL-99 framework to hook in

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

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] 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

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 generat

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

2009-01-15 Thread Sancar Saran
ding Zend) goes nuts. Every one eat his brains to develop RoR like Framework. I wish to see fixed function parameter names, option orders, easy and strong input validation in PHP 6. And they give full effort to generate Zend Framework. Then what? It still harder than Ror... Hell yes, Compete own community. teh best way to spend your resources... 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

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...

[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 Propeti

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 > > > 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

Re: [PHP] Web Shop Management

2009-01-31 Thread Sancar Saran
om/>, which is designed for making project > collaboration, with goals, timelines, and all sorts, although 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 Kuble

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 performan

[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] 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 lik

[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: http://w

[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 =

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. A

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 > >

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 a

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 (http://www.php.net

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 IE6).

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

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 : > >> 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 time for

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: > > > $content = 'No Comments'; > > if(isset($comments) and is_array($comments) and count($comments) > 0 ) { > > $content = ''; > > foreach( $comments as

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 betwe

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 appli

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 > period

[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] 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

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 i

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.

Re: [PHP] send email by php class

2007-01-08 Thread Sancar Saran
On Monday 08 January 2007 16:56, Jochem Maas wrote: > [EMAIL PROTECTED] wrote: > >> [EMAIL PROTECTED] wrote: > >>> Hi, > > ... > > >>> Was looking on phpclasses.net for the class but there are tons of them. > >>> Can somebody recomend any class? Something simple. > >> > >> phpmailer.sourceforge.net

Re: [PHP] mssql_* overhead

2007-01-11 Thread Sancar Saran
On Wednesday 10 January 2007 17:47, Philip Thompson wrote: > Hi. > > Does anyone know if the mssql_connect/_init/_bind/etc require a lot > of overhead? > > I have a page that requires multiple function calls and each of those > opens a new connection to the database, performs the necessary > action

[PHP] Debugging PHP

2007-01-12 Thread Sancar Saran
Hi, Due to my English knowladge shortcomings or just my own stupity I cannot setup a working php debug module. Is any one have working solution. My target was, able to check every functions and or files for performance issues. I thing this called profiling or someting like that. Regards San

Re: [PHP] most powerful php editor

2007-01-24 Thread Sancar Saran
I believe this was related to what did you want to do with your editor. I use these editors Linux - KDE -> Kate Win32 -> Ultra Edit Both are support UTF8 and both can handle more than one file at one session.. Enough search and replace abilites. Both can highlight code... I wish to KDE (and

[PHP] Unserialize problem (and or bug)

2007-01-24 Thread Sancar Saran
Hi, After updating company test server to dotdeb 5.2.0 it star to give memory problems (even 32mb session). I tought it was because of suhosin. And I cannot update that server to vanilla debian php5 package because it was a sarge so today my company gives me another debian etch (like my home pc

Re: [PHP] Unserialize problem (and or bug)

2007-01-24 Thread Sancar Saran
Hi, I mean there was no offical php5 package for debian sarge. Dotdeb was not offical. On Wednesday 24 January 2007 17:46, Németh Zoltán wrote: > On sze, 2007-01-24 at 17:17 +0200, Sancar Saran wrote: > > Hi, > > > > After updating company test server to dotdeb 5.2.0 i

Re: [PHP] Unserialize problem (and or bug)

2007-01-25 Thread Sancar Saran
Hi On Thursday 25 January 2007 02:16, Richard Lynch wrote: > On Wed, January 24, 2007 9:17 am, Sancar Saran wrote: > > After updating company test server to dotdeb 5.2.0 it star to give > > memory > > problems (even 32mb session). I tought it was because of suhosin. And &g

Re: [PHP] most powerful php editor

2007-01-25 Thread Sancar Saran
On Wednesday 24 January 2007 15:41, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200: > > and also in these days I'm looking for 19 inch (or more) wide LCD > > sceerns to able to fit longer lines in my screen... > > Number of reading errors people make grows with line length

Re: [PHP] memory_limit Setting?

2007-01-26 Thread Sancar Saran
On Friday 26 January 2007 19:35, Jay Paulson wrote: > Hi everyone, > > I¹m trying to upload a 25MB file via PHP and I¹m setting the memory limit > way high so I don¹t get a fatal error from php (the error is below). What > I find really odd about this is that the error message says that PHP tried

[PHP] Server Stall

2007-02-05 Thread Sancar Saran
Hi, One of my scripts are using wget to get external xml data $fp = popen ("wget -O - '".$dst."' | cat","r"); Some time $dst host responds very slowly. And that time if I open another connection to same server the second request waits to complete wget operation. I'm very noobie about this fil

Re: [PHP] PHP4 to PHP5 issue

2007-02-05 Thread Sancar Saran
Hi, It look like your system cannot init adodb library. It may SQL setup problem... On Monday 05 February 2007 19:58, Skip Evans wrote: > Hey all, > > I installed a new FreeBSD 6.0 server here in the > office with PHP5. I moved over several sites we > developed under PHP4, and all of those seem t

Re: [PHP] Server Stall

2007-02-05 Thread Sancar Saran
Hi, Matt Thanks for answer, I try your solution and use it. And interestingly I found this, If my request coming from second tab of firefox it will wait util first request done. I think php does not open second thread for same session... Anyway thanks for answer. It was very useful.. Regards

Re: [PHP] Updating PHP checkout page

2007-02-09 Thread Sancar Saran
On Friday 09 February 2007 21:29, Robert wrote: Greetings, This is about to your aproach to problem. For my point of view there are too many solution. 1-) Is that customer may have to register himself? If so you may get from his state date from here (when customer register himself you require hi

Re: [PHP] Re: Text Editor for Windows?

2007-02-09 Thread Sancar Saran
I bet for one more week about this topic ? Any bidders ? :) Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Web Based Game Theory

2007-02-11 Thread Sancar Saran
Greetings all, I just want to TRY write a web based strategy game. Lets say a famous ogame clone. Is there any paper about to game engine. I feel a bit a lost. For example, for realtime gaming I need some kind of back size cli based big game loop. Right ? Last night I try to write down some t

Re: [PHP] insert html into php variable

2007-02-12 Thread Sancar Saran
Hi, If I understood your questions here my solution. Tip: Do not use " in html files... externalFile.php ".$arrData[$i]['foo']." ".$arrData[$i]['bar']." ".$arrData[$i] ['baz']."\n"; } ?> mailFile.php Some Header\n"; $strSubject = "This Is subject"; $strBody = " ".$strFirsRow." ".$strExterna

Re: [PHP] $_FILES path on client's machine?

2007-02-18 Thread Sancar Saran
Hi, No solution from php... If you find you way to read form file tag path via js you ma send this value to server and may store sql then send back. Aslo I'm not sure to sending back those stored info to client solve the problem. If you really want to do this. You have to write your own file

Re: [PHP] What is $this->

2007-02-19 Thread Sancar Saran
Hi, I believe there are more offical answes available at around the web. This is what I understand $this-> This is a base OO programming thing. IN oo world you have to create new object to do someting. like $db = new adodb; so after the generate object you will modify this object via functio

Re: [PHP] css in mail()

2007-02-19 Thread Sancar Saran
On Monday 19 February 2007 17:03, Danial Rahmanzadeh wrote: > how can i use css with mail()? > thank u Title ".$data." Html content "; mail('[EMAIL PROTECTED]', 'You are welcome', $mail); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] css in mail()

2007-02-20 Thread Sancar Saran
Hi, On Wednesday 21 February 2007 01:14, Richard Lynch wrote: > On Mon, February 19, 2007 10:56 am, Sancar Saran wrote: > > On Monday 19 February 2007 17:03, Danial Rahmanzadeh wrote: > >> how can i use css with mail()? > >> thank u > > > > > $data =&#

Re: [PHP] css in mail()

2007-02-21 Thread Sancar Saran
t; www.dwsasia.com - company web site > www.lauri.se - personal web site > www.carbonfree.org.uk - become Carbon Free > > > -Original Message- > From: Sancar Saran [<a rel="nofollow" href="mailto:[EMAIL">mailto:[EMAIL</a> PROTECTED] > Sen

Re: [PHP] New Menu Bar - Can people test it for me?

2007-02-21 Thread Sancar Saran
On Wednesday 21 February 2007 14:12, Scott Gunn wrote: OK for Konquerror Linux > All, > > http://www.thebigspider.co.uk/test/menu.html > > I'm going to write some php code which will build this menu from an XML > file. > > Before I do, I want to know what sort of browser compatibility it has? > co

Re: [PHP] PHP+MySQL website cache ? Yes/No

2007-02-25 Thread Sancar Saran
Hi, If you able to access memcached. Use memcached. Put your shopping chart items, rendered html items in memcached. It was MUCH faster solution... Regards Sancar On Sunday 25 February 2007 13:59, Martin Zvarík wrote: > This benchmark is not very accurate, but you are right the database > con

[PHP] Re: [PHP-DB] array field type

2007-03-04 Thread Sancar Saran
On Sunday 04 March 2007 23:04, Sancar Saran wrote: > Hi, > > I want to know is there any db server around there for store php arrays > natively. > > Regards > > Sancar Thanks for responses, it seems I have to give more info about situation. In my current project, we had

[PHP] Re: [PHP-DB] array field type

2007-03-05 Thread Sancar Saran
Thanks for all those replies. It seems there was no easy solution (and or serializing was better solution) for us. Our arrays contains lots of things.. XML may not fit because content of array may broke xml structure. Thanks for help. Regards Sancar. > >>>Hi, > >>> > >>>I want to know is th

Re: [PHP] module and access rights

2007-03-06 Thread Sancar Saran
Hi, On every request you have to check access rights. So you need access rights. someting like this rights table page_id user_login right_type select right_type from rights_table where page_id = '".$PHP_SELF."' and user_login ='".$_SESSION['user_login']."' if this query returns someting, your c

[PHP] Value evaluation library

2007-03-11 Thread Sancar Saran
Hi, Does anyone suggest to evaluation lib. I want to build sometin for check user posted values in php. If I remember correctly zend framework has someting like this... So I cust need evaluation part. Is there any other good lib around there ? Regards Sancar -- PHP General Mailing List

Re: [PHP] Performance: While or For loop

2007-03-24 Thread Sancar Saran
Hi, I'm using so much FOR loops in my code, after seeing discussion I try to test. My findigs it was giving %2 to %10 percent performance boost. So ? My recent template addon to this code cost me around %5 to %10 percent of total page process.. I think It was nice trade off. Thank you guys.

[PHP] Zend Guard Performance Problem

2007-03-28 Thread Sancar Saran
Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After installing eAccelerator with Zend Guard I saw more than %30 percent performance lost against Normal PHP + APC. Here my setup ;eAc

Re: [PHP] Zend Guard Performance Problem

2007-03-28 Thread Sancar Saran
On Wednesday 28 March 2007 11:36, Chris wrote: > Sancar Saran wrote: > > Hi, > > > > Recently we bought Zend Guard and because of Zend encoder we have to use > > another Opcode cacher other than APC. > > > > After searching net I found eAccelerator. > >

Re: [PHP] Re: WYSIWYG vs. the 'power-user'

2007-04-13 Thread Sancar Saran
It depends what did you want... For example. My current project uses own template engine. It was so simple. you have to use {} marked nodes inside of generic html document. You have to use text editor to update template file... Then guess what... Our HTML designers cring for dreamweaver support

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 st

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 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

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 wrote: > > On Wednesday 24 March 2010 21:42:53 Tommy Pham wrote: > >> On Wed, Mar 24, 2010 at 10:18 AM, Sancar Saran > > > > wrote: > >> > On W

[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 u

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 globa

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

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-24 Thread Sancar Saran
PHP) 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 co

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

[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] 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

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&#

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 file-w

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] 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_

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 t

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 th

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

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) Reg

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 th

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. > M

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 str

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); Regards Sancar On Wednesday 20 February 2008 01:58:48 Mário Gamito wrote: > Hi Nathan, > > >> Is it possible to call from within MySQL an external PHP scri

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

  1   2   >