-
as seen on Server Fault
- Search for 'Server Fault'
I am running Debian Linux with apache2 and libapache2-mod-php5 5.3.3-7.
I have one VirtualHost which requires php4.
So I researched and compiled php4-cgi.
However, I cannot seem to:
Override mod-php5's mapping of .php in that vhost (or even globally,
without disabling php completley).
Even find…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to put second language on my webpage. I decided to use different files for different languages told apart by path - language/pl/projects.ln contains Polish text, language/en/projects.ln - English. Those extensions are just to tell language files from other, the content is simple php:
$lang["desc"]["fabrics"]["title"]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Get this...I start the server in php5 and a specific HTML element ('a' element with a background image) is nowhere to be seen, I reboot the server in php4 and the HTML element is displaying properly. I boot back and forth between php5 and php4 with absolute consistent results, not displaying in php5…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the following code that works on PHP5 to send a HTTP POST without using cURL. I would like this to work on PHP 4.3.0 and above:
$opts = array('http' =>
array(
'method' => 'POST',
'header' => "Content-type: application/x-www-form-urlencoded\r\n" . "Content-Type:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What is the closest you can get to a try-catch block in php4?
I'm in the middle of a callback during an xmlrpc request and it's required to return a specifically structured array no matter what.
I have to error check all accesses to external resources, resulting in a deep stack of nested if-else…
>>> More