PHP not loading all lines - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: PHP not loading all lines (/showthread.php?tid=7414) |
PHP not loading all lines - jhonny - 2014-07-24 12:26 Hi Guys, Me again, with some more PHP woes... Just wondering, i've got iPXE booting into a php file ... Code: if ($job==03) The problem is only the first 3 lines of code in the IF statement execute and then ipxe exits out to ipxe menu. The last line of code including the echo "kernel.." doesn't run. RE: PHP not loading all lines - jhonny - 2014-07-24 14:00 I found the resolution to the problem. I removed the ( ) around Automatic and it started working RE: PHP not loading all lines - robinsmidsrod - 2014-08-01 16:13 Your problem wasn't just that - you're trying to run a command called "append" in an iPXE context. You're mixing up PXELinux and iPXE syntax. If you remove the "append" from that initrd line and add an additional "boot" command after the kernel line it should probably work as expected. |