hi,
I use the following code (from php.net) to send confirmation email to
the person that just created an account:
$headers ="MIME-Versin: 1.0\n" .
"Content-type: text/plain; charset=ISO-8859-1;
format=flowed\n" .
"Content-Transfer-Encoding: 8bit\n" .
Andrew Ballard wrote:
On Wed, May 27, 2009 at 12:07 PM, LAMP wrote:
hi,
I use the following code (from php.net) to send confirmation email to the
person that just created an account:
$headers ="MIME-Versin: 1.0\n" .
"Content-type: text/plain; charset=ISO
partially, this is my issue. but it looks like the message "add the
email address ord...@mydomain.com to you address book" didn't help. at
least not noticeable.
afan
Dee Ayy wrote:
Are you sure it's a PHP thing?
The way I have some of my email accounts setup is that I only accept
email fro
Ashley Sheridan wrote:
On Sun, 2009-06-07 at 13:29 +0200, mrfroasty wrote:
Alain Roger wrote:
Hi,
i'm currently investigating what would be the best solution to develop an
e-commerce web site.
should i use some PHP template engine like smarty or CMS like Joomla, Drupal
?
thanks a lot,
hi,
I have this structure:
/home/lamp/mydomain/html
/home/lamp/mydomain/logs
/home/lamp/mydomain/config
etc.
html directory is the only one accessible from outside.
to access config file I can use this:
required_once('/home/lamp/mydomain/config');
but this is the structure o
Steve wrote:
Use !empty($_POST['mort']) instead of isset() for form input since the
form will still set an empty value if left blank.
Gary wrote:
I have a form that gives the submitter a choice or either one set of
questions, or another. I am still getting the message even if the
input was le
Gary wrote:
This is what I have now and it works. I do know that on the second line I
have $_POST['mort']}\n" : " "; in the second half. I'm not sure I understand
the comment about use the !empty if you dont care about PHP.
" if you don't care about PHP Notice... "
eror_reporting:
http://us
Martin Scotta wrote:
error_reporting( E_ALL | E_STRICT );
if you want to be extremely sure about your app (only in develop)
Actually, I use error_reporting(E_ALL) while developing
:-)
Afan
On Thu, Jun 18, 2009 at 5:04 PM, LAMP <mailto:l...@afan.net>> wrote:
Gary wrote:
Peter Ford wrote:
LAMP wrote:
hi,
I have this structure:
/home/lamp/mydomain/html
/home/lamp/mydomain/logs
/home/lamp/mydomain/config
etc.
html directory is the only one accessible from outside.
to access config file I can use this:
required_once('/home/lamp/mydomain/config');
Hi,
I need to build the form (donation) people will use to submit their
basic data (name, email, city/country) to mysql and start recurring
payment using PayPal. The amount has to be selected from drop-down menu
or radio buttons or any other solution.
Does anybody already built up something l
Hi,
I need to pull all records from the table Registrants they are NOT in
the table ToBeRecleared
Registrants.Reg_ID is PK
ToBeRecleared.tbrc_Reg_ID is PK
Which query is more correct?
SELECT r.*
FROM registrants r
where r.reg_status=1 AND r.reg_id NOT IN (SELECT tbrc_reg_id FROM
toberecleare
Rick Pasotto wrote:
On Fri, Nov 20, 2009 at 04:41:58PM -0600, LAMP wrote:
Hi,
I need to pull all records from the table Registrants they are NOT
in the table ToBeRecleared
Registrants.Reg_ID is PK
ToBeRecleared.tbrc_Reg_ID is PK
Which query is more correct?
SELECT r.*
FROM registrants r
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
I contacted hosting company for more info but they said the virtual
privet server, where the website is, has a lot of traffic and 512MB of
RAM is not eno
LinuxManMikeC wrote:
Or DoS back at em. :-D
I would love too.
:-)
On Wed, Nov 25, 2009 at 3:57 PM, Ashley Sheridan
wrote:
On Wed, 2009-11-25 at 16:38 -0600, LAMP wrote:
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access
LinuxManMikeC wrote:
On Wed, Nov 25, 2009 at 3:57 PM, Ashley Sheridan
wrote:
On Wed, 2009-11-25 at 16:38 -0600, LAMP wrote:
hi guys,
this morning I got complains from website owner and tons of visitors -
nobody was able to access the website. it will just timeout.
I contacted hosting
sorry for this - previous email didn't get through?!!?!?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
led after I sent the message.
Remote host said: 550 we're manly enough already
?!?!?!!??!
--- Enclosed are the original headers of the message.
LAMP wrote:
sorry for this - previous email didn't get through?!!?!?
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Daniel Brown wrote:
On Mon, Jan 11, 2010 at 15:52, LAMP wrote:
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error;
Hi,
The company I work for, hosts online events registration applications.
After a registered registered himself for an event he will get a
confirmation email saying he registered successfully.
Currently, in the header part of the mail(), in "From" it says e.g.
ord...@computility.com - because
file.php);
$box->box_content($content);
$box->make_box();
echo $box->get_box();
Also, I'm sure I read once it's not correct to print directly from a
class. First return a value/result to "main" code and then print.
Correct?
LAMP
On Jun 1, 2012, at 8:00 AM, Gibbs wrote:
On 01/06/12 13:41, LAMP wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this->box = '';
}
function box_title($title)
{
$th
On Jun 1, 2012, at 7:46 AM, David OBrien wrote:
On Fri, Jun 1, 2012 at 8:41 AM, LAMP wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this->box = '';
}
On Jun 1, 2012, at 8:11 AM, LAMP wrote:
On Jun 1, 2012, at 7:46 AM, David OBrien wrote:
On Fri, Jun 1, 2012 at 8:41 AM, LAMP wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
ecial points for me are (not a must, though)
- multiple websites with single core (both CMSs have the capability but I
got impression Drupal does it better?) because of maintenance
- compatibility with CiviCRM
Once I decide what to use, I have to stick with it for a while.
Thanks for any help.
though)
> - multiple websites with single core (both CMSs have the capability but I
> got impression Drupal does it better?) because of maintenance
> - compatibility with CiviCRM
>
> Once I decide what to use, I have to stick with it for a while.
>
> Thanks for any help.
>
hours".
Thanks for any help,
LAMP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mised.
>> I need help with command line for "list all new/modified files within
>> the
>> last 24 hours".
>>
>> Thanks for any help,
>> LAMP
>>
>>
>
> First off, don't hijack someone else's thread for a new topic
I apologize
because whole server is then compromised.
>> I need help with command line for "list all new/modified files within
>> the
>> last 24 hours".
>>
>> Thanks for any help,
>> LAMP
>>
>>
>> --
>> PHP General Mailing List
with command line for "list all new/modified files within
>> the last 24 hours".
>>
>> Thanks for any help,
>> LAMP
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
>> http://www.php.net/unsub.
mised.
>> I need help with command line for "list all new/modified files within
>> the
>> last 24 hours".
>>
>> Thanks for any help,
>> LAMP
>>
>>
>
> First off, don't hijack someone else's thread for a new topic
I apologize
only reason, when is better to keep all data in
$_SESSION and when to store them in mysql?
Thanks for any help,
LAMP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Aug 15, 2011, at 2:11 PM, Philip Thompson wrote:
On Mon, Aug 15, 2011 at 1:43 PM, LAMP wrote:
Hi all,
This is THE question that bothers me for a while... I always was
keeping session info, like user ID, organization ID, selected book
ID... within $_SESSION array. Main reason is to
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
register_globals was on by default.
hosting company upgraded server to php5/mysql5 and turned globals off. the site
is doesn't work any more.
I can define globals on again in .htaccess but rather not because it cou
From: Stuart
To: lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Wednesday, January 7, 2009 8:29:48 AM
Subject: Re: [PHP] redoing website after 7 years
2009/1/7 Lamp Lists :
> hi guys,
> I did php/mysql based website for one my client 7 years a
From: Al
To: php-general@lists.php.net
Sent: Thursday, January 8, 2009 11:50:26 AM
Subject: [PHP] Re: redoing website after 7 years
Lamp Lists wrote:
> hi guys,
> I did php/mysql based website for one my client 7 years ago, in time when
> register_gl
I think I did code well (everybody can say the code is 100% proof - until get
hacked ;-)) and never, for these 7 years had problems. And I'm sure the site
will be just ok if I switch register_globals back to On through .htaccess.
Actually, I offered the client 3 options: 1. redo the website (aft
From: Jim Lucas
To: Robert Cummings
Cc: Nathan Rixham ; Richard Heyes ;
lamp.li...@yahoo.com; "php-general@lists.php.net"
Sent: Thursday, January 8, 2009 10:51:32 AM
Subject: Re: [PHP] redoing website after 7 years
Robert Cummings wrote:
> On Wed, 2009-01-07
hi,
as far as I know (at least I was told so) html page will download faster then
the same page made with php getting the same info from mysql, right?
let's pretend we are building php/mysq based website of one football team.
there are pages of every player, about the team, games etc.
in admin a
From: Ashley Sheridan
To: Lamp Lists
Cc: php-general@lists.php.net
Sent: Wednesday, January 14, 2009 4:47:28 PM
Subject: Re: [PHP] HTML pages are faster then php?
On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote:
> hi,
> as far as I know (at least I wa
hi to all!
actually, the statement in the Subject line is not 100% correct. I understand
the purpose and how it works (at least I think I understand :-)) but to me it's
so complicated way?
let's take a look in example from php.net(http://us3.php.net/try)
getMessage(), "\n";
}
// Continue exe
From: Kyle Smith
To: Lamp Lists
Cc: php-general@lists.php.net
Sent: Monday, April 13, 2009 9:52:36 AM
Subject: Re: [PHP] try - catch is not so clear to me...
Lamp Lists wrote:
hi to all!
actually, the statement in the Subject line is not 100% correct. I
>
> From: Lamp Lists
> To: php-general@lists.php.net
> Sent: Monday, April 13, 2009 9:29:16 AM
> Subject: [PHP] try - catch is not so clear to me...
>
> hi to all!
>
> actually, the statement in the Subject line is not 100% correct.
From: Marc Steinert
To: Lamp Lists
Cc: php-general@lists.php.net
Sent: Monday, April 13, 2009 11:27:08 AM
Subject: Re: [PHP] try - catch is not so clear to me...
Basically try-catch gives you the ability to handle errors outside a class or
method scope, by
From: Bastien Koert
To: Lamp Lists
Cc: Marc Steinert ; php-general@lists.php.net
Sent: Tuesday, April 14, 2009 8:11:04 AM
Subject: Re: [PHP] try - catch is not so clear to me...
On Mon, Apr 13, 2009 at 11:34 PM, Lamp Lists wrote
to upload an image for a photo gallery (my own code) I have to have permission
for the directory images 0777.
but having permission for a directory 0777 is REALLY bad idea, isn't it?
I'm "owner" of the directory (lamp:lamp images).
what to do to set my code has permission to upload an image into
From: Phpster
To: Lamp Lists
Cc: "php-general@lists.php.net"
Sent: Wednesday, June 3, 2009 8:30:05 PM
Subject: Re: [PHP] how to manage permissions for file uploader
This is fairly simple to do as an http upload. With the folder above the web
roo
From: Phpster
To: Lamp Lists
Cc: "php-general@lists.php.net"
Sent: Wednesday, June 3, 2009 8:30:05 PM
Subject: Re: [PHP] how to manage permissions for file uploader
This is fairly simple to do as an http upload. With the folder above the web
roo
rack. $75/hr is lowest
price today or I can't ask more than $50/hr?
thanks for any advice/help.
-lamp
-
Never miss a thing. Make Yahoo your homepage.
--- Per Jessen <[EMAIL PROTECTED]> wrote:
> Lamp Lists wrote:
>
> > now, I didn't have such a big project "on side"
> ever. and I by default
> > ALWAY suck in calculations how much time I need
> for a project and what
> > to charge. I think
--- tedd <[EMAIL PROTECTED]> wrote:
> At 7:06 AM -0800 3/8/08, Lamp Lists wrote:
> >
> >That's actually part I'm interested the most :D
> What
> >is reasonable? Is reasonable for sucha project with
> >complex product catalog and ordering syst
hi to all!
on one eZine site, I have to show when the article is posted but as
difference from NOW. like "posted 32 minutes ago", or "posted 5 days ago".
is there already sucha php/mysql function?
thanks.
-ll
-
Never miss a thing. Make
the way I solved the "click back button" issue (simplified vresion):
confirmation page (conf.php) -> transfer page (tp.php) -> thank you page
(typ.php)
#conf.php
# after the form is submitted and confirmed
header('location: tp.php?url=typ.php');
exit;
#tp.php
header('location:$_GET['url']);
exi
opinions of "good book is almost the same as opinion of "good car".
I can suggest you to go to barnes and noble or borders or any other bookstore,
buy cup of coffee or tea, grab all php books from shelf and read some chapters.
you are no going to learn anything, rather to compare "styles". some a
- Original Message
From: Eric Butera <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Cc: tedd <[EMAIL PROTECTED]>; php-general@lists.php.net
Sent: Thursday, March 20, 2008 11:00:19 AM
Subject: Re: [PHP] Double click problem
On Thu, Mar 20, 2008 at 10:39 AM,
hi,
I saw several times that some people use this
$parameters = array(
'param1' => "{$_POST["param1"]}",
'param2' => "{$_POST["param2"]}"
);
or
$query = mysql_query("SELECT * FROM table1 WHERE id='{$session_id}'");
I would use:
$parameters = array(
'param1' => $_POST["param1"],
'par
- Original Message
From: Nathan Nobbe <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Thursday, March 20, 2008 11:35:42 AM
Subject: Re: [PHP] why use {} around vraiable?
On Thu, Mar 20, 2008 at 12:22 PM, Lamp Lists <[EMAIL PR
- Original Message
From: Paul Novitski <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tuesday, March 25, 2008 3:05:43 PM
Subject: Re: [PHP] losing session in new window (IE only) [WAS: loosing...]
At 3/25/2008 12:49 PM, Lamp Lists wrote:
>i have a list of people on
hi,
i have a list of people on one page. each row, on the end has link view details.
it's requested to open detail page in new window.
very few people complained they can't open detail page. all of them use IE.
I wasn't able to reproduce the error, though using GoToMeeting I was able to
look while
- Original Message
From: Andrew Ballard <[EMAIL PROTECTED]>
To: PHP General list
Sent: Tuesday, March 25, 2008 3:41:35 PM
Subject: Re: [PHP] loosing session in new window (IE only)
On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists <[EMAIL PROTECTED]> wrote:
> hi,
> i have a
- Original Message
From: Hélio Rocha <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Sent: Wednesday, March 26, 2008 5:14:40 AM
Subject: Re: [PHP] loosing session in new window (IE only)
If u open the link in the same window, what's the behaviour?
On Tue, Mar 25
- Original Message
From: Hélio Rocha <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Sent: Wednesday, March 26, 2008 5:14:40 AM
Subject: Re: [PHP] loosing session in new window (IE only)
If u open the link in the same window, what's the behaviour?
On Tue, Mar 25
--- Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Tue, March 25, 2008 4:07 pm, Lamp Lists wrote:
> > - Original Message
> > From: Andrew Ballard <[EMAIL PROTECTED]>
> > To: PHP General list
> > Sent: Tuesday, March 25, 2008 3:41:35 PM
> &
do not laugh, but I "discovered" today function
extract(); :D
before I used:
foreach ($array as $key => $value)
{
${$key} = trim($value);
}
though, "trimming" $value is kind of important to me
and I would like to know if extract "trims" too?
thanks.
-ll
- Original Message
From: Stut <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Cc: php General list
Sent: Friday, March 28, 2008 4:02:27 PM
Subject: Re: [PHP] does function extract() trim?
On 28 Mar 2008, at 20:59, Lamp Lists wrote:
> do not laugh, but I &qu
- Original Message
From: Stut <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>
Cc: php General list
Sent: Friday, March 28, 2008 4:22:25 PM
Subject: Re: [PHP] does function extract() trim?
On 28 Mar 2008, at 21:14, Lamp Lists wrote:
> - Original Message --
SSIONID=..." maybe.. ev0l but works..
2008/3/26, Lamp Lists <[EMAIL PROTECTED]>:
>
> --- Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> > On Tue, March 25, 2008 4:07 pm, Lamp Lists wrote:
> > > - Original Message
> > > From: Andrew Ball
Hi,
Right now I use one file, usually called functions.php, with all functions I'm
going to use most likely on every page.
Then, I create each function I'm going to use once in a while as separate file.
Pro: I would include a function when I'm going to use.
Con: I have to write extra include line
I'm reading "Essential PHP Security" by Chris Shiflett.
on the very beginning, page 5 & 6, if I got it correct, he said this is not
good:
$search = isset($_GET['search']) ? $_GET['search'] : '';
and this is good:
$search = '';
if (isset($_GET['search']))
{
$search = $_GET['search'];
}
wha
- Original Message
From: tedd <[EMAIL PROTECTED]>
To: Lamp Lists <[EMAIL PROTECTED]>; php-general@lists.php.net
Sent: Monday, October 20, 2008 8:25:50 AM
Subject: Re: [PHP] what's the difference in the following code?
At 10:58 AM -0700 10/17/08, Lamp Lists wrote:
>I&
- Original Message
From: tedd <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Monday, October 20, 2008 4:15:02 PM
Subject: Re: [PHP] what's the difference in the following code?
At 10:12 AM -0400 10/20/08, Daniel Brown wrote:
>On Mon, Oct 20, 2008 at 10:02 AM, tedd <[EMAIL PROTE
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the perl code gets executed as well.
Scenario 2:
the perl extension does not get loaded and th
Hi
I am unable to call perl code from PHP, since the extension does not
get loaded !
Scenario 1:
use dl('perl.so'); in the php code and invoke the script from the command line
The script works fine and the perl code gets executed as well.
Scenario 2:
the perl extension does not get loaded and th
On 12/29/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> dev lamp wrote:
> > Hi
> >
> > I am unable to call perl code from PHP, since the extension does not
> > get loaded !
> >
> > Scenario 1:
> > use dl('perl.so'); in the php code an
Hi
I am trying to use the ternary operator inside heredoc string
to select the bgcolor based on the flag value, but it
does not seem to work.
$summary=<<
$reqno
STR;
I looked up php documentation but could not find any details.
What would be an optimal way to write the code for the above sit
On 12/31/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Thu, December 29, 2005 9:17 am, dev lamp wrote:
> > Scenario 2:
> > the perl extension does not get loaded and the PHP script crashes.
>
> Define "crashes"...
>
> Does it literally crash the PHP/
75 matches
Mail list logo