11-14-2006
Most likely when installing the two machines are failing to negotiate the link. You could try putting a hub/mini switch between them to see if that helps, otherwise maybe try NFS instead of ftp.
7 More Discussions You Might Find Interesting
1. Solaris
Hi all, i am new in solaris, i have a solris server Ultra 60, when i turn on the server show me the follow error:
Bad magic number in disk label
can`t open disk label package
Boot device: net File and args:
Timeouot waiting for ARP/RARP packet
Timeouot waiting for ARP/RARP packet
....
I... (3 Replies)
Discussion started by: elimunoz
3 Replies
2. Solaris
Question, I have a new V890 preloaded witrh Solaris 10. Due to SW compatibility I need to run Sol 8 on the server. When running boot cdrom from the ok prompt, I get amessages looking for a location on the CDROM to find the startup install SW. The path must be different from what's on Sol 10 install... (4 Replies)
Discussion started by: stocksj
4 Replies
3. Solaris
I tried to install solaris 10 on a Netra T2000 server.
From prompt ok, I entered "boot cdrom - install" command.
Then, things seems to work normally. Except that nothing happend after displaying "Configuring the /devices".
It seems that, installation never arrived to configure /devices.
... (4 Replies)
Discussion started by: Thom
4 Replies
4. Solaris
Hello to everybody, I`m Trying to install solaris 10 in a e3000 sun sparc.I have to create a instalation server, because de scsi cdrom doesn`t work.When i am in the prompt and write boot net, everything is going great i see the banner ( Solaris 5.10 64 bits version bla bla bla) but sudenly stop... (8 Replies)
Discussion started by: enkei17
8 Replies
5. UNIX for Dummies Questions & Answers
Where can I find instructions for doing this? I am running Win XP and would like to be able to run solaris 10 from my flash drive.
Thanks,
Carrie (3 Replies)
Discussion started by: Carrie Heiser
3 Replies
6. Solaris
Dear All,
I need your help. I have server like this
SunOS 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V890
with messages like this...
Oct 10 17:07:52 iscsi: NOTICE: unrecognized ioctl 0x403
Oct 10 17:07:52 scsi: WARNING: /pseudo/fcp@0 (fcp0):
Oct 10 17:07:52 Invalid... (4 Replies)
Discussion started by: mbah_jiman
4 Replies
7. Solaris
Dear friends,
I have the DVD image of solaris 10 but I don't have DVD writer to burn it onto a dvd R. I was wondering if I could install Solaris from my 4gb usb flash drive as my PC supports booting from usb. I have installed Windows 7 this way recently, I have no idea about Solaris. Could you... (2 Replies)
Discussion started by: gabam
2 Replies
LEARN ABOUT PHP
image_type_to_mime_type
IMAGE_TYPE_TO_MIME_TYPE(3) 1 IMAGE_TYPE_TO_MIME_TYPE(3)
image_type_to_mime_type - Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
SYNOPSIS
string image_type_to_mime_type (int $imagetype)
DESCRIPTION
The image_type_to_mime_type(3) function will determine the Mime-Type for an IMAGETYPE constant.
PARAMETERS
o $imagetype
- One of the IMAGETYPE_XXX constants.
RETURN VALUES
The returned values are as follows
Returned values Constants
+----------------------------------------+-------------------------------+
| $imagetype | |
| | |
| | Returned value |
| | |
+----------------------------------------+-------------------------------+
| | |
| IMAGETYPE_GIF | |
| | |
| | |
| | image/gif |
| | |
| | |
| IMAGETYPE_JPEG | |
| | |
| | |
| | image/jpeg |
| | |
| | |
| IMAGETYPE_PNG | |
| | |
| | |
| | image/png |
| | |
| | |
| IMAGETYPE_SWF | |
| | |
| | |
| | application/x-shockwave-flash |
| | |
| | |
| IMAGETYPE_PSD | |
| | |
| | |
| | image/psd |
| | |
| | |
| IMAGETYPE_BMP | |
| | |
| | |
| | image/bmp |
| | |
| | |
| IMAGETYPE_TIFF_II (intel byte order) | |
| | |
| | |
| | image/tiff |
| | |
| | |
|IMAGETYPE_TIFF_MM (motorola byte order) | |
| | |
| | |
| | image/tiff |
| | |
| | |
| IMAGETYPE_JPC | |
| | |
| | |
| | application/octet-stream |
| | |
| | |
| IMAGETYPE_JP2 | |
| | |
| | |
| | image/jp2 |
| | |
| | |
| IMAGETYPE_JPX | |
| | |
| | |
| | application/octet-stream |
| | |
| | |
| IMAGETYPE_JB2 | |
| | |
| | |
| | application/octet-stream |
| | |
| | |
| IMAGETYPE_SWC | |
| | |
| | |
| | application/x-shockwave-flash |
| | |
| | |
| IMAGETYPE_IFF | |
| | |
| | |
| | image/iff |
| | |
| | |
| IMAGETYPE_WBMP | |
| | |
| | |
| | image/vnd.wap.wbmp |
| | |
| | |
| IMAGETYPE_XBM | |
| | |
| | |
| | image/xbm |
| | |
| | |
| IMAGETYPE_ICO | |
| | |
| | |
| | image/vnd.microsoft.icon |
| | |
+----------------------------------------+-------------------------------+
EXAMPLES
Example #1
image_type_to_mime_type(3) example
<?php
header("Content-type: " . image_type_to_mime_type(IMAGETYPE_PNG));
?>
NOTES
Note
This function does not require the GD image library.
SEE ALSO
getimagesize(3), exif_imagetype(3), exif_read_data(3), exif_thumbnail(3).
PHP Documentation Group IMAGE_TYPE_TO_MIME_TYPE(3)