Page name for form submit: REQUEST_URI or SCRIPT_NAME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a compelling reason to use either REQUEST_URI or SCRIPT_NAMEin the action of a form that I want to submit to the same URL that itcame from (the script parses whether or not there is a Submit to knowif it should display the form or the results). I need a portablesolution, that is why I am not hardcoding it. Also, the users _may_save the form to their hard drives, so simply leaving the action blankwill not do.
I know that REQUEST_URI includes the ?variable=value string and thatSCRIPT_NAME does not. This form does not depend upon get variables, sothis should never be an issue, but I ask here anyway to know if thereare other differences that I did not account for.
Thanks!
-- Dotan Cohen
http://what-is-what.comhttp://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-תا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-يА-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Яа-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-яä-ö-ü-ß-Ä-Ö-Ü

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux