Ik ben begonnen met PHP en dat gaat redelijk vlot maar nu kom ik het volgende tegen:
Relevante informatie:
index.php:
editdb.php:
store.php, addstock.php:
Nu geeft PHP_SELF als resultaat: index.php i.p.v. store.php of addstock.php
terwijl eigenlijk The filename of the currently executing script, relative to the document root zou moeten staan.
Als ik index.php wil zou in principe de request_uri variabele moeten daar staan maar dat wil ik niet.
BTW: Globals staat gewoon op aan (het enigste dat ik veranderd heb in php.ini) de rest is standaard rh9 installatie (standaard php.ini dus)
Relevante informatie:
index.php:
code:
1
| include editdb.php |
editdb.php:
code:
1
2
| include store.php include stock/addstock.php |
store.php, addstock.php:
code:
1
| echo "<form method=\"post\" action=\"" . $_SERVER['PHP_SELF'] . "\">"; |
Nu geeft PHP_SELF als resultaat: index.php i.p.v. store.php of addstock.php
terwijl eigenlijk The filename of the currently executing script, relative to the document root zou moeten staan.
Als ik index.php wil zou in principe de request_uri variabele moeten daar staan maar dat wil ik niet.
BTW: Globals staat gewoon op aan (het enigste dat ik veranderd heb in php.ini) de rest is standaard rh9 installatie (standaard php.ini dus)
[ Voor 22% gewijzigd door Guru Evi op 09-10-2003 21:20 ]
Pandora FMS - Open Source Monitoring - pandorafms.org