Sponsored Content
Full Discussion: The trouble with...
The Lounge What is on Your Mind? The trouble with... Post 60189 by zazzybob on Wednesday 12th of January 2005 04:46:07 PM
Old 01-12-2005
Network The trouble with...

Welcome to "The trouble with...." with your host, ZazzyBob.

Todays offering - "The trouble with letting other people host your website"

I use a certain web hosting service, who shall of course remain nameless here.

They are running PHP 4.3.10

I decide to write a script to test their PHP and set up some sessions, etc.

Anyway, to cut a long story short, the code doesn't work - it doesn't error out or anything - it just doesn't work as tested.

I e-mail their support dept.

They blame my code "Bugs and stuff" is their response.

I've tested the code on PHP 4.3.1, PHP 4.3.10 and PHP 5.0.0 on various flavours of Apache 1.x.x and 2.x.x, on Windows and Linux systems. The code works fine. So how can it be a bug?!?!? Smilie

I can't stand unenthusiastic support personnel who can't be bothered to have a good look at customer problems. They seem to think "oh, it doesn't work - nothing to do with us - just write back Buggy code and he'll blame himself". No way Jose - this isn't my fault.

Two days before that - all CGI went down completely. Coincidence? Hmmm - we shall see. I'm not too pleased with "Company Foo" at the moment.

I know this is a bit of a nonsense rant - but I'm seriously considering setting up a dedicated web server in my DMZ and hosting the thing myself - the only plus side is they have good uptime, but hey.....

My spleen is vented now - let's go see if they've responded to my "No way Jose" e-mail yet !

Cheers
ZB

Last edited by zazzybob; 01-13-2005 at 07:16 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

trouble

Hello, The system reboots in single user mode what command to use to bring the system up regularly?? I get INIT: cannot create /var/adm/utmpx Type control -d to proceede with a normal startup or give root passwd for system maintaince. either way i don't have a change and ... (1 Reply)
Discussion started by: awk
1 Replies

2. UNIX for Dummies Questions & Answers

The trouble about SU ...

Hi all, having read lots of posts about SU I don't quiet understand this : I'm doing regular backups of my database (u betta do) and therefore use su - username -c "sqlscript special data_base" in a unixscript which is even using cron. (yep!) Now I need some other script, still with this... (4 Replies)
Discussion started by: nulnul7
4 Replies

3. AIX

license trouble

Hi, we currently use a valisys licence : it is based on a server (serv1) it is reached only by one workstation (cam1) In all licence files there is line with cam1 et serv1 We want to use cam22 (new workstation) instead of cam1 I made a copy the licences files with remplacing cam1 by cam22... (0 Replies)
Discussion started by: cadmanager
0 Replies

4. Solaris

Trouble with tr

I'm not sure where to post this but it's happening on a SunOS 5.8 server so I'll try here. I've discovered some unexpected behavior when using tr. For example: echo a | tr Z echo b | tr a echo a | tr B echo a | tr B echo a | tr A (8 Replies)
Discussion started by: Mike@Work
8 Replies

5. Shell Programming and Scripting

Trouble with Backslashes

Hi folks, there are windows device names in the sixth column of a comma separated file. A example device name is: \\.\Tape0 I don't get the all string in to a variable, because of the preceding backslash. The first backslash is just cut off and my attempts to manipulate the string afterward... (0 Replies)
Discussion started by: wibo1
0 Replies

6. UNIX for Dummies Questions & Answers

trouble mounting

What is the possible cause for the mount command to take ages? im trying to mount remotely : "mount -t nfs xx.x.x.x:/export/xyz/cdrom-4.0 /mnt/cdrom" on a system using bash. Im able to ping the remote server, but the system hangs or takes about half an hour to carry out this mount command.... (4 Replies)
Discussion started by: sahilb
4 Replies

7. UNIX for Dummies Questions & Answers

X trouble

Hi there, I'm new to unix-environments. I'm richard, and i'm mostly a web-developer, under php. I've done work in unix env before, but never had my own. Today, I've got debian 3.1 r4 from the official site, and i've attempted to install it twice. I installed it initially as "Desktop... (0 Replies)
Discussion started by: izua
0 Replies

8. UNIX for Dummies Questions & Answers

trouble with awk

I am trying to figure awk. I have a file in my home directory called testawk.sh, have made it executable, and have run it... But don't see any output. This is the contents of the file: #!/usr/bin/awk -f { print " - HI -" }I enter ./testawk.sh in the prompt, press enter, and watch as the... (2 Replies)
Discussion started by: matthewden
2 Replies

9. Programming

Trouble with C

Hey, i am having a problem First, i know java well and i have used C++ on occasion so i thought i would be able to deal with a class where they program in C. unfortunately i have hit some speed bumps that i am having problems. Here is my problem: I have a structure cache_t in the sample... (0 Replies)
Discussion started by: zephoid
0 Replies

10. UNIX and Linux Applications

gnuplot trouble

I am having a bit of trouble plotting a histogram in gnuplot. I am trying to use it to draw bars side by side. The first bar is from column five in my data file. The second bar is actually three bars stacked on top of each other and should be as tall as the first bar. The data is from the 2nd,... (0 Replies)
Discussion started by: kingnothing
0 Replies
PHP_UNAME(3)								 1							      PHP_UNAME(3)

php_uname - Returns information about the operating system PHP is running on

SYNOPSIS
string php_uname ([string $mode = "a"]) DESCRIPTION
php_uname(3) returns a description of the operating system PHP is running on. This is the same string you see at the very top of the phpinfo(3) output. For the name of just the operating system, consider using the PHP_OS constant, but keep in mind this constant will con- tain the operating system PHP was built on. On some older UNIX platforms, it may not be able to determine the current OS information in which case it will revert to displaying the OS PHP was built on. This will only happen if your uname() library call either doesn't exist or doesn't work. PARAMETERS
o $mode -$mode is a single character that defines what information is returned: o 'a': This is the default. Contains all modes in the sequence "s n r v m". o 's': Operating system name. eg. FreeBSD. o 'n': Host name. eg. localhost.example.com. o 'r': Release name. eg. 5.1.2-RELEASE. o 'v': Version information. Varies a lot between operating systems. o 'm': Machine type. eg. i386. RETURN VALUES
Returns the description, as a string. EXAMPLES
Example #1 Some php_uname(3) examples <?php echo php_uname(); echo PHP_OS; /* Some possible outputs: Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 Linux FreeBSD localhost 3.2-RELEASE #15: Mon Dec 17 08:46:02 GMT 2001 FreeBSD Windows NT XN1 5.1 build 2600 WINNT */ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { echo 'This is a server using Windows!'; } else { echo 'This is a server not using Windows!'; } ?> There are also some related Predefined PHP constants that may come in handy, for example: Example #2 A few OS related constant examples <?php // *nix echo DIRECTORY_SEPARATOR; // / echo PHP_SHLIB_SUFFIX; // so echo PATH_SEPARATOR; // : // Win* echo DIRECTORY_SEPARATOR; // echo PHP_SHLIB_SUFFIX; // dll echo PATH_SEPARATOR; // ; ?> SEE ALSO
phpversion(3), php_sapi_name(3), phpinfo(3). PHP Documentation Group PHP_UNAME(3)
All times are GMT -4. The time now is 07:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy