Um - did you read my last email regarding var_dump var_export and print_r
Did you try them?
Do they do what you want?
On 8/2/05, Adi Zebic <[EMAIL PROTECTED]> wrote:
> Rory Browne a écrit :
> > I haven't a monkies what that code(your java) does, and I don't have
> > time to analyse it(in expensi
On 7 Aug 2005, at 05:04, TalkativeDoggy wrote:
be coz this way is slow and costs more overload.
$sql = "SELECT COUNT(IDVara) cn FROM tbvara WHERE Varunamn LIKE
'$checkLev%'";
$querys = mysql_query($sql);
//Count products in db
//
$dbArray = mysql_fetch_row($querys);
$nrOfP
There are two ways to accomplish what you are asking. The quickest way,
without any modfication to httpd.conf, is to place an empty index.html or
other default index page into that directory. This will prevent the
directory listing from showing up. The other method, is to change
httpd.conf to di
"Marcus Bointon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> According to the docs, MySQL has a particular optimisation that means
> that it should be:
>
> $sql = "SELECT COUNT(*) FROM tbvara WHERE Varunamn LIKE '$checkLev%'";
>
It is not just a MySql optimization but this ho
My hosting service recently switched to a newer server and in
transporting the websites (many) over, they set up php different
(vers 4.3.10). I know it's not "nice" to show errors on a published
website, but I don't have a testing server, and I need to debug
scripts once in a while. The pro
Hi
Please advise.
I need to create menu that has the following html
Home
About
History
Team
Offices
Services
Web Design
Internet
Marketing
Hosting
Domain Names
Broad
Hey Gregory--
On 8/7/05 12:05 PM, "Gregory Machin" <[EMAIL PROTECTED]> wrote:
> Hi
> Please advise.
>
There was a thread on our forums a while back and one of my colleagues
posted a variant of the code we use for our menus, so maybe this will help
you:
http://www.phparch.com/discuss/index.php/
Hey Terry--
On 8/7/05 11:03 AM, "Terry Romine" <[EMAIL PROTECTED]> wrote:
>
> Any ideas on what flag may need to be set and how to do it on a file-
> by-file basis so I am only tweaking it when testing?
>
> Terry
Does your hosting provider support .htaccess? If so, you may be able to
change th
On 8/4/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote:
> Ok, it's not the regexp for detecting email addresses what I need,
> that's widely published, thanks. I'm using ereg to match this regular
> expression:
>
> (On)[\s\w\d\W\S\D\n]*(wr[i|o]te[s]?:)
>
> That will match phrases like
> "On 8/3/
Yes, I'm looking for the algorithm.
- Original Message -
From: M Saleh EG
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net ; Frank de Bot
Sent: Sunday, August 07, 2005 6:36 AM
Subject: Re: [PHP] Average time spent on a page
Try using one of the log reader/analysis pac
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_once($CFG->wwwroot . '/lib/mylib.php');
My question is this, I'm trying to find out
how the class $CGF was initiated.There are no
include or require statement before the statement.
Is $CFG a global variab
My Algorithm would look something close to this,
ForEach Session
ForEach Page_Visit
Record Page_Load
Record Page_Unload (could be clicking on a link on a page or just leaving
the whole domain which might end the session as well)
This would be the simplest form I coult put a rough algorithm f
i have this app where a user fills out a form and after submit it
displays the values they entered. i want to save this info to a file
after they submit, then allow them to download the file. some other user
does the same, fills in the form and allow that person to download the
file... and so o
That isn't created by PHP, it must be declared in the code somewhere.
Maybe there is an auto_prepend_file set?
http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file
Chris
wayne wrote:
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_onc
Or if it's PHP 5 they might be using an __autoload() magic function
which gets called whenever a class that isn't declared is instantiated.
That function could be require()ing another file.
Jasper
Chris wrote:
That isn't created by PHP, it must be declared in the code somewhere.
Maybe there
If you use PHP 5 just use the __toString() magic method which does
exactly that.
http://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring
Jasper
Rory Browne wrote:
Um - did you read my last email regarding var_dump var_export and print_r
Did you try them?
Do they d
On 8/7/05 4:24 PM, "Jasper Bryant-Greene" <[EMAIL PROTECTED]> wrote:
> Or if it's PHP 5 they might be using an __autoload() magic function
> which gets called whenever a class that isn't declared is instantiated.
> That function could be require()ing another file.
Well, if it is PHP 5, then you c
Thanks, but I've tried that when I first got the Error message, it still
gave me the error. Thanks though!
In a message dated 8/7/2005 1:29:26 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
>Open up your FTP client and log into your website, then change the
>permissions on your f
wayne wrote:
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_once($CFG->wwwroot . '/lib/mylib.php');
My question is this, I'm trying to find out
how the class $CGF was initiated.There are no
include or require statement before the statement.
Is $CFG
Sebastian wrote:
i have this app where a user fills out a form and after submit it
displays the values they entered. i want to save this info to a file
after they submit, then allow them to download the file. some other user
does the same, fills in the form and allow that person to download the
Hi Marco,
The version of php I have is 4.3.10. Is there something
similar to the below example in the version I have?
Thanks.
On Sun, 2005-08-07 at 16:39 -0400, Marco Tabini wrote:
> On 8/7/05 4:24 PM, "Jasper Bryant-Greene" <[EMAIL PROTECTED]> wrote:
>
> > Or if it's PHP 5 they might be using a
Hi Jasper,
I thought about this and so I did a grep on "autoload"
and came up empty. Is there a different way of checking
for the magic function?
Thanks
On Mon, 2005-08-08 at 08:24 +1200, Jasper Bryant-Greene wrote:
> Or if it's PHP 5 they might be using an __autoload() magic function
> which get
Well if you're using 4.3.10 as you said in your other post then
__autoload is not supported anyway. A grep on autoload would've turned
it up.
I'm assuming you've tried a grep for "CFG" to find the declaration?
Jasper
wayne wrote:
Hi Jasper,
I thought about this and so I did a grep on "autol
23 matches
Mail list logo