Post thumbnail of Variable persistence between pre and post sections in kickstart
6 August 2010
Continue reading Variable persistence between pre and post sections in kickstart

Variable persistence between pre and post sections in kickstart

The pre-install is not inside a chroot environment, so whatever variables you set or export are only available for use outside of a chroot. And that’s the problem with the post install section, by default anyway.

Post thumbnail of Kickstart post install tips for customizing your own distribution
2 August 2010
Continue reading Kickstart post install tips for customizing your own distribution

Kickstart post install tips for customizing your own distribution

Record the installation time and date, install files into the system, record installation date and time, find file overlays and installation scripts on a remote file system. You can do a lot with the post installation routine in a kickstart file.

Post thumbnail of Simple php function to check if post variables are set without triggering warnings
13 August 2009
Continue reading Simple php function to check if post variables are set without triggering warnings

Simple php function to check if post variables are set without triggering warnings

If you check the contents of a post variable that never got passed, you get warnings. If you like keeping your verbosity set that high and want to avoid this warning, or you just want to avoid checking against a non-existent variable, try this

Post thumbnail of How to pass multiple post array variables in PHP
6 August 2009
Continue reading How to pass multiple post array variables in PHP

How to pass multiple post array variables in PHP

Now when go.php loads, you can check to see if there’s anything in the post_arr, and if there is, cycle through the array and store all the elements. I couldn’t find a working example of this just by googling. It seemed like tons of people would ask for this, but any responses on forums would be, “well what are you really trying to do”. So here it is.

Powered by Wordpress   |   Lunated designed by ZenVerse