Anyone know of a place to get some good tutorials on how to forward email
from SendMail to PHP for processing?
Re: Email forwarding from SendMail to PHP
See if this helps:
http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/
Joseph
"Donald Tyler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Anyone know of a place to get some good tutorials on how to forward ema
The only way I know is to use sessions.
Each time they load the page, you would check a session variable that you
use store the status of a specific page. E.g.
if($_SESSION['ReloadStatus']['ContactUs'] == true)
{
//Page has already been loaded once. This is a reload.
//---
You probably shouldn't have posted your Google key here...
-Original Message-
From: Daniel Ke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 11:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Google APIs with PHP
Sorry about it. I should include the code as
You should encase the $HTTP_RAW_POST_DATA in print_r() or you will just get
the word "Array" printed. But I doubt that will solver your problem because
it seems that $HTTP_RAW_POST_DATA is empty.
Also, print_r() does not include any HTML formatting, so you will need to
look at the source for the p
Hi Everyone,
I posted this on the PHP install list but didn't get a reply. I hope you
guys/gals can be more helpful.
I am having trouble getting the XmlRpc extension working with PnP 4.2.3.
SYSTEM:
Windows XP Pro
PHP 4.2.3 (Running as Apache module)
Apache 2.0.44
When Apache starts I get the fo
Hi,
I am trying to create a Class that will parse an XML document. It all works
fine as individual functions but I cant get it to work as a class.
For example, when I do the following in my class:
xml_set_element_handler($this->xml_parser,
'$this->startElement', "$this->endE
I did read the other thread, and I tried that.
It didn't work...
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 2:46 PM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Building an XML Parser Class
[snip]
xml_set_element_ha
the functions, but doesn't pass any parameters to it. All I get
are missing parameter error messages.
-----Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 9:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Building an XML Parser
Instead of say:
$MyXmlParser = new XmlParser;
-Original Message-
From: Greg Beaver [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:01 PM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: Building an XML Parser Class
http://pear.php.net/XML_Parser
:)
Greg
--
php
->startElement. Which it obviously doesn't exist
because its in the xml parsers parent object.
-Original Message-
From: Evan Nemerson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 4:36 PM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: Re: [PHP] Building an XML Parser Class
Try
Its $this->startElement().
That was a typo. I typed the error message instead of copying and pasting
it. Sorry.
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:26 PM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] XMl Pars
Hi,
I am trying to create a Class that will parse an XML document. It all works
fine as individual functions but I cant get it to work as a class.
For example, when I do the following in my class:
xml_set_element_handler($this->xml_parser, '$this->startElement',
"$this->endElement");
xml_set_cha
Thanks to the excellent help from someone at Full Data Systems (Thank you!),
I finally managed to get the XmlRPC extension working on my windows PHP
installation.
I am not trying to send any params at the moment, all I want to do is get a
valid response.
However, now when I try and run the script
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 9:29 AM
To: 'Marek Kilimajer'
Subject: RE: [PHP] XmlRPC - Server did not understand request
Well that fixed it.
*Slaps head*. I guess I should have noticed that. Sorry for such
I have a script that is processing data from a single table and splitting it
into smaller normalized tables.
The script takes anywhere between 5-10 minutes to complete, and as it runs
it constantly outputs a report on its progress.
The script seems to run fine the first time I run it, but w
n the
hard drive and THEN import it into the image object?
Thanks in advance for your help.
Donald Tyler
PHP can be installed as either a CGI or an Apache module. There is
documentation on this in the PHP readme files.
Pretty much everything I read said that its always better to use the
Apache Module version. (apparently its much more stable and secure)
-Original Message-
From: Scott Fletche
Hi,
Does anyone know how to tell PHP to look in a different location for the
mysql.lock file? It's currently looking in /tmp/ and that's wrong.
Thanks
Donald
I meant "mysql.sock", sorry.
-Original Message-----
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 8:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] mysql.lock file location
Hi,
Does anyone know how to tell PHP to look in a different locati
file in another location.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 8:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.lock file location
On Thursday 25 September 2003 21:17, Donald Tyler wrote:
> Does anyone know how to tell
ysql/mysql.sock
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:06 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
I meant "mysql.sock", sorry.
Does anyone know how to tell PHP to look in a d
ember 25, 2003 9:44 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (13) in
/usr/local/apache2/htdocs/dbtest.php on line 3
[/snip]
Can we
Yes, I ping it and it says its alive.
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:07 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.sock file location
Donald Tyler wrote:
> Yeah I thought so to. But I di
nt: Thursday, September 25, 2003 10:13 AM
To: Brad Pauly; Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
> Here's the test script I am using: (Presume that's what you meant by
> "connection string&qu
Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:15 AM
To: Donald Tyler
Subject: Re: [PHP] mysql.lock file location
On Thursday 25 September 2003 8:55, you wrote:
> Is there no way for me to change the default location for PHP? I have
> quite a few scripts that I really don
y structure and
everything (including ibdata1) is set to root:mysql 755
I am going to headbut the screen in a minute!
-Original Message-----
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
No not a network IP ping. A mysqladmin ping:
Mysqladmin --user=root ping
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:53 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.sock file location
Donald Tyler wrote
Don't know yet, I've managed to stop mysql from loading now! (See my
previous mail)
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:40 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:40 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
I wasn't worried about short code =0P
I would have done this if I was:
$Connection = mysql_conn
Session auto start is not enabled as default because it is a performance
drain. It is much more efficient to use session_start() only when you
need it.
The easiest way to do things is usual the worst. (Most inefficient)
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Se
Just incase you weren't aware. You can change the Max execution time
during the script with:
set_time_limit(Milliseconds);
-Original Message-
From: Decapode Azur [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 5:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Resource Limits
hi
This is not possible with PHP alone. You need to use some client side
code such as JavaScript or Flash.
I would recommend JavaScript. It would be pretty easy to accomplish what
you are talking about with that.
Grab yourself a copy of "JavaScript the Definitive Guide" by Orielly.
It's pretty compr
Hi,
We are building an Intranet for our company and I was wondering how
people deal with having to restart the server when its running an
intranet. Obviously if there is a complex process running and the server
restarts in the middle of it then its going to screw a lot of stuff up.
The o
Hi,
I am publishing a site I have developed and I am having problems with
the scripts being able to access the remote MySQL server. When I try to
connect using the PHP scripts I just get an error saying that access is
denied.
I can access it fine from my machine using PHPMyAdmin so I know that
re
Hi,
Not sure if this is a PHP or Browser issue but here is my problem:
I have a site that has a members section. In the news area, when a user
clicks the link for an article, it pops open a new window a requests the
article via a PHP script.
What's happening is that when the new window
Just a quick update:
It seems to only be a problem with Internet Explorer on the PC. Both IE
& Safari on MacOSX work as expected.
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Sess
Yeah I was. I did try that though and it made no difference =0(
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:40 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Sessions within new windows
Are you using _blank as
I am using a normal link. Here is the exact html code:
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 11:17 AM
To: [EMAIL PROTECTED]; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
That's strang
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:11 PM
To: Donald Tyler
Subject: RE: [PHP] Sessions within new windows
Hmm, that's strange.
I use Javascript functions to control the few pop-up windows in the CMS,
but I just
Windows update doesn't fix the problem. I keep my system updated 100% of
the time.
I no one has mentioned getting it to work on Windows XP. That is what I
am using, Windows XP Professional. Maybe the problem is confined to XP.
Here is the EXACT IE version that I am using:
6.0.2800.1106.xpsp2.030
I am downloading ethereal and I will post my findings.
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 2:31 PM
To: Pablo Gosse; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
--- Pablo Gosse <[EM
Pablo Gosse; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
--- Pablo Gosse <[EMAIL PROTECTED]> wrote:
> Hi Donald. I just tried this in XP Professional on IE 6.0 and it
worked
> fine, both via a javascript function and a standard link with the
targe
log or the mysql log.
Does anyone have any idea what is going on?!?
Thanks
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
log or the mysql log.
Does anyone have any idea what is going on?!?
Thanks
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There could be something you're not seeing and assuming it's correct. But
typing your code into the email we aren't getting the full story.
Can you actually attach your scripts to an email and send that? Copying and
pasting then into the email won't necessarily provide all the info needed to
solve
Yes your right, thats exactly the problem. I didnt even realize he was
doing that.
By including the PHP file via HTTP, you are including the OUTPUT of the PHP
file, not the actual PHP file itself.
e.g.
by including a file with the following code:
you would be including the word "Hello" as P
: Dagfinn Reiersøl [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:50 AM
To: PHP General
Subject: Re: [PHP] Syntax Error -> This is WEIRD!
Donald Tyler wrote:
>Yes your right, thats exactly the problem. I didnt even realize he was
>doing that.
>
>By including the PHP fil
We use XMLRPC to communicate between flash & PHP. I presume it can be
coupled with sockets if you should need a permanent connection as well.
It has worked perfectly for pretty much anything we throw at it (It allows
you to send any PHP or Action script native data type, e.g. arrays,
Booleans, int
We are just about to try and get this working with sockets ourselves. Our
intranet currently does exactly what you are trying to do, but without using
sockets.
In reply to your question, there is no one site for XMLRPC really. I suggest
you read up on the following subjects:
XMLRPC document speci
Try this:
function Resize_Image($FilePath, $new_w){
$File = fopen($FilePath, "r");
$FileContents = fread($File, filesize($FilePath));
$src= imagecreatefromstring($FileContents);
$width = imagesx($src);
// Shrink the image to the maximum width
You would use sockets if you were developing a client/server application
that was making a LOT of requests very quickly.
Opening and closing connections using normal HTTP methods gets slow when
carrying out such intense data communication.
A good example would be an online game where you need to
This is the method I recommend also.
The token method works fine, but is slightly harder to implement.
Basically you would keep the function that creates the record separate from
the page that shows confirmation of the record being created.
e.g.
1. User visits:
www.mysite.com/accounts/p
Is it just showing that one or in all three text fields?
-Original Message-
From: craig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:24 AM
To: Php
Subject: [PHP] textfields showing php tags & code
Hi All,
This one has me stumped, it worked yesterday, but not today,
and
Hi
Anyone know if Rasmus (or anyone for that matter) is writing a book on PHP
5? And when it might be available?
Thanks
Donald Tyler
if it doesn't work, I would check
your webserver and see if anyone has messed around with the PHP
configuration.
Someone must have changed something if it was working before.h
-Original Message-
From: craig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 12:21 PM
To: Donald Tyl
I thought this was possible, but it doesn't seem to be working:
I have a class, that has a private variable called $this->Connection, which
is a Database Connection pointer to a MySQL database. During the lifetime of
the Class, it uses the connection multiple times without a problem.
The class al
to have two completely separate DB connections active at
the same time?
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] 2 x DB connections at once
I thought this was possible, but it doesn't
guess they were really the same connection even though
they were two separate private variables in different objects.
Thanks for your help
-Original Message-
From: Luke [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:22 PM
To: Donald Tyler
Subject: Re: [PHP] 2 x DB connections a
program source in general.
Thanks in advance.
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nichel wrote:
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie
to compiling and have no idea where to start, so any links to guides
and/or other useful info would be much appreciated.
My reason is that I need MySQL 4 support, but I would like to get a
[EMAIL PROTECTED] wrote:
Quoting Donald Tyler <[EMAIL PROTECTED]>:
I did RTFM. The exact page you linked to in fact:
QUOTE:
Requirements
In order to have these functions available, you must compile PHP with
support for the mysqli extension.
END QUOTE
That is the whole point of my requ
Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote:
I do have a rudimentary knowledge of *nix stuff
I don't mean to offend, but it doesn't really seem so. Basic *nix
skills usually include knowing how to configure, compile, and
63 matches
Mail list logo