ok, I'm not sure how to explain this but here goes..
I have a php script being used as a cgi to get around certain permission
issues.
Its not what I wanted but is basically working. Running through the cgi-bin
has been
much more difficult however, for example,
1. I need to clear or reset the
I am using php as a cgi. The data from my html is piped through stdin using
this code:
?
$fp=popen(cat,r);
$str=fgets($fp);
print $str;
?
The result I am getting looks like this: (which is correct)
sender_name=zedleon[EMAIL PROTECTED]sender_msg=This+is+a
+testSubmit=Submit
What I need to do now
I am using php as a cgi. The data from my html is piped through stdin using
this code:
?
$fp=popen(cat,r);
$str=fgets($fp);
print $str;
?
The result I am getting looks like this: (which is correct)
sender_name=zedleon[EMAIL PROTECTED]sender_msg=This+is+a
+testSubmit=Submit
What I need to do now
I am running a php script as a cgi so to be able to run under my user name.
The script seems to be working except for one major problem.
the cgi script is not finding the variables passed by the html form...
Any suggestions on how to make this work?
Any help is greatly appreciated -
zed
--
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
zed
zedleon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
/h1
p align=centerYour secret message has been sent./p;
?
zedleon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am running a php script as a cgi so to be able to run under my user
name.
The script seems to be working except for one major problem.
the cgi script is not finding
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
zed
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
Did you put the semi-colon
Thanks for the help John...That's more information than I had before..
I will keep working at it..
Zed
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
Don't know
Has anybody had success using PHP and GPG to send encripted email from a
form?
Seems like people avoid this issue like the plague. Very little is written
about it.
I am trying to get a script to work that was written in the book php
essentials by Julie Meloni.
Am I barking up the wrong tree? Any
I just corrected the code...I had it correct but posted it in correctly.
$fp = fopen(home/path/temp w+);
puts($fp, $msg);
fclose($fp);
Still getting the same warning...
Thanks
zedleon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Has anybody had any experience in resolving
the
instances of the variables from the checkboxes. When they are selected, they
are present.
I really don't know what to do about correcting the problem. Any guidance
here would really be appreciatedand...go easy on me...I am new to PHP
Thanks before hand...
zedleon
--
PHP General Mailing List (http
values?
-Good Luck
On Aug 17, 2005, at 12:15 PM, zedleon wrote:
I previously built a sticky form with dynamic checkbox
array's.
The form works beautifully thanks to help from Jochem Mass and
Kathleen
Ballard.
I now have a slightly different problem...I have built an email
'input name=gmev[] type=checkbox id=gmev',$checked,'/December
9th';
?
thanks
zedleon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am new to php and am in need of some guidance
I am building a sticky form and am having trouble bringing in the data
fields for
checkbox's and radio button's. Any help on how to do this would be
appreciated
HTML form sample
input name=gmev[] type=checkbox id=gmev value=September 9th/th
PHP
I am having trouble finding the parser error in this small test script. Any
help would be appreciated
I am pulling in an array from this html form.
form action=/testarray.php method=post
pEvent Name: input type=text name=name size=30 //p
pWeek Days/p
input type=checkbox name=weekdays[]
16 matches
Mail list logo