Richard Lynch wrote:
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote:
I'm trying to use PHP to compose an HTML formatted email
Don't do that...
3) Spam Assassin doesn't like it either way and tags the email as SPAM
for the following reasons:
0.6 HTML_SHORT_LENGTH BODY: HTML is ex
On 27/07/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> Piracy does not hurt the big boys in the least bit.
>
> They simply jack up the price for honest folk.
>
> You're only stealing, yes, Larry, actual money :-), from hard-working
> individuals who pay MORE for their legit copy when you pirate.
> 0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short
Well, lengthen it then.
1.5 MIME_BASE64_TEXT RAW: Message text disguised using base64
encoding
Don't do that. Use plain text or quoted printable.
Any help/suggestions would be appreciated.
Try HTML MIME mail - it does every
Dear All,
We all knew that AJAX is an achronym of Asynchronous Javascript And XML.
When I use another data format like YAML or CSV, will it still be called as
AJAX?
Or just "yet another asynchronous method"?
--
regards,
Yeni Setiawan
Dan wrote:
...
You should also look at this:
http://www.mnot.net/cache_docs/
Very informative.
--
Richard Heyes
+44 (0)844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP General Mailing List (http://www.php.n
> On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> And the practical issues, well, few OOP courses really dive into that,
> to tell you the truth...
This is why the study of design patterns is so important, imho.
-nathan
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On Wed, July
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Yeni Setiawan" <[EMAIL PROTECTED]>;
Sent: Friday, July 27, 2007 1:51 PM
Subject: RE: [PHP] OOT - Ajax definitiondear all,
[snip]
We all knew that AJAX is an achronym of Asynchronous Javascript And XML.
When I use a
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Thu, July 26, 2007 8:47 am, Daniel Brown wrote:
> > On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >> or am I going retarded again?
> >
> >
> > This has been confirmed. For whatever reason, Gmail isn't showing
> > me the
On Fri, 2007-07-27 at 15:55 +0200, Erfan Shirazi wrote:
> Hi all
>
>
> I have a problem which I need some help with.
> I have a e-commerce site were the user must log in in order to use some
> of the functions. But I only want 1 active session for each user, so the
> user should not be able to
Hi all
I have a problem which I need some help with.
I have a e-commerce site were the user must log in in order to use some
of the functions. But I only want 1 active session for each user, so the
user should not be able to have 2 browsers opened and being able to log
in with both.
So I n
> On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> 2) Some fancy OOP object (use OOP isa function)
basically what i suggested in my initial reply; build a couple
of custom wrapper objects around the stock php date / time
functions.
is_a is a relic from php4 that has been deprecated; go for
t
[snip]
We all knew that AJAX is an achronym of Asynchronous Javascript And XML.
When I use another data format like YAML or CSV, will it still be called
as
AJAX?
Or just "yet another asynchronous method"?
[/snip]
AJAX makes a good catch-all term since the API is called XMLHttpRequest
and the API
Angelo Zanetti wrote:
Hi guys
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imp
On Fri, 2007-07-27 at 14:37 +0200, Satyam wrote:
> - Original Message -
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> To: "Yeni Setiawan" <[EMAIL PROTECTED]>;
> Sent: Friday, July 27, 2007 1:51 PM
> Subject: RE: [PHP] OOT - Ajax definitiondear all,
>
>
> > [snip]
> > We all knew that AJ
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Thu, July 26, 2007 8:41 am, Eric Butera wrote:
> > filenames. Are you trying to protect them from unauthorized viewing?
>
> If you are trying to protect from unauthorized viewing, they probably
> shouldn't be in the webtree at all, as it's
I would like to inform the new release of the WebMesh framework based
strongly in PHP5 and which proposes a standard structure for PHP projects
with intention of:
- Force a better organization of the your project classes.
- Encorage the usage of the PHP version 5.
- Increase the code reuse level
-
On 27/07/07, David Robley <[EMAIL PROTECTED]> wrote:
> >
> > Of course, one should not forgot Debbie Does DocType...
> >
> I guess that would have an opening scene with dialog something like:
>
> "I hope you don't mind me sharing memory while you are processing an array"
> as the processor flicks g
[snip]
Out of curiosity, is there any effort in creating a new DOM that's
easier for application builders (something like Visual Foxpro)?
Does Web 2.0 or maybe 3.0 offer some new types, say something
like a real grid, or maybe a modal child popup?
[/snip]
[potential holy war bits]
There is no su
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Mon, July 23, 2007 8:10 am, Daniel Brown wrote:
> > On 7/20/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >> On Thu, July 19, 2007 8:33 am, Daniel Brown wrote:
> >>
> >> > extract($_POST);
> >>
> >> You might as well just turn regis
Hi
I need to access some custom and native Java classes from php.
I've tried the steps form php manual and php-javabridge from sf but I always
get an apache crash.
I don't need to run servlets and it's impossible to start servlet engine in
the server (project requirements).
The tutorials i've f
Chris wrote:
Richard Lynch wrote:
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote:
I'm trying to use PHP to compose an HTML formatted email
Don't do that...
3) Spam Assassin doesn't like it either way and tags the email as SPAM
for the following reasons:
0.6 HTML_SHORT_LENGTH BO
Hi guys
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imported only has 4 f
Thanks to all.
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.04) Linux 2.6.22.1
^ ^ 17:35:01 up 15 days 19:39 1 user load average: 0.03 0.03 0.00
news://news.3home.net news://news.hkpcug.org news://news.new
Dotan Cohen wrote:
> On 24/07/07, Ryan A <[EMAIL PROTECTED]> wrote:
>>
>> > Php Fiction? Rasmus's List? Codin' in the Rain?
>>
>> LOL! That was good! Thanks needed that!
>>
>>
>
> Of course, one should not forgot Debbie Does DocType...
>
> Dotan Cohen
>
Now you owe me a new keyboard that isn't
[snip]
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imported only has 4 fields
Hi
Thanks for the answer.
I'm using php 5 (5.2.3).
holo
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> if you cant get the php / java bridge to work and you cant run servlets
> than
> i dont know
> what other options you have. we used to use soap for communicat
if you cant get the php / java bridge to work and you cant run servlets than
i dont know
what other options you have. we used to use soap for communication between
java and
php where i worked last, but that would require servlets as well (afaik).
the bridge is marked as experimental..
are you usin
I am unable to get the values of output parameters for SQL Server
stored procedures that have multiple parameters or return values for
any procedures. I have tried this with both the odbc: and mssql:
drivers on a Windows XP development machine. (The live application
will be hosted on a Windows serv
Hey,
> They simply jack up the price for honest folk.
>
> You're only stealing, yes, Larry, actual money :-),
> from hard-working
> individuals who pay MORE for their legit copy when
> you pirate.
>
> That is the end effect.
>
> That is why it really IS theft.
Since this has been done to death
All,
I looked on PHP.net but I couldn't not find anything suitable to answer my
question.
Within PHP, is there a way to pull the name of the user that is currently
logged into the PC?
I know with some of the _SERVER functions you can pull the IP of the machine
and other data, is there a function
On 7/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
> All,
>
> I looked on PHP.net but I couldn't not find anything suitable to answer my
> question.
>
> Within PHP, is there a way to pull the name of the user that is currently
> logged into the PC?
>
> I know with some of the _SERVER functions you c
Hi dear Sancar,
you seem really the best man in place as what I see in the mailing
list :)) Thats really lovely I would like to say.
Now lets come to the solution I need:
public function memcache($pointer, $data="", $compress="", $timeout="0")
// store or load data from the memcache
{
if (MEMCAC
on *.nix you could do something like
$users = explode(' ', `users`);
$users will then be an array w/ the usernames of the currently logged in
users.
user names may appear more than once, per the users documentation.
no clue or care on windows for me :)
-nathan
On 7/27/07, Dan Shirah <[EMAIL PR
Maybe this: $_SERVER['PHP_AUTH_USER']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
Regards,
Carlton Whitehead
- Original Message -
From: "Dan Shirah" <[EMAIL PROTECTED]>
To: "php-general"
Sent: Friday, July 27, 2007 1:51:51 PM (GMT-0500) America/New_York
judging by the method invocation you have shown
site::memcache($pointername, $dataset);
that indicates site is a class and memecahce is a method defined in site,
which is being invoked statically in this case.
and in the definition of memecache you showed, the definition does not have
the static
[EMAIL PROTECTED] wrote:
Maybe this: $_SERVER['PHP_AUTH_USER']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
Regards,
Carlton Whitehead
- Original Message -
From: "Dan Shirah" <[EMAIL PROTECTED]>
To: "php-general"
Sent: Friday, July 27, 2007 1:51:51 PM
Thank you very much Nathan.
You mean I should change the the method from public to static?
Is that right? I hope I was getting you right.
I now juggled around abit with the code, and as it happens most
of the time, in case I invoke the XML object, that the file
given was not read right.
When i i
ppp and static / non-static are unrelated topics.
the former is regarding access control or visibility into the members
(variables or methods) of a class.
the latter is regarding whether a member can be called from the context of
an instance or not. essentially
static means to associate a function
I checked out the book from mister rethans and mister gutmans
and mister bakken, mh, its seems easier to simply say how the
book is named :))
To check out, what exactly it means, to create static and public
and so on methods. Yeah, I can easely call them static, as you
prefered.
But now there cam
We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited.
We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which to transfer this file across the interent.
Currently:
the lab pu
Hello,
We are in the process of configuring PHP version 5.2.3 to run on IIS so that
we can install some PHP applications on this server. When we attempt to open
pages on this server we are getting error messages like "PHP has encountered
an access violation at 019DC4CD" when we try to open pages.
So, what is the easiest way to get and install an SSL certificate?
>>> "Richard Lynch" <[EMAIL PROTECTED]> 7/27/2007 1:46 PM >>>
On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote:> We have various labs that submit coliform sample results in an ASCII> file, quoted/comma delimited.>> We are bei
[snip]
We have various labs that submit coliform sample results in an ASCII file,
quoted/comma delimited.
We are being asked to encrypt this file for internet transfer. We are also
being asked to create a secure process by which to transfer this file across
the interent.
Currently:
the lab p
maybe try 5.2.2 or 5.2.1 just to see if there is a version issue.
-nathan
On 7/27/07, Eric Lommatsch <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> We are in the process of configuring PHP version 5.2.3 to run on IIS so
> that
> we can install some PHP applications on this server. When we attempt to
>
On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote:
> We have various labs that submit coliform sample results in an ASCII
> file, quoted/comma delimited.
>
> We are being asked to encrypt this file for internet transfer. We are
> also being asked to create a secure process by which to transfer this
On Fri, July 27, 2007 3:15 pm, Eric Lommatsch wrote:
> We are in the process of configuring PHP version 5.2.3 to run on IIS
> so that
> we can install some PHP applications on this server. When we attempt
> to open
> pages on this server we are getting error messages like "PHP has
> encountered
> a
Are there any "magic functions" like __sleep and __wakeup that get called
upon entry and exit of user functions or user object methods?
Something like
__hookEntry For User Functions
__hookExit For User Functions
__hookOoEntry For User Object Methods
__hookOoExit For User Object Methods
Basicall
On Fri, July 27, 2007 8:55 am, Erfan Shirazi wrote:
> I have a problem which I need some help with.
> I have a e-commerce site were the user must log in in order to use
> some
> of the functions. But I only want 1 active session for each user, so
> the
> user should not be able to have 2 browsers o
On Fri, July 27, 2007 12:51 pm, Dan Shirah wrote:
> I looked on PHP.net but I couldn't not find anything suitable to
> answer my
> question.
>
> Within PHP, is there a way to pull the name of the user that is
> currently
> logged into the PC?
That data is not transmitted, by design, in an HTTP req
On Fri, July 27, 2007 4:01 am, Angelo Zanetti wrote:
> Does anyone have any resources or links as to how to import a
> spreadsheet but it might have different number of columns and many
> sheets (those tab things at the bottom).
>
> What I thought of doing was creating a table that has 10 fields an
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, July 27, 2007 7:35 am, Tijnema wrote:
> > It's quite logical that it is done this way, if you understand how a
> > mailing lists works ;)
> >
> > When you send a email to the mailing list, you send it without [PHP],
> > and so Gmail thi
Chris wrote:
Ryan Lao wrote:
Hello everyone,
Just need to ask a simple question, where can a find a text editor
that deals with byte order mark very well?
I've been using dreamweaver for a few years now but im not impressed
by how it deals with BOM. i need a text editor that can view a bom a
There are two different things you might want, ensure that the data is not seen
by eavesdroppers while in transit or ascertain that the data comes from who
says it is.
The first, you manage with SSL as with any other secure transaction, as already
sugested.
For the second is what you might wan
On Fri, July 27, 2007 7:35 am, Tijnema wrote:
> It's quite logical that it is done this way, if you understand how a
> mailing lists works ;)
>
> When you send a email to the mailing list, you send it without [PHP],
> and so Gmail thinks that's the message title. Once it arrives at the
> mailing li
On Fri, July 27, 2007 10:31 am, Holografix wrote:
> I need to access some custom and native Java classes from php.
> I've tried the steps form php manual and php-javabridge from sf but I
> always
> get an apache crash.
> I don't need to run servlets and it's impossible to start servlet
> engine in
John A DAVIS wrote:
So, what is the easiest way to get and install an SSL certificate?
>>> "Richard Lynch" <[EMAIL PROTECTED]> 7/27/2007 1:46 PM >>>
On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote:
> We have various labs that submit coliform sample results in an ASCII
> file, quoted/comma
My application is only used within my company. I want to pull the NT
Authenticated user that is logged in, cross reference that user with what I
have pulled from ldap and verify the user's name is valid. If the username
is valid I will assign it to a variable and use that variable to store the
name
On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
> Not everyone has the option to do that. Plus I think it is
> unintuitive to have things outside of your actual "web site." You can
> disallow traffic with Apache fairly easily if you're paranoid of such
> things.
I used to do this.
Until one d
Here is the application checklist that I have to answer. It is a new EPA rule called "CROMERR" (Cross Media Electronic Reporting Rule).
http://www.epa.gov/cdx/cromerrr/index.html (check out the Federal Register link for exact wording if you want---not for the timid at heart--your government do
Easiest?
If you have IIS (like my test environment), you can use the SelfSSL tool to
make a self-signed SSL certificate. Generally these aren't so great for a
production environment, but you said *easiest*. SelfSSL is part of the IIS 6.0
Resource Kit:
http://www.microsoft.com/downloads/detail
If memory doesn't fail me, if you work with IIS and protect the source pages
of the application so that IUSR_x (the generic anonymous user) doesn't
have access to those files and instead grant access to the NT users or
groups which you want, the IIS when working with IE clients will take car
Hi,
The idea is to add some kinda ping to your web site with Ajax so as far as
you receive pings you know that the use kept his/her browser open and when
it stops sending pings either the browser is closed or the net connection is
down, and then delete the user session and try to log it out.
and
[snip]
My application is only used within my company. I want to pull the NT
Authenticated user that is logged in, cross reference that user with
what I
have pulled from ldap and verify the user's name is valid. If the
username
is valid I will assign it to a variable and use that variable to store
t
On Fri, July 27, 2007 11:01 am, Tom Ray [Lists] wrote:
> I would have to agree with you Chris, there a many legitimate reasons
> for having HTML mail. I was trying to be a nice guy and send both the
> plain text version and the html version out but like I said, I
> couldn't
> get it to stop display
On Fri, July 27, 2007 3:49 pm, Instruct ICC wrote:
> Are there any "magic functions" like __sleep and __wakeup that get
> called
> upon entry and exit of user functions or user object methods?
>
> Something like
> __hookEntry For User Functions
> __hookExit For User Functions
> __hookOoEntry For Us
On Fri, July 27, 2007 3:52 pm, John A DAVIS wrote:
> So, what is the easiest way to get and install an SSL certificate?
The basic trust model of an SSL cert is:
You fill out a form and pay them $200 (or so) and they trust you.
Doesn't make a whole lotta sense to me, really, but there it is.
I s
On Fri, July 27, 2007 4:01 pm, [EMAIL PROTECTED] wrote:
> If you have IIS (like my test environment), you can use the SelfSSL
> tool to make a self-signed SSL certificate. Generally these aren't so
> great for a production environment, but you said *easiest*. SelfSSL is
> part of the IIS 6.0 Resour
Very good! Very good! Thank you. Lots of stuff to mull over.
John A. DavisProgrammerState of Oregon DHS OISCNE, MCSE
"Don't think of the problem, think of the solution"
>>> "Satyam" <[EMAIL PROTECTED]> 7/27/2007 2:19 PM >>>
There are two different things you might want, ensu
On Fri, July 27, 2007 4:12 pm, John A DAVIS wrote:
> Here is the application checklist that I have to answer. It is a new
> EPA rule called "CROMERR" (Cross Media Electronic Reporting Rule).
> http://www.epa.gov/cdx/cromerrr/index.html (check out the Federal
> Register link for exact wording if you
On Fri, July 27, 2007 4:02 pm, Dan Shirah wrote:
> My application is only used within my company. I want to pull the NT
> Authenticated user that is logged in, cross reference that user with
> what I
> have pulled from ldap and verify the user's name is valid. If the
> username
> is valid I will as
Dan Shirah wrote:
My application is only used within my company. I want to pull the NT
Authenticated user that is logged in, cross reference that user with what I
have pulled from ldap and verify the user's name is valid. If the username
is valid I will assign it to a variable and use that variab
On Friday 27 July 2007, Richard Lynch wrote:
> > Understood. I simply want to lay to rest the idea that piracy is
> > "somehow OK" because it's getting back at the big boys, who "can
> > afford
> > it anyway". Piracy also hits hard-working individuals, to whom the
> > loss
> > of income usually do
On Friday 27 July 2007 20:51:51 Dan Shirah wrote:
> All,
>
> I looked on PHP.net but I couldn't not find anything suitable to answer my
> question.
>
> Within PHP, is there a way to pull the name of the user that is currently
> logged into the PC?
>
> I know with some of the _SERVER functions you c
Hi! I am trying to use the imagestring() function to put a string of
Chinese characters from a $_GET variable onto an image. However, the
characters do not display right (English is fine). Is there a way I can
fix this or it is the limitation of the function itself? Thanks.
--
PHP General Mail
From: "Richard Lynch" <[EMAIL PROTECTED]>
> But xdebug and apd are probably moot.
>
> BTW, I'm not using separate development and production machines.
Right there is your first problem.
Solve that first.
If you mean get a dev box. You don't know how long I've been asking for one
to match the
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
> > Not everyone has the option to do that. Plus I think it is
> > unintuitive to have things outside of your actual "web site." You can
> > disallow traffic with Apache fairly easily if you'r
From: "Dan Shirah" <[EMAIL PROTECTED]>
All,
I looked on PHP.net but I couldn't not find anything suitable to answer my
question.
Within PHP, is there a way to pull the name of the user that is currently
logged into the PC?
I know with some of the _SERVER functions you can pull the IP of the
m
Davis Chan wrote:
Hi! I am trying to use the imagestring() function to put a string of
Chinese characters from a $_GET variable onto an image. However, the
characters do not display right (English is fine). Is there a way I can
fix this or it is the limitation of the function itself? Thanks.
Eric Butera wrote:
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
Not everyone has the option to do that. Plus I think it is
unintuitive to have things outside of your actual "web site." You can
disallow traffic with Apache fairly easi
On 7/28/07, brian <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
> > On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >
> >>On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
> >>
> >>>Not everyone has the option to do that. Plus I think it is
> >>>unintuitive to have things outside of your
Eric Butera wrote:
On 7/28/07, brian <[EMAIL PROTECTED]> wrote:
Eric Butera wrote:
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
Not everyone has the option to do that. Plus I think it is
unintuitive to have t
Hi all,
I agree with Jim,
for start you can play with .htaccess and ModRewrite module.
for more information see apache docs or you can also check out how in
httpd.conf accessing .htaccess from clients browser is limited and you can
use the same code for all of your .xml and .xslt files.
Best
brian wrote:
Does the font you're using support Chinese characters? Are the
Good point, I think I am just using the "default" and size 1. Are there
other fonts? Where can I find the font file for imageloadfont()?
characters coming through in $_GET ok?
echo $_GET[...]; is fine.
How *are* th
Dear Mister Minka,
in the attachment of this file, you will find a complete example for
the problem, decscribed.
There are two working examples, and the main example which is not
working.
Could you please be so kind in between to tell me who you are, because
I couldn't find any mails in the php
84 matches
Mail list logo