php-windows Digest 5 Sep 2003 15:11:45 -0000 Issue 1901 Topics (messages 21323 through 21327):
imageloadfont 21323 by: Mark Friedlander Re: [PHP] A bd problem 21324 by: John W. Holmes using $_SERVER['HTTP_REFERER']; 21325 by: Ryan Vesely [GWAVA:bjr1pmnz] Attachment block message notification 21326 by: COBRAMIS [GWAVA:78i10vjq] Attachment block message notification 21327 by: COBRAMIS Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message ---Hi, I want to use imageloadfont since I dont have any freetype fonts installed on my server, how would I use this function? There is not any sample scripts avalible on the web. Thanks
--- End Message ---
--- Begin Message --- Carlos Castillo wrote:
HI, i have the following problem
Im working with sql server 2000 in a windows xp pc, then in the bd i have a
table called "noticias" and a text type field, when i insert into the field
everything goes rigth, but when i try to get the info of teh field, i can
get all the info, is like the variable is not enough to save all the info
but im sure that all the info is in the bd, the code is the following:
$consulta = new BaseDatos;
$consulta->connect();
$sql = "select * from Noticias where Id=".$_GET["id"];
$res = $consulta->query($sql);
$not = $consulta->fetch_row($res);
$not["Descripcion"] = eregi_replace(chr(13),"<br>",$not["Descripcion"]);
echo $not["Descripcion"];
when i do an echo for $not["Descripcion"] i can see that it doesnt have all the info of the field Descripcion on the table noticias.
If you're using a VARCHAR(x) column where x is greater than 255, then you will not get anything past 255 characters. It's an issue with the connection library to mssql. Use a text column for anything over 255 characters.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---For whatever reason, I'm having a problem getting $_SERVER['HTTP_REFERER']; to return a referrer from an https site. $a = $_SERVER['HTTP_REFERER']; $r = substr($a, 0, 21); print $a; print "<br>"; print $r; when I print $r, I get the correct value. When I print $a, it gives me: Notice: Undefined index: HTTP_REFERER in blah blah blah the funny thing is, this works as long as it's local to my machine. If I try from external, it fails. Any ideas? (running 4.3.3RC4, win 2k server) ---------------------------------------------------------------- Ryan Vesely Sales Engineer Pinnacor 685 Market Street, Suite 500 San Francisco, CA 94105 tel 415.369.4762 fax 415.512.2085 www.pinnacor.com <http://www.pinnacor.com/> The preceding e-mail message contains privileged, confidential information. Intended conveyance is only to designated and named recipient(s). If you feel that you may have received this message in error or if you are not the named recipient, please notify Pinnacor at once at the sender's email address, or call 212.691.7900. Unauthorized use, dissemination, distribution or reproduction of this message is strictly prohibited and may be unlawful. -----Original Message----- From: Mark Friedlander [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] imageloadfont Hi, I want to use imageloadfont since I dont have any freetype fonts installed on my server, how would I use this function? There is not any sample scripts avalible on the web. Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---PLEASE READ THIS ENTIRE EMAIL! IT CONTAINS INFORMATION ON WHY YOUR EMAIL WAS BLOCKED AND WHAT TO DO ABOUT IT! CONTACT INFORMATION IS AT THE BOTTOM. This is an automated Notification e-mail message from Cobra's Mail System. The message you sent, from the address [EMAIL PROTECTED] to [EMAIL PROTECTED] Concerning: Thank you! Was not delivered because it contained an attachment not accepted by the e-mail system in use at Cobra. Attachment Name: document_all.pif If you feel you got this in error, please contact Cobra's MIS Department at [EMAIL PROTECTED] Thank you.
--- End Message ---
--- Begin Message ---PLEASE READ THIS ENTIRE EMAIL! IT CONTAINS INFORMATION ON WHY YOUR EMAIL WAS BLOCKED AND WHAT TO DO ABOUT IT! CONTACT INFORMATION IS AT THE BOTTOM. This is an automated Notification e-mail message from Cobra's Mail System. The message you sent, from the address [EMAIL PROTECTED] to [EMAIL PROTECTED] Concerning: Re: Your application Was not delivered because it contained an attachment not accepted by the e-mail system in use at Cobra. Attachment Name: wicked_scr.scr If you feel you got this in error, please contact Cobra's MIS Department at [EMAIL PROTECTED] Thank you.
--- End Message ---