---
title: "Php + dos"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/15380-php-dos"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "LilleSkutt"
published: "2001-03-15T19:19:00.000Z"
updated: "2001-03-16T17:08:00.000Z"
replies: 3
views: 192
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/15380-php-dos"
---

# Php + dos

## #1 — LilleSkutt, 2001-03-15T19:19Z

Kan man på något sätt hämta information från DOS, att lägga in i en variabel? T.ex:

```
$minVariabel = System("ping 127.0.0.1");
echo $minVariabel;
```

Permalänk: https://www.webforum.nu/p/15380

## #2 — spango, 2001-03-15T22:04Z

Faktum är att det du har skrivit sannolikt funkar.

Permalänk: https://www.webforum.nu/p/317688

## #3 — LilleSkutt, 2001-03-16T08:25Z

Nope funkar ej... Man får felmeddelande: **Warning**: Unable to fork \[ping 127.0.0.1\] in **c:\\inetpub\\wwwroot\\temp.php** on line **3**

Vet inte vad den försöker göra eg., vad ska dom med en gaffel till i PHP?! ;)

Permalänk: https://www.webforum.nu/p/317689

## #4 — Batboy, 2001-03-16T17:08Z

Finns omnänt flertalet gånger här <http://www.php.net/bugs.php?cmd=Display+Bugs&status=All&bug_type=Any&search_for=unable+to+fork> 

/j

Permalänk: https://www.webforum.nu/p/317690

---

Tråden på webben: https://www.webforum.nu/amne/php/15380-php-dos
