Clarification of Question by
rayzuntheterrible-ga
on
03 Mar 2004 17:45 PST
Perl CGI program is fine and would be accepted
wow if you can complete the scriptplus to do the following:
points you mentioned
1. - yes
2. - yes
3. always the same one, hard-coded in the script.
example: http://domain.com/text-field-input-here/
4. chmod 777 to all text files in one specific folder.
example: http://domain.com/text-field-input-here/update/text/
---done----
Although not mentioned in original post, I need to request actions.
I would have added this in the initial question however, describing it
did not make much sense to me. My perl knowledge is limited to posting
to an .txt file and retrieving.
And I will surely repost my question adding 10 to the list price.
So here it goes...
The text field entered from the form, I would like it place inside an
cookie (php),
this cookie script is in the html of index.php file of the new folder.
example:
http://domain.com/text-field-input-here/index.php
the cookie...
<?php
// This cookie expire at midnight, May 15, 2007
setcookie( "testcookie", "text-field-input-here", mktime(0, 0, 0,
5, 15, 2007) );
setcookie( "testcookie-email", "text-field-input-here@domain.com",
mktime(0, 0, 0, 5, 15, 2007) );
?>
placing cookie...
<?php
echo "$HTTP_COOKIE_VARS[testcookie]";
echo "$HTTP_COOKIE_VARS[testcookie-email]";
?>
###
note
The text field.
I have an ecommerce website, and my customer does initially name this new folder.
The name is input as an product option before adding item to the shopping cart.
Our shopping cart is made in cgi.
example:
shop/USA/cart.cgi
shop/USA/cartconfig.cgi
Is it at all possible to start here?