I would like to create a from that will pull and display information based on a
user's ID from a postgresql database into a textarea on the form, before the
submit button is clicked. Are there some tutorials on how to use PHP to
dynamically display information on a form as the form is being fill
I updated fedora core from FC5 to TC6, thus httpd and php were updated in the
process. My pages worked with no errors before the upgrade.
My php pages are no not displaying and generating this error in the httpd logs
PHP Notice: Undefined variable: DOCUMENT_ROOT in
/var/www/html/studentjobs/ind
I am trying to figure out how to use ODBC with PHP.
Specifically I need to connect a php script to a SunGard Banner table
I know I need to set up some type of DNS connection, but I am not sure what
exactly that is.
[r...@dev ~]$ odbcinst -j
unixODBC 2.2.11
DRIVERS: /etc/odbcinst.ini
S
I am receiving the "Cannot send session cookie - headers already sent" message
even though I am using ob_start() at the top of my script.
The php.ini file has output_buffering set to 4096 4096.
My server is running Red Hat Enterprise Linux 5.2
I am using PHP 5.1.6
Is there some other setting I ne
]
Sent: Tuesday, December 29, 2009 1:38 PM
To: Marc Fromm
Subject: Re: [PHP] output buffer
Hi.
There're some other code that is sent to client. You must send cookie
first, at header, then the other data.
Please send code to view your case.
With regards,
Alexey
On Wed, Dec 30, 2009 at 12:09 AM,
We have web forms that send the user an email confirmation after submission,
like most forms do.
The emails are being delivered to the users' junk folder. The main campus IT
staff claim it is because our server is sending the emails.
The campus is using Microsoft exchange servers. I am using Red
When I use the mail function on a linux server, how is the email sent? Does
sendmail act alone or does it use SMTP?
Thanks
Marc
I am comparing to dates.
define('WSOFFBEGIN','09/16/2012');
$jes = 01/03/2012;
if ( date("m/d/Y", strtotime($jes)) < date("m/d/Y", strtotime(WSOFFBEGIN)) )
{
$error = " MUST begin after " . WSOFFBEGIN . "\n";
}
I cannot figure out why the $error is being assigned inside the if st
onvi...@gmail.com]
Sent: Thursday, January 03, 2013 2:05 PM
To: Marc Fromm
Cc: php-general@lists.php.net
Subject: Re: [PHP] date problem
Hi.
date returns a string
You should compare a different type for bigger/smaller than
HTH
Kind regards/met vriendelijke groet,
Serge Fonville
http://www.serge
Thanks Jonathan. I removed the date() syntax function and it works.
From: Jonathan Sundquist [mailto:jsundqu...@gmail.com]
Sent: Thursday, January 03, 2013 2:16 PM
To: Marc Fromm
Cc: Serge Fonville; php-general@lists.php.net
Subject: Re: [PHP] date problem
Marc,
When you take a date and do a
$sql .= "ORDER BY student_lname ASC,
student_fname ASC";
}
echo "$sql"; // slq statement looks accurate
$result = pg_query($conn,$sql);
echo "Select Errors: " . pg_errormessa
Thanks! Sometimes I'm blind.
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Friday, August 05, 2011 1:01 PM
To: Marc Fromm
Cc: php-general@lists.php.net
Subject: Re: [PHP] using pg_query in a function not working
On 8/5/2011 12:08 PM, Marc Fromm wrote:
>
>
I am reading a csv file into an array. The csv file.
users.csv file contents:
w12345678,a
w23456789,b
w34567890,c
$csvfilename = "users.csv";
$handle = fopen($csvfilename, "r");
if($handle) {
I have this bit of code to see if a date is greater or equal to a set date.
echo(date("m/d/Y",strtotime($jobs_effective_start)));// displays entered date
of 01/03/2012
echo(date("m/d/Y",strtotime(WSOFFBEGIN))); // displays set date of 09/16/2011
if (!(date("m/d/Y",strtotime($jobs_effective_start
I'm puzzled why the if statement executes as true when the first date
(job_closedate) is not less than the second date (now).
The if statement claims that "12/02/2011" is less than "11/30/2011".
if (date("m/d/Y",strtotime($jobs_closedate)) <=
date("m/d/Y",strtotime("now"))){
Thanks. I'm stuck using 5.1.6. Matijn reply worked by using the unix timestamp.
-Original Message-
From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of Maciek
Sokolewicz
Sent: Thursday, December 01, 2011 12:57 PM
To: Marc Fromm
Cc: Floyd Resler
Subject: Re: [PHP] compare
r cannot find the file with the full url.
-Original Message-
From: Mohamed Ainab [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 3:34 PM
To: Daniel P. Brown
Cc: php php; Marc Fromm
Subject: RE: [PHP] moved code to a new server
would be very helpfull if you would post
We recently moved to a new server. Our code that would send out emails is no
longer sending emails.
There are no messages in the httpd logs associated with running the email.php
files.
The email scripts worked on the old server. Is there a special setting in
php.ini for sending emails in php or
e-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:55 PM
To: Marc Fromm
Cc: php-general@lists.php.net
Subject: Re: [PHP] send emails in php not working
Marc Fromm wrote:
> We recently moved to a new server. Our code that would send out emails is no
> longer sending
19 matches
Mail list logo