User Contributed Notes FAQ: Frequently Asked Questions |
|
ken at photoflux dot com
30-Jan-2002 08:21 |
|
For even more FAQs, goto:
|
|
14-Jul-2002 01:49 |
|
For more PHP faq in russian please see :
Konstantin.
|
|
marmbrechtATeircomDOTnet
02-Aug-2002 01:43 |
|
I found no documentation on how to apply the patch (4.2.1-to-4.2.2), but
figured it out. I have seen that question here before. So to upgrade using
the patch on Linux/Unix, simply cd to the php source directory and run
"patch -p1 <php-4.2.1-to-4.2.2.patch . Then do the ./configure,
make, make install again.
|
|
11-Aug-2002 02:03 |
|
You can fid information on bz2 compression here: <>
|
|
no at mail dot com
18-Nov-2002 02:42 |
|
Try WinRAR for bz2 uncompression. It's easy to use, handles gz and tar
aswell. www.rarlabs.com
|
|
michaelnge at yahoo dot com dot sg
03-Dec-2002 02:19 |
|
[editor note: This only applies to Redhat 8 as the silly folks at RedHat
decided to modify the default value from On to Off. It will be back on in
version 8.1 as per PHP's default]
edit /etc/php.ini.
default
value for short_open_tag is Off. Changed it to On. Restart web server. It
shld work now :)
|
|
philip at cornado dot com
30-Dec-2002 10:07 |
|
A lot of faqts here:
|
|
johannes at schlueters dot de
05-Apr-2003 02:49 |
|
A great German FAQ can be found on
|
|
petr dot hoffmann at rieter dot com
28-Apr-2003 08:59 |
|
Nemohu zadat podminku. Jestlize zadam dotaz "select * from
ren; Dotaz se provede a vrati mi vysledek ale pokud pouziju nejakou
podminku napr. "select * from ren where
type="hs"" dotaz se neprovede a vrati hlasku "Parse
error: parse error, unexpected T_STRING in c:\apache\apache\htdocs\ren.php
on line 10" pokud tenro prikaz zadam v command line mysql, dotaz
se provede spravne. Pouzivam apache pod w2000,mysql,php
4.3.1. dekuji za pomoc.
<?php // P�ipojen�, v�b�r
datab�ze $link = mysql_connect("czhnas8179",
"root", "") or die("Nelze se
p�ipojit"); print "P�ipojeno
�sp�n�!"; mysql_select_db("intranet") or
die("Nelze vybrat datab�zi");
// P��prava SQL
dotazu $query = "SELECT * FROM ren WHERE
type="hs""; $result = mysql_query($query) or
die("Dotaz nelze prov�st");
// Zobrazen� v�sledku v
HTML print "<table>\n"; while ($line =
mysql_fetch_array($result, MYSQL_ASSOC)) { print
"\t<tr>\n"; foreach ($line as $col_value) {
print "\t\t<td>$col_value</td>\n"; }
print "\t</tr>\n"; } print
"</table>\n";
// Odpojen� z MySQL
datab�ze mysql_close($link); ?>
|
|
Robert
28-Apr-2003 05:57 |
|
I don't think that this is the right place for posting questions in czech,
but anyway.. try using apostrophes instead of quotes inside the sql
command string, ie. something like this: $query = "SELECT * FROM
ren WHERE type='hs' ";
|
|
kishore_universe at rediffmail dot com
30-Apr-2003 10:04 |
|
I use win98. I am working on PHP-MYSQL-APACHE.
When I Attempt to
send a string to printer using the folowing code :
$handle =
printer_open(); printer_write($handle, "My
string"); printer_close($handle);
The error message is
"Not able to allocate printjob(63).
Other printer
functions like printer_draw_line, printer_draw_text & printer_list are
working fine.
I need the most urgent assistance.
|
|
|