Questions tagged [php4]

For issues relating to development using PHP, version 4.

PHP is a widely-used, general-purpose scripting language designed specifically for web development, though it has since been extended to other applications too. PHP is the most popular language for web development, powering over 20 million websites.

Useful Third-party Code and Tools

In addition to the vast functionality provided in the PHP Core and through PEAR and PECL, there are a number of noteworthy 3rd party contributions to the PHP world, some of which are listed below.

Related tags

323 questions
-1
votes
2 answers

PHP 4 code give errors on php 5

I have PHP 4 code to check differences of two files, this works fine on old servers with PHP 4 versions, but on new servers I'm getting errors. For example: $maxlen is no defined And the functionally is not working on new server. Anyone know how…
Salinda Bandara
  • 203
  • 7
  • 20
-1
votes
1 answer

PHP Newbie trying to understand how to make a php4 script equivalent in php5

I am a newbie to php, so pardon me if this email sounds, well... dumb. I am trying to port some php4 code for my boss. Here is this one function that makes me stumped. function dbank($table,$sql,$dbankoverride="",$dbconfig="") { …
joshi
  • 355
  • 1
  • 5
  • 21
-1
votes
1 answer

PHP: Help troubleshooting when echo's won't execute?

I asked this question here originally: http://www.daniweb.com/web-development/php/threads/439484/why-arent-more-echos-being-executed uploaded to the server(form): http://cs4.sunyocc.edu/~j.d.dancks/onestopshop/index.php sort_mysql results sorts…
jason dancks
  • 1,152
  • 3
  • 9
  • 29
-1
votes
4 answers

how to resize bmp,tiff image using gd library ? and also mention about imagemagick which is good to use

i need to know which is better gd or imagemagick to resize an image
honest
-2
votes
3 answers

export mysql database to excel by php

I want to export my database to an excel file by php,I need a source code in php to do this
peyman
  • 1
  • 1
-3
votes
2 answers

Have I found a bug in PHP or have I missed something?

Possible Duplicate: Why is my constructor still called even if the class and constructor case are different?
kiler129
  • 1,063
  • 2
  • 11
  • 21
-4
votes
1 answer

I would like to run PHP 4 and PHP 5 at the sametime on the same page using Apache

Most results I get on Google is how to get both versions running simultaneously on the same page but at different URLS but that's not what I want, I'd like for example to get http:\localhost to run PHP4 and PHP5 at the same time on the same page…
-5
votes
1 answer

IF statement fails

I have created a simple a php script I do not understand what could be wrong with it. I believe it should echo "Died!" because the die function is executed right if (die()){ echo "Died!"; } Please help, thanks. (I'm currently using php 4.3.9…
1 2 3
21
22