Thanks to everyone!!!
I have figured it out...
Anas Mughal <[EMAIL PROTECTED]> wrote: I have a function getRow() that returns a
new instance
of an object called IvActivity. I insert this new
instance into $list. I need to call getTitle method on
each of the inserted objects. However,
I have a general question about referencing...
Would it be safe to reference a function return value?
My main concern is that once the function goes out of scope, is that variable cleaned
up or would it stay around because there is a new reference to it.
I am coming from the C++ and Java world
Richard,
I just tried performing a search on http://chatmusic.com/venues.htm.
All I did was supply my zipcode. I didn't change/supply any other information.
The search was really slow. I wanted to ask you what you would attribute the slowness
to.
What is your architecture?
Richard Lynch <[EM
As Rasmus said, all functions are in C.
PHP is open source: The source code is available to
the public.
--- Leif K-Brooks <[EMAIL PROTECTED]> wrote:
> If I understand correctly, all php functions are
> written in php. If
> this is true, is it possible to view function source
> code? Thanks
I agree with the other reply to your question.
My thoughts could be summarized as follows:
- Java solution would be more expensive and involved
to build and maintain.
- PHP would be cheaper and quicker to build and
maintain.
- Java would require more resources on your server.
- PHP is light weig
also, check out:
http://www.yourlegacy.org/annualReports/readme.pdf
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: php.net/pdf
On Wed, 10 Jul 2002, Jeff D. Hamann wrote:
> I've got a project that requires lots of "goofy" reports. These reports are
> more than a simple html table (which would
How are you getting this error?
Are you trying to create the table?
[EMAIL PROTECTED] wrote: MySQL Error : Database Error
Error Number: 1050 Table 'book_auth' already exists
what this meant?
what should i do for correct
I don't think you would find any book covering PHP and Oracle. They technologies
usually don't mix. Oracle is very enterprise oriented; whereas, PHP is open source
community favorite.
Oracle is a beast by its nature. So, you would need a few good books on Oracle.
I would suggest following pro
The easiest and my preferred way is to use "strtotim" method.
This method accepts MySQL format "2002-12-23" and converts it into a UNIX time stamp.
After that you can use the date function to format time as you wish!
Monty <[EMAIL PROTECTED]> wrote: Which method is the best way to store date/
When you say,
Order by RAND()
I would think the "Order by" construct expects a column name.
In your case, it gets a decimal value.
How does "Order by" treat decimal values?
Oh, I just checked the manual:
In MySQL Version 3.23, you can, however, do: SELECT * FROM table_name ORDER BY RAND()
I st
Also, allow MySQL connections only from your server.
Tyler Longren <[EMAIL PROTECTED]> wrote: It's fine. There's no other way to do
it really. Somebody would have
to be able to see the source to the php file before they could see the
password for mysql. They won't get it just by viewing the
I often use: \n
That way I get a new line in a browser and plain text as well.
KK Lee <[EMAIL PROTECTED]> wrote: Dear ALL,
It seems that i have a very silly problem.
I can't get the new line escape character to work.
the following is my SIMPLE script and corresponding output.
PHP script:
ng that it is
not a valid PHP extension. Did I miss anything?
Thank you in advance.
--
Anas Mughal
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
20429. However, I
don't see anything in there!
(Is the mkdir error produced by configure okay? See above.)
Please help...
P.S.
Please note that I need a dynamic extension. I need to load it using the
dl() command.
Curt Zirzow wrote:
* Thus wrote Anas Mughal ([EMAIL PROTECTED]):
I hav
This looks like a business decision.
Your business anaylist could help answer your question.
Chris W. Parker wrote:
Hey there everyone.
I haven't had time much to work on my cart program recently but I was
just thinking about abandoned carts and can't figure something out
completely.
How do you
Please help...
Curt Zirzow wrote:
* Thus wrote Anas Mughal ([EMAIL PROTECTED]):
Yes, I had uncommented those lines already. This how they look in my
config.m4 file:
PHP_ARG_ENABLE(my_ext, whether to enable my_ext support,
dnl Make sure that the comment is aligned:
[ --enable-my_ext
In config.m4, what does "Make sure that the comment is aligned" mean?
What should it be aligned to?
Is this correct:
PHP_ARG_ENABLE(my_module, whether to enable my_module support,
dnl Make sure that the comment is aligned:
[ --enable-my_module Enable my_module support])
Or, is thi
I had been running a CGI version of PHP version 3 for many months with
no issues. (I had custom extensions in the CGI version.)
Well, my hosting company decided to enable suexec on Apache (running on
Redhat Linux). As I understand, with suexec enabled, only the owner of a
particular CGI script
http://trash.chregu.tv/phpconf2003/examples/
Hope it helps...
--
Anas Mughal
William Bailey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello again.
I am currently testing the php5 beta and really like the new DOM
objects but i am haveing trouble finding out how i can apply a
ot; "" "" "" "" ""'
+ base_compile="" "" "" "" "" "" "" "" "" "" ""
+ lastarg=-DHAVE_CONFIG_H
+ srcfile=-g
++ echo X-DHAVE_CONFIG_
e all my development on
one Redhat Linux box. I didn't switch OS platforms.
Please advise. Thanks.
Anas Mughal wrote:
I found one problem. I had to add "=shared" after --enable-my_ext.
So, this is what I did:
./configure --enable-my_ext=shared
Now, the makefile looks much bette
I figured it out!
I was loading the wrong file (slap-on-the-forehead).
Sorry about my last email.
Curt, thank you for helping me out.
Now, my first dummy extension is working :))
Anas Mughal wrote:
Okay, solved that as well.
SED environment variable was not defined!
How come I had to define
ed at Sterling Hughes article on
WebTechniques.)
Is there a step that I am missing or what?
Do I need to modify the m4 file or the makefile?
Please advise...
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Send
I presume you have created dynamically loadable
modules in PHP4.
If so, how do you create your module file?
Do you run a specific make command or do you build it
manually?
Thanks for your help...
--- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> Anas Mughal wrote:
> > I am looking
lerton michaelc at cullerton dot com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED
erver.)
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
[EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
(http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
___
nect is my private function
> ?
>
> Charles
>
> Ps. sorry my poor english
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the lis
.
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
of
> resources...any
> solutions? thanks.
>
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
PHP General Mail
Anyone able to comment on Ruby's features, pros and
cons as a web scripting alternative to PHP.
Thanks.
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auc
$str .= "Content-Transfer-Encoding: base64\r\n";
> $str .= "Content-Disposition: attachment;
> filename=\"" . $attachment
> ."\"\r\n\r\n";
> $str .= $data . "\r\n";
> }
>
>
> thanks,
> -p
>
>
> -
Juan Sebastián Elcano, 39-41. 29017 Málaga.
> Spain
>
> --
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact
n Path).
> http://www.qmail.org/
> > >
> > > If you want to send messages regularly to the
> same group of users, I
> > > recommend that you use ezmlm-idx because it
> provides very efficient and
> > > secure way to handle subscriptions and messages
> bouncings.
> > > http://www.ezml
akefile in folder
'src/modules/php3'.
Any advice would be greatly helpful.
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo
I just saw a posting on PHPBuilder that states that
Apache 1.3.14 has changed alloc.h to ap_alloc.h. So,
file renaming is suggested.
Maybe that could fix the problem. (I will give it a
try...)
I would be open to any other suggestions...
Thanks.
--- Anas Mughal <[EMAIL PROTECTED]> wrot
___
> Powered by http://www.philipsdomain.com/ Newman
> Online.
> Verified account: newmanpj at
> nospam.philipsdomain.com
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=
Ana
; I've edited the php.ini with the following:
>
> post_max_size = 50M
> upload_max_filesize = 50M
>
> Is there something else I'm missing?
>
> --
> Aaron Gould
> [EMAIL PROTECTED]
> Web Developer
>
>
>
>
>
> --
> PHP General Mailing List (http:/
ind any
> references on this list or on Usenet. Is there a
> trick to this? Or is
> it simply not possible.
>
> Much Thanks,
> Kevin Stone <[EMAIL PROTECTED]>
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
led with some
different configuration directive. However, I am not
able to figure it out. Could someone please advise.
Oh, another thing, my CGI version is PHP 3.0.12. The
ISP CGI version is PHP 4.0.3pl1. Is the above syntax
not supported in PHP3?
Thanks for your quick response.
=
Anas Mughal
[EM
function name
variable in curly braces.
Thanks.
--- Michael Sims <[EMAIL PROTECTED]> wrote:
> At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote:
> >I get a parse error using my CGI version of PHP on
> the
> >following line:
> >
> >$message = $$this->fu
P
> server. Works fine - fact.
>
> There's 3 configuration options in php.ini that I've
> been
> playing with, no matter what the combination is, I
> don't
> really see it doing anything different.
>
> I've read everything relevant on php.net and s
I am wondering if someone could shed some light on
this aspect of PHP. It might be something obvious, but
I am not able to figure it out.
I have a function that returns a dynamically generated
HTML string. However, I need a way to let the caller
know if that function has failed. One way I thought
> http://www.pdd.nl
> [EMAIL PROTECTED]
> -
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
_
Thanks in advance!
> >
> >SED
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http:/
ld!
>
> Has anyone else experienced this problem or know
> what's causing it?
>
> Mike
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-2
n New York
> Wednesday, March 5th, 2002
>
> There is going to be a conference in New York next
> week.
>
>
> Thanks for any help.
>
> --
> Ryan Spangler
>
HP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest f
that PHP scripts don't send any HTML until
> the
> script finishes. I'd really like to see what's
> happening in my script
> while it is being executed.
>
> Any ideas?
>
> Mario
>
>
> --
> PHP General Mailing List (http://www.php.net/)
>
Look into printf and sprintf.
--- "Scott St. John" <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am trying to format a number for a report, the one
> consistant thing is
> the three decimal places. But I need to strip them,
> then fill in zero's
> from the left.
>
> So, if the number c
t; looking, please by all
> means point me in the right direction.
>
>
> Erik
>
>
>
>
>
>
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php
h PHP3. However, my production server is running PHP4
and it works there. Is this a new feature in PHP4 or do I need to build PHP3
with some configuration for this to work?
Thank you in advance.
--
anas mughal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
in that mode?
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 26, 2001 2:14 AM
To: Anas Mughal
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Error while passing parameters as path
Are you running PHP 3 as a CGI? Things work/don't work
.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 26, 2001 9:07 AM
To: Anas Mughal
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Error while passing parameters as path
> Actually, I need to run as CGI because I have customized extensiont to PHP
> that my h
ing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anas Mughal
I had used the uploader class (by David Fox, Dave Tufts) in a previous
project. It worked well for me. Hope you could locate it using Google.
In any case, Google could locate many upload scripts for you.
Good luck!
--
Anas Mughal
On 7/6/06, Jochem Maas <[EMAIL PROTECTED]>
I have encrypted the values -- not the keys. With this approach, I presume I
have made it harder for anyone trying to screen scrap my data. (It is not
possible to write a script that would loop over my pages.)
Why do you need to encrypt the keys?
--
Anas Mughal
On 7/6/06, Dan McCullough
TED]> wrote:
On Thu, July 6, 2006 12:00 pm, Anas Mughal wrote:
> I have encrypted the values -- not the keys. With this approach, I
> presume I
> have made it harder for anyone trying to screen scrap my data. (It is
> not
> possible to write a script that would loop over my pa
Tedd,
Actually, he seems to be needing the return value of the function inside the
if block. So, he would need to do:
if ($result = do_something('hello'))
or, as Adam stated:
if ( ($result = do_something('hello')) !== false )
Regards.
--
Anas Mughal
On 8/17/06, te
e below:
foreach ($xmlDatabase as $oneTable)
{
// skip node you don't want in your final xml output
if ($oneTable['name'] != 'two')
{
}
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anas Mughal
>item(0)->removeChild($next->item(0));
// append new node
$newNode = $doc->createElement("language_code",
$currentfallbacklocale);
$parent->item(0)->appendChild($newNode);
--
Anas Mughal
On 8/31/06, Anas Mughal <[EMAIL PROTECTED]> wrote:
Yes,
sian Proverb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anas Mughal
method or a web service call.
I would appreciate any suggestions. Thanks in advance.
Regards.
--
Anas Mughal
Sample ".htaccess" file that uses an authentication file:
Options -Indexes
AuthName "Photo Access"
AuthType Basic
AuthUserFile /home/me/BasicAuth/photo_users.txt
require valid-user
Hope this helps.
--
Anas Mughal
On 12/3/06, Richard Lynch <[EMAIL PROTECTED]> w
Lat and long are all you need for rendering on an X,Y coordinate.
Keep in mind to adjust the ratio of lat and long depending on where you are
on the globe.
Good luck!
--
Anas Mughal
ce over the default rendering of an element. Only within the
> same
> category the order of assignment would matter.
>
> And, by the way, yes, you can load a new stylesheet.
>
> Satyam
>
>
>
> >
> > tedd
> >
> > --
> >
>
> > http://sperling.com
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
u please give me some directions?
>
> Take a look at http://ros.co.nz/pdf/.
>
> It hasn't been updated for awhile, but it works great as is. I'm using
> it to generate nametags and reports in various applications.
>
> Brady
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
A question for the folks who have tried it out:
Is it better than Ruby on Rails?
Thanks.
--
Anas Mughal
On 4/11/06, Tony Marston <[EMAIL PROTECTED]> wrote:
>
> Announcing the first public release of RADICORE, a Rapid Application
> Development toolkit for building adm
ting doesn't matter.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
the topic on the web, I'm left to asking the list.
>
> Do you have any insight on it?
>
>
>
> On Apr 20, 2006, at 2:47 PM, Anas Mughal wrote:
>
> Mark,
> What would you think?
>
>
> On 4/20/06, Mark Baldwin <[EMAIL PROTECTED]> wrote:
> >
>
me.so (the object that is loaded into
Apache) and flame.php (the php script that loads it).
--
Anas Mughal
The best I found is:
O'Reilly book - Mastering Regular Expressions
On 8/3/05, -k. <[EMAIL PROTECTED]> wrote:
>
> Has anyone here tried to learn Regular expressions with RegexBuddy?
>
> http://www.regular-expressions.info/regexbuddy.html
>
> It looks pretty cool, and even has some PHP specif
Could someone please share with me sample code for:
- Adding an XML node to an existing XML document.
- Modifying the value for a given XML node in an existing XML document.
Thank you.
--
Anas Mughal
other reasonably priced encoder, we might consider that.)
Thank you very much.
--
Anas Mughal
is a sample DAO class:
class CustomerDAO {
function getCustomer(..) {
...
//return a customer
}
function getCustomers(..) {
...
// return a collection of customers
}
function saveCustomer(..) {
...
}
}
Hope this helps.
--
Anas Mughal
On 9/19/05, Chris W. Parker <[EMAIL PROTECTED]>
suggestions. I really need to
> upload larger files, and since it's going to an FTP site, there shouldn't be
>
> too many size restrictions.
>
> Thanks,
>
> Matt
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.
ust developed
> something like this for a web site I'm working on (but we're still in
> alpha), so if you want to see it in action, lemme know.
>
> Ciao!
> Silvio
>
> [1] http://en.wikipedia.org/wiki/AJAX
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
Try this:
^[ ]*[0-9]*[ ]*
This will also strip out any blank spaces at the beginning of the line.
--
Anas Mughal
On 10/16/05, Dotan Cohen <[EMAIL PROTECTED]> wrote:
>
> I have a list like this:
> 235 Some info
> 12323 other 5 things
> No number on this line!
> 43
gt; require 'includes/header.php';
> >
> > $cat_parent = $_GET['cat_parent'];
> > $cat_id = $_GET['cat_id'];
> >
> > $content = ' > cellspacing="0" style="border: 1px solid #EBEBEB; padding: 25px;">';
> > $content .= ' ';
> > $content .= ' > colspan="2">'. $_SESSION['CATEGORIES']['name'][$cat_parent] .' >
> > '. $_SESSION['CATEGORIES']['name'][$cat_id] .'';
> > $content .= ' > href="new_product.php?cat_id='.$cat_id.'&cat_parent='.$cat_parent.'"
> > style="font-size: 11px; color: gray;">[ Add New Product ]';
> > $content .= ' ';
> >
> > $query = my_query("
> > SELECT chp.products_prod_id, p.prod_id, p.prod_name,
> > p.prod_no, p.prod_status
> > FROM categories_has_products as chp, products as p
> > WHERE chp.categories_cat_id = '".$cat_id."' AND
> > chp.products_prod_id = p.prod_id
> > ", 0);
> > while($result = mysql_fetch_array($query))
> > {
> > $content .= ' ';
> > $content .= ' » '.
> > $result['prod_name'] .'';
> > $content .= ' [ '.
> > $result['prod_no'] .' ]';
> > $content .= ' ';
> > $content .= ' > alt="EDIT" width="14" height="14" hspace="0" vspace="0" border="0">';
> > $content .= ' > href="products.php
> ?cat_id='.$cat_id.'&cat_parent='.$cat_parent.'&action=delete&prod_id='.$result['prod_id'].'"
> > onclick="return confirm(\'Do you really want to delete this
> > product?\');"> > width="14" height="14" hspace="5" vspace="0" border="0">';
> > switch($result['prod_status'])
> > {
> > case 'live':
> > $content .= ' > href="products.php
> ?new_status=hidden&prod_id='.$result['prod_id'].'&cat_id='.$cat_id.'&cat_parent='.$cat_parent.'"> > src="../images/status_live.gif" alt="LIVE" width="13" height="13"
> > hspace="2" vspace="0" border="0">';
> > break;
> >
> > case 'hidden':
> > $content .= ' > href="products.php
> ?new_status=live&prod_id='.$result['prod_id'].'&cat_id='.$cat_id.'&cat_parent='.$cat_parent.'"> > src="../images/status_hidden.gif" alt="HIDDEN" width="13" height="13"
> > hspace="2" vspace="0" border="0">';
> > break;
> >
> > case 'temp':
> > $content .= '[T]';
> > break;
> >
> > }
> > $content .= ' ';
> > $content .= ' ';
> > }
> > $content .= '';
> >
> > echo $content;
> >
> > include 'includes/footer.php';
> > ?>
> >
> >
> > I think third solution would be the best solution?
> >
> > Thanks for any opinion.
> >
> > -afan
>
> #3 by far. I used your #1 and #2 before discovering that #3 is far simpler
> to get it right the first time and far
> simpler to move stuff around for the rendered page. Also has the advantage
> of sending one complete stream to the
> client. No need to use buffering to optimize performance.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
Try this:
--
Anas Mughal
On 11/19/05, Alex Alfonso <[EMAIL PROTECTED]> wrote:
>
> Can you please tell me how to make a space in php. I know that is a
> new line and is a new paragraph. But I just can't figure out what an
> earth a space is. Eg
> echo "T
any failures.
- We use flags in our database to flag what messages were sent successfully.
That way, we can search and resend any failed messages.
Hope this helps.
--
Anas Mughal
input errors with throw new Exception().
> Thanks
>
>
--
Anas Mughal
e exceptions.
>
>
> Regards,
> Christian
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
gt;
>
>
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
en not passed in as
> > $this
> >
> > Now, this works! However, it's not practical. The setParent call
> > should work from within the parent object
> >
> > So what I figured out is that $this is a "pseudo variable" according
> > to the docs, but I don't know what that means. Empirically I have
> > figured out that it means you cannot create a reference to it.
> >
> > Is this a feature or a bug? What's the workaround?
> >
> > This is a serious problem for PHP scripts that need to do things that
> > require large amounts of memory.
> >
> > Please advise.
> >
> > Thanks,
> > Alan
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Anas Mughal
ble to store 10,000
> records.
> If I recall correctly, MySQL auto-increment fields will not reuse id's
> when
> they are deleted. So, you will need to take that into consideration when
> (if) you reach the 9,999th record.
>
> JM
>
> --
> PHP General Mailing List
oduce only
lower case letters in encrypted strings. Could someone on this list offer
any suggestions on how to modify the code to support numbers and only lower
case numbers.
Thank you very much.
--
Anas Mughal
Split them using explode and then combine the ones you need to combined.
Hope this helps.
--
Anas Mughal
On 12/19/05, Labunski <[EMAIL PROTECTED]> wrote:
>
> I need to split a long string into smaler chunks (an array), as a
> separator
> using every third \n (and not just ev
Might want to look into "Log4Cxx".
--
Anas Mughal
On 12/20/05, Michael B Allen <[EMAIL PROTECTED]> wrote:
>
> I'm writing a PHP 4 extension and I would like to write debugging
> information to the Apache error log.Does anyone know how to do
> that? Basically I
ty to conveniently download PHP4 in order to run
our code.
Happy New Year!!!
--
Anas Mughal
On 12/19/05, PHPDiscuss - PHP Newsgroups and mailing lists <
[EMAIL PROTECTED]> wrote:
>
>
>
> As a developer, I would love to use PHP 5+ for applications but I am
> afraid to do so
Try something like:
floor($value * 100)/100;
--
Anas Mughal
On 1/9/06, Mark Steudel <[EMAIL PROTECTED]> wrote:
>
> I am calculating things like tax and want to format them so they only have
> 2
> digits past the decimal point. I've been using sprintf but just notic
Oh, yes, Gerry has provided very useful links.
You could definetly look into using something like:
printf( "%.2f", $x );
--
Anas Mughal
On 1/10/06, Gerry Danen <[EMAIL PROTECTED]> wrote:
>
> sprintf creates a string ready for you to manipulate. So does
> number
You need to build JavaScript logic for that.
Try searching on JavaScript developer sites and mailing lists.
This has nothing to do with PHP -- unless you are dynamically building the
JavaScript.
--
Anas Mughal
On 1/18/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> hi,
>
94 matches
Mail list logo