Tag Archive for 'Web Technology'

Passing PHP variables to Javascript

I had a simple problem. I wanted to pass a single variable from the PHP Server to some Javascript code.
In the top of my page I set the variable:
$myVar = $_SERVER['PHP_SELF'];
?>

Then I just call my php function and pass it that variable as an argument.
But…
I have to use PHP to echo back the value.
myJscriptFunction('<?php echo $myVar; ?>');

WordPress 2.1 in its Own Folder with a Static Front Page

If you have an existing WordPress 2.0 and you’ve been using the old static_front plugin from Semiologic you might run into some issues… I was using v 2.4 of sem_static_front and once I upgraded to WordPress 2.1, the plugin wasn’t working any longer. While WordPress 2.1 now offers its own control for that setting, that too was not working correctly for me. But please, forgive us a word from our sponsors and read on…

Continue reading ‘WordPress 2.1 in its Own Folder with a Static Front Page’

Soulcode moves to WordPress 2.1

The new version of WordPress is now available. It offers many new features as well as increased speed and security. Soulcode is in the process of redesigning its template to be 2.1 compatible so look out for our new look coming soon!

How to Enable Cookies

To enable cookies, follow the instructions below for the browser version you are using.

Mozilla Firefox (1.0 final release and earlier)

* Go to the “Tools” menu.
* Select “Options”.
* Select the “Privacy” icon in the left panel.
* Check the box corresponding to “Allow sites to set cookies”.
* Click “OK” to save changes.

Netscape 7.1/Mozilla 5.0

* Select “Preferences” from the Edit menu.
* Click on the arrow next to “Privacy & Security” in the scrolling window to expand.
* Under “Privacy & Security”, select “Cookies.”
* Select “Enable all cookies”.
* Click “OK”.

Microsoft Internet Explorer 6.0+

* Select “Internet Options” from the Tools menu.
* Click on the “Privacy” tab.
* Click the “Default” button (or manually slide the bar down to “Medium”) under “Settings”.
* Click “OK”.

Microsoft Internet Explorer 5.x

* Select “Internet Options” from the Tools menu.
* Click on the “Security” tab.
* Click the “Custom Level” button.
* Scroll down to the “Cookies” section.
* To enable:
o Set “Allow cookies that are stored on your computer” to “Enable”.
o Set “Allow per-session cookies” to “Enable”.
* Click “OK”.

Microsoft Internet Explorer 4.x

* Select “Internet Options” from the View menu.
* Click on the “Advanced” tab.
* Scroll down to find “Cookies” within the “Security” section.
* To enable:
o Select “Always accept cookies”.
* Click “OK”.

Netscape Communicator 4.x

* Select “Preferences” from the Edit menu.
* Find the “Cookies” section in the “Advanced” category.
* To enable:
o Select “Accept all cookies” (or “Enable all cookies”).
* Click “OK”.

Blog vs. Mailing List (Push and Pull)

Blog vs. Mailing List – Which is better? Both blogs and mailing lists may be used to communicate to and among groups of people. This article looks at a few scenarios of use and the differences between these tools. The writer also attempts to help instruct users on how to use a “blog reader”.

Continue reading ‘Blog vs. Mailing List (Push and Pull)’

The Best Hosting?