Skip to content
Advertisement

Tag: web

Powershell to PHP script

I’m on a PowerShell script which return me information from distant servers I want to enter this information in a database by passing it to PHP PowerShell: $postParams = @{ “site” = $…

How to change the colors of xdebug output?

The red and yellow standard colors of xdebug can hurt your eyes after a few hours. http://www.designified.com/blog/article/76/restyling-xdebug-output describes how to replace the style with javascript requiring jquery. I was looking for a more straight forward way and finally found one. Answer The solution is the !important tag, it overrides the existing style values. Use the following css code to avoid

PHP SESSION variable get’s deleted each reload

Does anybody know what can cause the $_SESSION variable to be cleared? The session variable is used to keep track of products in the cart. Everything worked perfect on the development and production server. Out of a sudden the production server looses the session variable – without any changes updated. The production server is hosted with 1&1. I added some

add existing pdfs to fpdf

Is there any function that I could call in order to include an existing pdf in my fpdf file? For example $pdf->AddPage(from file example.pdf); something like that? is it posible?

Advertisement