Hello,
I'm wondering about the behavior of the mail() function.
$sent = mail($destination, $subject, $content, $headers);
I use some optional header parameters:
"From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain;
charset=ISO-8859-1\r\nContent-Transfer-Encoding: quoted-printable\r\n".
Can
It has become evident that I need some form of local testing environment
so that I can figure out what is wrong with one of my $sql statements.
Can anyone tell me what the easiest platform is to set up a PHP/MySQL
system? I have a PC and a Mac on OS X, and with the use of VirtualPC I have
t
IME, any modern Linux distro will let you setup a viable Apache/PHP/MySQL
configuration with a few clicks/commands in its package manager of choice. I
am partial to Debian and Ubuntu, as that's where most of my experience is.
And it's very easy to setup a barebones system that you just put LAM
For a simple OS X install you can either modify the existing
Apache/PHP install and add MySQL or use entropy's package from
http://www.entropy.ch/software/macosx/php/
On 6/25/06, Grae Wolfe - PHP <[EMAIL PROTECTED]> wrote:
It has become evident that I need some form of local testing environm
At 8:08 AM -0600 6/25/06, Grae Wolfe - PHP wrote:
> It has become evident that I need some form of local testing environment
>so that I can figure out what is wrong with one of my $sql statements.
> Can anyone tell me what the easiest platform is to set up a PHP/MySQL
>system? I have a PC and a
On 25 Jun 2006, at 4:08 PM, Grae Wolfe - PHP wrote:
It has become evident that I need some form of local testing
environment
so that I can figure out what is wrong with one of my $sql statements.
Can anyone tell me what the easiest platform is to set up a PHP/
MySQL
system? I have a PC
I am trying to manage images with a web database application. It works fine
with MySQL 5.0.17 and PHP 5.1.1.
But when I port it to another machine that runs MySQL 3.23.54 and PHP 4.2.2, I
have problems viewing the images retrieved from the database in the browser.
The relevant part of the code
Leonidas Safran wrote:
Hello,
I'm wondering about the behavior of the mail() function.
$sent = mail($destination, $subject, $content, $headers);
I use some optional header parameters:
"From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain;
charset=ISO-8859-1\r\nContent-Transfer-Encoding: qu
Prathaban Mookiah wrote:
I am trying to manage images with a web database application. It works fine
with MySQL 5.0.17 and PHP 5.1.1.
But when I port it to another machine that runs MySQL 3.23.54 and PHP 4.2.2, I
have problems viewing the images retrieved from the database in the browser.
T
Hello,
I've just released version 1.0 of Protoeditor.
Protoeditor is a small KDE text editor (so, for GNU/Linux desktops) developed
for debugging scripts interactively. Currently you can use it to edit and
debug PHP scripts interactively, with step into/over/out, breakpoints,
inspecting variabl
Oh sorry. I use addslashes().
-- Original Message ---
From: Chris <[EMAIL PROTECTED]>
To: Prathaban Mookiah <[EMAIL PROTECTED]>
Cc: "php-general@lists.php.net"
Sent: Mon, 26 Jun 2006 07:14:42 +1000
Subject: Re: [PHP] Problem Displaying Images
> Prathaban Mookiah wrote:
> > I am
Prathaban Mookiah wrote:
Oh sorry. I use addslashes().
Then you'll probably need to use stripslashes before printing out the data.
echo stripslashes($Result["data"]);
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
A while back I wrote a little read-eval-print loop that essentially constituted
a very basic php shell:
http://weston.canncentral.org/misc/phpsh.txt
This has almost always run fine for me with the cgi versions of php 4, and
often proves to be a great help in quickly testing various snippets of
Hi all ,
I have two server .
In first server , which PHP version 4.3.2, the code below is ok :
function validatexmlfile($xmlfilename)
{
$_logger = new Log4jLogger();
$_logger->logdebug("starting validate xml");
$_logger->logdebug("starting validate xml
xmlfile
weetat wrote:
Hi all ,
I have two server .
In first server , which PHP version 4.3.2, the code below is ok :
function validatexmlfile($xmlfilename)
{
$_logger = new Log4jLogger();
$_logger->logdebug("starting validate xml");
$_logger->logdebug("starting valida
Hi all,
I have the error below in my PHP version 4.3.2:
PHP Notice: Array to string conversion in /data/html/library/config.php
on line 45
If i have turned "on" the magic_quotes in php.ini, it is ok .
Any ideas?
It cause by the code below:
if (!get_magic_quotes_gpc()) {
if (isset($_P
You are probably passing some variables into POST or GET using the array
notation:
/mypage.php?var[]=fred&var[]=wilma
$_GET['var'] will be an array inside mypage.php, You should probably
check to see if it's an array then, if it is, loop through each element
of the var array
Chris
weetat w
[EMAIL PROTECTED] wrote:
> A while back I wrote a little read-eval-print loop that essentially
> constituted a very basic php shell:
>
> http://weston.canncentral.org/misc/phpsh.txt
>
> This has almost always run fine for me with the cgi versions of php 4, and
> often proves to be a great help
A sad poem of an algorithm where solitude brought excessive use of cpu
cycles and memory allocation for redundant data (it copied over and over
again the same image till all memory was filled with it)
--
$timeWaiting = 0;
while (!$you->near($me)) {
$me->thinkAbout(
Thanks you are right.
Btw, I have another question:
How to modified value in xml file using php ?
Thanks.
Yeo Wee Tat
Tel: +65-62730049 Fax: +65-62734934
Cxrus Solutions Pte Ltd (Singapore . Thailand)
1003 Bukit Merah Central #05-20 Singapore 159836
System Integration . Business Solutions .
On Mon, 2006-06-26 at 00:25, Martin Alterisio wrote:
>
> I hope you enjoyed the poem and the fact that I didn't ask you to fix it or
> find the bug in it =D
That's great, thanks for the laugh.
Cheers,
Rob.
--
..
| InterJinn Application
Yeo Wee Tat wrote:
Thanks you are right.
Btw, I have another question:
How to modified value in xml file using php ?
http://www.php.net/manual/en/ref.xmlwriter.php
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
I wish it would work. But id doesn't. But this time I do get a heavily
distorted image being displayed.
But as I said earlier, in combination of MySQL 5 and PHP 5 works good. The
problem is with PHP4 and MySQL 5.
Thanks.
Prathap
-- Original Message ---
From: Chris <[EMAIL PROT
Prathaban Mookiah wrote:
I wish it would work. But id doesn't. But this time I do get a heavily
distorted image being displayed.
But as I said earlier, in combination of MySQL 5 and PHP 5 works good. The
problem is with PHP4 and MySQL 5.
I doubt the php5/php4 thing is an issue, I think it's
Martin Alterisio wrote:
A sad poem of an algorithm where solitude brought excessive use of cpu
cycles and memory allocation for redundant data (it copied over and over
again the same image till all memory was filled with it)
--
$timeWaiting = 0;
while (!$you->near(
2006/6/26, Ligaya Turmelle <[EMAIL PROTECTED]>:
Martin Alterisio wrote:
>
>
> A sad poem of an algorithm where solitude brought excessive use of cpu
> cycles and memory allocation for redundant data (it copied over and over
> again the same image till all memory was filled with it)
>
>
Yes, turning off the magic_quotes_runtime directive makes a difference. But
the image is still distorted. All three magic_quotes directives are now set to
the same value in both the servers.
Are there any other settings I should look out for?
Thanks.
Prathap
-- Original Message -
Prathaban Mookiah wrote:
Yes, turning off the magic_quotes_runtime directive makes a difference. But
the image is still distorted. All three magic_quotes directives are now set to
the same value in both the servers.
Are there any other settings I should look out for?
Try a CTRL+F5 to make su
28 matches
Mail list logo