Post archive for ‘PHP’
Great AMFPHP security resource ( French )
http://wiki.mediabox.fr/tutoriaux/flash/amfphp_securite_et_authentification
( look for “secure.php” for an excellent example of code )
Categorized as Flash, Flex, PHP
When Apache ( Xampp ) refuses to start
You got to open the command promt on WinXP and type ( with quotes )
“C:\Program Files\xampp>xampp_start.exe”
If that doesn’t work you can drag the xampp_start.exe from your installation folder onto the command promt and press ENTER. ( this works for other stuff to, try it )
This will give you more information on why things fail, it [...]
Categorized as General, Hosting, PHP, Software
The story of compound keys
Short story: I needed a table that could visualize the relation between two other tables ( services & portfolio ). So I set up a “join table”; a table that has two columns: service_id and portfolio_id. Each column contains a foreign key ( services.id and portfolio.id ).
Now, what you normally do is add [...]
Categorized as Coldfusion, PHP, Ruby On Rails
Safe mode quirks ( PHP )
When working on an upload script I came across an error: “Warning: mkdir(): SAFE MODE Restriction in effect”. Luckily this post came to the rescue. Long story short: use this code snippet to avoid this annoying problem.
Categorized as PHP