Hi guys! Thanks a lot for helping me yesterday. But now I have a new problem. I have a module in joomla which I write PHP code in.
[PHP]$thisfile ="http://192.168.1.38/demotest/index.php?option=com_content&task=view&" . "id=" . "$id" . "&Itemid=" . "$itemid";[/PHP]
$id and $itemid are variables that tells me what to call on (the page I am on). the address I get when I print out is "http://192.168.1.38/demotest/index.php?option=com_content&task=view&id=12&Itemi d=26"
which is the current address I am on.
$thisfile is supposed to work in my form like this:
[PHP]<form id="form1" name="frmname" method="post" action="<? echo $_SERVER['$thisfile']?>">[/PHP]
But when I fill something in my form, and press submit, I get the following error: "The requested URL was not found on this server. The link on the ">referring page seems to be wrong or outdated. Please inform the author of ">that page about the error. If you entered the URL manually please check your spelling and try again."
I have tried to change the code, change the $thisfile, but I can't seem to fix it. It worked before :-(
What I want to do is call on itself, so I can fill out the form, submit it, and reload it.
Can anyone see anything wrong?
Phopman