php-general Digest 1 Jul 2006 17:41:07 - Issue 4216
Topics (messages 239038 through 239056):
Re: ONE PAGE CONNECTS MANY DATABASE
239038 by: BBC
239040 by: BBC
239043 by: chris smith
IMAGECOPYRESIZED(); DOESN'T WORK...
239039 by: BBC
239042 by: chris
Yes I'm using MySQL and the DataBases I mean are in different servers
but the problem is I don't know how to set the host.
All input will be very helpful...
- Original Message -
From: Brad Bonkoski [EMAIL PROTECTED]
To: BBC [EMAIL PROTECTED]
Cc: PHP php-general@lists.php.net
Sent:
I thought I have typed this function correctly, and I didn't know why my
browser couldn't run these script :
?php
$filename = 'test.jpg';
$percent = 0.5;
header('Content-type: image/jpeg');
list($width, $height) = getimagesize($filename);
$newwidth = $width * $percent;
$newheight = $height *
Yes I'm using MySQL and the DataBases I mean are in different servers
but the problem is I don't know how to set the host.
All input will be very helpful...
- Original Message -
From: Brad Bonkoski [EMAIL PROTECTED]
To: BBC [EMAIL PROTECTED]
Cc: PHP php-general@lists.php.net
Sent:
i don't want to:
- declare global $foo,
there is a mistake. it was not global $foo, it is global $a
:)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/1/06, BBC [EMAIL PROTECTED] wrote:
I thought I have typed this function correctly, and I didn't know why my
browser couldn't run these script :
?php
$filename = 'test.jpg';
$percent = 0.5;
header('Content-type: image/jpeg');
list($width, $height) = getimagesize($filename);
$newwidth =
On 7/1/06, BBC [EMAIL PROTECTED] wrote:
Yes I'm using MySQL and the DataBases I mean are in different servers
but the problem is I don't know how to set the host.
All input will be very helpful...
Read the documentation, it's all there.
--
Postgresql php tutorials
hi all,
i wonder if there is a way of creating an instance of a class and
reach it direcly from any scope in PHP4. basically what i want is:
class a
{
function print()
{
echo 'sth';
}
}
$a = new a();
and use this a instance from anywhere ex, in a function that is a
method of another
No it is not empty. But I think I found the bug in the bugtracker...
http://bugs.php.net/bug.php?id=31037
Sorry, but with such a bug in the feature nobody can use it. Even if I
am able to fix it on my local machine (but actually I was not able to do
so until now), whats about my webspace?
On 7/1/06, Beauford [EMAIL PROTECTED] wrote:
Hi,
I'm just curious, because I come across this from time to time.
Why does the code below work on Windows and not on Linux. PHP is 5.0 on
Linux and 4.4 on Windows (still can't get 5 on Windows). The code at the
very bottom is how I got it to work
On 7/1/06, sempsteen [EMAIL PROTECTED] wrote:
hi all,
i wonder if there is a way of creating an instance of a class and
reach it direcly from any scope in PHP4. basically what i want is:
class a
{
function print()
{
echo 'sth';
}
}
$a = new a();
and use this a instance from
On Thu, 29 Jun 2006, Charlene Wroblewski wrote:
*joining the fray a little late*
What is the difference between this, Smarty and template.inc?
I have found Smarty to be unusable in my situation where a graphic designer
needs to be able to edit the html and is easily confused by non-html.
On Fri, 30 Jun 2006, Jay Paulson wrote:
I'd like to get some feedback on what the list thinks is a good template
engine other than smarty.
PEARs HTML_Template_IT... or mix it with other HTML_Template*
I'd also like to do some quick prototyping using a PHP framework does anyone
have any
On Fri, 30 Jun 2006, KermodeBear wrote:
http://pear.php.net/package/DB/
This one has no more development, besides bug fixes. It was merged to
create the one below.
http://pear.php.net/package/MDB2/
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
Beauford wrote:
Hi,
I'm just curious, because I come across this from time to time.
Why does the code below work on Windows and not on Linux. PHP is 5.0 on
Linux and 4.4 on Windows (still can't get 5 on Windows). The code at the
what stops you from installing php5 on windows? - it's not
On 7/1/06, chris smith [EMAIL PROTECTED] wrote:
On 7/1/06, sempsteen [EMAIL PROTECTED] wrote:
hi all,
i wonder if there is a way of creating an instance of a class and
reach it direcly from any scope in PHP4. basically what i want is:
class a
{
function print()
{
echo 'sth';
At 1:26 AM -0300 7/1/06, Martin Alterisio wrote:
That's all folks. Coming up next: an innovative realistic soccer simulation
game: Fix the World Cup. Everything from bribing a referee to fixing the
team sorting. Do you lack the morality to make your team the world champion
by any means necessary?
I think they call it 'futbol' in your native language tedd. Or was that
'maize'.. it was one or the other :)
-TG
= = = Original message = = =
At 1:26 AM -0300 7/1/06, Martin Alterisio wrote:
That's all folks. Coming up next: an innovative realistic soccer simulation
game: Fix the World Cup.
Soccer... what's that?
tedd
Its a mis-spelling of two words taken out of context,
its actually sock her and meant for Hillary Clinton
;))
Cheers!
Ryan
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile,
It sounds like your only other option is a singleton, which works only if
you're comfortable having only one instance of a, ever. The following code
also only works in PHP 5.
class A {
static obj;
static instance() {
if (! self::obj instanceof A) {
self::obj = new A();
}
Dear group,
Apache's WebDav-features do not fulfill our requirements concerning
file-management since we have to manage complex access-rights to files by
our own logic. HOW can we create our own WebDav-Server with PHP ? Are there
any alternatives? I couldn't find any examples so far ...
You can simulate singletons in PHP 4 as well. But you've just eliminated
every option for accessing a non-local object inside a function. You've got
4 options. Pick one, but I'm fairly certain there is no magical 5th. :-)
On Saturday 01 July 2006 13:02, sempsteen wrote:
Thanks Larry but i'm
On Sat, 1 Jul 2006 07:03:54 -0700 (PDT), Ryan A [EMAIL PROTECTED] wrote:
Soccer... what's that?
tedd
Its a mis-spelling of two words taken out of context,
its actually sock her and meant for Hillary Clinton
Actually, Hillary wasn't the one sucking. ;-)
--
--- Martin Marques martin@bugs.unl.edu.ar wrote:
On Sat, 1 Jul 2006 07:03:54 -0700 (PDT), Ryan A
[EMAIL PROTECTED] wrote:
Soccer... what's that?
tedd
Its a mis-spelling of two words taken out of
context,
its actually sock her and meant for Hillary
Clinton
Actually,
Richard Lynch wrote:
On Fri, June 30, 2006 11:11 am, Mark wrote:
Here is a problem I am seeing,
A browser hits a site the uses frames, for the sake of argument, lets
call
this site a squirrelmail web mail server.
The browser seems to spawn a number of requests at the same time (I
think
I thought I have typed this function correctly, and I didn't know why my
browser couldn't run these script :
?php
$filename = 'test.jpg';
$percent = 0.5;
header('Content-type: image/jpeg');
list($width, $height) = getimagesize($filename);
$newwidth = $width * $percent;
$newheight = $height *
Ryan A wrote:
Its a mis-spelling of two words taken out of context,
its actually sock her and meant for Hillary Clinton
Hehehe, n1! :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:15 PM -0700 7/1/06, BBC wrote:
I thought I have typed this function correctly, and I didn't know why my
browser couldn't run these script :
?php
$filename = 'test.jpg';
$percent = 0.5;
header('Content-type: image/jpeg');
list($width, $height) = getimagesize($filename);
$newwidth = $width *
Safari Studio Inc. is looking for qualified
designers/developers for a full time/part time
position. This is position is available for
designers/developers that want to work in a company
that is growing.
click here to fill in the application form
http://www.safaristudio.net/hr/
Job Number 1 :
29 matches
Mail list logo