On Nov 6, 2007, at 10:20 AM, Chris Bruce wrote:
Does anyone have some insight here? I am trying to crop an image.
The crop seems to almost work, but I get black bars on the image.
Has anyone had any experience with cropping images using the GD
library?
Thanks.
Chris
On Nov 2, 2007, at
Anybody trying to build php 4.4.7 with xslt/sablotron support? I'm
setting up a new Debian server and configure kept quitting on
Sablotron saying the version was less than 0.96. Looking at /usr/
include/sablot.h, it shows the version at 1.0.3. Configure was saying
it was using /usr, and I
There is set_time_limit() that works from the script as long as
safe_mode is not enabled.
http://docs.php.net/manual/en/function.set-time-limit.php
Ed
On Oct 24, 2007, at 3:26 PM, Vo, Lance wrote:
you probably won't be able to edit PHP.ini with shared-hosting. The
other solutions, one I
On Sep 28, 2007, at 11:34 AM, tedd wrote:
At 2:01 PM -0500 9/27/07, Edward Vermillion wrote:
So back to my original question, what breaks if you're *expecting*
UTF-8 and you don't *get* UTF-8?
Ed
Isn't UTF-8 the big fish here?
Sure there' UTF-16 and larger, but everything else
On Sep 28, 2007, at 1:05 PM, Per Jessen wrote:
Edward Vermillion wrote:
I pretty much gave up on the thread when I got the reply along the
lines of if it breaks something it's their problem, not mine.
Ed, your question was a good one, but so was my answer. In my case, I
don't cater
On Sep 27, 2007, at 10:09 AM, Colin Guthrie wrote:
Per Jessen wrote:
David Christopher Zentgraf wrote:
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning
On Sep 27, 2007, at 1:49 PM, Per Jessen wrote:
Edward Vermillion wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
Yes it does. If your HTML page was sent in UTF-8, any request
On Jul 20, 2007, at 2:39 PM, Nathan Nobbe wrote:
i recently attached an image, .png i believe.
-nathan
AH HAAA
;)
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jul 3, 2007, at 8:52 AM, Stut wrote:
Andrei wrote:
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
.
In short words it's not Micro$oft and you don't need to buy stuff to
develop in it.
You have never needed to buy anything to develop ASP.net applications.
Ummm...
On Jul 3, 2007, at 12:35 PM, Jim Lucas wrote:
Edward Vermillion wrote:
On Jul 3, 2007, at 8:52 AM, Stut wrote:
Andrei wrote:
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
.
In short words it's not Micro$oft and you don't need to buy
stuff to
develop in it.
You
On Jun 26, 2007, at 3:31 PM, Crayon Shin Chan wrote:
On Wednesday 27 June 2007 03:53, Daniel Brown wrote:
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most systems have a /tmp directory above the web dir, so
outsiders can't watch it anyhow.
True, but on an unsecured box, this
On Jun 18, 2007, at 3:30 PM, Myron Turner wrote:
I've written a plugin for DokuWiki which uses the following
DokuWiki function for reading files:
function io_readFile($file,$clean=true){
$ret = '';
if(@file_exists($file)){
if(substr($file,-3) == '.gz'){
$ret =
On Jun 14, 2007, at 4:39 AM, Jochem Maas wrote:
hi list,
having search and not found anything useful I was wondering if
anyone here
had a decent routine for doing the following:
given a relatively long text containing html I need to generate
an 'intro' version of this string containing a
On May 25, 2007, at 10:50 AM, Daniel Brown wrote:
On 5/25/07, Tijnema [EMAIL PROTECTED] wrote:
On 5/25/07, blueboy [EMAIL PROTECTED] wrote:
How can I do the equivalent of this in windows or is there a
tool I can
use?
R.
Windows file systems don't have permissions like Unix-bases file
On May 24, 2007, at 6:15 PM, Jochem Maas wrote:
Richard Lynch wrote:
On Wed, May 23, 2007 9:58 am, Greg Donald wrote:
Has anyone looked at the Zend Framework lately?
http://framework.zend.com/manual
I've been playing with a few parts of it off and on the past
couple of
days. It seems
On May 23, 2007, at 12:24 PM, Robert Cummings wrote:
More interesting will be if it still has the
greater market share over PHP5 when they declare it dead *lol*.
Yeah, I'm wondering about that also. Especially since my webhost, a
*very* large company that employs several PHP bigwigs
On May 18, 2007, at 2:55 PM, Robert Cummings wrote:
On Fri, 2007-05-18 at 14:35 -0500, Greg Donald wrote:
On 5/18/07, PHP Developer [EMAIL PROTECTED] wrote:
some people don't remove the Re: prefix when answering to the
questions It opens a
new topic on the list and that's not appropriate .
On May 11, 2007, at 9:10 AM, Mariano Guadagnini wrote:
Hy people,
I have an existential doubt regarding php classes. I have been a
php programmer for quite a long time, but never could figure out
the clear difference between using this- or self:: when calling
member functions, wether
On May 10, 2007, at 11:40 AM, Richard Davey wrote:
[EMAIL PROTECTED] wrote:
That being the case I can never find out (using the built-in
sessions) until the second page request and it will always
include the session cookie in the URL. Which means the value
of the seesion cookie will be
On May 9, 2007, at 10:12 AM, Stut wrote:
Efrain Sarmiento wrote:
AJAX Developer (Web Designer / Developer). MUST HAVE: 1 year AJAX
Experience, HTML, CSS, DHTML, OOJS, XML, JAVASCRIRPT, J2EE, and at
lease
an IDE like Photoshop, Dreamweaver, Eclipse or similar. Jersey City,
NJ, 6 months
On May 9, 2007, at 10:41 AM, Robert Cummings wrote:
On Wed, 2007-05-09 at 10:23 -0500, Edward Vermillion wrote:
On May 9, 2007, at 10:12 AM, Stut wrote:
Efrain Sarmiento wrote:
AJAX Developer (Web Designer / Developer). MUST HAVE: 1 year
AJAX
Experience, HTML, CSS, DHTML, OOJS, XML
On May 2, 2007, at 4:10 PM, Stut wrote:
Richard Lynch wrote:
On Wed, May 2, 2007 4:55 am, Lester Caine wrote:
Fredrik Thunberg wrote:
Lester Caine skrev:
Can someone with a few more working grey cells prompt me with the
correct command to split a string.
The entered data is names, but I
On May 2, 2007, at 3:59 PM, Richard Lynch wrote:
[snip]
One think you could consider to avoid the ugliness is to put the
heredoc into a one-use function or in an incldue file that doesn't
have enough indenting for it to look ugly in the first place. :-)
That's what I do with 'em, and
On Apr 29, 2007, at 8:03 AM, tedd wrote:
At 4:46 PM -0500 4/28/07, Edward Vermillion wrote:
On Apr 28, 2007, at 12:21 PM, tedd wrote:
At 9:22 AM -0500 4/28/07, Edward Vermillion wrote:
It should, but instead try this:
$image_size = getimagesize($filename);
echo $image_size['mime
On Apr 28, 2007, at 6:54 AM, tedd wrote:
At 2:10 AM +0200 4/28/07, Tim wrote:
On 21.04.2007 12:45, Alain Roger wrote:
Hi,
In my web application, end user is able to load images (png, jpeg,
gif,..) into database. I would like to know how can i detect
automatically the type of image (pnd,
On Apr 27, 2007, at 8:24 PM, Daevid Vincent wrote:
For a long time I've wanted a tool that would traverse my source
code to
find all those little forgotten TODO entries.
[snip]
Doesn't phpDocumentor (http://phpdocu.sourceforge.net/) do that already?
Ed
--
PHP General Mailing List
On Apr 28, 2007, at 12:21 PM, tedd wrote:
At 9:22 AM -0500 4/28/07, Edward Vermillion wrote:
It should, but instead try this:
$image_size = getimagesize($filename);
echo $image_size['mime'];
$image_size['mime'] ? Where did that come from?
I duno, maybe the manual.
http://us2.php.net
On Apr 28, 2007, at 3:02 PM, Gregory Beaver wrote:
Edward Vermillion wrote:
On Apr 27, 2007, at 8:24 PM, Daevid Vincent wrote:
For a long time I've wanted a tool that would traverse my source
code to
find all those little forgotten TODO entries.
[snip]
Doesn't phpDocumentor (http
On Apr 28, 2007, at 9:08 PM, Brad Sumrall wrote:
$SESSION = get_include_contents'/phpbb/login.php';
I pulled this tright out of the text book.
I am trying to pull a phpbb session on an outside page.
Any suggestions?
Here is the error!
Parse error: parse error, unexpected
On Apr 28, 2007, at 2:59 PM, Richard Lynch wrote:
On Fri, April 27, 2007 5:25 pm, Fernando Cosso wrote:
One word: explode
:D
Two Words: Quotes, Commas
:-p
I think I wrote a parser a while back that properly handled commas
in quotes for csv files. Probably did it the hard way but it
On Apr 22, 2007, at 5:47 PM, H.T wrote:
I get this error message when i try to check my site on localhost
running
IIS and PHP 5.1.2 :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 24576 bytes) in ...
and it points to the line which is pure html code!
What
On Apr 21, 2007, at 5:45 AM, Alain Roger wrote:
Hi,
In my web application, end user is able to load images (png, jpeg,
gif,..)
into database.
I would like to know how can i detect automatically the type of
image (pnd,
jpeg,...) ?
i do not want to check the extension because this is
On Apr 21, 2007, at 4:01 AM, Ross wrote:
A quick one this morning.
When coding should I be trying to code so there are no notices or
is it ok
to turn them off.
If you don't mind writing code that contains errors, notices are
errors. Not serious, but it's not that hard to write code in
On Apr 21, 2007, at 7:39 AM, Børge Holen wrote:
On Friday 20 April 2007 23:38, Edward Vermillion wrote:
On Apr 20, 2007, at 4:09 PM, Richard Lynch wrote:
On Fri, April 20, 2007 3:59 pm, Edward Vermillion wrote:
On Apr 20, 2007, at 3:10 PM, Daniel Brown wrote:
You're exactly right
On Apr 21, 2007, at 6:35 PM, Justin Frim wrote:
I've always gone by the rule that if you're making software that
other people will see or use, make it clean.
Sometimes I'll cheat and stick a @ symbol in front of a line to
shut up errors and warnings for that particular line, but usually I
On Apr 20, 2007, at 12:05 PM, Daniel Brown wrote:
I don't really like to, because I run the risk of getting my IP
or even
netblock blacklisted, but I can't think of any other way to do it
if the
user doesn't know what carrier the number belongs to. Any ideas on
this
subject, I'm
On Apr 20, 2007, at 12:47 PM, Daniel Brown wrote:
Yahoo! has an SMS gateway, as do AOL and MSN, among others. AOL's
Instant Messenger SMS short code, for example, is 265060 (AOL-060),
which is
what appears when an AOL or AIM user sends a message to a mobile
device.
For reference,
On Apr 20, 2007, at 3:10 PM, Daniel Brown wrote:
You're exactly right, Richard. MacOS is based on BSD.
And if you have any familiarity with linux administration, forget
almost everything you know 'cause they changed it in OSX...
Or maybe it's BSD that's a PITA... but I doubt it...
On Apr 20, 2007, at 4:09 PM, Richard Lynch wrote:
On Fri, April 20, 2007 3:59 pm, Edward Vermillion wrote:
On Apr 20, 2007, at 3:10 PM, Daniel Brown wrote:
You're exactly right, Richard. MacOS is based on BSD.
And if you have any familiarity with linux administration, forget
almost
On Apr 19, 2007, at 4:59 PM, Weston C wrote:
On 4/19/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
What ways are there to tell if PHP is actually built into an
Apache 2
installation or if it's installed as a shared object?
phpinfo() / Server
Wolf wrote:
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the same 1 error
:)
Just FYI...
On Apr 17, 2007, at 4:00 PM, Otto Wyss wrote:
I want move all database access into separate PHP files so I could
use these files either through an Ajax call from the client or in
another PHP files (require_once) on the server. Is this possible?
What interface would be needed? Has anybody
Could it be that IE7 and FF are timing the request out, and Safari
isn't?
That's what it sounds like to me. (connection reset on files larger
that a couple megs)
What to do about it server-side I have no idea (some kind of keep-
alive setting or header or something?), but maybe it gives
On Apr 16, 2007, at 11:27 AM, Jim Lucas wrote:
Stut wrote:
Jim Lucas wrote:
Richard Kurth wrote:
What do you do when isset does not work? If I send data in a
$_REQUEST['var'] like if (isset($_REQUEST['var'])) {
}
Put var has no data it still says it is set. Because $_REQUEST
['var'] =
On Apr 16, 2007, at 12:30 PM, Robert Cummings wrote:
[snip]
Bleh, my mistake... I'm so adverse to empty() I forgot it doesn't
generate notices.
Lemme guess... You don't like empty() because it thinks null/0/'' is
empty? Or is there some other reason?
Agreed, it can be tricky if you
On Apr 16, 2007, at 1:28 PM, Robert Cummings wrote:
On Mon, 2007-04-16 at 13:16 -0500, Edward Vermillion wrote:
On Apr 16, 2007, at 12:30 PM, Robert Cummings wrote:
[snip]
Bleh, my mistake... I'm so adverse to empty() I forgot it doesn't
generate notices.
Strings only containing only
On Apr 13, 2007, at 8:07 PM, Robert Cummings wrote:
[snip]
I noticed your site isn't a pixel perfect layout. Probably why you
haven't had to tear at your face very hard with CSS :) That whole
box-model issue becomes a great deal more elastic when you have some
fudge room.
[snip]
I use my
On Apr 14, 2007, at 10:37 AM, Robert Cummings wrote:
On Sat, 2007-04-14 at 10:14 -0500, Edward Vermillion wrote:
On Apr 13, 2007, at 8:07 PM, Robert Cummings wrote:
[snip]
I noticed your site isn't a pixel perfect layout. Probably why you
haven't had to tear at your face very hard with CSS
On Apr 12, 2007, at 11:17 AM, Jochem Maas wrote:
Arthur Erdös wrote:
int memory_get_usage ( [bool $real_usage] )
Returns the amount of memory, in bytes, that's currently being
allocated to your PHP script.
it returns the number of *bytes* !!!
sure, and memory_get_usage()/1048576
On Apr 12, 2007, at 3:04 PM, Jochem Maas wrote:
Edward Vermillion wrote:
On Apr 12, 2007, at 11:17 AM, Jochem Maas wrote:
Arthur Erdös wrote:
int memory_get_usage ( [bool $real_usage] )
Returns the amount of memory, in bytes, that's currently being
allocated to your PHP script.
[snip
On Apr 12, 2007, at 2:46 PM, Paul Novitski wrote:
At 4/12/2007 08:48 AM, Chetan Graham wrote:
WYSIWYG vs. the 'power-user'
Vonda McIntyre used to describe the three stages in the evolution
of science fiction. In the first stage it was all about the
technology, the new gadgets we could
On Apr 10, 2007, at 6:59 PM, Richard Lynch wrote:
On Mon, April 9, 2007 9:45 am, Davi wrote:
Sessions are stored in the temporary's server folder... So... If I
known my
session ID and where it's stored, I can do something...
If your web-visitor can access and edit the session files stored
On Apr 7, 2007, at 9:26 AM, tedd wrote:
At 9:11 PM -0400 4/6/07, Robert Cummings wrote:
On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote:
With POST, everything stays hidden, mostly untamperable, and
Bullshit. It is VERY easy to tamper with post data.
Please provide an example.
Did you try making it transparent first, before adding the circle?
Only a question because I'm not sure if it will make a difference. I
know I had problems trying to get the alpha blending to actually look
decent in png's (ended up looking like a very poor gif with a non-
antialiased mask)
~ is an alias for /home/USERNAME
so it's probably trying to create it in /home/www-data
On Mar 30, 2007, at 11:20 AM, Nathan Ziarek wrote:
I'm capturing the output of exec in an array -- exec(command,
$array);
Shouldn't $array have the error from bash?
Researching this more, I found
Just going out on a limb here, but did you mis-type it in the script
also?
I then stumbled upon gnomevfs-info that provided the information I
^
exec, etc). I used the full path (/usr/bin/gnamevfs-info) so I
don't
On Mar 22, 2007, at 11:52 PM, Travis Doherty wrote:
Juergen Wind wrote:
Travis Doherty wrote:
By default the session cookie expires when the browseris closed.
this is not always true: f.e. FF requires *all* open windows to be
closed to
forget that session.
Personally I think this
On Fri, March 23, 2007 10:57 am, Markus Fischer wrote:
I'm searching for a high quality image resizing facility to be used
within PHP in an Unix/Linux environment.
Probably everyone will now answer: imagecopyresampled()
However, the quality of that functionality doesn't match the
On Mar 23, 2007, at 8:32 PM, Jake McHenry wrote:
On Fri, March 23, 2007 10:57 am, Markus Fischer wrote:
I'm searching for a high quality image resizing facility to be used
within PHP in an Unix/Linux environment.
Probably everyone will now answer: imagecopyresampled()
However, the quality
You've either got path problems or up2date is not installed. That's
what 'command not found' means, it can't find the 'up2date' command.
Do you just want to start the MySQL server? Or are you trying to
update the MySQL rpm?
You should be able to start the server with a '/etc/init.d/mysql
post. Does anyone know
where I can go to download (aside from the red hat site where i
would need to gather license info) a php-mysql rpm?
- Original Message - From: Edward Vermillion
[EMAIL PROTECTED]
To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php Lists php-general@lists.php.net
Sent
On Mar 11, 2007, at 10:02 AM, tedd wrote:
At 3:05 PM +0100 3/11/07, Tijnema ! wrote:
On 3/11/07, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
At 10:05 AM +0100 3/11/07, Tijnema ! wrote:
- You could define $wdays inside the function
function convert_from_weekday ($weekday) {
$wdays
On Mar 11, 2007, at 1:59 PM, tedd wrote:
At 12:02 PM -0500 3/11/07, Edward Vermillion wrote:
On Mar 11, 2007, at 10:02 AM, tedd wrote:
At 3:05 PM +0100 3/11/07, Tijnema ! wrote:
On 3/11/07, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
wrote:
At 10:05 AM +0100 3/11/07, Tijnema ! wrote
PHP needs read/write access to the files. More than likely PHP is
running as Apache so the files would need to be owned by Apache* (or
whatever PHP is running at), not System.
*Or at least give the Apache group (or whatever PHP is running at) r/
w access, that way you don't have to resort
1.png
On Mar 7, 2007, at 2:25 PM, Edward Vermillion wrote:
PHP needs read/write access to the files. More than likely PHP is
running as Apache so the files would need to be owned by Apache*
(or whatever PHP is running at), not System.
*Or at least give the Apache group (or whatever PHP
On Feb 26, 2007, at 11:22 AM, [EMAIL PROTECTED] wrote:
Thanks alot for your response.. your information really was a help.
but now knowing that I an use a folder in my root DIR.. how do I
let PHP know where to look? For example the location lets say of
my include fold is
On Feb 26, 2007, at 12:06 PM, Edward Vermillion wrote:
Or you can set a constant to the includes directory:
?php
define('INCLUDE_DIR', '/files/include');
include INCLUDE_DIR.'foo.php';
Ooopps... should be define('INCLUDE_DIR', '/files/include/');
forgot the last '/'...
--
PHP
On Feb 25, 2007, at 11:30 AM, StainOnRug wrote:
Hello again.. I recently posted a question about include files.. I
appreciate
the responses I received but my question wasn’t answered.. its my
fault I
didn’t explain myself 100%.. I know how to use the include files..
What I am
trying to
On Feb 15, 2007, at 10:57 AM, Jochem Maas wrote:
Kevin Murphy wrote:
On my home page i have all my banners in a MySQL database which
includes
the image path, the link, and the description as separate fields. The
then do a MySQL query with a query that will look something like
this:
On May 16, 2006, at 7:53 PM, Chrome wrote:
-Original Message-
From: Robert Samuel White [mailto:[EMAIL PROTECTED]
Sent: 17 May 2006 01:42
To: php-general@lists.php.net
Subject: RE: [PHP] Regex Help for URL's [ANSWER]
That's what I was doing. I was parsing A:HREF, IMG:SRC, etc.
But
On May 15, 2006, at 7:53 PM, Richard Lynch wrote:
You can't do that.
Yeah I can, sorta. Well not really as I'm having to pass a reference
to the class object around. But that works.
The whold class has to be in a single contiguous file.
Last I checked.
To be able to use $this- in
On May 13, 2006, at 7:48 AM, Ryan A wrote:
Hey,
Heres my setup, I have a directory full of files and I
get a request with an array of filenames
For this example:
a.txt
b.txt
c.txt
if the above files dont already exist I need to create
them (I am using touch() instead of fopen())
My question
I'm doing some re-writing of a huge class I've got (don't think OOP
cause it's really not, just the usual class full of functions). What
I'm doing is moving the functions out of the class and into separate
files so the (I'm hoping) memory footprint will be smaller.
The basic setup I
On May 12, 2006, at 1:09 PM, Martin Alterisio wrote:
[snip]
When you call a function in the global scope from inside a member
function you're leaving the object scope, that's why this is null
in the global function
But my thought is that since the include was from inside the member
On May 12, 2006, at 1:55 PM, Stut wrote:
Edward Vermillion wrote:
But my thought is that since the include was from inside the
member function that the included function would be in the scope
of the member function, and not global. (?)
So if I have:
class foo {
function bar
On May 10, 2006, at 10:54 AM, Rolf Wouters wrote:
Yet another update.
Strange thing happened. I fixed the problem... It's not a clean
solution, it's not the right solution, but for now, it'll (have to)
do :-)
I changed my little test-script to include directives like
max_input_time,
On May 10, 2006, at 10:53 AM, Peter Hoskin wrote:
GOOGLE DO NOT ARGUE
o_O?
So, if ASCII and Binary are both codesets... which does SQL use to
store
its data?
ASCII is a codeset, utf* is a codeset binary is a, um... , binary
data.
varchar, etc = ASCII/utf*/whatever =
On May 9, 2006, at 2:05 PM, John Hicks wrote:
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't
been configured properly yet.
I fear many will unsubscribe and
On May 4, 2006, at 11:16 PM, Jochem Maas wrote:
Richard Lynch wrote:
On Thu, May 4, 2006 10:15 am, Edward Vermillion wrote:
On May 4, 2006, at 4:16 AM, Richard Lynch wrote:
On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote:
...
Yes. Usually.
Mostly sometimes.
For something like a Forum
On May 4, 2006, at 4:16 AM, Richard Lynch wrote:
On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote:
a. who said anything about sessions?
Jay did.
He suggested sucking down the whole article, paginating it all, and
cramming the pages into session, presumably so you don't have to suck
down the
On May 3, 2006, at 5:15 PM, Chris W. Parker wrote:
We don't get a lot of orders* so at worst if the db were stolen
there'd
be possibly 5-10 cc numbers in there. Some people (possibly Richard)
would have a heart attack to hear something like that but we've
decided
that it's a reasonable
Or just break the page up into sections and grab subsequent
sections from the DB. (?) That way you could easily code in a 'jump
to page 3 from page 6' type function, and your still just grabbing
data and spitting it out with out worrying about sessions getting
mangled or parsing for html
On Apr 30, 2006, at 8:07 PM, Richard Lynch wrote:
Instantiating an object does have some extra overhead that the static
call bypasses.
How much overhead depends on the complexity of the object, I would
predict that it's mainly in its constructor and any parent
constructors.
Well there's a
the
beginning.
Thanks to all who answered!
Ed
On May 1, 2006, at 9:39 AM, Jochem Maas wrote:
Edward Vermillion wrote:
On Apr 30, 2006, at 8:07 PM, Richard Lynch wrote:
Instantiating an object does have some extra overhead that the
static
call bypasses.
How much overhead depends
Correct me if I'm wrong on this, but from what I've seen (last hour
or so looking through google for c99+php+shell+captain+crunch), it
looks like the vulnerability comes from including uploaded files
somehow? Or at least allowing files to be uploaded and then accessed
with a .php extension
out how it is able to do all this but...
thanks everyone for the php setting suggestions. I'll tweak it
some and try
to lock it down more. Not sure if that would of stopped this or not.
Scot
Edward Vermillion [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Correct me if I'm wrong
On May 1, 2006, at 3:53 PM, Richard Lynch wrote:
On Mon, May 1, 2006 8:25 am, Edward Vermillion wrote:
What I was mainly thinking of though, what kind of hoops does PHP
jump through to take a class, that I assume it's holding in memory,
and make an object out of it, aside from the constructor
What happens when you run Project-Check Included Files?
Is Zend using this cache in the debugger too?
Ed
On May 1, 2006, at 4:56 PM, Nicolas Verhaeghe wrote:
Thanks to all the messages let me answer to all of them at once.
First, I'd like to have a dedicated Linux server, but I cannot have
On May 1, 2006, at 8:56 PM, chris smith wrote:
Depending on your content you could cache some of it to static files..
http://pear.php.net/packages.php?catpid=3catname=Caching
(I'm sure there are tons more packages to do this as well)..
Yeah, that's what I'm looking at right now, although
I'm still trying to get my head around all the OOP stuff and was
wondering if there is any basic difference between calling a static
function as opposed to creating an object, in situations where both
methods will do the same thing for you. Is there any overhead to
creating an object from
On Apr 30, 2006, at 10:10 AM, Jochem Maas wrote:
Edward Vermillion wrote:
I'm still trying to get my head around all the OOP stuff and was
wondering if there is any basic difference between calling a
static function as opposed to creating an object, in situations
where both methods
On Apr 30, 2006, at 10:45 AM, Jochem Maas wrote:
CVS or subversion (and 3 weeks intensive study of what branches
are) might
be of help to you - not for the faint-hearted though!
Been reading the subversion manual for the past three days... ;)
(I'm a slow reader)
Ed
--
PHP General
Gustavo Narea wrote:
Hello.
[snip]
As I said previously, It depends on the target of your website. For
instance, if your website is for web designers, you may only need to use
visual turing numbers: They must have a user agent which is able to
process images and I cannot imagine a blind
Richard Lynch wrote:
A) Attempt to hack fckEditor to allow a PDF to get uploaded, and
then display a link to the PDF instead of alink to the fckEditor
output.
B) Give them a separate, possibly confusing, input to upload files to
tie in as links to the fckEditor area
C) Dump fckEditor and only
Richard Davey wrote:
Hi Jay,
Friday, October 14, 2005, 2:21:57 PM, you wrote:
I was wondering isn't this putting a bigger load on a server by
including so many files for each function? Also, I was wondering
what everyone's opinion was on this approach in terms of
maintenance. Do you think
Hodicska Gergely wrote:
Hi!
In advance, this is not a yet another editor question. :)
I read somewhere about an editor, which has built in support for
phpdocumentator and creating unit test. Now I could not find it, I tried
a lot using Google without success.
Can anybody find out from
Jochem Maas wrote:
Jay Blanchard wrote:
[snip]
I have just installed PHP5. I am using Windows XP and have already
installed
MySQL.
When I try and make a connection to a database on MySQL via Dreamweaver I
can we make Dreamweaver illegal?
[snip]
But *I* use DW...
I know, I know...
I have two arrays:
$faqDataPost:
array
1 =
array
'faq_order' = '1'
'faq_question' = 'What is the air speed of a fully laden swallow?'
'show_question' = '1'
'faq_answer' = 'African or European?'
3 =
array
'faq_order' = '2'
'faq_question' = 'Where
Thomas wrote:
Hi,
I want to find out if it is possible to get the file name and the line
number of a calling script (__FILE__, __LINE_) from a calling class
automatically.
Let me explain:
I have a db class which gets called in other classes. Now, when an sql error
occurs I would like to find
A.J. Brown wrote:
Are you wanting the preferences to be real-time changeable? For example,
user preferences that can be modified then saved? If so, just store them in
an array, then serialize the array and save it to a file. Read the file at
every page load.
[code]
//save the settings
1 - 100 of 154 matches
Mail list logo