Often, in batch files script, you may have the need to have administrator privilegies to execute all the instructions in the script.
Let’s modify our Hello World program.
Instead of writing “Hello World” as the output, we want it to write “Hello Name” where name is a parameter we provide to the function hello_world.
The original code is the following:
Last week, I wrote, compiled and run our first erlang program.
Take a look at Erlang setup and hello world.
To do that, I had to launch the erlang shell.
If I want to launch the hello.erl program from the bash shell, erlang provides to switches: -s and -run.
This summer I’ve decided to learn ERLANG, so I’ll publish some posts about this argument.
First of all, I had to install Erlang. On my debian virtual machine, the installation of erlang is a one step operation.
$ sudo apt-get install erlang
If you perform an insert into a mysql database table containing an AUTO_INCREMENT field, you can retrive the ID of the last inserted record without execute any query.
Let’s start with an example.
In your MySQL DB create a new table as follows:
Some days ago I switched my php application to another hosting.
All seemed to work properly, but one thing no. Just a little thing……
The Authorization header was not picked by the apache_request_headers() function.
The problem comes from the use of PHP and FastCGI over Apache2.