Why can't you just add a
From: Registrar <[EMAIL PROTECTED]>
header? =/
- tul
Chris wrote:
Beauford wrote:
That doesn't work.
Here is what I have.
mail($email,$subject,$body,$from);
Which is (senders address, the subject, the body of the message, and the
from address)
The from address is ta
[snip]
I've just installed PHP 4.4.4 with CLI disabled and CGI enabled. With
CLI I can find the PHP executable in $prefix/bin/php but with CGI I
can't find it. I need the path to the PHP executable so I can install
suPHP but $prefix/bin/php no longer exists and all I have in $prefix/bin
is php-
I've just installed PHP 4.4.4 with CLI disabled and CGI enabled. With
CLI I can find the PHP executable in $prefix/bin/php but with CGI I
can't find it. I need the path to the PHP executable so I can install
suPHP but $prefix/bin/php no longer exists and all I have in $prefix/bin
is php-config
On 31 Oct 2006, at 09:20 , Ed Lazor wrote:
On Oct 30, 2006, at 11:34 PM, Google Kreme wrote:
So, do I whack up something where I just load the file into a HTML
Textarea and then write it back (simple enough, though possibly
rather dangerous), or is there something straightforward I should
g
Beauford wrote:
That doesn't work.
Here is what I have.
mail($email,$subject,$body,$from);
Which is (senders address, the subject, the body of the message, and the
from address)
The from address is taken from this, and I added the -f in front of it.
define("regaddress", "[EMAIL PROTECTED]")
Sorry, this should be.
Which is (to address, the subject, the body of the message, and the from
address)
-
That doesn't work.
Here is what I have.
mail($email,$subject,$body,$from);
Which is (senders address, the subject, the body of the message, and the
from address)
The from address i
That doesn't work.
Here is what I have.
mail($email,$subject,$body,$from);
Which is (senders address, the subject, the body of the message, and the
from address)
The from address is taken from this, and I added the -f in front of it.
define("regaddress", "[EMAIL PROTECTED]");
It still says it
$str is 10 bytes
then you repeat it 200 times
That gives you 2000 bytes. That's 20M not 10M
-Rasmus
Cabbar Duzayak wrote:
> Hi,
>
> I have written a simple test program to see how php allocates memory.
> Test code allocates ~10 Meg of RAM in an array within a loop till it
> runs out of
Beauford wrote:
Can you be more specific. I only see 4 parameters and none of them apply.
Oops sent you to the wrong page.
http://www.php.net/manual/en/function.mail.php
There are 5 parameters:
bool mail ( string to, string subject, string message [, string
additional_headers [, string add
Can you be more specific. I only see 4 parameters and none of them apply.
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: October 31, 2006 9:13 PM
To: Beauford
Cc: PHP
Subject: Re: [PHP] php.ini & ini_set
Beauford wrote:
> I am working on a website for a friend that is be
Beauford wrote:
I am working on a website for a friend that is being hosted by a third party
(which uses Linux) and I don't have access to the php.ini or any other
system files.
The problem I am having is this. When an email is sent from the website and
the user receives it, it says it is from [
I am working on a website for a friend that is being hosted by a third party
(which uses Linux) and I don't have access to the php.ini or any other
system files.
The problem I am having is this. When an email is sent from the website and
the user receives it, it says it is from [EMAIL PROTECTED] i
Having a problem here trying to redirect some old pages.
I've recently noticed using a server header check that my 301 redirects in
PHP are returning 302 instead.
I'm using the following code:
header('HTTP/1.1 301 Moved Permanently');
header('Location: newurl');
exit();
The header checker is r
> There is nothing to "re-compile" here.
> The command line has an existing flag for you to specify the php.ini
> file, or to override any setting[s] within the php.ini file.
Mebbe so, but that's equally obnoxious to pass this command line parameter
to a lot of existing scripts. It's just easier t
Wang Chen wrote:
I would like to add two buttons on a page form infomation confirmation,
however, the html code in php nest can not be known by browser if I put
into there.
Besically, there is a mail form to enter iterm infomaiton, if it exist
before, prompt its iterm id., if it is new, query
Hello,
on 10/31/2006 10:54 PM Prathaban Mookiah said the following:
> I thought of sharing my experience of writing a controller to remotely
> control a robot through a webserver using PHP. Though I could not use PHP
> alone to do the entire job due the high delay it takes to connect to the
> t
Have a look at my (and others previous mails)
with the Topic : "Decide witch table within a union"
There you'll find my orginal post with a working union, easy to figure out how
it works.
> Hi,
>
> RE: Manually Inserted Row
>
> I'm using PHP to retrieve the values for the manual insert... I o
I would like to add two buttons on a page form infomation confirmation,
however, the html code in php nest can not be known by browser if I put
into there.
Besically, there is a mail form to enter iterm infomaiton, if it exist
before, prompt its iterm id., if it is new, query a next available
Cool!
On 10/31/06, Prathaban Mookiah <[EMAIL PROTECTED]> wrote:
Hello List,
I thought of sharing my experience of writing a controller to remotely
control a robot through a webserver using PHP. Though I could not use PHP
alone to do the entire job due the high delay it takes to connect to the
t
Hello List,
I thought of sharing my experience of writing a controller to remotely
control a robot through a webserver using PHP. Though I could not use PHP
alone to do the entire job due the high delay it takes to connect to the
telnet port on the robot, (I adopted the PHPTelnet class written
Hi,
RE: Manually Inserted Row
I'm using PHP to retrieve the values for the manual insert... I originally
tried using
an array created from the mysql query and adding one row manaually and then
sorting the multidimensional array.
As Richard pointed out, sorting using the database would be mu
On Oct 31, 2006, at 2:29 AM, Ahmad Al-Twaijiry wrote:
We have a virtual stock exchange site (for learning purpose) we put
all the bids and offers in a table and every minute we run the php
script to make the exchange
but my customer want to make it less than 1 minute
I can tell there's some
Hello,
on 10/31/2006 01:36 PM Andy said the following:
> I need a class that reads emails from a server and reads the
attachments from the mail.
>
> The mailservers is an IMAP for mail reading.
>
> The attachment types can be: images/pdf/text documents.
>
> Any suggestions?
>
> On phpclasses.org d
PHP 5.1 is broken in debian testing right now. Dunno 'bout Sid
On Tuesday 31 October 2006 18:00, Richard Lynch wrote:
> On Tue, October 31, 2006 6:24 am, Sancar Saran wrote:
> > If page has some errors it stop producing any error messages. Neither
> > page nor
> > syslog.
> >
> > I get blank page.
On Tue, 2006-10-31 at 11:58 +0100, Robin Vickery wrote:
> On 30/10/06, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Mon, 2006-10-30 at 12:28 +0100, Robin Vickery wrote:
> > > On 30/10/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote:
> > > > On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wr
On Oct 31, 2006, at 8:25 AM, Rory Browne wrote:
It would be helpful if people would read the link the OP provided,
as opposed to just the URL to that link.
The page isn't about compiling PHP source into a binary.
It's about creating a method of using web applications ( php )
without the he
[snip]
The page isn't about compiling PHP source into a binary.
It's about creating a method of using web applications ( php ) without
the
help of a seperate web-server.
[/snip]
That is an oxymoron, a web app w/o a web-server? The items mentioned
have built-in webservers which is as close to not
On Mon, October 30, 2006 7:19 pm, Daevid Vincent wrote:
> Thank you for the reply Richard (and Tom).
>
> That news sucks however. Seems that the PHP pre-parser should handle
> this
> better. It's not like it's a one-pass parser (like Ruby).
>
> ini_set('output_handler', 'mb_output_handler');
> ech
On Tue, October 31, 2006 4:58 am, Robin Vickery wrote:
> On 30/10/06, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> On Mon, 2006-10-30 at 12:28 +0100, Robin Vickery wrote:
>> > On 30/10/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote:
>> > > On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:
On Tue, October 31, 2006 4:50 am, Ahmad Al-Twaijiry wrote:
> we use PDO functions to connect to the database and we also made the
> tables innodb type
>
> so if we use $dbh->beginTransaction();
>
> is it will be safe to run the script more than one in the same time ?
It should be "safe" from the
On Tue, October 31, 2006 4:09 am, [EMAIL PROTECTED] wrote:
> I want to tell the server to do 2 things when I click on the
> "jobType" link.
>
> This is the code that I have now which displays the "art" when I
> click on "jobType"
>
> foreach($row as $jobType)
> {
>
Hi,
RE: Sorting Multidimensional Array
I'm trying to sort a multidimensional array. The data was taken from
a mysql query:
$myrow = mysql_fetch_row($result) {
query[] = $myrow;
}
The purpose is to retrieve the table data and manually add a record,
then sort ASC by the startdate which is the
Thanks Richard,
But wouldn't "order by z" interfere with my original order by values?
My code is as follows:
$fields1 = " ID, Title, Label, Location, Start, End, Time, ";
$fields1 .= " Description, Organization, Department, Contact, ";
$fields1 .= " Phone, Email, Global, Board, Committee
Jochem Maas wrote:
Kevin wrote:
Jochem Maas wrote:
yes Apache, are you allowed/able to use apache?
no only allowed to use windows server
ah and I see your company lives off ill-managed/spent NHS-pork - i.e. the latest
bullshit multi-billion pound NHS IT overhaul with a
Kevin wrote:
> Hi,
>
> I have created a website which is using the iis rewrite module to write
> the following:
>
> index.php?tn_id=5&ln_id=4 to something like
>
> /contact/directions.html and this works fine
>
> however I have a link at the bottom which needs to pass another variable
> through
Sancar Saran wrote:
> Hi, Recenly I face very disturbing problem.
>
> If page has some errors it stop producing any error messages. Neither page
> nor
> syslog.
>
> I get blank page.
>
> System
> Debian Unstable
> Apache 2
> Php 5.1.6
>
> Apc
> Memcached
> Obhandler with gzip
> and I store en
Just getting, but is there a 0, 1, 2, and 3 channel?
On Oct 31, 2006, at 3:10 AM, dhatri gmail wrote:
Hello,
using function getimagesize();
I am trying to get channels attribute value of image, it returns 3
for cmyk image actually it should return 4, can you tell me why it
happens so?
On Tue, October 31, 2006 11:10 am, Keith Spiller wrote:
> RE: Sorting Multidimensional Array
>
> I'm trying to sort a multidimensional array. The data was taken from
> a mysql query:
>
> $myrow = mysql_fetch_row($result) {
> query[] = $myrow;
> }
>
> The purpose is to retrieve the table data an
On Oct 30, 2006, at 9:20 PM, Børge Holen wrote:
On Tuesday 31 October 2006 02:27, Ed Lazor wrote:
Someone asked what it was to be used for.
It's for combining 4 forums into one witch shows the latest
movement among
them. More like an introduction sort of...
Sounds cool. Are you using a pre-
On Tue, October 31, 2006 1:34 am, Google Kreme wrote:
> So, do I whack up something where I just load the file into a HTML
> Textarea and then write it back (simple enough, though possibly
> rather dangerous), or is there something straightforward I should go
> ahead and use that might find use els
Kevin wrote:
> Jochem Maas wrote:
>> Kevin wrote:
>>
>>> Hi,
>>>
>>> I have created a website which is using the iis rewrite module to write
>>> the following:
>>>
>>> index.php?tn_id=5&ln_id=4 to something like
>>>
>>> /contact/directions.html and this works fine
>>>
>>> however I have a link at
On Tue, October 31, 2006 6:24 am, Sancar Saran wrote:
> If page has some errors it stop producing any error messages. Neither
> page nor
> syslog.
>
> I get blank page.
If it's a fatal error, or one too serious to be trapped by an error
handler, then your script will just stop.
> System
> Debian
Cabbar Duzayak wrote:
Hi,
I have written a simple test program to see how php allocates memory.
Test code allocates ~10 Meg of RAM in an array within a loop till it
runs out of memory as:
$str = rand(65, 95) . rand(65, 95) . rand(65, 95) . rand(65, 95) .
rand(65, 95);
$aa[] = str_repeat($str,
Do these qualify?
http://www.roadsend.com/home/index.php?SMC=1&pageID=compiler
http://www.priadoblender.com
It would be helpful if people would read the link the OP provided, as
opposed to just the URL to that link.
The page isn't about compiling PHP source into a binary.
It's about creati
On Oct 31, 2006, at 2:48 AM, Ahmad Al-Twaijiry wrote:
yes, I think you can call it ,semi-real-time monitoring
because we want the script when it run it should read some records in
database and update other records
That's kind of vague. I'm not able to give better advice without
more infor
On Oct 30, 2006, at 11:34 PM, Google Kreme wrote:
So, do I whack up something where I just load the file into a HTML
Textarea and then write it back (simple enough, though possibly
rather dangerous), or is there something straightforward I should
go ahead and use that might find use elsewhe
Jochem Maas wrote:
Kevin wrote:
Hi,
I have created a website which is using the iis rewrite module to write
the following:
index.php?tn_id=5&ln_id=4 to something like
/contact/directions.html and this works fine
however I have a link at the bottom which needs to pass another variable
thro
Tedd, may I ask you what GD library version and php version are you using?
I am using:
php5-5.1.2
gd-2.0.32-23
All Suse 10.1 machines using that versions and on all that machines
I have the same problem ...
lg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Sancar Saran wrote:
If page has some errors it stop producing any error messages. Neither page nor
syslog.
have you looked at the error_reporting setting in your php.ini file.
perhaps set it too E_ALL, mine was set to E_ALL & ~E_NOTICE by default
on ubuntu 6.10.
--
PHP General Mailing
Hi, Recenly I face very disturbing problem.
If page has some errors it stop producing any error messages. Neither page nor
syslog.
I get blank page.
System
Debian Unstable
Apache 2
Php 5.1.6
Apc
Memcached
Obhandler with gzip
and I store entire page output then printed out.
And I found if my e
Hi to all,
I need a class that reads emails from a server and reads the attachments from
the mail.
The mailservers is an IMAP for mail reading.
The attachment types can be: images/pdf/text documents.
Any suggestions?
On phpclasses.org did not find any which works well.
Regards,
Andy.
Hello,
using function getimagesize();
I am trying to get channels attribute value of image, it returns 3 for
cmyk image actually it should return 4, can you tell me why it happens so?
regds.
dmt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
On 30/10/06, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Mon, 2006-10-30 at 12:28 +0100, Robin Vickery wrote:
> On 30/10/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote:
> > On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:
> >
> > > On Fri, October 27, 2006 4:53 pm, Børge Holen wrote:
BTW:
we use PDO functions to connect to the database and we also made the
tables innodb type
so if we use $dbh->beginTransaction();
is it will be safe to run the script more than one in the same time ?
On 10/31/06, Ahmad Al-Twaijiry <[EMAIL PROTECTED]> wrote:
We have a virtual stock exchan
yes, I think you can call it ,semi-real-time monitoring
because we want the script when it run it should read some records in
database and update other records
On 10/31/06, Ed Lazor <[EMAIL PROTECTED]> wrote:
On Oct 30, 2006, at 10:26 AM, Ahmad Al-Twaijiry wrote:
> is it possible to link the
# [EMAIL PROTECTED] / 2006-10-27 20:14:58 +0200:
> > And the header("Location: ...") requires a full URL.
> Why?
HTTP protocol specification[1] says:
14.30 Location
The Location response-header field is used to redirect the recipient
to a location other than the Request-URI for completion
Its not very clear what you want to achieve with that code snippet.
If you are pulling database rows out of your database with
mysql_fetch_array(), then you do not need a foreach loop.
I think you may want something like this, but without knowing your
database table structure and the query yo
We have a virtual stock exchange site (for learning purpose) we put
all the bids and offers in a table and every minute we run the php
script to make the exchange
but my customer want to make it less than 1 minute
On 10/31/06, Ed Lazor <[EMAIL PROTECTED]> wrote:
On Oct 30, 2006, at 10:14 AM,
I want to tell the server to do 2 things when I click on the
"jobType" link.
This is the code that I have now which displays the "art" when I
click on "jobType"
foreach($row as $jobType)
{
$row = mysql_fetch_array($result2,MYSQL_ASSOC);
ech
On Mon, 30 Oct 2006 12:28:29 +0100, Robin Vickery wrote:
> On 30/10/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote:
>> On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:
>> > On Fri, October 27, 2006 4:53 pm, Børge Holen wrote:
>> >> On Friday 27 October 2006 19:34, Richard Lynch wrote:
>>
As a side note, even though user is shown as apache, this code was
executed from command line.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have written a simple test program to see how php allocates memory.
Test code allocates ~10 Meg of RAM in an array within a loop till it
runs out of memory as:
$str = rand(65, 95) . rand(65, 95) . rand(65, 95) . rand(65, 95) .
rand(65, 95);
$aa[] = str_repeat($str, 200);
What I don'
Hi,
I have created a website which is using the iis rewrite module to write
the following:
index.php?tn_id=5&ln_id=4 to something like
/contact/directions.html and this works fine
however I have a link at the bottom which needs to pass another variable
through the query string before it wou
63 matches
Mail list logo