Sponsored Content
Top Forums Shell Programming and Scripting PHP 5 solaris opendir failure Post 302199090 by scarfake on Sunday 25th of May 2008 11:08:02 PM
Old 05-26-2008
maybe PHP is not configured properly/too strict
safe mode ON, open_basedir restriction, something like that
i had strange blank screens from these causes earlier
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

solaris second cd failure

We have a problem on a Sparc Ultra 5 box when installing solaris. We boot from the CD-ROM then go through the install procedure adding IP address, domain, routing details, hard disk layout etc.. The problem arises when asked for the 2nd CD at this point you do get the option to "skip"... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

2. Programming

opendir() + customly created directories

Gday all In a program I am designing, I am using opendir() to test whether entries under a certain directory are sub-directories or not. This method works fine for the directory itself (.) and the parent directory (..), however it does not work for any sub-directories I manually create. i.e.... (5 Replies)
Discussion started by: JamesGoh
5 Replies

3. Shell Programming and Scripting

Failure of sending mail through sun solaris

Hi Friends, I tried to mail from my sun solaris 5.8 by: $mailx -v sridha_151086@yahoo.co.in Subject: Test mail This is the test mail!! . EOT The error message I got is: land% Sri... forward: /export/home/Sri/.forward.+: World writable directory Sri... forward:... (1 Reply)
Discussion started by: sridharnr
1 Replies

4. Solaris

Solaris 10 (05/09) xNTPD Startup Failure - How to Fix

Dear All, I installed the Solaris 2.10 (05/09) download on a Sparc platform, and wanted to configure the network time protocol daemon (xNTPD) to work as an NTP client. Of course there are many web sites that trumpet the advise to simply copy the ntp.client file to the ntp.conf file, and then... (2 Replies)
Discussion started by: iic1tls
2 Replies

5. Solaris

Solaris Re-installation failure

Hello Community. I had installed solaris 5.10 OS on an X86 server using a custom-jumpstart installation program and it was performed successfully. Due to some issues, i had to go for reinstallation using the same jumpstart but this time it failed giving below error. Starting Solaris... (1 Reply)
Discussion started by: mystition
1 Replies

6. Solaris

After power failure, SunFireV240 with SOLARIS 5.9 cannot start

SUNW, Sun Fire V240 Spare Sun OS Release 5.9 After a power failure we try to start the server We have the following messages: Thanks for your assistance (7 Replies)
Discussion started by: doudou2012
7 Replies

7. Programming

Opendir

code: #include<iostream> #include <dirent.h> using namespace std; int main() { DIR*dir; dir = opendir("/"); if (dir !=NULL) { struct dirent * abcd; while ((abcd=readdir (dir))!=NULL) { cout << abcd -> d_name; } }} output : this gives the output of Directory "/" ques : (1 Reply)
Discussion started by: console
1 Replies

8. Homework & Coursework Questions

Opendir

code: #include<iostream> #include <dirent.h> using namespace std; int main() { DIR*dir; dir = opendir("/"); if (dir !=NULL) { struct dirent * abcd; while ((abcd=readdir (dir))!=NULL) { cout << abcd -> d_name; } }} output : this gives the output of Directory "/" ques : (1 Reply)
Discussion started by: console
1 Replies
IMAGESCALE(3)								 1							     IMAGESCALE(3)

imagescale - Scale an image using the given new width and height

SYNOPSIS
resource imagescale (resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED]) DESCRIPTION
imagescale(3) scales an image using the given interpolation algorithm. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $new_width - The width to scale the image to. o $new_height - The height to scale the image to. If omitted or negative, the aspect ratio will be preserved. Caution You should always provide the height if using PHP 5.5.18 or earlier, or PHP 5.6.2 or earlier, as the aspect ratio calcula- tion was incorrect. o $mode - One of IMG_NEAREST_NEIGHBOUR, IMG_BILINEAR_FIXED, IMG_BICUBIC, IMG_BICUBIC_FIXED or anything else (will use two pass). RETURN VALUES
Return the scaled image resource on success or FALSE on failure. CHANGELOG
+-------------+---------------------------------------------------+ | Version | | | | | | | Description | | | | +-------------+---------------------------------------------------+ |5.5.19/5.6.3 | | | | | | | The calculation of the height if $new_height was | | | negative or omitted was fixed; prior to these | | | versions, the aspect ratio was not maintained | | | correctly. | | | | +-------------+---------------------------------------------------+ PHP Documentation Group IMAGESCALE(3)
All times are GMT -4. The time now is 03:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy