Re: [PHP] issue a value on header, not working..

2004-07-26 Thread zareef ahmed
lt = $db_view->getOne($getfile); > header('Location: clients/FILES/$catchresult'); > > Hmm, it seems simple but, its really not working.. Yes it is simple just change your single quotes to double quotes. i.e. header("Location: clients/FILES/$catchresult"); zare

Re: [PHP] Java Script or PHP

2004-07-28 Thread zareef ahmed
new windows like status bar, toolbar, width, height; for this you can use java script. PHP Can not do client side programming... zareef ahmed > > TIA > > > > Tracking #: BF4D827C022BDF46A46EC4E1BF3527362158E8A1 > > -- > PHP General Mailing List (http://www.php

RE: [PHP] Java Script or PHP

2004-07-28 Thread zareef ahmed
t $id="select id from database" http://www.test.com/docs/view_record.php?id=".$id.";' target='_blank'> click tio print "; ?> or you may write javasctipt function too. zareef ahmed > Karl-Heinz > > -Original Message- > From: za

Re: [PHP] How to nest information from different tables.

2004-07-29 Thread zareef ahmed
Hi, You can use join or make this query as follows $query="select *(or coulmn name) from event, eventdetails where event.id = eventdetails.id"; zareef ahmed --- Karl-Heinz Schulz <[EMAIL PROTECTED]> wrote: > I have two tables with relevant information's; >

Re: [PHP] download script

2004-08-11 Thread zareef ahmed
Hi, Following class may be usefull. http://www.phpclasses.org/browse/package/699.html One Advice :: Please check your script in another browsers too. some Buggy Browser may cause the problems. zareef ahmed --- Aaron Todd <[EMAIL PROTECTED]> wrote: > I was going to post another

Re: [PHP] Sending email

2004-08-22 Thread zareef ahmed
est"; mail($to, $subject, $body, $header); Will do the needfull. zareef ahmed --- Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to send a test message with the following > specifications: > > 1. The message is sent by [EMAIL PROTECTED] >

Re: [PHP] Re: Broken data within an Array

2004-09-01 Thread zareef ahmed
> > > Following the query I have this: > > > > > { > > $DateAdvertised=$row["DateAdvertised"]; > > $DateAdvertisedBroken = explode("-", > $DateAdvertised); > > This should be like this http://www.zasaifi.com __

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread zareef ahmed
Hi, look at it http://www.freebsd.org/projects/cvsweb.html may be usefull. zareef ahmed --- raditha dissanayake <[EMAIL PROTECTED]> wrote: > Daniel Schierbeck wrote: > > > Michal Migurski wrote: > > > >>> What i want is basically a way for m

Re: [PHP] unable to use pear

2004-09-06 Thread zareef ahmed
Hi, Make sure you have installed the pear and double check your included path in your php.ini . As per your message it seems that your pear should be in c:\php4\pear . Check for it and revert back. Zareef Ahmed --- Auditour <[EMAIL PROTECTED]> wrote: > Dear sirs, >

Re: [PHP] converting seconds since unix epoc to date array

2004-09-06 Thread zareef ahmed
Hi, Try $date="-MM_DD"; $da=explode("-",$date); Now $Y=$da['0']; $M=$da['1']; $D=$da['2']; then use mktime(); Hope you will get the results. zareef ahmed --- Jason FB <[EMAIL PROTECTED]> wrote: > Can anyone tell me how to

Re: [PHP] Downloading a part of a file

2004-09-07 Thread zareef ahmed
solutions. http://in.php.net/curl zareef ahmed --- Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi all, > > Please tell me how can I fetch an html document from > a web page, let's say > starting from the character 1000, and get the text > until the caracter 5000. &g

Re: [PHP] unzipping

2004-09-07 Thread zareef ahmed
HI Mag ! look at it http://www.phpclasses.org/browse/package/945.html zareef ahmed --- Mag <[EMAIL PROTECTED]> wrote: > Hi, > Anybody know of a good class, tutorial or something > easy to let me unzip a file on my server? > > E.g: > I have 3 uploaded zip files named

[PHP] Fwd: [ilugd] PHP and World Pay

2004-09-07 Thread zareef ahmed
--- Pushpendra Tiwari <[EMAIL PROTECTED]> wrote: > Date: 7 Sep 2004 08:25:04 - > From: "Pushpendra Tiwari" > <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [ilugd] PHP Help nedded urgently..! > > Dear Friends, > Hi..! > > I am PHP Programmer. I want to know that has any > body imp

Re: [PHP] Upload not working...

2004-09-07 Thread zareef ahmed
--- "Deependra b. Tandukar" <[EMAIL PROTECTED]> wrote: > I tried this form to upload a file. > > > > Untitled Document > > > > > you should define enctype > > > > > > > > with the following code: > > copy($userfile, > "/var/www/html/upload/data/$userfile_name"); > unlink($user

Re: [PHP] Explode, Arrays and Checkboxes

2004-09-08 Thread zareef ahmed
ay_combine > I have a form, with checkboxes that are named > $product[1] through [40]. Next to them are > textboxes labeled $price[1] through [40]. How would > make the form, when it loads, have $product[2], > [10], [34] checked, with $price[2], [10], and [34] > equal to "28

Re: [PHP] ftp_nlist()

2004-09-12 Thread zareef ahmed
Hi, --- Jason Wong <[EMAIL PROTECTED]> wrote: > Not sure why you would want to chdir first. Why not > just: > ftp_chdir is usefull on windows specially if directory name has a space in it. zareef ahmed ===== Zareef Ahmed :: A PHP Developer in Delhi ( India ). H

Re: [PHP] gtk is working in php 5 ?

2004-09-12 Thread zareef ahmed
.php > > visit http://gtk.php.net ;) zareef ahmed = Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php ___ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shoppin

Re: [PHP] Re: Evaluating form posts

2004-09-12 Thread zareef ahmed
HI, A good article about magic quotes http://www.webmasterstop.com/tutorials/magic-quotes.shtml zareef ahmed --- Alexander Kleshchevnikov <[EMAIL PROTECTED]> wrote: > You should chech for configuration of magic quotes > gpc. > Use get_magic_quotes_gpc() func

Re: [PHP] Delete Line from File?

2004-09-13 Thread zareef ahmed
Hi, some function with whihc you can do this file(); foreach(); zareef ahmed --- Nick Wilson <[EMAIL PROTECTED]> wrote: > Whats the easiest/best way to do that with php? > just replace the line with ''? > -- > Nick W > > -- > PHP General Ma

Re: [PHP] accessing querystring values

2004-09-21 Thread zareef ahmed
/function.parse-str.html Zareef Ahmed --- AMC <[EMAIL PROTECTED]> wrote: > Hi, > > How do you access values sent to a page as part of a > querystring in php? > > ac > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http

Re: [PHP] How to implement mass emailing?

2004-10-06 Thread zareef ahmed
t(), for disable time limit just use set_time_limit(0). BTW 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

Re: [PHP] getting rid of NOTICE

2004-10-06 Thread zareef ahmed
er not found"; > exit; > } > else { > $gn= $resultEntries[0]["givenname"]; > $sn= $resultEntries[0]["sn"]; > $photo = $resultEntries[0]["jpegphoto"]; here p is small in jpegphoto. Got it

Re: [PHP] crypt() source

2004-10-07 Thread zareef ahmed
he same way. Can anyone supply me with some code > that will? > you 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

RE: [PHP] url

2004-10-20 Thread Zareef Ahmed
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

RE: [PHP] Send variable in include()

2004-10-20 Thread Zareef Ahmed
to double quotes. - guestbook.php - $offset gets value "$offset" 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 PH

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Zareef Ahmed
of your case. Zareef Ahmed On Sat, Jul 11, 2009 at 3:50 AM, Daniel Brown wrote: > On Fri, Jul 10, 2009 at 18:11, Chris Payne > wrote: > > > > Sorry I post at the top because i'm legally blind and it's easier but > > i'll try to post at the bottom :-) >

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-10 Thread Zareef Ahmed
; govinda.webdnat...@gmail.com > > > -- > 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://www.zareef.net

Re: [PHP] PHP not running properly

2009-07-10 Thread Zareef Ahmed
w.php.net/unsub.php > > > > > > Your error handling is logging the errors, not displaying them to the > screen. Check the php ini file settings for that. > > -- > > Bastien > > Cat, the other other white meat > > -- > 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://www.zareef.net

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-11 Thread Zareef Ahmed
On Sat, Jul 11, 2009 at 6:14 AM, Govinda wrote: > On Jul 10, 2009, at 6:34 PM, Zareef Ahmed wrote: > > heredoc was there to work with the strings... why you want to use >> functions into that? >> > > I'm lazy. Like to type less. ;-) It is well known fact th

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-11 Thread Zareef Ahmed
ng as it works Sorry for TOP posting This mailing list also don't force us to be good :) Zareef Ahmed On Sun, Jul 12, 2009 at 4:50 AM, Eddie Drapkin wrote: > On Sat, Jul 11, 2009 at 5:37 PM, tedd wrote: > > At 3:34 AM +0700 7/12/09, Lenin wrote: > >> > >

Re: [PHP] MySql Injection advice

2009-07-11 Thread Zareef Ahmed
moved the slashes from any external source including databases... It was there to make the life of developer somewhat easier ()... magic quotes things are deprecated and completely will be removed in PHP 6 > > $new_fname = mysql_real_escape_string($new_fname); > $new_lname = mysql_real_escape_string($new_lname); > > > $result = mysql_query("SELECT * FROM phonedir WHERE fname = '$new_fname' && > lname = '$new_lname'"); > $num_rows = mysql_num_rows($result); > > if($num_rows > 0) > > { >echo $fname." ".$lname." already exists"; > } > > else >{ > > mysql_query("INSERT INTO phonedir > (fname, lname) VALUES('$new_fname','$new_lname')") > or die(mysql_error()); > > > > or > > > mysql_query("INSERT INTO phonedir > (fname, lname) > > VALUES('".mysql_real_escape_string($new_fname)."','".mysql_real_escape_string($new_lname)."')") > or die(mysql_error()); > > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] MySql Injection advice

2009-07-11 Thread Zareef Ahmed
t; > $new_fname = mysql_real_escape_string($new_fname); > > > $new_lname = mysql_real_escape_string($new_lname); > > > > > > > > > $result = mysql_query("SELECT * FROM phonedir WHERE fname = > '$new_fname' > > > && lname = &#x

Re: [PHP] A prepared statements question

2009-07-12 Thread Zareef Ahmed
quot;I am having problem" statement is not good enough. > > > -- > 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://www.zareef.net

Re: [PHP] MySql Injection advice

2009-07-12 Thread Zareef Ahmed
understanding of the actual problem may be wrong thus the suggestion in context) I am sorry if I offended anyone > > I would hate to review code with such lack of forethought and consideration > for others to read. > > tedd > > -- totally useless post follows: > >

Re: [PHP] MySql Injection advice

2009-07-12 Thread Zareef Ahmed
On Sun, Jul 12, 2009 at 8:42 PM, tedd wrote: > At 8:24 PM +0530 7/12/09, Zareef Ahmed wrote: > >> On Sun, Jul 12, 2009 at 6:32 PM, tedd <<mailto:tedd.sperl...@gmail.com> >> tedd.sperl...@gmail.com> wrote: >> >> Hi gang: >> >> I am top posti

Re: [PHP] HTTP headers and include()

2009-07-12 Thread Zareef Ahmed
s some application setups ) but I am wondering why you are not getting information about exact place where output is being started. You should get a "headers already sent output started at " kind of error if you have enabled error reporting with display_errors ON. > > James

Re: [PHP] HTTP headers and include()

2009-07-12 Thread Zareef Ahmed
On Sun, Jul 12, 2009 at 11:27 PM, James Colannino wrote: > Zareef Ahmed wrote: > > > You should get a "headers already sent output started at " kind of > error > > if you have enabled error reporting with display_errors ON. > > Actually, I did. I just d

Re: [PHP] PHP/mysql equivalent of PEAR's tableInfo()??

2009-07-12 Thread Zareef Ahmed
n line 53 > > Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result > resource in /home/meee/public_html/somedir/test.php on line 55 > > Warning: Invalid argument supplied for foreach() in > /home/meee/public_html/somedir/test.php on line 55 > > -- > I am looking forward to when I have enough of my bearings that I can just > cruise around all the various docs and figure out my own answers. Now > there are just so many unknowns, I often can't tell which way to even look > to solve the issues. > -G > > > > -- > 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://www.zareef.net

Re: [PHP] Dual PHP installation and session sharing

2009-07-19 Thread Zareef Ahmed
ion. > > > Thanks in advance! > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] Re: SEO Experts?

2010-10-07 Thread Zareef Ahmed
e, photos and so on. > > If you like, run through http://www.flowmarketing.co.uk and fill in the > form where you get stuck. It's obviously a work in progress :-) and I'll > complete the page that you end up at. > > By all means email me the website and I can be more specific. > > Good luck :-) > > Cheers > J > http://www.johnallsopp.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed http://www.zareef.net

Re: [PHP] explanation

2005-02-09 Thread Zareef Ahmed
> doesnt work. > Can someone please explain this to me? What does the "->" do? How to > solve that problem above? -> operator used to accsses the method and properties of an object Here B is an object and var1 is an member variable. do a print_r($B->var1);

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 0

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

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 >

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

2005-03-06 Thread Zareef Ahmed
ue is not here. > $sendto = "$row[1]"; > echo "Row one output = $sendto"; > mail ($_POST['sendto'],'Testing', $body, $headers); Again you are sending the mail to same person very time. > echo "Sent to $row[1]";} Again problem. &g

Re: [PHP] Newbie Question re substr

2005-03-07 Thread Zareef Ahmed
) { > $table_of_contents[] = " > title='{$article['title']}'>{$article['title']} > $article['content'] = substr($article['content'], 0 200);"; change these two lines to title='{$article['title']}&#x

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, $_G

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

Re: [PHP] Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
gt; require_once "Class.bar.inc"; > } > ?> > > It will slow things down a bit, loading classes you don't need, but > hopefully Zend Studio will pick up on all the classes that way. Yes Zend Studio works fine in this way. Actually function was created to loa

[PHP] Re: Classes code completion and Zend Studio

2005-03-14 Thread Zareef Ahmed
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 Stu

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

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

2005-03-14 Thread Zareef Ahmed
t. > > 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 On Apr 1, 2005 2:36 AM, Chris Francy

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 g

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 ho

Re: [PHP] Retrieve URL of website

2005-04-01 Thread Zareef Ahmed
HI, Look for $_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 the complete url

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

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

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

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

Re: [PHP] conditional includes in class functions

2004-07-05 Thread zareef ahmed
and include may help you. http://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! htt

Re: [PHP] problem with crypt

2004-07-05 Thread zareef ahmed
roblems. No > errors, nothing, password is updated but to unknown > value. what do you mean by unknown value. is it string "unknown value"??? or something else you can not recognise. It should not be a problem as long as you are able to validate it. zareef ahmed > > Is this

Re: [PHP] .htaccess file

2004-07-05 Thread zareef ahmed
d you help me, with > solving this problem? Please check if you ( the user which runs apache, usually named 'nobody') has permissions to write. You may(should) change the permissions of the file to modify it. zareef ahmed > Thank you. > > -- > PHP General Mailing Lis

[PHP] E-bay API and PHP

2004-07-06 Thread zareef ahmed
ahmed = Zareef Ahmed :: A PHP Developer in Delhi(India). Homepage :: http://www.zasaifi.com __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey

Re: [PHP] Using split to establish extension of file

2004-07-07 Thread zareef ahmed
s rather than working from the first? > > This may be a basic question, but I'm a newbie; > apologies in advance if this > is a simple one. I'm using PHP4, BTW, if that makes > a difference. Hi, This should do your work. $fileex=explode(".",$filename); if

Re: [PHP] sending attachments

2004-07-07 Thread zareef ahmed
Hi, You should read something about sending headers with php's email functions. BTW... PEAR and phpclasses.org has some classes to do so. You may also use this class availabel on phpclasses.org http://www.phpclasses.org/browse/package/32.html zareef ahmed --- Curlys <[EMAIL P

Re: [PHP] Getting the primary key from a MySQL insert

2004-07-17 Thread zareef ahmed
Hi ! You can user mysql_insert_id() for this purpose. zareef ahmed --- Andrew Wood <[EMAIL PROTECTED]> wrote: > If the primary key in a MySQL DB is an > autoincrementing integer, is > there anyway of automatically getting it back when I > do an insert in > PHP. In o

Re: [PHP] connect to an access DB

2004-07-20 Thread zareef ahmed
HI Paul ! You should create a DSN With odbc. Then use odbc functions of PHP. visit http://in2.php.net/manual/en/ref.uodbc.php zareef ahmed --- Paul Kain <[EMAIL PROTECTED]> wrote: > Anyone know the syntax to use to connect to a > microsoft access db on my > c: drive?

Re: [PHP] URL

2004-07-21 Thread zareef ahmed
Hi You can user $_SERVER['REQUEST_URI']; Thanks Zareef Ahmed --- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Bruno Santos wrote: > > > Im developing a couple of pages and i need to do > some redirecting to > > another page depending > &g

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

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 manage

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

2008-03-06 Thread Zareef Ahmed
source. BUT remember, using rsync is always a better solution, and file_get_contents and file functions are resource hungry, specially they will consume more memory of your system. -- > 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
eed these two computers to coordinate a little and > didn't 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

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 Nguy

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

2007-07-08 Thread Zareef Ahmed
other :) 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 sho

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
ltiple 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 ::

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

2004-10-24 Thread Zareef Ahmed
ng two functions can be usefull in making such algo File() Explode(); Read about them Zareef Ahmed >>> -- ---- -- Zareef Ahmed :: A PHP develoepr in Delhi ( India ) Homepage :: http://www.zasaifi.com --- Outgoing mai

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

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=show&ixPost=9 9830 http://www.eng.mu.edu/corlissg/168Search.03F/n_files_vs_db.html Zareef a

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=77&single=1 But as many other users have suggested, I think SOAP is the best thing to try. Visit http://sourceforge.net/projects/nusoap/ Zareef A

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 ""; print_r ($_GET); Print ""; Zareef ahmed ---- -- Zareef Ahmed :: A PH

RE: [PHP] php array question

2004-11-01 Thread Zareef Ahmed
wing line should be sufficient $OrderObject =$this->orders[$OrderID]; Or $OrderObject =$value; Zareef ahmed >echo $OrderObject->OrderID."<--all the same"; >} > >I know that $this->orders is an array of "order" objects. > >the result i get fro

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

RE: [PHP] Authentification related to browser window

2004-11-02 Thread Zareef Ahmed
, But you may try 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

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?

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

2004-11-03 Thread Zareef Ahmed
ation PEAR::Auth is used. >I just wanted to ask if there's more to take care of. >-- >Best Regards, >Mark -------- -- Zareef Ahmed :: A PHP develoepr in Delhi ( India ) Homepage :: http://www.zasaifi.com -- PHP

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 pa

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
e']); Print_r($val_ar); This process is very simple. 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-

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 th

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 Hapgo

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

  1   2   >