For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2006 > cvs: phpdoc / configure.in









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc / configure.in
Nuno Lopes

2006-09-29, 6:58 pm

nlopess Fri Sep 29 16:37:40 2006 UTC

Modified files:
/phpdoc configure.in
Log:
fix build with latest cygwin update.. we now need to strip \r chars from the infiles.cache file..
#weird at least

http://cvs.php.net/viewvc.cgi/phpdo...8&diff_format=u
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.237 phpdoc/configure.in:1.238
--- phpdoc/configure.in:1.237 Thu Sep 21 03:56:04 2006
+++ phpdoc/configure.in Fri Sep 29 16:37:40 2006
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.237 2006/09/21 03:56:04 takagi Exp $
+dnl $Id: configure.in,v 1.238 2006/09/29 16:37:40 nlopess Exp $

dnl autoconf initialisation
AC_INIT()
@@ -778,7 +778,7 @@
echo -n "checking for *.in files... "
if test -e infiles.cache ; then
echo -n "(cached) "
- infiles=`cat infiles.cache`
+ infiles=`cat infiles.cache | sed -e 's/\r\n/\n/g'`
else
infiles=`find . -name "*.in"`
`echo -n "$infiles" > infiles.cache`
oldschoolgeek

2006-09-29, 9:43 pm

<HTML>
<HEAD>
<TITLE>String Functions Example Script</TITLE>
</HEAD>
<BODY>
<?php
$strhypot = sqrt(a2 + b2);
$hypotenusestring = strhypot($String1);
print "The hypotenuse of a right-angle triangle is <B>$hypostenusestring</B>";
print "<BR>";
$squarerootstring = strsqrt($String2);
$lengthstring = strlen($String3);
$reversestring = strrev($String3);
$uppercasestring = strtoupper($String3);
print "The number of letters entered is <B>$lengthstring</B>";
print "<BR>";
print "The reverse of the string entered is <B>$reversestring</B>";
print "<BR>";
print "The string entered to upper case is <B>$uppercasestring</B>";
print "<BR>";
?>
</BODY>
</HTML>Can anyone help me with this script??? Please!!!
I keep getting a parse error on line 13...
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com