[PHP] Increase execution time
How do you increase the execution time in php? I have set max_execution_time to 360 and setting set_time_limit(0); nothing works. I still get Fatal Error: maximum execution time of 60 seconds. Please Help.
[PHP] Re: PHP 5, Windows, and MySQL
I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged WITH MYSQL NOT PHP; 5. net stop mysql 6. net start mysql 7. work hard; play hard -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:13 PM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5, Windows, and MySQL I've got it running fine on my windows. Mysql 5.0.19 PHP 5.1.4 I just activate php_mysql.dll and php_mysqli.dll. Which versions of php and mysql are you using? ""Beauford"" <[EMAIL PROTECTED]> escreveu na mensagem news:!&!AAAYAFzLTDhDwWBHpzgX5w1qDiPigAAAEJiz/MDHLf9Fmsyy [EMAIL PROTECTED] > Aside from my previous gd problems, here's another problem. It appears > that > PHP5 (for Windows anyways) does not support MySQL (which in itself is > riduculous), but here's my problem. I have a script I just downloaded > that works perfectly on Linux/Apche/MySQL/PHP5, but when I run it on > Windows 2000 with PHP 4.4 I get a page full of errors. Lets forget > about the errors, does anyone have any idea how to get PHP5 and MySQL > to work on Windows. I have already tried 100 different variations of > things from information I found searching out this problem, but maybe > someone has a new idea. > > If it were me I'd just run this site on Linux, but this is for a > friend who wants to use IIS. If your curious the errors are below. > > Thanks > > B > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: session_start(): Cannot send session cookie - headers already > sent by (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) > in G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: session_start(): Cannot send session cache limiter - headers > already sent (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) in > G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: A variable inside a variable?
I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged WITH MYSQL NOT PHP; 5. net stop mysql 6. net start mysql 7. work hard; play hard -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 4:13 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: A variable inside a variable? Please excuse-me. That $ was putted by mistake. I´sorry... <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > You were on the right track, but this isn't going to work.. for a > couple > reasons: > > $var = 1; # this is fine > $var2 = "$var"; # $var2 == 1 at this point echo $$var2; # you're > going to echo $1 > > Putting $var in double quotes makes PHP evaluate it before assigning > it to $var2, so you won't get $var but the value of $var (1). > > If you did use single quotes, you'd get this: > > $var = 1; # this is fine > $var2 = '$var'; # $var2 == '$var' (literal) echo $$var2; # you're > going to echo $$var > > It seems like you might get $var2 evaluate to $var.. then with $$var > have it evaluate to 1, but doesn't look like PHP digs that deeply. > When I ran it, I got NULL back. > > This might be what you were aiming for: > > $var = 1; # this is fine > $var2 = 'var'; # remove the $.. then you can use single or double > quotes echo $$var2; # $var == var, $var == 1, this should output > correctly > > Good lesson in 'gotchas' though. > > -TG > > = = = Original message = = = > > $var=1; > $var2="$var"; > echo $$var2; > > It~ll echo the $var~s value. > > Hope it~ll help you. > > > ___ > Sent by ePrompter, the premier email notification software. > Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: PHP 5, Windows, and MySQL
Here is the direct download portal for the two corrected crucial .dlls. http://dev.mysql.com/downloads/connector/php/ -Original Message- From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 10:14 AM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5, Windows, and MySQL I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged WITH MYSQL NOT PHP; 5. net stop mysql 6. net start mysql 7. work hard; play hard -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:13 PM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5, Windows, and MySQL I've got it running fine on my windows. Mysql 5.0.19 PHP 5.1.4 I just activate php_mysql.dll and php_mysqli.dll. Which versions of php and mysql are you using? ""Beauford"" <[EMAIL PROTECTED]> escreveu na mensagem news:!&!AAAYAFzLTDhDwWBHpzgX5w1qDiPigAAAEJiz/MDHLf9Fmsyy [EMAIL PROTECTED] > Aside from my previous gd problems, here's another problem. It appears > that > PHP5 (for Windows anyways) does not support MySQL (which in itself is > riduculous), but here's my problem. I have a script I just downloaded > that works perfectly on Linux/Apche/MySQL/PHP5, but when I run it on > Windows 2000 with PHP 4.4 I get a page full of errors. Lets forget > about the errors, does anyone have any idea how to get PHP5 and MySQL > to work on Windows. I have already tried 100 different variations of > things from information I found searching out this problem, but maybe > someone has a new idea. > > If it were me I'd just run this site on Linux, but this is for a > friend who wants to use IIS. If your curious the errors are below. > > Thanks > > B > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: session_start(): Cannot send session cookie - headers already > sent by (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) > in G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: session_start(): Cannot send session cache limiter - headers > already sent (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) in > G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: PHP 5, Windows, and MySQL
But is libmysql.dll the dll from mysql; the one packaged with php 5 will not work. Jeremy Schreckhise, M.B.A -Original Message- From: Beauford [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 10:33 AM To: php-general@lists.php.net Subject: RE: [PHP] Re: PHP 5, Windows, and MySQL Done all this, I spent another two hours last night and have gone back to PHP 4.4 which works perfect. I have followed every article I could find to the 'T' and it just refuses to work. I have version 4.1.15 of MySQL. I'm afraid to upgrade that as who know what mess it will cause. libmysql.dll is in /winnt, /system, /sytem32, /php and php is in my path. If it can't find it it ain't looking hard enough. I'll just keep it the way it is for now - can't afford anymore time on it. Thanks -Original Message- From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED] Sent: June 27, 2006 11:14 AM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5, Windows, and MySQL I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged WITH MYSQL NOT PHP; 5. net stop mysql 6. net start mysql 7. work hard; play hard -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:13 PM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5, Windows, and MySQL I've got it running fine on my windows. Mysql 5.0.19 PHP 5.1.4 I just activate php_mysql.dll and php_mysqli.dll. Which versions of php and mysql are you using? ""Beauford"" <[EMAIL PROTECTED]> escreveu na mensagem news:!&!AAAYAFzLTDhDwWBHpzgX5w1qDiPigAAAEJiz/MDHLf9Fmsyy [EMAIL PROTECTED] > Aside from my previous gd problems, here's another problem. It appears > that > PHP5 (for Windows anyways) does not support MySQL (which in itself is > riduculous), but here's my problem. I have a script I just downloaded > that works perfectly on Linux/Apche/MySQL/PHP5, but when I run it on > Windows 2000 with PHP 4.4 I get a page full of errors. Lets forget > about the errors, does anyone have any idea how to get PHP5 and MySQL > to work on Windows. I have already tried 100 different variations of > things from information I found searching out this problem, but maybe > someone has a new idea. > > If it were me I'd just run this site on Linux, but this is for a > friend who wants to use IIS. If your curious the errors are below. > > Thanks > > B > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: session_start(): Cannot send session cookie - headers already > sent by (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) > in G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: session_start(): Cannot send session cache limiter - headers > already sent (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) in > G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL > result resource in G:\Websites\Webtest\caalogin\include\database.php > on line 218 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Programming question - New to PHP
Try $link = mysql_connect('localhost',$youruser,$yourpassword) or die(); mysql_select_db('yourdb'); $query = 'SELECT * FROM Moses_Lake_Lions'; if(!$result = mysql_query ($query,$link)) { // do error checking here } Jeremy Schreckhise, M.B.A. -Original Message- From: Russbucket [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 6:58 PM To: PHP General Subject: [PHP] Programming question - New to PHP I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. I know line three works without the or die part since I have a 2nd script that is almost the same (no or die) and it retrieves info from my DB. Can anyone point me to some tips or solutions to the or die problem? This script is located in the mysql ref section of the php manual. I'm using php5 on SUSE Linux 10.0 with a mysql database. Thanks in advance. -- Russ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] fwrite fopen problem
System Windows XP: PHP 5 I have a folder in which I want to write files. The IUSR_... user has full control, yet I am still getting failed to open stream and permission dined errors. Any suggestions? I have done this same task on many XP machines and 2003 servers. I am totally stumped. Jeremy Schreckhise, M.B.A.
RE: [PHP] PHP Script to open phpBB2 accounts
Why couldn't you use your login (weberdev). I.E. when a user creates an account you also push this data onto the phpBB2 db. Find where phpBB is creating a user, analyze the encryption method use, modify your login to create both entries. Jeremy Schreckhise -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:11 AM To: php-general@lists.php.net Subject: Re: [PHP] PHP Script to open phpBB2 accounts Weber Sites LTD wrote: > Yes, both sites are on the same server but weberdev was built by me > And weberforums is phpBB2. No sense in writing my own forums application. > > WeberDev is the main site and has it's own user base and phpBB2 is > Pretty complex and I didn't have the time to create a single logon. It > Will not be trivial and will need to be maintained with every phpBB2 > Upgrade. > > All I want is to open a phpBB account when someone opens one On > WeberDev. > > I don't agree that php-general is the wrong place. I looked in the > phpBB forums for this and found something that doesn't currently Work. > On this list there are many php developers that use phpBB So why not > ask them if anyone already did what I did. Just looked? You could have asked. Wrong/right isn't the proper term. phpBB forums are the *best* place to find answers about phpBB. > It's not like I'm asking anyone to do the work for me. I devoted Years > of my time on WeberDev for the PHP community (it's my Hobby and not my > main workplace) and all I asked was to know If someone has created a > specific PHP script. Btw, I got several Off line emails asking me to > share the solution if I get it. > > Anyway, instead of all of these emails, I'll try to do it myself And > hope someone contacts me soon. > The solution is really quite simple. You have two choices to maintain the phpBB code base. 1) Rewrite your login to use the phpBB user accounts, or 2) keep both sets of user tables, and write a few functions to call both the phpBB and your user handling code when they're needed. -- John C. Nichel IV (is going to start plonking top posters) Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Script to open phpBB2 accounts
Wasn't trying to steal anyone's thunder. Created the response, went to work, then sent it later. Your response adequate and complete. Sorry to intrude. Jeremy Schreckhise, M.B.A. -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:37 AM Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Script to open phpBB2 accounts Jeremy Schreckhise wrote: > Why couldn't you use your login (weberdev). I.E. when a user creates > an account you also push this data onto the phpBB2 db. Find where > phpBB is creating a user, analyze the encryption method use, modify > your login to create both entries. Gee, I wish I would have said that. > The solution is really quite simple. You have two choices to maintain > the phpBB code base. 1) Rewrite your login to use the phpBB user > accounts, or > 2) keep both sets of user tables, and write a few functions to call > both the phpBB and your user handling code when they're needed. > -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Script to open phpBB2 accounts
What's there to miss. The create user logic is centralized and fairly easy to follow. If this is too hard for your current situation, you might just want to pass your user information to the phpBB .php file that processes user input. Just another option. (I know these aren't the programs, nor the vars I'm just using this as an example) phpBB_create.php?user=webdevuser&pass=webdevuserpass Of course you would do this programmatically with variables from your webdev form. Jeremy Schreckhise, M.B.A. -Original Message- From: Weber Sites LTD [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:51 AM To: 'Jeremy Schreckhise'; 'John Nichel'; php-general@lists.php.net Subject: RE: [PHP] PHP Script to open phpBB2 accounts As I said, I could but then I would be bypassing all of the phpBB logic And chances are that I may miss something. -Original Message- From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 4:34 PM To: 'John Nichel'; php-general@lists.php.net Subject: RE: [PHP] PHP Script to open phpBB2 accounts Why couldn't you use your login (weberdev). I.E. when a user creates an account you also push this data onto the phpBB2 db. Find where phpBB is creating a user, analyze the encryption method use, modify your login to create both entries. Jeremy Schreckhise -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:11 AM To: php-general@lists.php.net Subject: Re: [PHP] PHP Script to open phpBB2 accounts Weber Sites LTD wrote: > Yes, both sites are on the same server but weberdev was built by me > And weberforums is phpBB2. No sense in writing my own forums application. > > WeberDev is the main site and has it's own user base and phpBB2 is > Pretty complex and I didn't have the time to create a single logon. It > Will not be trivial and will need to be maintained with every phpBB2 > Upgrade. > > All I want is to open a phpBB account when someone opens one On > WeberDev. > > I don't agree that php-general is the wrong place. I looked in the > phpBB forums for this and found something that doesn't currently Work. > On this list there are many php developers that use phpBB So why not > ask them if anyone already did what I did. Just looked? You could have asked. Wrong/right isn't the proper term. phpBB forums are the *best* place to find answers about phpBB. > It's not like I'm asking anyone to do the work for me. I devoted Years > of my time on WeberDev for the PHP community (it's my Hobby and not my > main workplace) and all I asked was to know If someone has created a > specific PHP script. Btw, I got several Off line emails asking me to > share the solution if I get it. > > Anyway, instead of all of these emails, I'll try to do it myself And > hope someone contacts me soon. > The solution is really quite simple. You have two choices to maintain the phpBB code base. 1) Rewrite your login to use the phpBB user accounts, or 2) keep both sets of user tables, and write a few functions to call both the phpBB and your user handling code when they're needed. -- John C. Nichel IV (is going to start plonking top posters) Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] how to keep spaces in parameters in URL?
Try print("Foo Bar"); Jeremy Schreckhise, M.B.A. Hello, == Foo Bar"; ?> == Then the URL showed up at the bottom border of the browser has 'name=foo'. What should I do to have 'name=foo bar' in the URL? I tried htmlspecialchars but did not see any difference. I'd appreciate any help. Bing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Bug madness
Have you tried? error_reporting(E_ALL^E_NOTICE); Jeremy Schreckhise, M.B.A. -Original Message- From: Dave Goodchild [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 10:37 AM To: php-general@lists.php.net Subject: [PHP] Bug madness Hi all, I have been mashing my head trying to debug a web app I have written, the deadline is tomorrow and after implementing some changes a subtle and difficult-to-pin-down bug has emerged. I am not going to include code as there is too much of it, but here is the general issue: The app consists of three linked forms and three modules that process the data passed in from the forms. All was sweet and perfect before today. The forms are self-reloading, and after the data is checked, validated and entered into the database the form is supposed to display a thank you section. As part of the processing process (!), the scripts assemble and send multipart mails to the entrants. Now, when I submit the forms, I see a blank page - nothing, no html, no error messages. I have added debugging functions at each point to track the logic and they inform me that the processing functions get to the end (where the mails are sent) where they should return to the caller (ie the form). This does not happen. I have display_errors enabled and cannot seem to locate the source of this issue. Ambiguous I know, but it may be a recognisable issue to many of you, in which case any advice would be greatly appreciated. I am extremely calm. -- http://www.web-buddha.co.uk dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css) look out for project karma, our new venture, coming soon! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ODBC question
I have an Openlink Single Tier Driver on an XP pro machine with windows installed on drive f: because I have a dual boot with Red Hat. Database is Progress 8.3c on a SCO Unixware 7.1.4 Dell Server. I can connect to all progress databases and pull data utilizing a System DSN via Openlink, however when I try to connect via PHP I get the following error: Warning: odbc_connect(): SQL error: [OpenLink][ODBC]Unable to allocate server handle, SQL state S1000 in SQLConnect Any suggestions? I know the code is fine, because it works on another box with a similar set up, but with windows installed on drive c: Thanks in advance, Jeremy Schreckhise -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] How do I output error messages
You could pass your error message back and forth as an HTTP post. $myMsg = $_GET['error_msg']; if(isset($myMsg)) { //print my message } else { //process as normal } -Original Message- From: Paul Goepfert [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 12:53 PM To: php-general@lists.php.net Subject: [PHP] How do I output error messages Hi all, I have a web page that I am doing valildation on. I have figured out how to at least get the page to load the page content. What I can't seem to figure out is how to output the error messages to the screen. The validation is being performed on the same page as the form that is being validated. The way the page is setup: if (isset($submit)) { //vaildation code } else { //webpage } Thanks for the help, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php