Setting up cURL my linux server it was no problem at all, but I had a heck of a time getting cURL to work properly on my Windows test box with PHP and Apache. There are a lot of tricks scattered around on the web so here is my list of notes:
Category Archives: PHP
php Flushing output
Flushing output void flush ( void ) There is a special function in PHP called flush(), which is not really related to output buffering because it works with standard output, however it is so very similar to what we’ve just been looking at that it makes sense to cover it here. Flush() sends all output out immediately, without …
PHP Interakt Language settings
Language settings Since the Transaction Engine includes internationalization support, this menu of the Developer Toolbox Control Panel enables the user to change the language resource file of the currently active site:
How to enable or use .htaccess on Apache Web Servers in Windows:
Using a text editor, open the httpd.conf file. In XAMPP, this file is found in the \apache\conf directory Locate the following line of code: #LoadModule rewrite_module modules/mod_rewrite.so Remove the # from the line as seen below to enable the module: LoadModule rewrite_module modules/mod_rewrite.so Save the httpd.conf file and Restart your server Restart your Apache Server If all goes well, you should …
Continue reading “How to enable or use .htaccess on Apache Web Servers in Windows:”
what does this error means >>PHP Warning: session_start() [function.session-start]?
Are you on windows? The error message is very much self explanatory. Check php.ini and find the session.save_path. Make sure that the file mentioned exists and is writable.
PHP $_SERVER
$_SERVER[’PHP_SELF’], $_SERVER[‘REQUEST_URI’], and $_SERVER[’SCRIPT_NAME’] all behave in similar ways, they return information about what file is being used. When exposed to some differnt scenarios, you can see in some cases they do behave differently. This can help you decide which is best for what you need in your script.