|
|||
|
Hi,
I am using a HTML input form to get books information. If i give the action URL like "index.php" then it goes to different page. Can anyone tell me what we have to give in the action url. -Mugesh. |
|
|||
|
If i am doing "Update" option, the current url will be like this.
http://localhost/html/user/edit/id/3. While giving "update" button, the action url will be "../../../update" and submitted with "update" key. I just added this "../" to remove the curren url keys.Is this correct?. So, finally the url will be like this: http://localhost/html/user/update/. -Mugesh. |
|
|||
|
Hi,
I have created some basic files for ZF using html,applications,library folders. Then the url was like this. http://localhost/html/user/add And now i just removed the "html" folder and placed all the "html" folder files in the root directory itself. So, If i am trying to access the same like above action url, it is not functioning. http://localhost/user/useradd/ (without html directory). But if i use the index.php/controller/actionkey Then its working. How to solve this. http://localhost/index.php/user/useradd/ Anyone plz tell me one solution. - Mugesh. |
|
|||
|
Quote:
If you start out your url with '/' you do not need to keep jumping to the parent level. Every URL you use is going to be relative to your bootstrap file (index.php). http://localhost/html/user/edit/id/3 PHP Code:
PHP Code:
Last edited by notrub225 : 02-27-2008 at 02:56 AM. |
|
|||
|
Quote:
Do not place the 'html' files on the same level as 'application' and 'library'. Place them back in the folder 'html', then configure your server to have /html/ be the DocumentRoot. HOWTO Set Apache Web Site Root Directory |
|
|||
|
Give the action to the page you are having the form i guess this would be the correct format.
__________________
Affordable Web Hosting Coupons Free Domains Hosting Coupons Promo Web Hosting Choices |
|
|||
|
I need to find a way to use the <Form action="--------"> to put something in those tags and when you click submit, the results change into a file and they go to me.
Is there a way to do that? I use Apple iWeb © and I'm pretty sure there is not a way to create a URL into the Action part of the Form. I have already made a form, I just need a way to figure out how to see everyone's results after they click "Submit". There are a lot of ways I'm sure, but I just want an easy one without using a database, if possible. If it isn't, I'll use one, but I just wanna see the results. Any suggestions? -Jelvis |
![]() |
| Thread Tools | |
| Display Modes | |
|
|