php-general Digest 3 Apr 2005 10:07:17 -0000 Issue 3375 Topics (messages 212096 through 212106):
Broken connection 212096 by: Andy Pieters Re: passing variables with HTTP_GET_VARS 212097 by: Burhan Khalid fpassthru(); corrupts files on win 5.0.4 ?? 212098 by: Andras Kende Re: PHP 5 Status 212099 by: Colin Ross 212101 by: Colin Ross Re: installing phpMyAdmin on Windows 2000 using IIS Server 212100 by: Burhan Khalid 212105 by: wan nordiana Wan Abd Kadir help with GD 212102 by: andreja.beogradnet.com Re: link problem - Apache or PHP? 212103 by: Burhan Khalid Re: Cannot connect to database when using Zend studio debugger 212104 by: Burhan Khalid Problems compiling PHP-5.0.4 with cPanel. 212106 by: Jordi Canals 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: php-general@lists.php.net ----------------------------------------------------------------------
--- Begin Message ---Hi everybody I am new on this list. I want you to know that I would like to use this list to get help and to provide assistance to others as well. I picked up php in octobre last and have become quite good with it. Didn't touch php 5 yet though. So to start with a problem of mine. I made a cms as per client request. And designed it with PHP 4.3+ in mind. The cms works perfectly only my client has run in some servers that are running PHP 4.1 and do not (can not, won't) upgrade. So I am working on a backport for PHP 4.1 I am almost there and most of the system's already running. I added sha1 calculation from a script I found about because sha1 is not yet implemented in php 4.1. I also let go of using stream_set_timeout as it is not essential. I got stuck and banged my head quite some time on this. When I try to open a page, I get "broken connection" error in konquerour. (Firefox just shows me a null page) I have tried many things already to get some usable debugging info on this but it seems that shutdown functions aren't executed either. Strangly enough googling to know what the 'broken connection' error's about in this context proved unsuccessfull.... I thank you for your time and bid you good day With kind regards Andy Pieters Straight-A-Software A young idealistic programmer -- Registered Linux User Number 379093 -- Feel free to check out these few php utilities that I released under the GPL2 and that are meant for use with a php cli binary: http://www.vlaamse-kern.com/sas/ --
--- End Message ---
--- Begin Message ---AndreaD wrote: [ snip ]just say I have a page index.php and that is doing a calucualtion and creating a couple of variables called $age and $height.
How so I make these variables globally available and how do all the other pages show/retrieve them??
Andrea:
What you are looking for are session variables. These variables are persistant, and are available via the $_SESSION "superglobal" array.
Start at http://www.php.net/session for examples.
--- End Message ---
--- Begin Message ---Hello, windows 2003 server iis6 with php 5.0.4 isapi... The following code was working perfectly on 5.0.3 since 5.0.4 upgrade dowloaded files gets corrupted.. Any hint where the problem could be? Thanks, Andras Kende http://www.kende.com/ <?php $file = $_REQUEST['file']; $company = $_REQUEST['company']; $path = "\\\server\ftpserver\\$company\\" . $file; $size = filesize($path); header("Cache-Control: "); header("Pragma: "); header("Content-type: application/octet-stream"); header("Content-disposition: attachment; filename=\"$file\""); header("Content-transfer-encoding: binary"); header("Content-length: $size"); $fp=fopen($path, "rb"); fpassthru($fp); fclose($fp); ?>
--- End Message ---
--- Begin Message ---ok, thanks for your input. now to make a roll-out plan for upgrading... Colin On Apr 1, 2005 1:17 PM, Jordi Canals <[EMAIL PROTECTED]> wrote: > > On Apr 1, 2005 8:30 PM, Colin Ross <[EMAIL PROTECTED]> wrote: > > > Is PHP 5 ready for production environments? Is it concidered stable, > > or is it just a matter of going a while with no new bugs discovered to > > get to stable.. > > Yes, it is ready. I've been using on my production servers since > version 5.0.1 without any problem. Now I'm running 5.0.3 and this > weekend will update to 5.0.4. I'm really happy with PHP-5 and > specially with all his new features. Now the majority of my scripts > require PHP-5 (And don't wok with previous versions). > > Also I run PHP-5 in some hosting server for my customers, some of them > running old scripts, and everything runs really well. > > I would recommend it to anybody who starts a new development do it > with PHP-5 in mind. To all those people who has PHP-4 running, I would > recommend to test PHP-5 and start deploying it. > > Regards, > Jordi. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
--- End Message ---
--- Begin Message ---Now, as far as I know though, there are still issues with Apache 2 and PHP-libraries, correct? On Apr 2, 2005 11:38 PM, Colin Ross <[EMAIL PROTECTED]> wrote: > > ok, thanks for your input. > now to make a roll-out plan for upgrading... > Colin > > > On Apr 1, 2005 1:17 PM, Jordi Canals <[EMAIL PROTECTED]> wrote: > > > > On Apr 1, 2005 8:30 PM, Colin Ross <[EMAIL PROTECTED]> wrote: > > > > > Is PHP 5 ready for production environments? Is it concidered stable, > > > or is it just a matter of going a while with no new bugs discovered to > > > get to stable.. > > > > Yes, it is ready. I've been using on my production servers since > > version 5.0.1 without any problem. Now I'm running 5.0.3 and this > > weekend will update to 5.0.4. I'm really happy with PHP-5 and > > specially with all his new features. Now the majority of my scripts > > require PHP-5 (And don't wok with previous versions). > > > > Also I run PHP-5 in some hosting server for my customers, some of them > > running old scripts, and everything runs really well. > > > > I would recommend it to anybody who starts a new development do it > > with PHP-5 in mind. To all those people who has PHP-4 running, I would > > recommend to test PHP-5 and start deploying it. > > > > Regards, > > Jordi. > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >
--- End Message ---
--- Begin Message --- wan nordiana Wan Abd Kadir wrote:hi..i wanna ask some question regarding the phpMyadmin installation on windows 2000. I am using IIS as the server. so far, when i searched in the internet on how to install phpMyadmin all i got was 'How to Install phpMyAdmin on Apache server'..is it different between those two? i mean installing phpMyAdmin on Apache and IIS server.
Please reply me..
Please send emails to php-general@lists.php.net, not to my personal address.
The process is the same. You should already have PHP installed and running on IIS before installing phpmyadmin. See the official documentation at http://phpmyadmin.sourceforge.net/documentation/ for more information.
--- End Message ---
--- Begin Message ---
Note: forwarded message attached.
Do you Yahoo!?
Make Yahoo! your home page--- Begin Message ---hi..i wanna ask some question regarding the phpMyadmin installation on windows 2000. I am using IIS as the server. so far, when i searched in the internet on how to install phpMyadmin all i got was 'How to Install phpMyAdmin on Apache server'..is it different between those two? i mean installing phpMyAdmin on Apache and IIS server.Please reply me..__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--- End Message ---
--- End Message ---
--- Begin Message ---is there any way to edit and resize animated gifs in PHP? with imagegif() i only get a static image
--- End Message ---
--- Begin Message --- germ germ wrote:In my HTML file the HREF tag is: <A HREF="www.google.com" TARGET="_blank">google.com</A>
When clicked, the link in then directed to: http://10.10.1.5/test-a/ref/www.google.com
Basically it seems like it appends the link to the URL path.
This sounds like a base href problem; nothing related to php or apache.
--- End Message ---
--- Begin Message --- Supersky wrote:Dear Richard,
Thanks.
After I swaped to PHP4 option in the preference of Zend Studio, I can connect to the database. However, other problems arised. The problem might be that my PHP version installed is 5.0.3 indeed.
You should post this stuff at the My Zend center at zend.com -- they are really good with supporting such things. I've had a few issues with Zend studio that they showed me how to fix.
Although I'm still a bit annoyed that they don't support subversion, studio is still a great product.
--- End Message ---
--- Begin Message ---Hi, I have an VPS server wich runs cPanel. My PHP version currently installed is 5.0.3 and had no problems until now. I've been trying to upgrade my PHP version from 5.0.3 to 5.0.4 with no success. I've tried doing it with WHM and also tried to do it manually with ./configure and make. Always I've get an error when the system is going to build the library libphp5.la and the building finishes there. The error I get is: make: *** [libphp5.la] Error 1 I've been searching about this error, but found no significant information about it. The two things I've found is: 1. The package could be corrupted (But packages are chacked with md5). 2. There is not memory on the server to compile PHP. Perhaps it could be the problem, as I followed a compile and it looks like it crashes when the memory gets low. Also I've tried to recompile PHP 5.0.3 wich is now running on my server and I get the same error. Perhaps this could be related with the new builder realease that cPanel released, and wich includes some more stuff (like the mysqli extension)? I'm really stuck with this triying to recompile PHP on my box, but had no success. Any help about this issue will be really apreciated. Regards, Jordi.
--- End Message ---