[PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
? -- Zareef Ahmed http://www.zareef.net A PHP Developer in India

Re: [PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
HI Chirs, On 3/6/08, Chris [EMAIL PROTECTED] wrote: Zareef Ahmed wrote: Hi Chris, Thanks for such quick response. quite good suggestion, but my application is using a framework and lots of includes and even autoloads of classes are being done, so using break point approach

Re: [PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
after certain number of lines or predefined life time of php script, any suggestion? Thanks and Regards Zareef Ahmed On 3/6/08, Chris [EMAIL PROTECTED] wrote: Zareef Ahmed wrote: Hi All, I am looking into the concepts behind memory management in PHP. Which kind of approach

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Zareef Ahmed http://www.zareef.net A PHP Developer in India

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
want to use a server in between and so I was thinking of establishing a direct connection between them.. If you have ruled out web server and ssh, then you can use ftp using PHP or use NFS mounting. Zareef Ahmed wrote: On 3/7/08, Shawn McKenzie [EMAIL PROTECTED] wrote: Rahul wrote: I

Re: [PHP] setcookie

2008-03-12 Thread Zareef Ahmed
As a dirty trick you can put following line on the top of your script, it will work ob_start(); But you should try to know why it is not working, and what exactly ob_start will impact your application and What is the thing called Output Buffering. Zareef Ahmed On 3/12/08, Hiep Nguyen [EMAIL

Re: [PHP] Calendar booking form in PHP/MySQL

2007-07-08 Thread Zareef Ahmed
:) Zareef Ahmed On 7/3/07, Timothy Murphy [EMAIL PROTECTED] wrote: I'm looking for a PHP/MySQL calendar booking form, which I am sure must have been done a million times. This will show a calendar on the web mirroring a MySQL table. Each entry in the MySQL table will show two dates, Start and End

[PHP] Test Emai --- Please igonre

2005-10-02 Thread Zareef Ahmed
This is a test mail. Please igno re it -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] PHP 5 Hosting

2005-10-02 Thread Zareef Ahmed
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tom Chubb [EMAIL PROTECTED] 07915 053312 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http

[PHP] Test Mail please igonre it

2005-10-02 Thread Zareef Ahmed
-- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Zareef Ahmed
Hi Paul, Why you are closing your connection before finishing your work on the database? Zareef Ahmed - Original Message - From: Paul Jinks [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, December 09, 2005 6:50 AM Subject: [PHP] PHP/MySql noob falls at first

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
? Zareef Ahmed Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Zareef Ahmed [EMAIL PROTECTED] Cc: Aaron Koning [EMAIL PROTECTED]; PHP-General php-general@lists.php.net Sent: Saturday, December 10, 2005 11:03 AM Subject: Re: [PHP] simple-ish question but something i never knew On Sat

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Zareef Ahmed [EMAIL PROTECTED] Cc: Aaron Koning [EMAIL PROTECTED]; PHP-General php-general@lists.php.net Sent: Saturday, December 10, 2005 11:40 AM Subject: Re: [PHP] simple-ish question but something i never knew On Sat

Re: [PHP] Moving code from a specific file to a generic one

2005-12-11 Thread Zareef Ahmed
Hi MARG, It will be better if you can provide the code here and what error you are getting. BTW header function is the key here. Zareef Ahmed - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, December 11, 2005 12:33 PM Subject

Re: [PHP] IE6 not returning POST data from a textarea

2005-12-12 Thread Zareef Ahmed
what exactly you are doing? print_r($_POST) should show the all values of the form including a textarea. What do you mean by pasted in? Zareef Ahmed Works fine for Mozilla, etc. print_r($_POST) shows several input... and text ... values just fine. Thanks -- PHP General Mailing List

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Zareef Ahmed
Hi Dave, You can look for the value of $_SERVER['REMOTE_ADDR'], and then you can serve users as per your preferences. Zareef Ahmed - Original Message - From: Dave Carrera [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 13, 2005 11:06 AM Subject: [PHP] 1 ip

Re: [PHP] EXPORT DATA

2005-12-13 Thread Zareef Ahmed
there. Zareef Ahmed regards aftab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php PHP Expert Consultancy in Development http://www.indiaphp.com Yahoo! : consultant_php MSN : [EMAIL

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
are expecting from this script? One recommendation, it is better to use isset function to check if variable has been set or not. Zareef Ahmed - Original Message - From: Erik Johnson [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, December 17, 2005 11:05 PM Subject: [PHP] Someone

Re: [PHP] insert to DB

2005-12-18 Thread Zareef Ahmed
/mysql_ref.php Zareef Ahmed - Original Message - From: Anasta [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, December 18, 2005 7:41 AM Subject: [PHP] insert to DB It just wont insert new data into DB--any ideas as i have gone over and over. ? mysql_connect

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
'], it is true then it will assign the value of $_GET['page'] to $page variable, otherwise it will be set to null value. You are 14?? Welcome to the wonderfull world of PHP programming. Zareef Ahmed PHP Expert Consultancy in Development http

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
(you already pulled that one out earlier). $page = two; never happens (you already pulled that one out earlier). Johnson, make a note of it. you can also read about switch statement. Zareef Ahmed So... if *any* of those returns true you show an error... may I suggest just changing

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
of discussion lists, because some time you may get very bad (!) response from the group members if you are asking very easy or normal questions. Zareef Ahmed - Original Message - From: Erik Johnson [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, December 18, 2005 10:59 AM

Re: [PHP] Load from db into select-list

2005-12-18 Thread Zareef Ahmed
Hi, Using AJAX or JSRS you can do this. See http://www.ashleyit.com/rs/main.htm Zareef Ahmed - Original Message - From: Gustav Wiberg [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Sunday, December 18, 2005 2:28 PM Subject: [PHP] Load from db into select

Re: [PHP] How to get a unixtime with micro/mille seconds

2005-12-19 Thread Zareef Ahmed
Hi, use microtime function. Zareef Ahmed - Original Message - From: Mathijs [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, December 19, 2005 5:58 AM Subject: [PHP] How to get a unixtime with micro/mille seconds Hello, I Want to have a unique time stamp

Re: [PHP] AJAX Framework

2005-12-19 Thread Zareef Ahmed
Hi, You can try pear package HTML_AJAX http://pear.php.net/package/HTML_AJAX Zareef Ahmed - Original Message - From: Erfan Shirazi [EMAIL PROTECTED] To: php-general@lists.php.net; Niklas Palmqvist [EMAIL PROTECTED] Sent: Monday, December 19, 2005 6:04 AM Subject: [PHP] AJAX

Re: [PHP] PHP is OK in IE but not in Netscape

2005-12-22 Thread Zareef Ahmed
- Original Message - From: Nanu Kalmanovitz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, December 22, 2005 4:22 AM Subject: [PHP] PHP is OK in IE but not in Netscape Hi The http://www.kalmanovitz.co.il/hello.php file appears OK in M$-IE but not in Netscape 7.0.

Re: [PHP] PHP Frameworks

2005-12-23 Thread Zareef Ahmed
Hi, There are a lot of PHP frameworks like Mojavi, Phrame, php.MVC, phpwebtk, Horde. My choice is Mojavi. BTW Zend is also doing some great work on it. Zareef Ahmed - Original Message - From: Shawn McKenzie [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday

Re: [PHP] SELECT?

2005-12-28 Thread Zareef Ahmed
like $row['uniquefield']; mysql_query($newquery); } if you really need to fetch only one record at a time, you can use the LIMIT keyword in your SQL statement, and can create the script as needed. Zareef Ahmed - Original Message - From: Christian Ista [EMAIL PROTECTED] To: 'William

Re: [PHP] Reading body of page being recieved by another php page

2005-12-30 Thread Zareef Ahmed
Hi, How you are sending the data to that script? It must be availble in $_POST, $_GET, or $_REQUEST, depends how you are sending it. Zareef Ahmed - Original Message - From: Jamie Kemp [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, December 30, 2005 8:57 PM Subject: [PHP

Re: [PHP] printing keys and values of array

2006-01-05 Thread Zareef Ahmed
read about foreach function. Zareef Ahmd - Original Message - From: Ahmed Abdel-Aliem [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, January 05, 2006 7:58 PM Subject: [PHP] printing keys and values of array Hi i need some help with printing an array, i would like

Re: [PHP] Re: Re: HAPPY NEW YEAR!!

2006-01-06 Thread Zareef Ahmed
France is so late ? ;) zareef ahmed - Original Message - From: Michelle Konzack [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, January 06, 2006 1:37 PM Subject: [PHP] Re: Re: HAPPY NEW YEAR!! A little bit late, but from France: Bonne Année! Greetings

Re: [PHP] private, public, protected in 4.3.11

2006-01-12 Thread Zareef Ahmed
Hi Peter, Code you are using is for php version 5. That is one in only reason. You need to install PHP version 5 to run this code or just do it as simple $var type declaration. Zareef Ahmed - Original Message - From: Peter Lauri [EMAIL PROTECTED] To: php-general@lists.php.net

Re: [PHP] PHP6 Roadmap

2006-02-02 Thread Zareef Ahmed
Hi, Please visit http://www.php.net/~derick/meeting-notes.html - Original Message - From: Yannick Warnier [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net Sent: Wednesday, February 01, 2006 11:02 AM Subject: [PHP] PHP6 Roadmap Hello, Is a roadmap for PHP6

[PHP] Reverse Engineering of Smarty

2006-02-04 Thread Zareef Ahmed
. Zareef Ahmed

Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
Original Message - From: Rory Browne [EMAIL PROTECTED] To: Zareef Ahmed [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, February 05, 2006 8:39 AM Subject: Re: [PHP] Reverse Engineering of Smarty If you don't have backups, then: 1: Why do you not have backups? 2

Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
, Rightly I got good adjectives ;) Well I am using CVS for all of my projects and do regular backups. Above all filesystem restore is also available in most of such cases. Lets close this thread, we people really have many meaningful questions to answers. Zareef Ahmed - Original Message

Re: [PHP] explanation

2005-02-09 Thread Zareef Ahmed
and properties of an object Here B is an object and var1 is an member variable. do a print_r($B-var1); or print_r ($B); You will get the all information about this object like class name etc. zareef ahmed Big thanks. Pag -- PHP General Mailing List (http

Re: [PHP] Student Suspended Over PHP use.

2005-02-11 Thread Zareef Ahmed
Hi, News is very old it was published in june 2000. zareef ahmed On Thu, 10 Feb 2005 07:24:27 -0600, Steve Buehler [EMAIL PROTECTED] wrote: Shouldn't have taken your Cat to school with a bag of catnip. That was asking for trouble. :) Steve At 08:44 PM 2/9/2005, Dotan Cohen wrote

Re: [PHP] PHP to C interface?

2005-02-18 Thread Zareef Ahmed
Hi, Please Visit http://pear.php.net/package/Inline_C may be usefull zareef ahmed On Fri, 18 Feb 2005 01:19:19 -0800, N Deepak [EMAIL PROTECTED] wrote: Hi, Is there a way to invoke C functions in a library (.so) from PHP? Like Xs in Perl? Thanks, Deepak -- N Deepak

Re: [PHP] Code Analyzer Needed ..can somebody suggest ?

2005-02-19 Thread Zareef Ahmed
Hi Ramya, Try Zend Studio from zend.com zareef ahmed On Fri, 18 Feb 2005 22:22:34 +0530, Ramya Ramaswamy [EMAIL PROTECTED] wrote: Hey people, Am in the look out for a code analyzer for PHP...can somebody help me out with that?Please... Many Thankx Ramya -- PHP General Mailing

Re: [PHP] Can't figure mail post out

2005-03-06 Thread Zareef Ahmed
. echo Sent to $row[1]br;} Again problem. mysql_free_result ($result); -- PHP manual is good thing to start . http://www.php.net zareef ahmed -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net -- PHP General Mailing List (http://www.php.net

Re: [PHP] Newbie Question re substr

2005-03-07 Thread Zareef Ahmed
['content'], 0 200);/li; change these two lines to title='{$article['title']}'{$article['title']}/abr /. substr($article['content'], 0, 200)./li; zareef ahmed } } echo /ul; /snip Can anyone help ? Thanks in advance! -- PHP General Mailing List (http://www.php.net

Re: [PHP] Can't figure mail post out

2005-03-07 Thread Zareef Ahmed
On Mon, 7 Mar 2005 10:02:32 +0530, anirudh dutt [EMAIL PROTECTED] wrote: On Mon, 7 Mar 2005 08:37:52 +0530, Zareef Ahmed [EMAIL PROTECTED] wrote: Hi Robert, Please take a look at php manual and try to know something about $_POST, $_GET etc. Your code is full of errors. On Sun, 6

[PHP] Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
Hi All, I have a function to load the classes and return the object. function LoadClass($ClassName) { require_once(Class.$ClassName.inc); return new $ClassName(); } Its working fine. But Zend Studio's Code completion is not working for this type of object, Any hints? Zareef Ahmed -- PHP

Re: [PHP] Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
fine in this way. Actually function was created to load only needed classes at run time a PHP4 version of PHP5's __autoload function. zareef ahmed -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
(); -- In your example it would be something like: -- $user_obj = LoadClass('user'); /* @var $user_obj user */ $user_obj-youShouldHaveCodeCompletionNowForThisObject(); -- Yes Jamie It works. Thanks a lot zareef ahmed You'll need to make sure that Zend Studio knows

Re: [PHP] Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
On Mon, 14 Mar 2005 23:30:51 +, Alister Bulman [EMAIL PROTECTED] wrote: On Mon, 14 Mar 2005 19:14:37 +0530, Zareef Ahmed [EMAIL PROTECTED] wrote: Hi All, I have a function to load the classes and return the object. function LoadClass($ClassName) { require_once(Class

Re: [PHP] Class/object storing itself in a database

2005-03-14 Thread Zareef Ahmed
that copy later and use it as a PHP object? thnx, Chris Try serializing it first. What happens when you run: echo $this; ..your query is going to save the same thing. try serialize($this) instead. and do not forgot to unserialize($fieldvalue) ;) zareef ahmed -Robby

[PHP] Cleints Machine's Network Properties(NetMask, Default Gateway)

2005-03-31 Thread Zareef Ahmed
Hi All, Is it possible to get client's machines network properties like Netmask, Default gateway, I can get the IP address, but unable to get other details. zareef ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strange problem, seems to be related to the character '$'

2005-03-31 Thread Zareef Ahmed
Hi Chris, I tried to reproduce the problem with vertsoin 4.3.3 and 5, and its working fine(producing same string). If you have not find a bug in bug database why not submit a new bug? anyway changing single quotes to double may help ;) zareef ahmed ?php if (CRYPT_MD5 == 1) { var_dump

Re: [PHP] booking

2005-04-01 Thread Zareef Ahmed
Hi , read about uniqid() function, it may be usefull. zareef ahmed On Apr 1, 2005 12:03 PM, Rob Agar [EMAIL PROTECTED] wrote: hey up all, anyone have a snippet for generating a unique booking reference string, say 6-10 characters long? The kind of thing you get when you book a flight

Re: [PHP] Catching error from mail function?

2005-04-01 Thread Zareef Ahmed
Hi, First of all set error reporting to E_ALL, you may get the error string. zareef ahmed On Apr 1, 2005 8:30 AM, Ben Cheng [EMAIL PROTECTED] wrote: Hi I'm using the mail() function to send email and I know it's failing because it's returning a false but how do I tell what problem

Re: [PHP] Retrieve URL of website

2005-04-01 Thread Zareef Ahmed
HI, Look for $_SERVER['REQUEST_URI']; ?php print $_SERVER['REQUEST_URI']; ? But Dear first you should search the documentation , it is very easy to notice if you can use phpinfo(); zareef ahmed On Apr 2, 2005 8:12 AM, HarryG [EMAIL PROTECTED] wrote: Hi, I want to retrieve

Re: [PHP] PHP based project management

2005-05-05 Thread Zareef Ahmed
Hi, Look for phpcollab. zareef ahmed On 5/4/05, Neal Carmine [EMAIL PROTECTED] wrote: Hi, There are a lot of open source project management packages. .Project, netoffice and others. Does anyone have a recommendation on the best overall project management software for tracking billable

Re: [PHP] How to implement mass emailing?

2004-10-06 Thread zareef ahmed
register_shutdown_function() can be helpfull in handling performance related doubts. zareef ahmed Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread zareef ahmed
/ --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php ___ Do you Yahoo

Re: [PHP] crypt() source

2004-10-07 Thread zareef ahmed
ought to ask it in a java list. zareef ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php

RE: [PHP] url

2004-10-20 Thread Zareef Ahmed
no such thing as a problem unless the servers are on fire! I think this should be changed to There no such thing as a problem unless the servers are on change ;) Zareef Ahmed Zareef ahmed :: a php developer in delhi (India) Homepage

RE: [PHP] Send variable in include()

2004-10-21 Thread Zareef Ahmed
instead of 0 $option has correct value, view How do I write my include so it works? Would appriciate som help. Regards, Pete - Zareef Ahmed :: A PHP Developer in Delhi (India) Homepage :: http://www.zasaifi.com --- Outgoing mail is certified Virus

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
connection to it. Visit http://dev.mysql.com/doc/mysql/en/Too_many_connections.html Thanks, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Zareef Ahmed :: A PHP

RE: [PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Zareef Ahmed
() Explode(); Read about them Zareef Ahmed -- -- Zareef Ahmed :: A PHP develoepr in Delhi ( India ) Homepage :: http://www.zasaifi.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http

RE: [PHP] PHP5 Tutorials...?

2004-10-24 Thread Zareef Ahmed
Hi Michael , Welcome to the world of php. One of the greatest features of php is its well maintained documentation. PHP manual is very extensive and detailed tutorial about php. You can get your local mirror just visiting following page http://www.php.net/docs Zareef ahmed -Original

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
-Original Message- From: Kevin Grigorenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 8:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] MySQL Scalability, part 2 Zareef Ahmed [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Kevin

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
Hi Kevin, I found some links. Plese visit them. http://www.dba-oracle.com/art_db_benchmark.htm http://www.tpc.org/tpcc/default.asp http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=showixPost=9 9830 http://www.eng.mu.edu/corlissg/168Search.03F/n_files_vs_db.html Zareef ahmed

RE: [PHP] file upload

2004-10-26 Thread Zareef Ahmed
Hi, Here is a small but working script which emulate post. You can post any type of data as a form field. http://www.zend.com/codex.php?id=77single=1 But as many other users have suggested, I think SOAP is the best thing to try. Visit http://sourceforge.net/projects/nusoap/ Zareef Ahmed

RE: [PHP] Newbie again: get no $QUERY_STRING

2004-10-27 Thread Zareef Ahmed
Hi, What are you trying to do? If you want to get the values of query string they will be available in $_GET array. Try Print pre; print_r ($_GET); Print /pre; Zareef ahmed -- Zareef Ahmed :: A PHP develoepr in Delhi

RE: [PHP] php array question

2004-11-01 Thread Zareef Ahmed
=$value; Zareef ahmed echo $OrderObject-OrderID.--all the sameBR; } I know that $this-orders is an array of order objects. the result i get from this is: line1. 388--OrderID. line2. 389--all the same line3. 389--OrderID. line4. 389--all the same I'm really confused about why line 1

RE: [PHP] No luck creating dynamic images

2004-11-01 Thread Zareef Ahmed
Hi, After setting error_reporting to E_ALL. You may need to set show_errors in php.ini Use error_reporting(E_ALL); ini_set(show_errors,1); Zareef ahmed -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 4:11 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] Authentification related to browser window

2004-11-02 Thread Zareef Ahmed
the combination of javascript and php to do so Following function may be usefull session_regenerate_id(); See the manual for it. Zareef ahmed browser. Can I make him to login again in the new window but to keep him logged in the old one? Now i'm using sessions, but i realise that the cookies

RE: [PHP] URL thing

2004-11-03 Thread Zareef Ahmed
Hi, You may use $_SERVER['REQUEST_URI']; Zareef ahmed -Original Message- From: Kevin Javia [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: [PHP] URL thing How can I get the URL in the address bar in any variable? If URL

RE: [PHP] SQL-Injection, XSS and Hijacking

2004-11-03 Thread Zareef Ahmed
to take care of. -- Best Regards, Mark -- Zareef Ahmed :: A PHP develoepr in Delhi ( India ) Homepage :: http://www.zasaifi.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] blank function parameters

2004-11-03 Thread Zareef Ahmed
Hi, when declaring function function example($var1, $var2, $var3, $var4=anything) { } Now calling Example(one,two,three); will not throw an error, but pass 'anything' as the value of $var4 by default if you override the value pass all the argumets. Zareef ahmed -Original Message

RE: [PHP] Authentification related to browser window

2004-11-03 Thread Zareef Ahmed
Hi Cristi, I think you must know and understand how the session works in PHP. Please Read. http://in2.php.net/session Some things to note on that page session.use_cookies session.use_trans_sid Zareef Ahmed -Original Message- From: Cristi Barladeanu [mailto:[EMAIL PROTECTED

RE: [PHP] OOP, Out of Scope Issue

2004-11-07 Thread Zareef Ahmed
Hi, Please visit http://www.phpcertification.com/manual.php/functions.arguments.html#func tions.arguments.by-reference Hope it will be helpful. zareef Ahmed -Original Message- From: Jonathan Chum [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 9:52 AM To: [EMAIL

RE: [PHP] Arrays

2004-11-08 Thread Zareef Ahmed
. Please see manual http://www.phpcertification.com/manual.php/function.serialize.html http://www.phpcertification.com/manual.php/function.unserialize.html Revert back with any other problem. Zareef ahmed -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09

RE: [PHP] Re: User's language settings

2004-11-08 Thread Zareef Ahmed
Hi, You may try a ip locator and then guess for users country. IN this way you can design your programme to treat users from Russia to Russian language etc. Visit http://zareef.users.phpclasses.org/browse/package/1477.html Zareef Ahmed -Original Message- From: Daniel Schierbeck

RE: [PHP] page redirect question

2004-11-09 Thread Zareef Ahmed
using set entities. 5. Draw footer. This is just a overview of approach. You may need to process more things along with middle bar, but it is good idea to do logical processing before presentation. Zareef Ahmed -Original Message- From: Victor C. [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] basic script

2004-11-09 Thread Zareef Ahmed
Hi, Use print $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; Zareef Ahmed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:56 AM To: [EMAIL PROTECTED] Subject: [PHP] basic script I just want the URL

RE: [PHP] php mail() error

2004-11-10 Thread Zareef Ahmed
from in php.ini Try Mail([EMAIL PROTECTED],test subject,test body,from:[EMAIL PROTECTED]); If it fails contact your ISP. Additionally read http://www.chilkatsoft.com/faq/Smtp550.html Zareef ahmed -Original Message- From: Garth Hapgood - Strickland [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] php mail() error

2004-11-10 Thread Zareef Ahmed
Hi, Well this time I will take the responsibility :) Here is the link about mail sending in PHP . http://www.phpclasses.org/browse/package/9.html Zareef ahmed -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 8:48 PM To: [EMAIL

RE: [PHP] Array to $_GET variable

2004-11-10 Thread Zareef Ahmed
way to manage this as sometime value may be too long to store in $_GET variable. Do You get any error on unserialization? Zareef ahmed -Original Message- From: Mike Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 10:14 PM To: [EMAIL PROTECTED] Subject: [PHP] Array

RE: [PHP] Error logging problem

2004-11-10 Thread Zareef Ahmed
at the top of my script: ini_set(display_errors, on); //also tried Off ini_set(error_log, /AutoSch/error.log); This problem may be related to your path. Try to user $_SERVER['DOCUMENT_ROOT']./AutoSch/error.log AutoSch must be in your document root . Zareef ahmed

RE: [PHP] How do I get referer in php?

2004-11-17 Thread Zareef Ahmed
Hi use Print $_SERVER['HTTP_REFRER']; But some time browser do not send it properly so please check it with another browser if fails. Zareef Ahmed -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 3:39 AM Cc: [EMAIL PROTECTED

RE: [PHP] php extension problem

2004-12-01 Thread Zareef Ahmed
in php.ini) in your extension directory i.e in c:\php\ext? Zareef ahmed Any suggestions? Thanks in advance. Marcel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Zareef Ahmed :: A PHP Developer in Delhi ( India ) Homepage :: http

RE: [PHP] Very fresh to php

2004-12-02 Thread Zareef Ahmed
Hi, Visit http://www.sitepoint.com/article/phps-creator-rasmus-lerdorf/39 Zareef ahmed -Original Message- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 8:09 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Very fresh to php I

Re: [PHP] CMS

2004-12-28 Thread Zareef Ahmed
/ zareef ahmed On Tue, 28 Dec 2004 16:41:57 +0600, kalinga [EMAIL PROTECTED] wrote: typo3, it's a good one.. try it ;-) vk. On Tue, 28 Dec 2004 11:00:32 +0100, Javier Leyba [EMAIL PROTECTED] wrote: Hi I'm looking for a good CMS recommendation. I've seen comments in opencms

Re: [PHP] Environment and Modules

2004-12-28 Thread Zareef Ahmed
HI, Install instruction file contains all information you need to enable some of the exetension. HINT :: dlls folder zareef ahmed On Tue, 28 Dec 2004 18:26:52 +0100, Steven Spierenburg [EMAIL PROTECTED] wrote: Hi There, I recently installed PHP and have two things going on that I can't

Re: [PHP] $HTTP_POST array

2004-12-28 Thread Zareef Ahmed
will not run. So Use $_POST, $_GET etc. instead of using old long $HTTP_*_* style. zareef ahmed On Mon, 27 Dec 2004 18:31:21 +0300, Burhan Khalid [EMAIL PROTECTED] wrote: kalinga wrote: Dear all, Is it possible to pass the entire $HTTP_POST array to a function of a class as a variable

Re: [PHP] Making includes and requires safe.

2004-12-28 Thread Zareef Ahmed
I agree with John Holmes that it is targeted at PHP. It is really wonderfull thing to know that google, yahoo can detect my php code on my site. These news item written by total uninformed (or Illinformed ) persons. zareef ahmed -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage

Re: [PHP] authentication

2004-12-28 Thread Zareef Ahmed
Hi Ali, Visit http://zareef.users.phpclasses.org/browse/class/21.html You will find a lot of code. zareef ahmed On Tue, 28 Dec 2004 13:12:14 +1030, Ali [EMAIL PROTECTED] wrote: Hi everyone... can anyone lead me to a good tutorial on authentication...it wud be good if i can get a one

Re: [PHP] Why extra slashes???

2004-12-30 Thread Zareef Ahmed
Hi, You can user stripslashes() function to remove them if gpc quotes is creating some kind of confusion in your mind. BTW these quotes are important in some security related situations. zareef ahmed. On Thu, 30 Dec 2004 20:15:06 -0500, John Holmes [EMAIL PROTECTED] wrote: Wiberg wrote

Re: [PHP] PHP any Mysql connection- new b

2005-01-09 Thread Zareef Ahmed
is not performed, instead add.php file is opened. What do you mean by it? You have action as add.php then it must be opened. Are you getting all page code in plain text? If so please check your php installation. BTW php3 is outdated and I never see it running on Apache 2 with win xp. zareef ahmed add.php

Re: [PHP] PHP code to analize email HELP

2005-01-09 Thread Zareef Ahmed
, email and telephone of a person in a standar html) and insert this data in MySQL database. It this posible? I'm a newbie in PHP/MySQL, any ideas? Thanks, regular expressions are the answeres of your problems zareef ahmed. excuse my english You can probably search online

Re: [PHP] Re: unable to load curl

2005-01-11 Thread Zareef Ahmed
Please read install.txt carefully, it has a section on this problems, if PHP.INI is fine., then you need to copy some of the dlls available in dlls folder to your system folder. zareef ahmed On Mon, 10 Jan 2005 22:38:41 +0530, Sagar C Nannapaneni [EMAIL PROTECTED] wrote: Please respond

Re: [PHP] .Net Web services

2005-01-17 Thread Zareef Ahmed
Hi Michael, It would be helpful if you elaborate your problem with details like PHP version, OS, Service etc. It will increase the chances of a good response. zareef ahmed On Tue, 18 Jan 2005 11:06:16 +1000, Michael Leung [EMAIL PROTECTED] wrote: Hi all, I have a parameter passing

Re: [PHP] Online Users

2004-07-01 Thread zareef ahmed
than (currenttime-MAX_EXPIRE_TIME) 4. Display row count of active_users to visitors. This is just a hint. Some knowldge of php/any database assumed , Revert back with any comment or problem. zareef ahmed --- Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Matt Palermo: they click

Re: [PHP] PHP Bug ?

2004-07-01 Thread zareef ahmed
Hi, which version on php u r using? it should work. (Actually working on own system with php 4.3.2) try $country_list[($country_symbol['AU'])]; Zareef Ahmed --- adwinwijaya [EMAIL PROTECTED] wrote: Hi... I found a bug (may be) I tried to do like this: $temp = $country_list

Re: [PHP] Online Users

2004-07-02 Thread zareef ahmed
--- Matt Palermo [EMAIL PROTECTED] wrote: Okay, I actually found out how to list the users, but you have the following line of code: define('SITE_ONLINE_EXPIRE', 900); What is the 900? Is that 900 seconds? Yes time is in seconds. zareef ahmed = Zareef Ahmed :: A PHP Developer

Re: [PHP] conditional includes in class functions

2004-07-05 Thread zareef ahmed
://www.faqts.com/knowledge_base/view.phtml/aid/6 = Zareef Ahmed :: A PHP Developer in Delhi(India). Homepage :: http://www.zasaifi.com __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail

  1   2   >