Hello,
I know that __FILE__ and __LINE__ report on the file and line that
they occur in. What I want is to be able to get the file name and line
of the calling script. The only way I can do this so far is by passing
the values through function arguments.
Is there any way around this?
Thanks,
My Peeps,
I only know of one reason to submit a form as POST and that is because
you can submit more data in one shot.
What other reasons are there?
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
First time this went through I got a message saying I had to confirm my
address. I did that but I never saw it show up on the list so I'm trying
again.
-- Forwarded message --
From: barophobia <[EMAIL PROTECTED]>
Date: Feb 10, 2007 2:12 PM
Subject: Please critique
Hi!
I was thinking about asking for recommendations for a lightweight database
class. But I realized I hadn't thought much about what my requirements are
so I decided instead to ask the list to critique my own class. I don't need
anything as robust as ADOdb and I always use MySQL.
This class was
On Sat, 24 Jul 2004 16:37:03 +0200, rush <[EMAIL PROTECTED]> wrote:
> scite, from the scintilla fame. TemplateTamer would also work fine if you
> just copy the whole directory
wow. that's a pretty awesome editor. too bad it can't connect to FTP
sites. all my files are remote!
anyone have a work
On Mon, 19 Jul 2004 11:48:02 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote:
> On Mon, 19 Jul 2004 10:22:42 -0700, barophobia <[EMAIL PROTECTED]> wrote:
> > $my_string = << >
> > MY_CONSTANT: does not work for obvious reasons
> > {MY_CONSTANT}: does not
hello.
http://google.com/";);
$my_string = <<
here are my options:
1. assign the constant to a temporary variable and then use that.
i.e. $tmp_MY_CONSTANT = MY_CONSTANT;
2. use an array instead of a constant
i.e. $config['MY_CONSTANT'] = "http://google.com/";;
3. find some secret way to wor
On Mon, 12 Jul 2004 15:36:20 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> The guys on the MySQL list do. Have you read this-->
> http://dev.mysql.com/doc/mysql/en/example-AUTO_INCREMENT.html
not for this issue no.
the problem for those that read this later is not that i am using
multiple pr
hello.
i've got a strange problem with a MySQL table. although my 'id' column
is set to 'auto_increment', each new record i insert has the value 1.
(instead of 1, 2, 3, etc.)
i checked my sql statement and i'm not assigning the id value by
mistake. here is my create statement (showing only a few
On Thu, 8 Jul 2004 18:17:25 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> for ($i = 0; $i < count($num_days); $i++) {
[snip]
> for ($j = 0; $j < 32; $j++) {
[snip]
> }
[snip]
> }
> How do I fix it to where each date column has
> exactly 32 rows of guest names?
it looks like you n
On Thu, 8 Jul 2004 13:14:50 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> Do it with SQL
>
> SELECT DISTINCT(SUBSTRING(`productName`, 1, 1)) FROM `productTable`
>
> will give you only one of each of the starting letters that actually
> occur in your database.
good job. that works great. it's
hello.
in an effort to more easily find products in the cart i'm building
i've given the ability to the user to click a letter from the alphabet
to search for all products whose product id starts with that letter.
currently each letter is hyper linked but i'd like to only link the
letters that ha
ok, it's been about an hour since i "subscribed" and i still haven't
received any messages so i'm sending this one as a test.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
13 matches
Mail list logo