Thanks,
I've subscribed to and posted to the instalation list. I'm going to
try and stay off internals@ if I have a choice.
thanks
paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, February 25, 2006 4:08 pm, Paul Reinheimer wrote:
'./configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png'
'--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf'
'--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'
I posted the full output of make earlier in this thread, as well as the
configure command i'm using, what are you looking for? The ./configure
output lines that reference libxml say nothing out of the ordinary.
paul
On 2/25/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Sat, February 25,
On Wed, Dec 28, 2005 at 08:33:58AM -0500, Cesar Cruz wrote:
This error happens in my Web http://www.millonarios.com.co/
Process limit exceeded for uid 10337 [25 = 24]
as it can be the cause?
This sounds like some sort of OS error, probably due to your uid
not being able to go over a
Edward Martin said the following on 11/17/2005 04:27 PM:
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on line 34
It means you are trying to
Ben wrote:
Edward Martin said the following on 11/17/2005 04:27 PM:
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on line 34
It
Chuck Anderson wrote:
Ben wrote:
Edward Martin said the following on 11/17/2005 04:27 PM:
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on
Printing error messages to your output can be disabled with the
display_errors directive in your php.ini file. To enable error
printing, the directive should read:
display_errors = On
Cheers,
Dave
Jay Blanchard wrote:
Hidy-ho good meighbors and neighborettes!
I continue my, as yet
Hi Jay,
Wednesday, November 16, 2005, 4:36:25 PM, you wrote:
Does anyone know (I have error reporting set so high it would make
your head swim) why errors wouldn't be output to a browser window
when they occur? For instance, I typed the following;
Are you 100% Tequila-worm sure you've got
[snip]
Printing error messages to your output can be disabled with the
display_errors directive in your php.ini file. To enable error
printing, the directive should read:
display_errors = On
[/snip]
You are correct sir, it is set to off by default. I will hike over to the
data center and flick
Also check to make sure that its the right php.ini file, I have had a
problem in the past when the installer has put the php.ini file in the
WINDOWS directory and there is an existing one in the PHP directory as
well. I would check phpinfo and see where the php.ini file is
located.
On 11/16/05,
On Tue, Nov 15, 2005 at 09:20:54PM +0100, Age Bosma wrote:
Hi,
I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error
Command failed for target 'ext/xml/xml.lo' during the make process.
[snip]
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582:
`XML_Char'
On Wed, Nov 09, 2005 at 08:23:04PM -0800, kumar kumar wrote:
Hi
i am new to PHP .I am facing some problems .
Here is the code below
Here the applet will send the files thru http . files
from 30 bytes to 2 GB.
?php
$getdata = fopen(php://input, r);
...
while (strlen($data
Bob Hartung wrote:
Jasper
If if make a file containing only
?php
phpinfo() ;
?
I get what I expected.
take a good look at where php is reading its ini file from
- it may not be where you expect
If I make a file containing
?php
phpinfo() ;
// Now a simple class and a call to
On Sun, 2005-10-23 at 17:31 -0400, Bob Hartung wrote:
Hi all,
Slowly I'm progressing.
Now how to turn error reporting on for a test apache server.
I have made the following changes to /etc/php.ini:
error_reporting = E_ALL
display_errors = On
error_log =
Jasper
If if make a file containing only
?php
phpinfo() ;
?
I get what I expected.
If I make a file containing
?php
phpinfo() ;
// Now a simple class and a call to the class
class Simple()
{
void __construct()
{
echo In the constructor ;
On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote:
Jasper
If if make a file containing only
?php
phpinfo() ;
?
I get what I expected.
If I make a file containing
?php
phpinfo() ;
// Now a simple class and a call to the class
class Simple()
Your error
Bob Hartung wrote:
Jasper
If if make a file containing only
?php
phpinfo() ;
?
I get what I expected.
If I make a file containing
?php
phpinfo() ;
// Now a simple class and a call to the class
class Simple()
{
void __construct()
{
echo In the
Jasper Derek
phpinfo() says:
configuration file path /etc/php.ini
PHP Core
DirectiveLocal Value Master Value
display_errorsOff Off
error_logno value no value
log errorson
On Sun, 2005-10-23 at 23:01 -0400, Bob Hartung wrote:
Jasper Derek
phpinfo() says:
configuration file path /etc/php.ini
PHP Core
DirectiveLocal Value Master Value
display_errorsOff Off
error_logno
It wasn't what I was looking for but I enable it:
include_path = .:/php/includes
This was commented out. After uncommenting it all works as I expected
except that my syntax in the class was wrong. Now I can at least start
to learn.
Thanks Jasper and Derek - you gave me a shove in the
Hi
bFatal error/b: Method Document::__toString() must return a string
value in b/srv/www/localhost/htdocs/db/index.php/b on line
b140/bbr /
That's just what it says, check your program flow.
You overrided the tostring function and somewhere in that new function you
jump out of it because
On Thursday 29 September 2005 04:20 am, Andy Pieters wrote:
Hi
bFatal error/b: Method Document::__toString() must return a string
value in b/srv/www/localhost/htdocs/db/index.php/b on line
b140/bbr /
That's just what it says, check your program flow.
You overrided the tostring
It is just that not many work with XML often enough to know well enough how
to use it. I noticed many folks have different way of using XML that
doesn't best fit our need.
I have this same problem as well. So, you're not the only one here as I
have this same problem as well.
Stephen Leaf
On Thursday 29 September 2005 09:37 am, Scott Fletcher wrote:
It is just that not many work with XML often enough to know well enough how
to use it. I noticed many folks have different way of using XML that
doesn't best fit our need.
It is a newer idea of how to do things.
I have this same
On Thursday 29 September 2005 12:26 pm, Stephen Leaf wrote:
I have figured it out!
My guess couldn't have been more _wrong_.
Here is all you need to recreate the Error.
There is only 1 value that is off.
in the DOMDocument I gave it the wrong encoding type.
uft-8 .. it should read utf-8.
If this isn't local webserver, you maybe have a problem with
allow_url_fopen:
http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
Or if this is on your local server, you can try this: $fp = fopen(/A.zip,
r);
Your sincerely
Emil NOVAK, Slovenia, EU
Thanks very much. I had an extra character when I was connecting to the
database. Now everything works!!!
-Original Message-
From: Alan Fullmer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 5:14 PM
To: 'Michal Krezolek'; php-general@lists.php.net
Subject: RE: [PHP] error
[snip]
I have received an error: Warning: mysql_num_rows(): supplied argument is
not a valid MySQL result resource in /home/www/mksystem.net when trying to
execute $num = mysql_num_rows($result);
[/snip]
Post a little code and we might be able to help you. It is likely that
$result is not the
I have received an error: Warning: mysql_num_rows(): supplied argument is
not a valid MySQL result resource in /home/www/mksystem.net when trying to
execute $num = mysql_num_rows($result);
Please go to http://mksystem.net/phpinfo.php and tell me whether it is due
to the version of php I
Krezolek'; php-general@lists.php.net
Subject: RE: [PHP] error message while mysqling on php
I have received an error: Warning: mysql_num_rows(): supplied argument is
not a valid MySQL result resource in /home/www/mksystem.net when trying to
execute $num = mysql_num_rows($result);
Please go
On Wed, August 24, 2005 11:42 am, George B wrote:
Column count doesn't match value count at row 1
What does that mean? I have an id auto_increment and it breaks
everytime
because of that error. This has never happend before...
If you REALLY don't want to specify all the column names (as
Jay Blanchard wrote:
[snip]
Column count doesn't match value count at row 1
What does that mean? I have an id auto_increment and it breaks everytime
because of that error. This has never happend before...
[/snip]
This is a MySQL problem and should be asked on a MySQL list, but having
said
[snip]
Column count doesn't match value count at row 1
What does that mean? I have an id auto_increment and it breaks everytime
because of that error. This has never happend before...
[/snip]
This is a MySQL problem and should be asked on a MySQL list, but having
said that...
You have
Can you include the SQL statement that is creating the error?
The error basically means you are trying to put more data into the dB then
you have data cells for.
For instance :
Good sql statement:
$sql = insert into table (name, address, city, state, zip) VALUES ('$name',
'$address', '$city',
Can you include the SQL statement that is creating the error?
The error basically means you are trying to put more data
into the dB then
you have data cells for.
For instance :
Good sql statement:
$sql = insert into table (name, address, city, state, zip)
VALUES ('$name',
In your php.ini there are settings for upload_max_filesize and also
post_max_size. These would be causes for case 2. More information:
http://us3.php.net/features.file-upload
On 8/19/05, Peppy [EMAIL PROTECTED] wrote:
I've been working on a script for uploading a file to a Unix server. I'm
Sorry, I meant case 1.
- Steve
On 8/19/05, Steve Slotnick [EMAIL PROTECTED] wrote:
In your php.ini there are settings for upload_max_filesize and also
post_max_size. These would be causes for case 2. More information:
http://us3.php.net/features.file-upload
On 8/19/05, Peppy [EMAIL
Steve,
Thanks a bunch. Must have been dead brain today. I knew that as well as
could look it up using phpinfo().
Althea
In your php.ini there are settings for upload_max_filesize and also
post_max_size. These would be causes for case 2. More information:
http://us3.php.net/features.file-upload
Hello Justin,
I would guess that this is mostly performance and memory related. When,
for instance, trying to iterate an array, or a directory with files,
using @ on all function calls, it will attempt to go through the array,
attempting to allocate memory for each item, but when finding it
On 8/2/05, Justin Burger [EMAIL PROTECTED] wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
Any chance of revealing his identity - so that I
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Justin Burger wrote:
Does suppressing the error only suppress it from the screen, or does it
ignore the error?
ie: is the error still logged?
Please reply to the list.
I don't know if it still logs the error (assuming you have error logging
turned on).
--
John C. Nichel
ÜberGeek
Does suppressing the error only suppress it from the screen, or does
it ignore the error?
ie: is the error still logged?
On Aug 2, 2005, at 12:18 PM, John Nichel wrote:
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning
and he
Example:
I was working on a HORRIBLE piece of code for a cart app. The original
programmer had a line like this:
$result = mysql_query( SELECT * FROM user_logins WHERE
cookie='.$cookie.' );
Where $cookie is a session id stored in a cookie (what else? ;). The
problem was, he had some
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and having LOTS of trouble. After being ceaselessly derided
last night on an irc channel for my dimwitedness, I am still not any
closer.
The code which works is
Kristen G. Thorson wrote:
Thanks for the == !
But I had set $message global within the buld-checkbox function, so that
part of it does work. . . .
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and
I did the smart thing last night: nothing. I read some PHP books and
then realized that the answer to my error checking was a lot less
complex, once again, than I had initially suspected. I finally ended up
with:
//error checking
foreach($_POST as $qname=$value) {
if(empty($value)){
Okay, last attempt before I hit my head against wall. I thought perhaps
to add the error check to the dropdown function itself:
function GetQuestionsDropdown($cat){
//first get all the questions
$sql = SELECT * FROM questions WHERE questions.q_cat=$cat AND
questions.q_style=1;
$result =
Hi
First some of your $_POST array variables are written like $POST['var'], you
need to change them
to $_POST['var']. Then because you are not using the dot operator in your
string variables and you
are using a associative array you must enclose the array variable in
{$arr['var']} tags!
//
I made the suggestions mentioned by Mike and don't get any error, but
the form doesn't work properly. Check it out at
http://www.inspired-evolution.com/Contact_Form_test.php
the PHP form CODE I now have is:
?
$form_block =
FORM METHOD=\POST\ ACTION=\$PHP_SELF\
pstrongYour Name:/strong/p
INPUT
[snip]
I made the suggestions mentioned by Mike and don't get any error, but
the form doesn't work properly. Check it out at
http://www.inspired-evolution.com/Contact_Form_test.php
[/snip]
You never sent the first 60 lines of code or so, and your origianl post
doesn't have 58 lines in it. Please
[snip]
$query= DELETE FROM sheet1 WHERE id=$id;
You have an error in your SQL syntax; check the manual that corresponds
to
your MySQL server version for the right syntax to use near '' at line 1
[/snip]
try...
$query= DELETE FROM sheet1 WHERE id = '.$id.' ;
Note the single quotes around
Ross wrote:
I dunno if my text book is out of date or I have made a syntax error but I
am trying to delete a record with
$query= DELETE FROM sheet1 WHERE id=$id;
$result= mysql_query($query);
if($result){
echo it was deleted;
}
else
echo mysql_error();
}
and I get the followign
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
$query= DELETE FROM sheet1 WHERE id=$id;
You have an error in your SQL syntax; check the manual that corresponds
to
your MySQL server version for the right syntax to use near '' at line 1
[/snip]
try...
$query=
On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote:
with no single quotes round it. Putting quotes round integer values is
counter-intuitive - is it necessary in some cases?
If the field is a numeric type (e.g. INT) as opposed to numeric data
being stored in a character field (e.g. a
From: Paul Waring [mailto:[EMAIL PROTECTED]
On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote:
with no single quotes round it. Putting quotes round
integer values is counter-intuitive - is it necessary
in some cases?
If the field is a numeric type (e.g. INT) as opposed to
[snip]
Is the above statement true when the id field is numeric (which it
surely is
in this case)? I get the expected results (in mySQL) when using
statements
like
SELECT name FROM table WHERE id=1
with no single quotes round it. Putting quotes round integer values is
counter-intuitive - is it
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
take a read through
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for
John Nichel wrote:
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to
Michael Satterwhite a écrit :
in /etc/php4/apache, I have the setting
I guess you mean /etc/php4/apache/php.ini
error_reporting = E_ALL ~E_NOTICE
You'll get all errors but warnings (ex unused var). What you want is
error_reporting = E_ALL
Ch.
--
PHP General Mailing List
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors
for me?
But I have no idea how. I made a series of changes trying to figure out
what I missed. Most of the changes didn't look like they'd do anything -
but the error reporting started working.
I then tried changing things back - at least I thought I did. The error
checking continued to work.
I
Michael Satterwhite wrote:
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get
On Fri, May 13, 2005 6:49 pm, hima said:
can any one plesae help me as I am a learner. I am
working on a Mac OS x machine and I want to see the
errors displayed to the browser. I had changed
display_errors option On in
the php.ini file but still cannot see them displayed.
Did you re-start
On Saturday 14 May 2005 09:49, hima wrote:
can any one plesae help me as I am a learner. I am
working on a Mac OS x machine and I want to see the
errors displayed to the browser. I had changed
display_errors option On in
the php.ini file but still cannot see them displayed.
Did you restart
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect to break
Greg Donald wrote:
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect
Pretty much the only time i use it is form processing... so i don't get a
bunch of errors when someone doesn't fill out a (non-required) field..
Also i use it to prefill form data is i have a session running, ie.
input name=fname type=text value?php echo @$_SESSION['APP']['fname'];
? /
like
Pedro Luis Cruz Riguetti wrote:
como puedo salir de sta lista q esta llenando mi correo.
http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
como puedo salir de sta lista q esta llenando mi correo.
--
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
On Tue, April 19, 2005 4:54 pm, Patricio Reyes said:
Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php
me sale el siguiente error:
No habla Espanol.
PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
'msql.dll'
PHP 4.1 - msql.dll != PHP 4.0 -
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said:
I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php
However, when I tried to call an undefined function, I get the normal
Fatal
Error message instead of the custom message I entered in the error handler
function.
As the
On Wednesday 13 April 2005 08:46, Cima wrote:
hi,
im working with php 4 and postgresql 8 and i would like to know how to
handle certain errors generated. in postgresql, i've written a stored
function that selects a record from a table and in case no record is found
i 'raise an exception'.
Personally, I create a custom error handler for all my apps (currently 4.3.*
compliant). While I normally use Smarty and have separate error templates,
here is a quick example.
function errorHandler($errno, $errstr, $errfile, $errline )
{
print Error #: $errno br/Error Message:
Geoff Martin wrote:
I have a page that receives data from a form. Using $_POST['foo'], I am
able to use this data in the page but I continually receive an error
notice (PHP Notice: Undefined index: foo in
/Library/WebServer/Documents/.. etc).
This happens to all three indices that are
Hi,
Monday, March 7, 2005, 4:55:01 AM, you wrote:
JM Forgive me if this has been answered before, but all I was able to find
JM was a bogus bug report on this issue that did not contain any useful
JM information. When installing php 4.3.10 on a Win2k3 machine I'm getting
JM the The specified
* Stefan [EMAIL PROTECTED]:
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
What are you setting the action attribute to? Should be the path to your
script.
If the
Richard Lynch wrote:
Benson wrote:
could anyone please help me on how to display all the errors to the
browser, but not to file?
I have tried modifying php.ini and httpd.conf (apache), but I am not
sure how to modify...
You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f
Benson wrote:
could anyone please help me on how to display all the errors to the
browser, but not to file?
I have tried modifying php.ini and httpd.conf (apache), but I am not
sure how to modify...
You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f
Well Richard, I could able to solve it by copying all
dlls into Windows\System32 directory. But still not
sure why I need to copy all dlls into system32
directory though I have mentioned in php.ini file that
extension_directory=c:\PHP4\extensions.
regards,
Ranjan
Hi Ranjan,
You might
Well Richard, I could able to solve it by copying all
dlls into Windows\System32 directory. But still not
sure why I need to copy all dlls into system32
directory though I have mentioned in php.ini file that
extension_directory=c:\PHP4\extensions.
What does ?php phpinfo();? say about your
Ranjan K. Baisak wrote:
I am using PHP4.3.10 in WindowsXP. When I am trying to
use extension dlls e.g. php_xmlrpc.dll and when trying
to restart Apache2 Web Server, I am getting error
message as UnKnows():Unable to load dynamic library
'./php_xmlrpc.dll.dll' - The specified module could
not
--- Richard Lynch [EMAIL PROTECTED] wrote:
Some questions for you:
Does it REALLY have an extra .dll on the end in the
message?
Perhaps somebody goofed up somewhere, but rip of the
'.dll' in your
php.ini and see what happens...
Did the php_xmlrpc.dll you have COME WITH the EXACT
Sounds like $_GET isn't populated or has been over-written. Try doing the
classic print_r on $_GET to see what it contains before you do the foreach.
If you are using a form (rather than an a_href link) to pass the GET data and
you're using all checkboxes or something else that returns nothing
[snip]
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:
Warning:Invalid argument supplied for foreach
This is in response to the following line:
foreach ($_GET as $key = $value)
All I am trying to do is parse the querystring!
Any
This is in response to the following line:
foreach ($_GET as $key = $value)
is $_GET an array?
when in doubt, print it out
try:
print_r($_GET)
or even check
is_array($_GET)
might be an earlier version of php
http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.get
--
with anything else. Has anyone run across error 127 from system, or
have any idea what's going on?
For future reference, find a convenient way to look up 127 error code
number in your OS.
man errno is sort of okay in most Un*xes, except then you have to count
127 lines down to get the right
There's a cool utility at: http://freespace.sourceforge.net/errno/index.html
Of course, errno 127 is 'unknown error', so it wouldn't have been a huge help.
On Tue, 21 Dec 2004 11:00:05 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
with anything else. Has anyone run across error 127
On Mon, Nov 15, 2004 at 06:56:45PM -0600, Scott McWhite wrote:
Hi,
I'm using an HTML search form that passes the searchterm to a php file.
In my case the searchterm can have 1000s of records in my database, so I
implemented a limit which displays 20 records per page. The pagination
On Wed, 10 Nov 2004 10:49:29 -0500, Al [EMAIL PROTECTED] wrote:
ini_set(error_log, /AutoSch/error.log);
Looks like this might be a path relative to your domain or your vhost
definition? I'd go with a full system path if that's the case.
--
Greg Donald
Zend Certified Engineer
Greg Donald wrote:
On Wed, 10 Nov 2004 10:49:29 -0500, Al [EMAIL PROTECTED] wrote:
ini_set(error_log, /AutoSch/error.log);
Looks like this might be a path relative to your domain or your vhost
definition? I'd go with a full system path if that's the case.
Hey Greg, that did it.
It's obvious
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 9:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Error logging problem
My site is on a virtual host and I'd like to log errors to a file while
I'm
debugging. Can't get it to work.
Here is the code
On Tue, 02 Nov 2004 12:17:45 -0600, Jeff Oien [EMAIL PROTECTED] wrote:
if ($Promotion_Sub == 'Checked' ($code != 'D04E' || $code != 'Y04KG')) {
($code != 'D04E' || $code != 'Y04KG')
Since $code cannot equal two different values at once, this will
always evaluate to true. Maybe you meant
[snip]
I'm sure I'm missing something really obvious here but
can't see it. There is a form where one of two promotional codes can
be entered. I check for the these codes and give the user an error
message if they enter the wrong code. First one doesn't work, second
one does with only one
-- Original message --
From: Jeff Oien [EMAIL PROTECTED]
//always gives error message even if one of the two codes entered:
if ($Promotion_Sub == 'Checked' ($code != 'D04E' || $code != 'Y04KG')) {
If $code is D04K then it is not Y04KG making the statement true
Can you show me an example..
wild guess without knowing what your doing, but, ? is the escape code
to exit php.. so its possible thats what is happening.. but please post
some code that cuases this problem.
Jason
Timothy Johnson [EMAIL PROTECTED] wrote:
This is my first time using php on a
201 - 300 of 600 matches
Mail list logo