ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-spanish
php-spanish
[PHP-ES] Problemas con imagecreatefromjpeg
by Remy other posts by this author
Nov 23 2006 12:20PM messages near this date
[PHP-ES] ZEND guard- CRISIS | [PHP-ES] ayuda con la generación de un fpdf
Hola amigos:

 

Tengo un problema serio con imagecreatefromjpeg, resulta que estoy haciendo
un GD, pero el sitio esta protegido con .htaccess y cuando va a cargar el GD
da error 

 

failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization
Required in /home/camino/public_html/miembros/imagen.php on line 58

 

La linea 58 contiene $img2 = imagecreatefromjpeg($imagen); lo que me a
entender es que no puede crear la imagen pro los permisos, sile quito el
.htaccess trabaja perfectamente. He intentado crear la imagen fuera de donde
esta .htaccess, pero da error.

 

Las im�genes las tomo de carpetas que est�n dentro de la seguridad

 

O sea la seguridad esta en miembros y las im�genes est�n en
/home/camino/public_html/miembros/galeria1,2,3 etc�.

 

Me pueden ayduar> ???

 

Atte,

 

remy

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved