nces
while posting on this list. I demand that you refrain from such crass
behavior as it is terribly bothersome to my pedantic lifestyle.
Thank you,
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/18/07, Roger B.A. Klorese <[EMAIL PROTECTED]> wrote:
Whoever said Gmail was a good mail client?!
I give up, who?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/18/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-05-18 at 14:43 -0500, Greg Donald wrote:
> On 5/18/07, Roger B.A. Klorese <[EMAIL PROTECTED]> wrote:
> > Whoever said Gmail was a good mail client?!
>
> I give up, who?
Tijnema!
Is that like Ya
On 5/18/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
Anyone know if gmailFs supports RAID across multiple accounts? >:)
ROFL.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
al if anything, right?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/19/07, Kevin Waterson <[EMAIL PROTECTED]> wrote:
As worthless as the php4 cert.
Mine has been very valuable to me, lots more job interviews and
freelance work compared to before I got it.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.ne
ind of code
$thing = ${"is$thing"}($args[0]);
}
return $test->$method;
}
}
TypeChecker::init()
echo TypeChecker::$singleton->string('test');
?>
However, I don't see any benefit to using static methods here. Just use
an object.
$thing = ${"is$thing"}($args[0]);
}
return $test->$method;
}
}
$check = new TypeChecker;
echo $check->string('test');
?>
If you're trying to do several assertions and separate them into
classes, do something like so:
type = new TypeChecker;
}
}
$check = new Tester;
echo $check->type->string('test');
?>
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MySQL database or to my server?
http://www.zend.com/zend/trick/tricks-sept-2001.php?id=342
[snip]
cuts performance by approximately a third
[/snip]
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dnesday', 'Thursday',
'Friday', 'Saturday' );
$day = 1;
echo $days[ $day - 1 ];
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
single quotes. A function call seems rather
heavy when a global array can be indexed more easily. Even a switch
statement would be an improvement.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/22/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
I saw a bunch of bad examples given to you that completely ignore any
available locale information... so here's a better version:
I seem to have missed the part of the question where it said
considering locale was important
since most PHP installs will find the
server settings sufficient.
http://en.wikipedia.org/wiki/YAGNI
I'll accept ignorance and sloppiness as reasons... albeit not good
reasons.
You assume too much and your solution is bloated. Accept that.
--
Greg Donald
http://destiney.com/
--
PHP
lease benchmark it so you will learn from this experience.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ay', 'Saturday' );
$days = array( 'Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves',
'Viernes', 'Sábado' );
Tada! That was the easiest maintenance programming ever.
I have nothing to learn from you that I
didn't
On 5/22/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> They didn't teach PHP where I attended kindergarten. Is that a Canadian
thing?
Exactly, and I'm not about to learn PHP from you now *lol*.
Next time you should say so up front, I would have spotted you 10% on
the be
On 5/23/07, Robin Vickery <[EMAIL PROTECTED]> wrote:
they're all bloated:
print jddayofweek($day_number, 1);
Must go --enable-calendar now :)
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
Okay, I think I'm doing everything right, but for whatever reason my include
isn't working.
== not =
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es now? That same image URL should work in an email.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://framework.zend.com/roadmap
It might be worth using if it actually did something better than my
current toolset. Right now it really doesn't.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;VA' ||
$value != 'Washington' || $value!= 'WA' || $value != 'West Virginia'
||$value!= 'WV' || $value != 'Wisconsin' || $value!= 'WI' || $value !=
'Wyoming' || $value!= 'WY') //if they don't the match t
On 5/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> You should really look into learning in_array() for stuff like this.
Wouldn't that slow things down and increase the memory footprint? ;)
It'd be interesting to see a benchmark.
--
Greg Donald
http://destiney.c
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
$states['TN'] => 'Tennesee';
:%s/Tennesee/Tennessee/
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Ok, here is something that might help you.
$states['AL'] => 'Alabama';
$states['AK'] => 'Alaska';
And a little something for you as well:
:%s/=>/=/g
--
Greg Donald
http://destiney.com
he point
of putting my PHP hammer down.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oted string?
include 'complete_save.php';
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
command
$query = 'SELECT *
FROM `job listing`
WHERE open >=$today
'$today' not $today
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an I format this field???
while I am at it how can I accept the date field as 05-01-2007;
Look at MySQL's DATE_FORMAT() function.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/23/07, Tijnema <[EMAIL PROTECTED]> wrote:
Again, this is Off topic,
/me rolls eyes
Do you even know what P-H-P stands for? HTML questions are not off
topic, especially form related ones.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.ne
ou may need to increase your error
reporting level and ensure your ability to actually see the errors as
well. This is what I use in development:
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
ini_set( 'log_errors', 1 );
--
Greg Donald
http://destiney.com/
--
PHP
On 5/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
If you don't find anything useful in the Zend stuff, don't use it.
Thanks for the useless input captain obvious.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
w-data
user:
usermod -G www-data,audio www-data
After this I begin to get output from /dev/dsp as the www-data user.
Hope that help.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y be asking for input your exec call isn't providing.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
below?
move_uploaded_file($_FILES['myfile']['tmp_name'],
"/var/www/".$_FILES['myfile']['name']);
Right here you would read the file into a string with
file_get_contents(), then write an SQL query to insert the string.
--
question has already been beaten to death. :)
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ap( 'slashes', $_COOKIE )
: array();
}
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/30/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Say I wanted to use this on something other than $_GET, $_POST, & $_COOKIE?
Then I suppose you'll have to compensate with updates to support your
particular usage.
--
Greg Donald
http://destiney.com/
--
PHP General Mai
On 6/3/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
Every host I've ever used has had GD installed. If they didn't offer GD,
I'd switch. I think it's a safe bet to assume most realistic hosts have
GD.
Same here. Been using it for years, never had to ask for it
APC
will still use your default configuration file at /etc/pear.conf.
pecl5 -c /etc/pear5.conf install APC
will correctly install and configure APC for php5.
Needless to say, this is more complicated than it seems like it should
be, and the next version of the PEAR installer, Pyrus, makes this
l "just work" without change.
So no, that practice is completely right :)
I had forgotten this is a possibility, so you might just try it out
Jochem and see if it works.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h entering. It's also quite a fun challenge IMHO.
http://blog.assembleron.com/2007/06/14/php-programming-contest-win-zend-studio/
Are the prizes transferable?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/19/07, Emil Edeholt <[EMAIL PROTECTED]> wrote:
I want a library that can compare different versions of text,
Command line diff wrapped in exec() calls should work fine.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
be sure and call clearstatcache() so your changes show up immediately.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ies('<', ENT_QUOTES, false);
// Expected Output: <
// Actual Output: <
echo htmlentities(htmlentities('<', ENT_QUOTES, false), ENT_QUOTES,
false);
Your false value for your htmlentities() call should be the 4th
parameter, not the 3rd.
--
Greg Donald
htt
ttp://us.php.net/manual/en/ref.fileinfo.php
Examples in the comments.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/20/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
Can do, but I would be calling clearstatcache() very often, many
times per second, as often as these graphics are being edited. Would
that still be appropriate for the server?
I certainly wouldn't use it if I didn't need it.
On 6/21/07, Tijnema <[EMAIL PROTECTED]> wrote:
> Cool, please go to the following url and clickthe button:
>
> http://gpcc.tijnema.info/
Where's the 'no' option ? I call shenanigans.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.p
t; for someone to do it for you.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
morrow doesn't work. Using PHP5.
That false return value I mentioned above becomes a zero when used as
the second parameter to strftime().
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be tied to their chosen configuration.
Not much on details but it gets me through every time a new PHP
version is released:
http://destiney.com/blog/php-4-and-5-on-mac-os-x
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
at script he was trying to use (the error
> log only points back to the included script, not the original). But a
> quick scan of the site shows no problems at all.
>
> I also have no .htaccess files for this particular site, and the vhost
> conf checks out. Any idea what the heck jus
ion performs in addition to the above.
So it is not just a case of making a change and reloading the file
and rerunning it.
Brutal. :(
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;;
$strings = perms( $s );
foreach( $strings as $s )
{
echo "$s\n";
}
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/25/07, Yashesh Bhatia <[EMAIL PROTECTED]> wrote:
i'm implementing an imap based mail client
That's a major wheel to go reinventing, have you not tried IMP/Horde?
http://www.horde.org/imp/
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://
fically you need these two options:
CURLOPT_COOKIEFILE
CURLOPT_COOKIEJAR
http://us2.php.net/manual/en/function.curl-setopt.php
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/19/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Unless anyone has a better solution of getting php 5.2.3 on mac os x 10.3.9
http://destiney.com/blog/php-4-5-macos-x
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
test fixtures to Rails apps, sample data, and the like. It's a
gazillion times lighter weight than XML and just as easy to use as
JSON. Much like anything opensource, don't let the name scare you,
YAML is good stuff.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing Lis
your tool belt, you can pick up others easily. I started off using it
for simple things like email address validation and sending HTML
emails. You certainly don't have to use the whole thing to get some
very good uses from it.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List
nd
> when it's called on (depending on viewing size) I want the water mark to
> be added.
>
> How would one go about doing that?
You can write words on images using imagettftext().
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I was wondering if anyone could point me toward some good resources
regarding suggestions on handling user preferences over a cluster in a
heavy traffic website.
Online resources are preferable:-), but thanks for any help you could
give.
Regards,
Greg
ter=' + val ;
> }
>
w3 says it can appear in either:
The SCRIPT element places a script within a document. This element may
appear any number of times in the HEAD or BODY of an HTML document.
http://www.w3.org/TR/html4/interact/scripts.html#h-18.1
--
Greg Donald
http://destiney.
ebate, but then my delete
button works great.
I think you just want something to bitch about.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nd place. PHP
gets renamed to Java, etc.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as referring to language quality with
regard to OO. PHP is a cluster-fuck in comparison to pretty much
anything out there.. except maybe Perl's OO. And go look at PHP SPL,
and tell me that's not Java by another name.
PHP is the absolute worst language to do any sort of OO prog
b frameworks are best written in languages with strong
meta-programming capabilities. PHP wins no points in that area.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ar1 and $var2.
> EOT;
>
> and then after assigning values to $var1 and $var2 include that file. I
> can later use different values for $var1 and $var2 and get a different
> $out with a second include.
eval()
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://
RELEASE ANNOUNCEMENT
PhpDocumentor 1.3.0 *stable*
August 18, 2006
Download:
pear upgrade PhpDocumentor
http://pear.php.net/PhpDocumentor
http://sourceforge.net/project/showfiles.php?group_id=11194&package_id=10450&release_id=440432
Information and documentation:
http://www.phpdoc.org
The PhpDocum
unc_array(array($class, $method), $params);
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try here:
http://openrbl.org
Cheers,
G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 21 Oct 2006 19:55:17 -0400
Fred Moses <[EMAIL PROTECTED]> wrote:
> Is there a function which returns the IP address of the requestor of the
> current page?
>
> --
Don't think so but there is a superglobal that contains it:
$_SERVER['REMOTE_ADDR']
--
PHP General Mailing List (http:/
CK,
With the obligatory chastisement and ensuing defensiveness out of the
way :) you may want to check out Zen Cart (zen-cart.com) and see if it
meets your requirements.
Cheers,
G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/27/06 6:20 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> When users input is displayed for others then themself I try to filter out
> html tags too.
I type cast all relevant variables before processing them as one last check.
Type casting forces the variable to be of the type you e
actly the same as it is from my local
machine. When I used to pass an array of data and repopulate using
javascript DOM, it was slow as molasses, and I would occasionally have
weird timeouts.
Don't try to be smart when you can be simple :)
Greg
--
PHP General Mailing List (http://www.p
Manuel Amador (Rudd-O) wrote:
> Greg Beaver wrote:
>
>> Daevid Vincent wrote:
>>
>>
>>> I need to dynamically update a select box with results from a SQL
>>> database using AJAX, but I can't find a single example of how to do
>>> this.
&
Manuel Amador (Rudd-O) wrote:
> Greg Beaver wrote:
>
>> This is far too complicated. You don't need 50 lines of code to convert
>> from server-side data to HTML when the browser does it for you (and far
>> more efficiently) with this code:
>>
>> var some
al, and it is actually
*easier* to see what HTML you're going to end up with from the PHP code.
> Sure, your solution mostly works. But what I still wonder is, is it
> the best solution in terms of software quality?
I think I've made my opinion sufficiently clear on this point.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cepted
software quality practices vs. a bunch of crap. It's about good
programming.
I know complexity, I wrote phpDocumentor 1.3 (http://www.phpdoc.org) and
PEAR 1.4 (http://pear.php.net/PEAR). I also know how difficult it is to
manage complexity effectively, and PHP/javascript is a fantastic tool
for solving your problems, but only if you don't shoot yourself in the
foot before you even begin.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oders, Josh Eichorn.
Cookies are fully supported and are preferrable to using a GET variable.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
several NGOs, very easy to customize and scale.
- Greg
On 4/4/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> Howdy group!
>
> I need recommendations for a good CRM done in PHP, thanks!
>
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsub
frames start
> sucking. And no, I don't currently know of an ajax lib that does this,
> but I'll certainly be making mine do so in the near future :)
HTML_AJAX (http://pear.php.net/HTML_AJAX) has had iframe fallback
support since I first checked it out in version 0.2.0
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eader("Content-type: text/xml; charset=utf-8");
...
I also use the Firefox browser which has a built-in XML browser that
allows me to do a quick validation of the XML. You can also use
www.feedvalidator.org to troubleshoot your feed once its online.
- Greg
--
PHP General Ma
es dependencies - most extensions compile without
modification for multiple PHP versions. Those that require some
finagling actually do so through package.xml or configure tricks
(usually configure tricks).
You do need to compile and install a separate extension for each php version
Greg
--
May 2, 2006
RELEASE ANNOUNCEMENT
phpDocumentor 1.3.0RC6
Download:
http://pear.php.net/PhpDocumentor
http://www.phpdoc.org
The phpDocumentor team would like to announce the release of version
1.3.0RC6. This is the last release candidate of version 1.3.0, the
first stable version to be released sin
nsions in command-line code and for
web applications. These often have completely different php.ini
settings for obvious reasons (no need for apache-specific stuff inside
the command-line php).
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
w microseconds. However, because count() is O(1), it will
be a constant amount per loop. If you need to eke out that much extra
performance, you may be better off using a profiler to see where the
real bottlenecks in the code are.
Greg
>
> From a performance point of view you'r
#x27;small']);
^^
> }
>
> function smalls($x){
> return $this->projects[$x]['small'];
> }
> }
Hi Jason,
The code you pasted is littered with fatal errors and bugs (I marked one
example with "^^" above). Please paste a real batch of code that you've
tested and reproduces the error and that will be much more helpful. The
PHP version would be helpful to know as well.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
expected.
Also, at the end, you're missing a parentheses at the end:
(stripos(strrev($file), "gnp.") === 0) should be(stripos(strrev($file),
"gnp.") === 0))
-- GREG
>Perhaps detecting
>if a variable has not been initialized within the code
This is an E_NOTICE level error.
[EMAIL PROTECTED] ~ $ php test.php
Notice: Undefined variable: foo in /home/mario/test.php on line 3
/dev.mysql.com/doc/refman/5.0/en/group-by-functions.html#function_group-concat
-- GREG.
code
than figure out where things have changed :)
Greg
--
phpDocumentor
http://www.phpdoc.org
Russell Seymour wrote:
Good evening list,
I apologise profusely if after reading anyone thinks that is OT, but I
relally need some pointers with a project I am working on. I have searched
the Internet for i
x27;t
confuse with the PEAR package.
The only thing you cannot do is release the unomdified PEAR package
under GPL.
A better alternative is to use the LGPL, which does not force other
packages to use GPL, but is still copy-left/open-source.
Greg
P.S. I'm not an expert, this is my co
http://pear.php.net/Calendar
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
John Taylor-Johnston wrote:
Anyone recommend a good calendar class at phpclasses.org or elsewhere?
Something I can install with ease and teach someone else to use and update using, oh
say phpmyadmin?
Thanks,
John
Hi Edward,
It's not a PEAR file. PEAR files are never included using ".."
regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
Edward Peloke wrote:
Hello, I have a friend who has moved his website to a new host and I am
helping him clean up some of the code. In one of his page
php. DB's mysql driver includes DB/mysql.php, etc. etc.
Greg
Ben Ramsey wrote:
It's not a PEAR file. PEAR files are never included using ".."
This is not true. I can download a PEAR package and use it as a
standalone in my application without specifying a PEAR folder in th
Hi Scott,
What you need is to set the include_path
http://www.php.net/manual/en/configuration.directives.php#ini.include-path
Greg
--
phpDocumentor
http://www.phpdoc.org
Scott Fletcher wrote:
Hi!
I saw the Pear packages that are originally stored in
/usr/local/lib/php/. This occur
phpDocumentor
http://www.phpdoc.org
Regards,
Greg
Richard Hawkes wrote:
Hi,
As you may be aware, languages like Java allow you to add comments in a
certain format, which can then be translated into a full HTML API Document
later. Does PHP have a facility like this? If not, has anyone written
The exception mechanism will not replace trigger_error() or function
return values any time soon
Greg
Tumurbaatar S. wrote:
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
If I understand right, PHP5 has an exception
handling mechanism but it is only for "manual&quo
On Sun, 24 Oct 2004 16:41:16 +0530, Yashesh Bhatia <[EMAIL PROTECTED]> wrote:
> error_reporting(E_STRICT|E_ALL);
This does appear broken. I was unable to get E_STRICT to work at all
on my setup. PHP 5.02, and Apache 2.0.51.
--
Greg Donald
Zend Certified Engineer
http://gdconsul
e)) {
is what you need
if (file_exists($filename)) {
...
}
clearstatcache();
will have no impact on the problem, because you are clearing the cache
*after* the function that relies on the cache has been called.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pd-php .html
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot parsed as PHP
vs.
30.2 seconds with .html parsed as PHP.
I only ran these tests locally, and only on the one server.. so it's
definatly not very scientific. I think we all sorta knew the results
anyway.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://desti
901 - 1000 of 1454 matches
Mail list logo