GD is your friend for images with php. If your asking how to access java
classes from PHP you may want to visit
http://www.php.net/manual/en/ref.java.php
-Brent
- Original Message -
From: "Mulley, Nikhil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 11:28 P
Hi All ,
I do not know whether to post here or not , but it always happens that I always get
the crispy answers from here.
I have JDK 1.4.2 Installed on my machine, Now I externally downloaded a Jimi Package
and I wanted to know how to install/deploy/put this Jimi ( java Extension )in which
f
--- Pablo Gosse <[EMAIL PROTECTED]> wrote:
> I just noticed that if I open up a Mozilla window, log into my
> CMS, then open another Mozilla window (not by ctrl-n, but by
> selecting it from my programs menu) and bring up the login page
> in that new window, then it detects the session from the oth
Been trying to unsubscribe this email account for days now
and now go. Anyone on this list have access to remove me?
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I will look into the into all of the items discussed and probably will
be sending in some questions
On Tue, 12 Oct 2004 16:17:37 -0500, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 12 Oct 2004 16:43:42 -0400, GH <[EMAIL PROTECTED]> wrote:
> > I would like to know if someone out there ha
Robby Russell wrote:
A friend of mine asked me if I knew if this was possible in PHP4.
class foo
{
var $bar = NULL;
function foo()
{
$this->bar = new bar();
}
function getBar()
{
return $this->bar;
}
}
class bar
{
var $thing = NULL;
function bar()
{
A friend of mine asked me if I knew if this was possible in PHP4.
class foo
{
var $bar = NULL;
function foo()
{
$this->bar = new bar();
}
function getBar()
{
return $this->bar;
}
}
class bar
{
var $thing = NULL;
function bar()
{
On Oct 12, 2004, at 6:52 PM, Matthew Weier O'Phinney wrote:
I haven't had much luck with PHP books when it comes to efficient
coding
techniques and site/application architecture. It's a niche that needs
to
be filled.
Another thing you might want to research is the MVC pattern
(Model-View-Control
* Greg Donald <[EMAIL PROTECTED]>:
> > why use one template, or many - why use different pages rather than
> > relying on variables.
>
> I scoff at template engines like Smarty and frameworks like Mojavi.
> But that's just me. I work with both of those technologies everyday
> but would never incl
* Lists <[EMAIL PROTECTED]>:
> This is helpful, thanks. But I understand most of the pieces. I'm
> interested in efficient and organizational factors to consider in using
> them. But after sending this, I thought, maybe my question is more of
> a general structural web design question rather
On Wed, 2004-10-13 at 01:26 +, Matthew Weier O'Phinney wrote:
> * Pablo Gosse <[EMAIL PROTECTED]>:
> > I just noticed that if I open up a Mozilla window, log into my CMS, then
> > open another Mozilla window (not by ctrl-n, but by selecting it from my
> > programs menu) and bring up the login p
* Pablo Gosse <[EMAIL PROTECTED]>:
> I just noticed that if I open up a Mozilla window, log into my CMS, then
> open another Mozilla window (not by ctrl-n, but by selecting it from my
> programs menu) and bring up the login page in that new window, then it
> detects the session from the other windo
Jason, thanks for the reminder, I completely forgot about the italic
version(s).
-Brent
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 8:08 PM
Subject: Re: [PHP] How do I do italics on a text string in an image?
> On
On Wednesday 13 October 2004 09:03, M Saleh EG wrote:
> How a subdomain is pointed to a dynamic page section?
>
> If a dynamic url with querystrings gets rewritten somehow to look like
> directory based url... then how would I point a subdomain to it?
Ask on the mailing list/support forum/technica
On Wednesday 13 October 2004 08:30, Brent Clements wrote:
> I've got the following string:
>
> $text = "football";
>
> How do I put that string in italics using a true type font on an image?
Use the italic version of the font.
In case you're wondering, the italic/bold that you can select on fonts
Hi folks. I've got a quick question about sessions and Mozilla.
I just noticed that if I open up a Mozilla window, log into my CMS, then
open another Mozilla window (not by ctrl-n, but by selecting it from my
programs menu) and bring up the login page in that new window, then it
detects the sessi
It'll make a small project seem huge in no time flat, but that's the
price you pay for 'organization' and stuff.
But frameworks can also make a huge project seem medium which is the
advantage of organization. Also, it's quite often the case that a small
project grows and slowly becomes a big projec
How a subdomain is pointed to a dynamic page section?
If a dynamic url with querystrings gets rewritten somehow to look like
directory based url... then how would I point a subdomain to it?
--
M.Saleh.E.G
97150-4779817
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
Hello,
On 10/12/2004 04:18 PM, Jed R. Brubaker wrote:
I am thinking like JavaBeans. Here is what I have going on:
I have a series of rather database intensive queries that I would like some
class to cache and provide access for page loads. I don't care how the
information is stored, but I am tryi
Hello,
On 10/12/2004 08:42 PM, Marco Tabini wrote:
On 10/07/2004 09:24 AM, Marco Tabini wrote:
Finally, you will need a fast mailing mechanism. mail() is not your
only option--you can interface directly with any mailer through SMTP
or pipes, for example--but in my experience, you don't need to go
On Wednesday 13 October 2004 07:17, Jordi Canals wrote:
> On Wed, 13 Oct 2004 00:22:40 +0200, Marek Kilimajer <[EMAIL PROTECTED]>
wrote:
> >>Why use fpassthru? I just use readfile, is there a difference?
> >
> > I bet Apex11 meant readfile() php function.
>
> Oh, I see. Sorry for the mistake. In t
* Thus wrote John Holmes:
> Jordi Canals wrote:
> >I'd like to know the difference by using the $_SERVER['PHP_SELF'] and
> >$_SERVER['SCRIPT_NAME'] variables. After I read the manual, I have not
> >found the difference betwen the two when used in a Web Script. Also,
> >in all tests I've done, I get
Manuel Lemos wrote:
Hello,
On 10/07/2004 09:24 AM, Marco Tabini wrote:
Finally, you will need a fast mailing mechanism. mail() is not your
only option--you can interface directly with any mailer through SMTP
or pipes, for example--but in my experience, you don't need to go any
further to make t
Jordi Canals wrote:
I'd like to know the difference by using the $_SERVER['PHP_SELF'] and
$_SERVER['SCRIPT_NAME'] variables. After I read the manual, I have not
found the difference betwen the two when used in a Web Script. Also,
in all tests I've done, I get the same result in both variables.
PHP_
On Tue, 2004-10-12 at 18:18, Greg Donald wrote:
> We use Mojavi, and it works very well:
>
> http://mojavi.org
> http://www.peterrobins.co.uk/it/mojavi/tutorial.htm
>
> It's way more than just templates, it's display and logic seperation,
> modularization, filter chains, the works. In fact we us
On Wed, 13 Oct 2004 00:22:40 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
>>Why use fpassthru? I just use readfile, is there a difference?
>
> I bet Apex11 meant readfile() php function.
>
Oh, I see. Sorry for the mistake. In this case, I would like to know
also the diference ;)
Regards,
J
Hi all,
I'd like to know the difference by using the $_SERVER['PHP_SELF'] and
$_SERVER['SCRIPT_NAME'] variables. After I read the manual, I have not
found the difference betwen the two when used in a Web Script. Also,
in all tests I've done, I get the same result in both variables.
Any comment wi
Jordi Canals wrote:
On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
Why use fpassthru? I just use readfile, is there a difference?
The main difference is with fpassthru you never show to the user the
exacr location of the file, so must use the script to download it.
In ex
On Tue, 12 Oct 2004 14:38:21 -0700, lists <[EMAIL PROTECTED]> wrote:
> This is helpful, thanks. But I understand most of the pieces. I'm
> interested in efficient and organizational factors to consider in using
> them. But after sending this, I thought, maybe my question is more of
> a general s
Have you tried changing your file name to project.htm but continue issuing
the mime headers for excel?
Warren Vail
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 12, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Exporting HTML to Excel
Hi
Philip, have you checked the php freaks website? I do recall seeing a script
in their tutorials library that claimed to create Excel files.
http://www.phpfreaks.com
Just had a search and came up with:
Cell 1
Cell 2
";
?>
HTH
Graham
> -Original Message-
> From: Philip Thompson [mailt
Hi Rick,
Thanks for replying.
> Mag wrote:
> > Hi,
> > I got a pretty good code snippet from Zend to grap
> a
> > remote image and save it to disk, the problem is,
> when
> > it saves to my disk i am unable to open the
> > images...they are blank and the file matches the
> > remote images filesiz
This is helpful, thanks. But I understand most of the pieces. I'm
interested in efficient and organizational factors to consider in using
them. But after sending this, I thought, maybe my question is more of
a general structural web design question rather than PHP.
I've checked google, (I'm
On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
> Why use fpassthru? I just use readfile, is there a difference?
>
The main difference is with fpassthru you never show to the user the
exacr location of the file, so must use the script to download it.
In example, you can
Philip Thompson wrote:
Hi all.
This may not be completely a PHP question, but hopefully you will be
able to provide some insight. I have a table in HTML that I want to
export to an excel spreadsheet. Using PHP, I can create an excel
document - however, it's empty/blank. I think I am just doing i
Hi all.
This may not be completely a PHP question, but hopefully you will be
able to provide some insight. I have a table in HTML that I want to
export to an excel spreadsheet. Using PHP, I can create an excel
document - however, it's empty/blank. I think I am just doing it
incorrectly. Anybody
On Tue, 12 Oct 2004 16:43:42 -0400, GH <[EMAIL PROTECTED]> wrote:
> I would like to know if someone out there has or knows of a tutorial
> on Maintenance of State that allows only users who have logged in to
> successfully visit view pages?
You can store most anything in a PHP session, variables,
On Tue, 12 Oct 2004 13:19:37 -0700, lists <[EMAIL PROTECTED]> wrote:
> I"m wondering what factors are at play in deciding to use "require",
> "include",
This dictates the level of error reporting you desire when pulling in
a file. On failure, include() won't stop your script execution, while
requ
[snip]
I would like to know if someone out there has or knows of a tutorial
on Maintenance of State that allows only users who have logged in to
successfully visit view pages?
[/snip]
PHP, being server side without a persistent connection to the client, is
stateless. You can use things like cookie
On Tue, 2004-10-12 at 16:19, lists wrote:
> Hi List,
>
> I"m wondering what factors are at play in deciding to use "require",
> "include", "file_get_contents" and such when laying out a site. Like
require() generates a fatal error if the target file doesn't exist. This
means your script will no
--- GH <[EMAIL PROTECTED]> wrote:
> I would like to know if someone out there has or knows of a tutorial
> on Maintenance of State that allows only users who have logged in to
> successfully visit view pages?
You might find this helpful, if I'm interpreting your question correctly:
http://shiflet
On Tue, 12 Oct 2004 20:57:54 +0100, Harlequin
<[EMAIL PROTECTED]> wrote:
> I'm also using Hypertext Mark-up Language and Hypertext Pre-processor but
> hey - who cares about the TLAs...?
No idea what a 'TLA' is in this context, but you're definitely missing
the point.
There is no such thing as 'cl
On Wednesday 13 October 2004 03:57, Harlequin wrote:
> I'm also using Hypertext Mark-up Language and Hypertext Pre-processor but
> hey - who cares about the TLAs...?
Java and Javascript are completely different things. You would be fooling
yourself and making a fool of yourself if you think other
I would like to know if someone out there has or knows of a tutorial
on Maintenance of State that allows only users who have logged in to
successfully visit view pages?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mag wrote:
Hi,
I got a pretty good code snippet from Zend to grap a
remote image and save it to disk, the problem is, when
it saves to my disk i am unable to open the
images...they are blank and the file matches the
remote images filesize...
[snip]
ob_start();
readfile($url);
$img = ob_get_
Hi List,
I"m wondering what factors are at play in deciding to use "require",
"include", "file_get_contents" and such when laying out a site. Like
why use one template, or many - why use different pages rather than
relying on variables. I'm also wondering about how I see "{content}"
type stuf
Yeah, I mentioned some of those problems in my email. What I didn't
consider was that the content disposition headers could get around the
browser's configured behavior.
I found this page:
http://forums.devshed.com/t7307/s.html
Which recommends using:
header("Content-Type: application/octet-stre
Greg Donald wrote:
On Tue, 12 Oct 2004 12:27:07 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
ok dudes, we understand, as much fun as I have downloading and reading
your awsome requests, lets just stop beating the horse, it's bee dead
for quite a while now...
The can is open, the worms are everywhe
On Tue, 12 Oct 2004 12:27:07 -0700, ApexEleven <[EMAIL PROTECTED]> wrote:
> ok dudes, we understand, as much fun as I have downloading and reading
> your awsome requests, lets just stop beating the horse, it's bee dead
> for quite a while now...
The can is open, the worms are everywhere.
--
Gre
I'm also using Hypertext Mark-up Language and Hypertext Pre-processor but
hey - who cares about the TLAs...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
I have used Turck MMCache in the past to store results in shared memory
with an specific TTL. Also you could use Cache_Lite in PEAR.
Hope it helps,
Adrian Madrid
Jed R. Brubaker wrote:
I am thinking like JavaBeans. Here is what I have going on:
I have a series of rather database intensive queries
> Matthew Sims wrote:
>>>Here's what i'm trying to do in php and using a mySQL database:
>>>
>>>I want a button on a page that if clicked it launches the browser's or
>>>OS's
>>>"Save As" window, allowing me to specify where to save my file and/or
>>>create
>>>a new folder. This needs to work on Ma
On Wednesday 13 October 2004 03:00, Adil wrote:
> man, you guys are harsh. I didn't want a code sample or anything. Just a
> pointer in the right direction, hehe. I've done a lot of looking into this
> and couldn't come up with the right results. I can easily specify a folder
> and submit it an
On Wednesday 13 October 2004 02:22, Mag wrote:
> I got a pretty good code snippet from Zend to grap a
> remote image and save it to disk, the problem is, when
> it saves to my disk i am unable to open the
> images...they are blank and the file matches the
> remote images filesize...
>
>
> Heres th
ok dudes, we understand, as much fun as I have downloading and reading
your awsome requests, lets just stop beating the horse, it's bee dead
for quite a while now...
On Tue, 12 Oct 2004 15:02:19 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote:
>
> >> I want an IDE that will let me speak code into it
Adrian Madrid wrote:
Is PEAR stable on PHP5? I'm trying a new project on PHP5 and keep
getting different kinds of errors (deprecated, etc.) on DB.php,
PEAR.php, etc. Looks like so far there has been no show stoppers but it
would be nice if it wouldn't give errors. What's the status on this? Has
Is PEAR stable on PHP5? I'm trying a new project on PHP5 and keep
getting different kinds of errors (deprecated, etc.) on DB.php,
PEAR.php, etc. Looks like so far there has been no show stoppers but it
would be nice if it wouldn't give errors. What's the status on this? Has
anybody used PEAR an
I am thinking like JavaBeans. Here is what I have going on:
I have a series of rather database intensive queries that I would like some
class to cache and provide access for page loads. I don't care how the
information is stored, but I am trying to minimize the database call down to
only once a
Trevor Gryffyn wrote:
It's worth noting that if you're just generating HTML that creates just
a regular old HREF pointing to a regular old file, that the web server
will handle sending out the proper headers.
This isn't always the case. If the file is a CSV file and you don't pass
the proper heade
>> I want an IDE that will let me speak code into it. Anyone else want
>> anything?
Oh.. I'd like a flat-screen monitor that would interpret the program that I
have in my mind, generate the code for it on screen, save it and run the
program everytime I say "KaBoom".
I'd like a side-order of that
It's worth noting that if you're just generating HTML that creates just
a regular old HREF pointing to a regular old file, that the web server
will handle sending out the proper headers.
For example:
Your Download
You don't need to do anything special with PHP to make this send
correctly and PRO
Matthew Sims wrote:
Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or
OS's
"Save As" window, allowing me to specify where to save my file and/or
create
a new folder. This needs to work on Mac and PC.
thx in advance
man, you guys are harsh. I didn't want a code sample or anything. Just a
pointer in the right direction, hehe. I've done a lot of looking into this
and couldn't come up with the right results. I can easily specify a folder
and submit it and have a php script do whatever but what I'm looking for
Jay Blanchard wrote:
[snip]
> I want an IDE that will let me speak code into it. Anyone else want
> anything?
[/snip]
Laetitia Casta?
Email me off list to get delivery instructions.
Thanks,
Pablo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
On Tue, 12 Oct 2004 13:35:13 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> I want an IDE that will let me speak code into it. Anyone else want
> anything?
I'd like a clone of myself to do my 9-5 x 5 for me.
Oh yeah, and a bag of cheetos. Thanks.
--
Greg Donald
Zend Certified Engineer
htt
> Here's what i'm trying to do in php and using a mySQL database:
>
> I want a button on a page that if clicked it launches the browser's or
> OS's
> "Save As" window, allowing me to specify where to save my file and/or
> create
> a new folder. This needs to work on Mac and PC.
>
> thx in advance
>
[snip]
I have a plastic cup that you can speak into...will that work? Reverse
the polarity of the number 4 and number 6 wires on your ethernet
connection, and I'll cpt (cup transfer protocol) it to you.
[/snip]
Is that with or without ice?
--
PHP General Mailing List (http://www.php.net/)
To
> > I want an IDE that will let me speak code into it. Anyone else want
> > anything?
>
> I have a plastic cup that you can speak into...will that work? Reverse
> the polarity of the number 4 and number 6 wires on your ethernet
> connection, and I'll cpt (cup transfer protocol) it to you.
Does i
Adil wrote:
I want a button on a page that if clicked it launches the browser's or OS's
"Save As" window, allowing me to specify where to save my file and/or create
a new folder. This needs to work on Mac and PC.
Take a look at the header() function: http://us2.php.net/header
Specifically, read the
Jay Blanchard wrote:
[snip]
Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or
OS's
"Save As" window, allowing me to specify where to save my file and/or
create
a new folder. This needs to work on Mac and PC.
[/snip
[snip]
Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or
OS's
"Save As" window, allowing me to specify where to save my file and/or
create
a new folder. This needs to work on Mac and PC.
[/snip]
I want an IDE tha
Adil wrote:
Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or OS's
"Save As" window, allowing me to specify where to save my file and/or create
a new folder. This needs to work on Mac and PC.
thx in advance
Adil..
Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or OS's
"Save As" window, allowing me to specify where to save my file and/or create
a new folder. This needs to work on Mac and PC.
thx in advance
Adil..
--
PHP G
Hi,
I got a pretty good code snippet from Zend to grap a
remote image and save it to disk, the problem is, when
it saves to my disk i am unable to open the
images...they are blank and the file matches the
remote images filesize...
Heres the code I got from Zend:
Start code ##
Why use fpassthru? I just use readfile, is there a difference?
On Tue, 12 Oct 2004 11:11:54 -0500, Matt M. <[EMAIL PROTECTED]> wrote:
> > $filepath = "bla/bla/files/";
> > $filename = "file.zip";
> > $fullpath = "$filepath/$filename";
> >
> > header( ' Pragma: ');
> > header(
> $filepath = "bla/bla/files/";
> $filename = "file.zip";
> $fullpath = "$filepath/$filename";
>
> header( ' Pragma: ');
> header( ' Content-Type: application/force-download' );
> header( ' Content-Type: application/octet-stream ' );
> header( ' Content-length:'.(string
I'm using fpassthru so users must log in to have access to certain
files. The users are accessing the fpassthru script with an https
connection. The code works fine with IE but sends inline ascii text
with mozilla/firefox. The code looks like this:
$filepath = "bla/bla/files/";
$filename =
> /../imgs/blah.jpg should return
> http://www.textx.com/t1/t2/imgs/blah.jpg
>
> but its returning:
> http://www.textx.com/t1/t2/t3/imgs/blah.jpg
>
> and this: /../../imgs/blah.jpg
> should return: http://www.textx.com/t1/imgs/blah.jpg
>
> but its returning:
> http://www.textx.com/t1/t2/imgs/bla
http://uk.php.net/imagecolorallocatealpha
Todd Cary wrote:
I would like to place text on a graphic but vary the transparency of
the text. Can this be done with the gd library?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B324274
Here's a link that talks about how to do it in IIS for Windows Server
2003. It's for when you're logging into a domain though, are you doing
that with all those different platforms? The client accessing the web
server has to be lo
I would like to place text on a graphic but vary the transparency of the
text. Can this be done with the gd library?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
M. Sokolewicz wrote:
Ulrik Witschass wrote:
Hello List,
I browses the PHP Manual for some time now but didn't find exactly what I
was looking for.
I need to turn images uploaded by a user to b/w images to use them in
pdflib, the resulting PDF has to be black and white.
Now my question:
a) is this p
Ulrik Witschass wrote:
Hello List,
I browses the PHP Manual for some time now but didn't find exactly what I
was looking for.
I need to turn images uploaded by a user to b/w images to use them in
pdflib, the resulting PDF has to be black and white.
Now my question:
a) is this possible?
yes, it is.
On Oct 11, 2004, at 2:06 PM, John Holmes wrote:
Does anyone know of a program that does event and user registration,
sends RSVPs, reminders, etc?? I'm basically looking for a _simple_
evite.com clone I can use on a site.
The only one I've found in a quick search is iVITE at
http://www.hotscript
I'm using fpassthru so users must log in to have access to certain
files. The users are accessing the fpassthru script with an https
connection. The code works fine with IE but sends inline ascii text
with mozilla/firefox. The code looks like this:
$filepath = "bla/bla/files/";
$filename =
Hello List,
I browses the PHP Manual for some time now but didn't find exactly what I
was looking for.
I need to turn images uploaded by a user to b/w images to use them in
pdflib, the resulting PDF has to be black and white.
Now my question:
a) is this possible?
if(a)
b) do I do this with PH
You can send an SMS via kapow easily using PHP.
Here are a few examples of how you can send (via HTTP Get/Post & email).
assuming you have defined a couple of variables;
$user = "youruser";
$pass = "yourpass";
$mob = "447971325173";
$message = urlencode("This is just a test SMS message from kapow.c
87 matches
Mail list logo