- output/'$push'");
- shell_exec("cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
-
- if(isset($_POST['chicagoOlives']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/chicagoOlives.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/chicagoOlives.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
-
- if(isset($_POST['cleanMetropolis']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/cleanMetropolis.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/cleanMetropolis.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
-
- if(isset($_POST['ohioCustard']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/ohioCustard.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/ohioCustard.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
-
- if(isset($_POST['raleighAroundMe']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/raleighAroundMe.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/raleighAroundMe.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
-
- if(isset($_POST['earlyCupertino']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/earlyCupertino.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/earlyCupertino.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
+
- output/'$push'");
- shell_exec("cat output/defaultIsKing.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/defaultIsKing.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
- if(isset($_POST['strengthInNumbers']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/strengthInNumbers.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/strengthInNumbers.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
- if(isset($_POST['thatMagazine']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/thatMagazine.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/thatMagazine.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
- if(isset($_POST['cuppertinoIsh']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/cuppertinoIsh.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/cuppertinoIsh.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
- if(isset($_POST['lazyProfessor']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/lazyProfessor.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/lazyProfessor.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
-
+ // sleep(1);
+ ?>
-
+
- if(isset($_POST['redmond2003']))
- {
- $_SESSION['pres'] = uniqid('pres', true) . '.md';
- $_SESSION['push'] = uniqid('push', true) . '.md';
- $_SESSION['convert'] = uniqid('convert', true) . '.md';
- $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf';
+ output/'$push'");
- shell_exec("cat output/redmond2003.md output/'$push' > output/'$convert'");
- shell_exec($conversion);
- // sleep(1); ?>
+ shell_exec("echo '$userMarkdown' > output/'$push'");
+ shell_exec(
+ "cat output/redmond2003.md output/'$push' > output/'$convert'"
+ );
+ shell_exec($conversion);
+
+ // sleep(1);
+ ?>
-
+
-
+
@@ -379,7 +430,7 @@