Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Warning: Session_start(): - Authentication Error


I just switched hosting companies. All my code worked before, now I'm getting this error upon user authentication (username/pw is compared to SQL db) and redirection to proper page (error if fails, extranet if valid)

Can someone tell me what this means?

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/httpd/vhosts/ecbp.com/httpsdocs/customer/portal.php:9) in /home/httpd/vhosts/ecbp.com/httpsdocs/customer/portal.php on line 65

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/ecbp.com/httpsdocs/customer/portal.php:9) in /home/httpd/vhosts/ecbp.com/httpsdocs/customer/portal.php on line 65

line 65 reads as:
$_SESSION['valid_log'] = array($_SERVER['REMOTE_ADDR'], $User);




View Complete Forum Thread with Replies

Related Forum Messages:
Warning: Session_start():
I have problem and I tried to solve it multiple times but it is still. this warning message , any program use session doesn't run without this message:

Warning: session_start(): open(/tmpsess_c9ae4e020baf5f144f8bdbb6ad45a54e, O_RDWR) failed: No such file or directory (2) in C:apachehtdocs4imagesincludessessions.php on line 84

my operating system is Windows XP, I use Php Tried I updated php.ini to point to tmp folderC:apachephpmp and I made folder write/read by check out read-only check box , also I made folder sharing through the network and and it is enable to network user.

View Replies !
Warning: Session_start().. Problem
In my menu page, i need to fetch one image from database and that file is included in the homepage. menu.php is the included  file, here i have to fetch the image. index.php is the file where menu.php is included, and header file is also included Code:

View Replies !
Session Value Seems Can Not Be Passed, Warning: Session_start()
I got this warning and solved it when the code was running in WinXP. Now it comes again. Session value seems can not be passed, Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at //search.php:4) in //search.php on line 19 here is the code, PHP Code:

</HEAD>
<body>
<?php
session_start();

View Replies !
Warning: Session_start(): Cannot Send Session Cookie
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/alisworld.50free.org/index.php:13) in /home/www/alisworld.50free.org/register.inc on line 2

View Replies !
Warning: Session_start() [function.session-start]....
I'm trying to get a login script working and I'm getting these errors

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nathan/public_html/header.php:10) in /home/nathan/public_html/include/session.php on line 46

View Replies !
Warning: Session_start(): Read Returned Less Bytes Than Requested
I had installed php 4.3.7 on my system and test some php code.
But there is a serious problem. On my system(using apache2) the code,

<?php
session_start();
?>

gets some warning,

Warning: session_start(): read returned less bytes than requested in
/home/http/index.html on line 2

View Replies !
Session_register: Warning: Session_start(): Cannot Send Session Cookie
This is my code:

<?php
session_start();
session_register("korisnik", "sid");
$korisnik = $username;
$sid = session_id();
?>

wherever I put this code on my page i get the following errors:

Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /xy/unos_reg.php:3) in /xy/unos_reg.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /xy/unos_reg.php:3) in /xy/unos_reg.php
on line 4

View Replies !
Warning: Session_start(): Cannot Send Session Cache Limiter
Im getting this line in my browser window :

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/www/users/charbut/calpropertysearch/account-login.php:9) in /usr/www/users/charbut/calpropertysearch/login.php on line 2

Can you tell me what I remove in login.php or account-login.php to prevent that error?  Line 2 of login.php is:

session_start();

When I remove it I can no longer login to any accounts, but the error doesn't appear at the top of the page. What do I do?

View Replies !
Warning: Session_start(): Cannot Send Session Cache Limiter - Headers Already Sent
Throws this code on my new host... never did on my old host.

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/surflike/public_html/members/cashout.php:1) in /home/surflike/public_html/members/cashout.php on line 2

PHP Code:

View Replies !
Warning: Cannot Modify Header Information - Combine Smarty With Session_start
I cannot under this error message and how I may resolve it. It appears when I combine Smarty with session_start:

Warning: Cannot modify header information - headers already sent by
(output started at /home/..

View Replies !
Warning: Session_start(): Cannot Send Session Cache Limiter - Headers Already Sent (output Started At
I keep receiving this error message, could someone explain its meaning and how to rectify it.

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/gavinm/public_html/production/index.php:5) in /usr/home/gavinm/public_html/production/login/loggedin.php on line 3

View Replies !
Email: SMTP Authentication - PHP Warning: Mail()
I am running Apache/PHP on Windows 2000. How do we set up authentication for outgoing mail, since my yahoo server requires that? My current settings in php.ini are the following:

SMTP=smtp.mail.yahoo.com
smtp_port=25
sendmail_from=me@myemail.com
;sendmail_path=
Call the mail() function:
mail("the@ddress.com", "Test", "Message");

And finally, the error message output when it fails:

[02-Mar-2003 12:01:31] PHP Warning: mail() [http://www.php.net/function.mail]: SMTP server response: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html in c:apachehtdocsmail.php on line 11

View Replies !
Warning: Mysql_connect(): Client Does Not Support Authentication Protocol
I get the following error when trying to establish a connection:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:xitami-25appwebpagesest.php on line 3

I tryed searching the forum but could not come up with any accurate results. I remeber having this problem before, but I just upgraded to MySql 5.0 and I cannot find my old thread.

View Replies !
Error: Session_start(); Perhaps This Is A Configuration Error
I just had to do a reinstall of my webserver and PHP/MYSQL. I did copy the existing php.ini and httpd.conf but when restarting my session testscript didn't work. When I call session_start() it gives me the following error message:

Warning: open(/tmpsess_4c7eecf68f2d638b771f9698e8a68003, O_RDWR) failed: m (2) in k:apachehtdocssessionsession.php on line 3

Line 3 is: session_start(); Perhaps this is a configuration error, but I don't see why.

View Replies !
Re:session_start() Error
However I still can't figure out the problem....

I keep getting the same error...

Here is what I am doing...

I have some structured code... include files....
I am trying to create a user login where each page knows the user is
or isnt logged in....
However whenever I refrence the file with this code (always included
at the beginning of the file)...

session_start();

function loggedIn()
{
return isset($_SESSION['authorized']);
}

It throws that error....
Should I only use session_start() once when the user enters the main
page?
It seems that the first page to start the session is fine and
continues to be fine evening when going to it from a page with the
error....

View Replies !
Session_start() Error
I keep getting an error that says this:

Warning: session_start(): Cannot send session cache limiter - header
already sent (output started at c:program fileseasyphp1-8www h
siteadminlogin.php:3) in c:program fileseasyphp1-8www h
siteaccess.inc.php on line

Does anyone know what it means? I am trying to create a account logi
and that warning comes up... Nothing bad happens. If anything doe
anyone know how to suppress php from showing the warning? though I'
rather figure out how to fix i Code:

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter
I upgraded from PHP 4 to PHP 5 recently, and this code was working on PHP 4 but it isnt anymore. It came up with this error:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jonoc33/public_html/clansolutions/members/inc/top.php:5) in /home/jonoc33/public_html/clansolutions/members/menu.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/jonoc33/public_html/clansolutions/members/inc/top.php:5) in /home/jonoc33/public_html/clansolutions/members/menu.php on line 6

The code that contains line 3 and 6 is this:

<?
include("inc/top.php");

Should I ask to downgrade to PHP 4?

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cookie
I've wrote a login script thats self contained, in other words all the checking etc.. is contained in the same file, i.e password checking etc...

I keep getting the following error...

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at d:inetpubwwwrootac-kreationsadminauthadmin.php:1) in d:inetpubwwwrootac-kreationsadminauthadmin.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at d:inetpubwwwrootac-kreationsadminauthadmin.php:1) in d:inetpubwwwrootac-kreationsadminauthadmin.php on line 4

Here's the start of the code. PHP Code:

View Replies !
How Do I Fix This " Warning: Session_start(): Cannot Send Session Cache Limiter"
How can I find out where my script is outputting to the screen for the first time?

My error logs are full of stuff like this:

[24-May-2006 19:51:22] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent in ....

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter - Session_destory();
I'm getting this error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent ... output started at blah blah blah.... on line 1.

Line one is <?php session_start();

This page is a login and logout page. I use session_destory(); to log the user out when a link is clicked. It redirects them to this page, with a ?action=logout in the url. I use $_GET to test if action == logout, and if it does, it calls session_destory(); and then uses javascript to redirect the user after 5 seconds to the homepage.

what does the error mean, I've seen it before, but for some reason it's not comming to me.

View Replies !
Bizarre Session_start Error
I have moved my site to a hosting environment with PHP 4. But
I get this bizarre error upon invoking session_start()

Warning: session_start():
open(/tmp/php/sessions/b/3/c/sess_b3c32ee4770b585fe49244f043b4dafa,
O_RDWR) failed: No such file or directory (2) in
/www/i/ikite/htdocs/admin/includes/functions/sessions.php on line 67

Could someone explain what this means, or what more information I
should provide?

View Replies !
Session_start Output Error
I'm getting intermittent errors like this:

Cannot modify header information - headers already sent by (output started at /path/to/script.php:2)

Contents of said script are: Code:

View Replies !
Wierd Session_start Error
I'm running 2 website in the same server ( winXP + Apache2 , PHP5) All the file are saved under UTF-8 and the site are runnng well for over half year today , something suddenly happened this morning , i found that the following error appeared in one of my site.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:Apache2htdocssms1content.php:1) in D:Apache2htdocssms1content.php on line 1

but another site work fine. I didn't make any changes for the server setting nor the file, anyway , i checked the file again and make sure no space or any character before the session_start , it doesn't work , i had no more idea and tried to save the file in ANSI, it works again. but the file contains some chinese character and the website charaset must use utf-8 , so it's quite troublesome.

after 4 or 5 hours , i found another site has similar problem ( during the last 4 and 5 hours, it's running fine too) . the problem seems to be contagious. Under no good solution, i did the same solution

View Replies !
Warning: Session_start(): Cannot Send Session Cookie - Verify That The Current Setting Of Session.save_path Is Correct
Warning: session_start(): open(/tmpsess_526e492c7e6fbe4887e4c52821b34be7, O_RDWR) failed: No such file or directory (2) in C:Program FilesApache GroupApache2htdocsTempMgtindex.php on line 15

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:Program FilesApache GroupApache2htdocsTempMgtindex.php:15) in C:Program FilesApache GroupApache2htdocsTempMgtindex.php on line 15

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:Program FilesApache GroupApache2htdocsTempMgtindex.php:15) in C:Program FilesApache GroupApache2htdocsTempMgtindex.php on line 15

Warning: Unknown(): open(/tmpsess_526e492c7e6fbe4887e4c52821b34be7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

View Replies !
Login Script - Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter
I'm working on a PHP login script that queries a mysql database for the proper authentication. I'm using cookies to mandate the session, and I keep getting this error.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in /services/index.php on line -695985749 Code:

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cookie Headers Already Sent By (output Started At C:
Warning: session_start() [function.session-start]: Cannot send session cookie headers already sent by (output started at C:AppServwwwindex.php:1) in C:AppServwwwindex.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at C:AppServwwwindex.php:1) in C:AppServwwwindex.php on line 3

Warning: Cannot modify header information headers already sent by (output started at C:AppServwwwindex.php:1) in C:AppServwwwindex.php on line 4.

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter - Headers Already Sent (output Started At
I found a wonderful Captcha script and it works wonderfully, except when i use include to put it into another file...
I get this error message:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/index.php:12) in /home/user/public_html/securimage.php on line 386
After some short research here it appears that this happens because there is already HTML output in the main page..

I am using the include function to add it (the form) to the regular index.php page.... Do I need to add something in the headers to prevent this? Code:

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter - Headers Already Sent (output Started At C:xampphtdocsestprocessUpload.php:4)
I just installed Xampp as its the only way i can get PHP, mySql and phpMyAdmin to work on vista. I have code which normally works on another machine but now im getting this error. Code:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:xampphtdocs estprocessUpload.php:4)

Any ideas why i would be getting this error now?

View Replies !
Session_start(): Cannot Send Session Cookie Error
Warning: session_start(): Cannot send session cookie - headers already sent by

Warning: session_start(): Cannot send session cache limiter - headers already sent

The php file calls a "check login" script ,which I've pasted below, I know this is a common problem with whitespace above the session_start call, but I can't see any in my code, Code:

View Replies !
Fatal Error: Call To Undefined Function: Session_start()
Below is the simple code of session start :

<?php
session_start();
echo "session_start() works!";?>

but when i run this script the browser gives me this error :

Fatal error: Call to undefined function: session_start() in /var/www/html/session.php on line 2

This script was running fine and also my other scripts in older php 4.1.2, but when i upgraded to 4.2.1 the the problem started. Is it because of the old php.ini file not been overwritten or it is something else. Register Globals is off.

View Replies !
Error Message: A Session Had Already Been Started - Ignoring Session_start().
I get this error message: A session had already been started - ignoring
session_start().

How can I check to see if a session was started already?

View Replies !
Warning: Pg_exec(): Query Failed: ERROR: Parser: Parse Error At ...
I have the following:

$sql= "select shopname from shop where exits SELECT shopname FROM shop where shoptype = '$_POST[option]'";

Its embedded within php. keep getting error:

sportsselect shopname from shop where exits SELECT shopname FROM shop where shoptype = 'sports'

Warning: pg_exec(): Query failed: ERROR: parser: parse error at or near "SELECT" at character 39 . in /home/students/ug/ug75ixc/public_html/shops/storeSearch.php on line 46

i know what i am doing.

View Replies !
Warning: Session_start() [function.session-start]: Cannot Send Session Cookie - Problems With The Session Variables.
I am have a form on the page registration.html the content is posted to a page called registration.php Although the database is getting populated, i am having problems with the session variables. I get the following errors:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/shared/web/intocore/registration.php:10) in /usr/shared/web/intocore/registration.php on line 41 Code:

View Replies !
Fatal Error: Session_start(): Failed To Initialize Storage Module.
Occasionally, I get the following error when running a PHP script:

Fatal error: session_start(): Failed to initialize storage module. in /home/rivka/public_html/header.php on line 3

Line 3 is just a simple session_start(); command. Anyone seen this problem before? Any guesses on what is causing it and how to fix it?

View Replies !
Fatal Error: Session_start(): Failed To Initialize Storage Module:
Fatal error: session_start(): Failed to initialize storage module: user (path: ) in c:. on line 42 line 42

session_start(); //Tell PHP to start the session.

View Replies !
Fatal Error: Session_start(): Failed To Initialize Storage Module: User
My server was working fine (no one else changes it but me, it's a
local server on my lan), and all of a sudden I get:

Fatal error: session_start(): Failed to initialize storage module:
user...

It didn't even happen after like a reboot or something, it just
happened one morning.

I fixed it by changing:

session.save_handler = user

to

session.save_handler = files

But my question is- why did I have to do that? What could've
happened? How do I make it work with "user" again?

View Replies !
Authentication Error
I am having errors with basic php authentication. In this example i have used hard coding for username and password. I've done database & flat file authentication in the past, but i cant seem to see the error in this code. In fact i've taken it straight from a book. The code. PHP Code:

<?php
if (($_SERVER['PHP_AUTH_USER'] !='username') || ($_SERVER['PHP_AUTH_PW'] !='password'))

    {
    header('WWW-Authenticate: Basic Realm="Members Area"');
    header('HTTP/1.0 401 Unauthorized');
        echo('This is a members only area!');
        die;    
    }........

View Replies !
Ldap Authentication Error
I'm trying to make a ldap query but I am getting a strange error.

Warning: ldap_bind() expects parameter 1 to be resource, null given in
home/user1/cgibin/test.php on line 10

Does anyone knows what this means.

This is the code :

$bind = ldap_bind($ds ,"cn=user,o=company","password");

I have ldap support in php.

[PHP Modules]
ldap
openssl
overload
pcre
posix
session
standard
tokenizer
xml

View Replies !
Error With Cookie Authentication
I put this at the top of the page that loads after the login page where the cookie is set:

<?
if ($_COOKIE['auth'] == "ok") { $testing = "test";
} else {
header("location:http://localhost/index.html");
exit;}?>

I get this error after trying to login with a valid username and password: Notice: Undefined index: auth in F:Program FilesApache GroupApache2htdocsindex.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at F:Program FilesApache GroupApache2htdocsindex.php:3) in F:Program FilesApache GroupApache2htdocsindex.php on line 7

I know that everything else on these pages works, because if i remove the cookie authentication script the page loads like it should. I'm just trying to add cookie authentication so that nobody can load the page manually via a bookmark or something.

View Replies !
Authentication Syntax Error?
I have written an authentication script from VTC's tutorial disk on PHP. However, there is something wrong with it.

The basic concept is it queries a db user table for two values, user and password. It uses mysql_num_rows to verify the number of occurances of a match.

I did some experiments to see if its connecting to the db and the table. It is connecting to the database. I modified the script to display the table of users to confirm it has the table, and it did. Code:

View Replies !
Authentication ==> 500 Internal Server Error
I'm using PHP Authentication with:
if(!($PHP_AUTH_USER)):
...
This works fine on my hosted server but not on my local development machine. When this bit of code executes, I get the above error.

My local machine has the following config:
NT4 SP4
PHP Version 4.0RC1
Apache/1.3.11

Any suggestions as to how I get it to work locally?

Thanks
Mark

View Replies !
Hard Coded Authentication Error
Just trying a basic PHP authentication script (printed below). When the page executes, I receive a login box, but after entering 'user' and 'password' (respectively), the login box pops up again and eventually sends me the authentication error. I am using a WAMP5 environment. Are there, perhaps, any Apache or PHP5 directives that need to be adjusted?
Code:

if ((!isset($_SERVER['PHP_AUTH_USER'])) || (!isset($_SERVER['PHP_AUTH_PW']))
|| ($_SERVER['PHP_AUTH_USER'] != 'user') || ($_SERVER['PHP_AUTH_PW'] != 'password')) {
header('WWW-Authenticate: Basic realm="Secret Page"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authentication Unsuccessful.'
exit;
}else{echo("success");}


View Replies !
PHP Authentication Leads To Cannot Find Server Error
Whenever I try to run any script that has the command:

View Replies !
Custom Warning And Error
I have not included one file and calling function from that file. so it gives me warning. now I in such case if I want to detect warning and put custom error message. This is because it shows our physical path on the page, which I want to prevent to see otheres.

View Replies !
Session Cache Limiter - Warning: Session_start(): Cannot Send Session Cache Limiter - Headers Already Sent
I was paying with my code and put in a couple of lines that did not work....so ok I changed my mind just cut off the new lines so in a way the rest of the code was never touched but I keep getting this error over and over ...and nothing has changed it workrd just fine before. So what is that?

----------------------------------------------------------------------
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/public_html/search.php:2) in /home/public_html/conn.php on line 36
----------------------------------------------------------------------


View Replies !
About PHP::: Error/Problem PHP Warning: Mysql_fetch_array():
About PHP::: Error/Problem PHP Warning: mysql_fetch_array():
==================================================

In the past i use my code/script work fine with
Mandrake 9.1 - 10.1 ( + apache ,mysql )

Now i move to redhat EL4 with the same code/script

I got error can't login to my code.
and found error on /var/log/httpd/error_log like this

PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in /var/www/html/website_in_server/showdata.php

or

PHP Warning: mysql_fetch_array(): supplied argument is not a valid
MySQL result resource in /var/www/html/website_in_server/showdata.php

I think problem source from php.ini or httpd.conf .

View Replies !
Header Error - Warning: Mysql_num_rows():
This error is being produced with the following code.  I know that the header code is messing with it and causing it not to work, but why is it not redirecting like it should?  The code in question is right after the insert query.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/carrigan/public_html/php_attend/register.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/carrigan/public_html/php_attend/register.php:136) in /home/carrigan/public_html/php_attend/register.php on line 157 Code:

View Replies !
Mail Function Warning Error
when i use mail functions i am getting this error what to do...

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:Program FilesEasyPHP 2.0b1wwwlavanyamail.php on line 18

Your email has been sent!

View Replies !
INSERT Error - Warning: Mysql_num_rows():
The following code successfully inserts the data into the table but also returns the following error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/intern/public_html/dev/actions/dd-createuser.php on line 977

$query = "INSERT into tblusers SET
accountno ='$accountno',
firstname = '$firstname',
surname = '$surname',
title = '$title',
email = '$email',
telh = '$telh',
telw = '$telw',
telm = '$telm',
telf = '$telf',
address1 = '$address1',
address2 = '$address2',
suburb = '$suburb',
city = '$city',
code = '$code',
country = '$country'";
$result = mysql_query($query) or die('Query failed. ' . mysql_error());

If the insert takes place, why do I get the error and how come the $query variable is not valid?

View Replies !
Detect If Module Is Available W/out Error/warning?
I'm writing a PHP script that tests if my server is set up correctly. One thing I want to test is if certain optional modules are installed and available. Is there a way to run require() or include() and have them do something other than blurt big messy errors and/or kill the script? I want my script to be able to do things like proceed to check other modules, print a nice summary of results, send an email etc... Maybe there's a function that just looks for a module without trying to load it?

An obvious solution is to write an error handler and call set_error_handler() before trying to require_once() the module in question. Unfortunately, if the module isn't available, the script dies even if my handler doesn't want it to.

View Replies !
Warning: Mail() Expects... Error
I got this error trying to set up a form... Does the mail() option only allow for 5 parameters to be sent? Warning: mail() expects at most 5 parameters, 9 given

View Replies !
Mysql Error - Warning: Mysql_numrows():
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in e:phpdevwwwdatabasemain.php on line 7 Filename Type Size Description my code for that is as:

$sql = "SELECT * FROM tbl_Files ";
$sql .= "ORDER BY filename ASC";
$result = mysql_query($sql, $db);
$num = mysql_numrows($result);
for ($i = 0; $i < $num; $i++) {
$data = mysql_fetch_object($result);

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved