Merhaba herkes bir sorun var.
I have made a script where user submits a details. Details are saved to database and a exec is called after they are saved. The background scipt that is called is a php script that I call it via exec with wget:
session_write_close();
@exec('wget -q -o /dev/null -a /dev/null -O /home/linux/test.txt http://127.0.0.1/admin/install.php?s=' . session_id() . ' > /dev/null 2>&1 &');
script veritabanını sorgular ve tepki için kıvrılma ve bekler harici url bazı parametreler nakleder.
Uçlarının üzerinde komut dosyası komut dosyası yürütülmesine kadar webserver: Ben başka bir php sayfası (127.0.0.1 bekliyor durum çubuğu gösterileri) açamadı duyuyorum. Web siteme başka şeyler yaparken İstediğim arka planda çalıştırmak.
Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at 127.0.0.1 Debian Linux distro. Server API CGI/FastCGI