[PHP] PHP Job Opening in UAE

2006-01-27 Thread M Saleh EG
Login Innovations, a new media internet solutions studio in UAE is looking for a resident-in-house PHP developer with at least 2 years experience. Skills required: OO knowledge and PHP5 PEAR aware Framework and code libraries integration CMS integration SQL and PL-SQL (MySQL 4.x, MySQL 5) XML

Re: [PHP] Suggestions for class design

2005-09-19 Thread M Saleh EG
From what I understand is you need a data objects class. Use a generic class such as PEAR's DB_DataObject (http://pear.php.net/package/DB_DataObject). All you have to do is give the table name and the class for example would be in our case DB_DataObject_Customer And then querying the table

Re: [PHP] How to start a global variable within a function?

2005-08-08 Thread M Saleh EG
simply, $GLOBALS['varname']=some_value; M Saleh EG +971-50-4779817 On 8/8/05, Wong HoWang [EMAIL PROTECTED] wrote: as title, how to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- M.Saleh.E.G 97150-4779817

Re: [PHP] Re: dynamically selecting a function

2005-08-08 Thread M Saleh EG
hmm, there is an intresting way that AFAIK only exists in PHP which is the variable variable and variable function. That is you could have a string to be a function name and then make the call with it in the following manner: $step=1; $func_const_name=step; $dyn_func=$func_const_name.$step; and

Re: [PHP] Inherit Methods

2005-08-08 Thread M Saleh EG
*parent* keyword does not belong to PHP5 !!! It's there in PHP4 as well! On 8/8/05, Edwin Barrios [EMAIL PROTECTED] wrote: Hi ! you have to defined protected $var. This is a example where php5 OO model has a little ambiguities. Thing a few in your problem !, on de child class scope

Re: [PHP] parallel execution of php code?

2005-08-08 Thread M Saleh EG
Check if you're using MySQL 4.1. If Yes use the subquery functionality. So you could have your query as following: Insert into sometable where not id=NULL and id=Select id from mytable where bla like 'some pattern'; Not really sure if it would work thogh. Havent tried it yet. HTH. On 8/8/05,

Re: [PHP] Average time spent on a page

2005-08-07 Thread M Saleh EG
] [EMAIL PROTECTED] wrote: Yes, I'm looking for the algorithm. - Original Message - *From:* M Saleh EG [EMAIL PROTECTED] *To:* [EMAIL PROTECTED] *Cc:* php-general@lists.php.net ; Frank de Bot [EMAIL PROTECTED] *Sent:* Sunday, August 07, 2005 6:36 AM *Subject:* Re: [PHP] Average

Re: [PHP] Average time spent on a page

2005-08-06 Thread M Saleh EG
Try using one of the log reader/analysis packages available for Apache or try doing it urself. Are you looking for the algorithm? let me know. On 8/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: LOL. This got nothing to do with my question . LOL again - Original Message -

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread M Saleh EG
If you're on windows desktop try this... it might sound a lil lame but it works. Schedule a task to open IE or FF and pass a url to the task . That's it. The task will execute that page in a given interval. On 7/30/05, Rory Browne [EMAIL PROTECTED] wrote: If your script needs to be run

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-26 Thread M Saleh EG
In general, anyone could then say oh .Net framework, Java framework, CPAN, or then any other full blown frameworks bloated! I believe these kind of posts would not effect noone but it might create a bad perception for the net/platform voyagers! Every framework, be it based on a language or an

Re: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-06 Thread M Saleh EG
But why would you do that when you can share the Calendar over outlook? On 6/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: That looks like some of my code.. or a derivative of my code. For some reason, my PC at work here is having issues with PHP instantiating with COM so I can't test

Re: [PHP] htmlArea - a 'client editor'

2005-06-04 Thread M Saleh EG
www.FCKEditor.net http://www.FCKEditor.net FCKEditor is the best i've ever seen. Check it out. On 6/3/05, Rory Browne [EMAIL PROTECTED] wrote: htmlArea afaik only works on MSIE 5+. It doesn't work on Mozilla/Firefox/etc. On 6/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ryan A:

Re: [PHP] SMarty and commercial php (a little 0t)

2005-05-22 Thread M Saleh EG
I'd recommand you to use the HTML_TEMPLATE_IT. It's a PEAR class for templating; I've personaly worked on it for building skinnable applications in which users and admins can change the look of the pages. Bottom line, it's a PEAR library/extension so no hastle since most of the hosts include

Re: [PHP] SWF duration time

2005-05-21 Thread M Saleh EG
here are the steps for a logical playtime duration of an SWF movie. The length/ duration of the movie is calculated by dividing the number of frames by the frame rate speed. Now that was the main time line... what about the other movies nesting inside the _root and its successors? run a tree

Re: [PHP] Code to bypass a certain php.ini directive

2005-05-20 Thread M Saleh EG
Sure you can! ini_set(display_errors, On); HTH. On 5/21/05, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I have this server with display_errors=Off in php.ini Now that i'm developing a new site. is there some code i can insert in the begining of a .php file to set only for this file

Re: [PHP] Re: A couple questions about templating

2005-05-10 Thread M Saleh EG
What is the purpose of your templating system? And what does it solve? These questions are the ones I'd ask myself if I was creating one. However, there are a lot of them out there so does your templating system solve a problem and is a solution? or just yet another templating class? As its

Re: [PHP] Zend Certification Exam

2005-04-26 Thread M Saleh EG
M Saleh EG wrote: Any advice from the ones that passed? Thanks Aaron Gould wrote: What exactly are you after? Why does it matter if a person has passed or not? As long as someone has taken the exam, that should be sufficient enough to provide some advice. I dont understand what's the problem

Re: [PHP] Zend Certification Exam

2005-04-26 Thread M Saleh EG
Well glad that now u put it this way! For me all that matter is jus knowing wat's gonna be up at the exam. When I said someone who passed it realy wanned to know how to tackel the whole thing... u might fail once n pass the second time. I still dont get/understand the negative way of looking

Re: [PHP] Zend Certification Exam

2005-04-25 Thread M Saleh EG
Any advice from the ones that passed? Thanks On 4/23/05, Greg Donald [EMAIL PROTECTED] wrote: On 4/23/05, M Saleh EG [EMAIL PROTECTED] wrote: Anyone who passesd? If I can pass.. well, good luck! :) -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General

Re: [PHP] Zend Certification Exam

2005-04-23 Thread M Saleh EG
Anyone who passesd? On 4/22/05, Aaron Gould [EMAIL PROTECTED] wrote: M Saleh EG wrote: Hi everyone.. kind of OT Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread M Saleh EG
I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread M Saleh EG
I did not say that you compared! Sorry if I put it that way. I said the article at Oracle does that. In all the cases that article does not fairly illustrate anything. It's a merketing trick for novices! On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 20:27, M Saleh EG

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread M Saleh EG
That's because Radio Buttons and Check Boxes do not return anything if not checked or selected. So you gotta explicitly do it ur self. That is u gotta check for it's validity and non-empiness. e.g. in ur scenario if(!isset($_POST['radio_test'])) { //print out all the options unselected } else {

Re: [PHP] hosted 2 factor authentication services?

2005-04-23 Thread M Saleh EG
www.dreamhost.com http://www.dreamhost.com is the best choice and the best value for money! Check it out. On 4/23/05, 1 2 [EMAIL PROTECTED] wrote: Hi I am using php and apache 2 on linux for a web application. Don't know if this is off topic but I don't know where else to ask.

[PHP] Zend Certification Exam

2005-04-22 Thread M Saleh EG
Hi everyone.. kind of OT Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm thinking it is any experience? Thanx in advance. -- M.Saleh.E.G 97150-4779817

Re: [PHP] reverse MD5 ???

2005-04-21 Thread M Saleh EG
It's simple. If your system supports it performance wise. Grab the id and compare it against the md5 version of the id saved in the cookie. if( $_COOKIE['id'])== md5($id)) { //.. then allow or let the user to do something } that's if you have the id already known. otherwise if you donno

[PHP] Visual PHP Editor?

2005-04-11 Thread M Saleh EG
We are yet blessed with existense of Zend IDE with the new features such as SQL views. But, is there a tool such as VS.Net http://VS.Net? in the means of visualness of the editing stage too? Of corse we do have the PEAR repositories and the other libraries that make our life much easier. True

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread M Saleh EG
a bit more : The answer would be Application-Scope vars wish we had it in PHP On Tue, 18 Jan 2005 02:42:46 +0400, M Saleh EG [EMAIL PROTECTED] wrote: The answer would be Application-Scope vars wish we had it in PHP M.Saleh.E.G 97150-4779817 -- PHP General Mailing List (http

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread M Saleh EG
. On Tue, 18 Jan 2005 10:20:55 -0800, Rasmus Lerdorf [EMAIL PROTECTED] wrote: M Saleh EG wrote: What I mean by Application-Scope variables is variables that can be available for the Application or Web-Application all the time after starting the application by a trigger. After having

Re: [PHP] Re: which is best php editor?

2005-01-17 Thread M Saleh EG
What's the purpose of your coding? Applications? Just some sort of dynamic code here n there? or Huge OOP application with a team of programmers? I started with PHPEdit, Moved to Magna and then tried Dreaweaver to communicate with designers. And then came Zend 2.5 n then Got shocked with Zend 3.5

Re: [PHP] Re: Persistent PHP web application?

2005-01-17 Thread M Saleh EG
The answer would be Application-Scope vars wish we had it in PHP M.Saleh.E.G 97150-4779817 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-17 Thread M Saleh EG
Zend Especialy with Zend 4.0 beta and Zend platform wow... that's all i'm gonna say. I had day on Zend 3.5 where I used to see .Net programmers openning Visual Studio.net and playing with their DB on their left hand panels on the same IDE and I used to say man..god help me with mySQLCC

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread M Saleh EG
Not to offend u or backup ASP but ur just wrong... You said: You can't actually create a class. That's not true! u might not be knowing the syntax of creating a class in vb or js script. Sorry but this is the truth my friend. On Mon, 3 Jan 2005 10:27:05 -0800 (PST), Richard Lynch [EMAIL

Re: [PHP] How to argue with ASP people...

2004-12-31 Thread M Saleh EG
the ob_start() in ASP is Response.Buffer=True ASP doesnt handle it for you automaticaly! Just wanted to notify ;) On Fri, 31 Dec 2004 03:14:31 -0500, John Holmes [EMAIL PROTECTED] wrote: mail.pmpa wrote: Can I do any session handling before calling header(Location: $url); ? Yeah, sure.

Re: [PHP] Programmatic Browser Rendering Engine?

2004-11-11 Thread M Saleh EG
I've seen screenshots of websites using Live website rendered and shown in an IFRAME scaled down to say.. 50% . IFRAME is your keyword I guess. However, your idea is realy creative. On Wed, 10 Nov 2004 13:39:00 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: Please Cc: me, as it's been

Re: [PHP] page redirect question

2004-11-10 Thread M Saleh EG
The keyword you are looking for is ob_start() Or Output Buffering ! Check that out. On Wed, 10 Nov 2004 09:39:06 +0530, Zareef Ahmed [EMAIL PROTECTED] wrote: Hi, Alas there is no any other way to redirect the page without sending headers in PHP. You may use javascript for this purpose.

Re: [PHP] Passing values from a new window

2004-11-06 Thread M Saleh EG
Javascript. Simply just update ur fields at the parent window. On onUnload even of the popup do this self.opener.formName.fieldName.value=document.popupformName.popupfieldName.value; Your keywords to check in Javascript papers are parent_window, window_opener and Javascript DOM. If you're

Re: [PHP] GUI editor for php?

2004-11-02 Thread M Saleh EG
Well a gui editor? do u mean something like Visual Studio for windows application design? or just an IDE. if it's the latter I'd recommand u to check out Zend Studio or NuSphere. On Mon, 1 Nov 2004 17:19:33 -0500, Andy B [EMAIL PROTECTED] wrote: Hi. Is there any GUI editors out there for

Re: [PHP] calling javascript

2004-11-01 Thread M Saleh EG
The idea is very simple. It just needs you to know the concepts. On the form processing page whenever u find an error just print or echo this : script type=text/javascript err_popup(); /script e.g. ? if( empty($_POST['firstName']) ) { echo script type=\text/javascript\;

Re: [PHP] Protecting Javascript via PHP

2004-10-28 Thread M Saleh EG
Even if u make ur JS files dynamicaly made on the fly, browsers cach that dynamic JS. To be specific you'd get a file like script.php?parameter=pValue as a .php file that is cached after being rendered. So ur JS will be there stored in the cached static .php file ( a file with PHP extension

Re: [PHP] Re: overiding functions (constructors mostly)

2004-10-25 Thread M Saleh EG
Exactly Daniel ! I should've mentioned that too. Thanx for making it clear. On Mon, 25 Oct 2004 15:45:36 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote: M Saleh Eg wrote: OR you could control ur method and have optional arguments in ur argument list and decide what to do according

Re: [PHP] Re: overiding functions (constructors mostly)

2004-10-24 Thread M Saleh EG
OR you could control ur method and have optional arguments in ur argument list and decide what to do according to that. e.g. public function _construct($param1=0, $param2=, $param3=null) { if($param1) if($param2) if($param3) } $obj=new className(1); //Or

Re: [PHP] Strange Array Error

2004-10-21 Thread M Saleh EG
On Thu, 21 Oct 2004 14:28:26 +0100, Shaun [EMAIL PROTECTED] wrote: Hi, I have been trying for the past two hours to understand why I get an error with the following code: ?php $test_array[] = array(); //Change it to $test_array=array(); /*Your statement adds an array to the

Re: [PHP] Simple Time Question

2004-10-21 Thread M Saleh EG
You might want to look at this: http://www.php.net/manual/en/function.date.php On Thu, 21 Oct 2004 08:48:54 -0600, Ben Miller [EMAIL PROTECTED] wrote: Probably a stupid question, but hopefully has a simple answer. Is there a way to get Grenwich Mean time? time() and date() functions that I

Re: [PHP] Open or Save PHP page?

2004-10-18 Thread M Saleh EG
.php files are still not associated with PHP extension on Apache. That means the php4apache.dll, or php4ts.dll is not associated in Apache to deal with PHP files. Check ur Apache conf files. Edit httpd.conf. On the module loading section and adding module section.Check if the php4apache.dll or

[PHP] PHP5 and Multi Inheritance?

2004-10-17 Thread M Saleh EG
Is direct multi inhertance supported in PHP5? I'm on PHP4, didnt find this on the docs nor at zend's. It might be the reason of migrating to PHP5 for me. Any Idea? anyone who tested it? by this I dont mean the chaining method of inheriting. I mean direct multi inheritance! Thanx in advance. --

Re: [PHP] Is there a way to...

2004-10-17 Thread M Saleh EG
secure it with apache .ht* files for directory and file settings or the main config file. On Sun, 17 Oct 2004 15:35:58 +0600, raditha dissanayake [EMAIL PROTECTED] wrote: GH wrote: Is there a way to make sure that a page is only loaded via a require or include statement? or other type of

Re: [PHP] Re: PHP5 and Multi Inheritance?

2004-10-17 Thread M Saleh EG
but may implement as many interfaces as it wants. Copied from the link above On 17 Oct 2004 13:30:36 -, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: * M Saleh Eg [EMAIL PROTECTED]: Is direct multi inhertance supported in PHP5? I believe so -- this was one of the new features

Re: [PHP] mod-rewrite

2004-10-17 Thread M Saleh EG
Yes it does! It aint off topic. Pate is trying to figure out how to integrate mod_rewrite functionality with his PHP scripts. If you're new to mod_rewrite then you can use this alternative PHP script that does the work for u. Here you go: http://www.zend.com/codex.php?id=674single=1 On Sun,

[PHP] Subdomains pointing to index.php?Page=Contacts

2004-10-12 Thread M Saleh EG
How a subdomain is pointed to a dynamic page section? If a dynamic url with querystrings gets rewritten somehow to look like directory based url... then how would I point a subdomain to it? -- M.Saleh.E.G 97150-4779817 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Help with Array Sorting Please

2004-10-08 Thread M Saleh EG
i'd recommand u to use trees if u got complicated data arrays. use tree datascturcutres... u could sort n do watever then or jus queues or stacks depending on what u wanna do Try PEAR Tree class it might help Hope that was usefull. On Fri, 8 Oct 2004 20:13:10 +0200, Nick Wilson [EMAIL

Re: [PHP] read aspx files

2004-10-08 Thread M Saleh EG
Do u mean using .aspx as ur file extensions? and then setup Apache to read them as php file? If that's the case then ur talking about types and extension handlers. Try or research about: Add Type in apache docs. and handlers. On Fri, 08 Oct 2004 11:23:02 -0700, Robby Russell [EMAIL PROTECTED]

Re: [PHP] Securing Servers

2004-10-08 Thread M Saleh EG
Hi there, I'd agree with Radhita saying how about getting a low cost shared hosting solution instead? but plz Radhita, don't bring your biased opinions about MS vs Opensource or Linux vs Windows over here. It's so subjective and plus gets an off-topic topic more off ! We all benefit from this

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread M Saleh EG
or u can use this method from JS You could refresh the page in various ways 1- make a rerequest to the server to give u the same page again: using the PHP Header function. 2-using the html Header refresh tag 3-Java Script to reload the document Since the 1st and 2nd methods are discussed in

[PHP] PHP Web-App Frameworks?

2004-09-28 Thread M Saleh EG
Anyone with hands on PHP frameworks? I tried Mojavi, BlueShoes, GPF, PHP-MVC, and alot of more ( alot of them are available) I need the answer from an experienced programmer( not a php newbie ) rather an application designer or a windows-dna programmer who is into php. I have some sort of

[PHP] Re: PHP Web-App Frameworks?

2004-09-28 Thread M Saleh EG
On Tue, 28 Sep 2004 18:09:48 +0400, M Saleh EG [EMAIL PROTECTED] wrote: Anyone with hands on PHP frameworks? I tried Mojavi, BlueShoes, GPF, PHP-MVC, and alot of more ( alot of them are available) I need the answer from an experienced programmer( not a php newbie ) rather an application