[PHP] PHP4.1.2

2002-03-02 Thread Thomas Holton


Hello,
I upgraded my PHP to 412 from 406

Now, twig, which uses imap, does not work just returns a popup that
says the document contained no data
I have checked other applications using php and they all seem fine Also,
pine, which uses the imap, is functioning normally as well

There was 1 difference in my configuration this time around from January
when i built the 406:

config:  --with-imap

this time: 412:

config  --with-imap-ssl

The configuration forced me to use this option instead of just imap I am
 running openssl-096b, but i was also running this last time and
apache's virtual host for the ssl is where twig is located and it worked
perfectly last time with just --with-imap

Anyone have any ideas or similar problems?

thanks in advance!



-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp




Re: [PHP] Re: continue [PHP] Please \n problem????

2002-01-12 Thread Thomas Holton


The \n can be useful for when you want to look at the source code from an
HTML page. It will not make a new line within the browser, but it sure
can make reading the source alot easier... otherwise all of the code goes
onto the same line... which also can be useful if you want it be difficult
for others to take your source code!


..

On Sun, 13 Jan 2002, Dani wrote:

 Thanks Alot Guys!!!
 It works!

 now my next question is :

 When do I actually use \n???

 Thank you so much!

 Gianluca Baldo wrote:

  Dani -
 
  D echo Result :\n;   - THIS DOESN'T GIVE ME A
  D NEW LINE- WHY ?
  If you look at the source code of your page you'll see a new line
  there.
  If you want a new line in the browser output, you must place a BR at
  that point, not a \n since it's HTML.
 
  Hope this helps.
  Gianluca
 
  D //CONNECT TO SERVER
  D include(connect.inc);
 
  D //CONNECT DATABASE
  D include(select_db.inc);
 
  D $query = select * from main_table where item_type = '$type' and class =
  D '$class' ;
  D $result = mysql_query($query);
 
  D $row = mysql_fetch_array($result);
 
  D echo ($row[item_id]\n); - THIS DOESN'T
  D GIVE ME A NEW LINE EITHER, WHY ??
 
  D while ($row = mysql_fetch_array($result))
  D  {
  D  echo $row[item_type] , $row[class];
  D  }
 
  ?
 
  D Any reply is greatly appriciated
 
  D Regards,
  D Dani
 
  --
  ALBASOFTWARE
  C/ Mallorca 186 - 3º 1ª
  08036 Barcelona (Spain)
  Tel./Fax +34 934549324
  [EMAIL PROTECTED]
  http://www.gianlucabaldo.com
  http://www.phpauction.org


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] memory error

2002-01-11 Thread Thomas Holton


Hi
I built PHP on an ALPHA running OSF V5.1

I did the install after the make just like i did in the past.
This time, however, when i do:
apachectl start
i get this:
/usr/local/apache/bin/apachectl: 323331 Memory fault
/usr/local/apache/bin/apachectl start: httpd could not be started

There are no error messages being print to any apache logs.

Now, I had apache running previously with PHP. I realized that imap had
not been properly installed into my PHP so i went back and rebuilt PHP.
Now I get this problem.



This is my configuration:

./configure  --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-gd=/usr/local/src/gd-1.8.4
--with-png-dir=/usr/local/src/libpng-1.2.0
--with-zlib-dir=/usr/local/src/zlib --with-curl=/usr/local/lib
--with-calendar --with-jpeg-dir=/usr/local/src/jpeg-6b/ --with-imap

(imap was installed by putting c-client.a in /usr/lib and the appropriate
header files in /usr/include)

This time around I had to edit a php source file:
in ext/standard/scanf.c
and make the function scan_set_error_return to NOT be an inline function.

Has any had this problem before?

thanks!
tom holton


..


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] memory error

2002-01-10 Thread Thomas Holton


Hi
I built PHP on an ALPHA running OSF V5.1

I did the install after the make just like i did in the past.
This time, however, when i do:
apachectl start
i get this:
/usr/local/apache/bin/apachectl: 323331 Memory fault
/usr/local/apache/bin/apachectl start: httpd could not be started

There are no error messages being print to any apache logs.

Now, I had apache running previously with PHP. I realized that imap had
not been properly installed into my PHP so i went back and rebuilt PHP.
Now I get this problem.



This is my configuration:

./configure  --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-gd=/usr/local/src/gd-1.8.4
--with-png-dir=/usr/local/src/libpng-1.2.0
--with-zlib-dir=/usr/local/src/zlib --with-curl=/usr/local/lib
--with-calendar --with-jpeg-dir=/usr/local/src/jpeg-6b/ --with-imap

(imap was installed by putting c-client.a in /usr/lib and the appropriate
header files in /usr/include)

This time around I had to edit a php source file:
in ext/standard/scanf.c
and make the function scan_set_error_return to NOT be an inline function.

Has any had this problem before?

thanks!
tom holton


..


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] compile error

2001-10-26 Thread Thomas Holton


Hello,
I am looking through the documentation and archives and have been unable
to find anything about my problem, which is:

Installing php-4.0.6 on alpha OSF1 v5.1

CONFIG LINE:
./configure  --with-apache=../apache_1.3.22
--with-imap=/usr/local/src/imap-4.7 --with-mysql=/usr/local/mysql
--with-gd=/usr/local/src/gd-1.8.4 --with-mm=/usr/local/src/mm

ERROR:

cc: Error: scanf.h, line 48: There is no definition for the inline
function named scan_set_error_return in this compilation unit. (noinlfunc)
inline void scan_set_error_return(int numVars,pval **return_value);
^

I cannot find any references to this type of error, so any help or ideas
are greatly appreciated. I can also send out my config.log file to anyone
if they want.

Thanks in advance,
thomas holton




..





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]