simple PHP code needed
Posted: Tue Nov 08, 2005 5:58 pm
Hello to all PHPers!
I have just started learning this amazing coding language and I need some help with one particular task i have now.
I need a kind of solution or at least an idea how to do the following:
There is an existing URL link generated dinamicaly by a server. At the end of this link a number (6 digits) that can be changed. I can put any number at the end of this given URL to extract some particular details as every number is associated with its records in a database.
Due the fact that I don't have any access to a database that can accept a number and post a HTML page based on that request I have to get a way around it to automate some processes.
I've come up with this and not sure if it possible to implement in either PHP or CGI:
1. integrate a given URL into a script in the way it could accept a 6 digit number from front PHP interface.
2. create request field for this 6 digit number on existing HTML page.
3. Once the number is entered and proccessed the complete URL is run and generate a responce in HTML.
Expected results: An entered 6 digit number will be attached to an URL by PHP script and the result posted as normal HTML page.
I'd appreciate if someone could advise if it is possible to do and direct me to a solution.
Thanks
I have just started learning this amazing coding language and I need some help with one particular task i have now.
I need a kind of solution or at least an idea how to do the following:
There is an existing URL link generated dinamicaly by a server. At the end of this link a number (6 digits) that can be changed. I can put any number at the end of this given URL to extract some particular details as every number is associated with its records in a database.
Due the fact that I don't have any access to a database that can accept a number and post a HTML page based on that request I have to get a way around it to automate some processes.
I've come up with this and not sure if it possible to implement in either PHP or CGI:
1. integrate a given URL into a script in the way it could accept a 6 digit number from front PHP interface.
2. create request field for this 6 digit number on existing HTML page.
3. Once the number is entered and proccessed the complete URL is run and generate a responce in HTML.
Expected results: An entered 6 digit number will be attached to an URL by PHP script and the result posted as normal HTML page.
I'd appreciate if someone could advise if it is possible to do and direct me to a solution.
Thanks