![]() |
php script from a browser
Hello! Suppose that a php script exists in a server and i have access as a client.that script has 4 args first and second are char args third and forth are int args. If i want to run that script from my browser what syntax i have to use?
|
Re: php script from a browser
PHP scripts are run directly using the browser URLs
|
Re: php script from a browser
You need to know the url variables. If you know that you can then add values to them. Example url
Code:
http://www.mysite.coom/index.php?uid=0000001&sid=1the variables would be retrieved like so PHP Code:
PHP Code:
|
Re: php script from a browser
Pein87 first of all thank you! Could you explain me more about post method? If my script uses a post method how can i change the variables. I tried to make a post form in my pc,that uses the full url of the script that i want as an action. But every time, the browser is trying to find the url in the root directory that i placed my script.//ex C:/Users/mikeb/Desktop/
|
Re: php script from a browser
Quote:
Another way of doing it is to simply make a simple form like :- You can do this by using Firebug a great addon for mozilla Code: html
|
| All times are GMT +5.5. The time now is 19:33. |