[PHP] Compiling Truetype fonts
Hello, I am having problems compiling truetype font support into php4. Would someone please share any info that might help solve this? setup: php version 4.0.6-dev apache 1.3.14 configuration: ./configure --with-ttf=/usr/local --enable-gd-native-ttf --with-gd=/usr/local/src/gd-1.8.3 --with-jpeg-dir=/usr/local/src/jpeg-6b --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-ming=/usr/local/src/ming-0.1.0 --enable-ftp --with-pdflib=/usr/local/src/pdflib-3.03 --with-dom=/usr/local/src/libxml2-2.3.6 --with-zlib-dir=/usr/local/src/zlib --with-png-dir=/usr/local/src/libpng --with-tiff-dir=/usr/local/src/tiff-v3.5.5/ --with-mcrypt=/usr/local/src/libmcrypt-2.4.9 Going through the results of a make show that php wasn't compiled with -lttf . Also, if more info is needed to help me with this problem please let me know. Thanks, barce -- 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]
Re: [PHP] Repeat : I'm Living in cookie hell....
Hello Scott, I took a look at your code, and have a solution for you. Here's the code: while ($row = mysql_fetch_array($result) ) { if ($row["memberid"] == $login_id) { // your code here :-) } } > >$row = mysql_fetch_array($result); // Get one row of data only *BAD* >if ($row[memberid] == $login_id) { > // [...] >} > > the path of the cookie to be the root under both instances, it should be > trying to set the same cookie, right? correct, but this only works if the first array returned is equal to the login_id. since you are returning only the first row of your database table, you never make it to the memberid that you're hoping is there -- assumming that it is there. Train harder! regards,barce -- 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]
Re: [PHP] Simulate the Enter key in Unix with PHP
hello, YoBro wrote: > > Have you got an example of how to use the -b switch. > I am not up with lingo when it comes to unix. > \n"; } else { ?> user: pass: -- 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]
Re: [PHP] Simulate the Enter key in Unix with PHP
ERRATA to the PREVIOUS E-MAIL: the following line: > pass: should read: pass: -- 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]