PogoCheats Forum

Pogo Cheats => Technical Help => Topic started by: JeffCoKid on February 12, 2004, 12:01:38 PM

Title: CHMOD 777
Post by: JeffCoKid on February 12, 2004, 12:01:38 PM
I am in the process of installing yaBB SE on my site, but what does it mean when they say CHMOD the folder? And what do I need to do? I have looked all over in my ftp options for CHMOD and cant find a dern thing.
Title: Re:CHMOD 777
Post by: badcrazygirl on February 12, 2004, 02:05:14 PM
I have no clue  ??? lol.
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 03:26:32 PM
The CHMOD folder in what context?  I've never installed YaBB... So I don't know right off the top of my head, but if you say in what context I may be of more use...

BTW... How is the PHP working?
Title: Re:CHMOD 777
Post by: Zymic on February 12, 2004, 05:23:21 PM
To chmod your folder you must right click on the folder and see if there is an option that says CHMOD this works on cuteftp so I would try that, I have installed many forums.
Title: Re:CHMOD 777
Post by: JeffCoKid on February 12, 2004, 06:15:38 PM
I got it all working and have setup my own message forum for my site. I will release it tomorrow.

and the PHP is going well... except for the redirect.... i cant figure it out.
Title: Re:CHMOD 777
Post by: admin on February 12, 2004, 06:25:06 PM
What kind of redirect are you having problems with?
Title: Re:CHMOD 777
Post by: JeffCoKid on February 12, 2004, 07:13:24 PM
well, when people hit the submit button in my form that I have for my quill signatures, I want it to send me teh mail, which requires it to read the php code that I have... and I get the mail.... but I want it to take you guys to the payment page, http://www.jeffcokid.com/quillpay.htm
so thats all I have left to do with that.
Title: Re:CHMOD 777
Post by: admin on February 12, 2004, 07:37:21 PM
I think you can just add the php to http://www.jeffcokid.com/quillpay.htm (and make it .php) and then change the forum action to quillpay.php. This should make it go to that page when you hit submit.  :)
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 07:40:41 PM
<?
 
 $message= "";

 //steps through each field past through the post headers and compile them into a message string.
 for(reset($HTTP_POST_VARS); list($name, $value) = each($HTTP_POST_VARS);)
 {
     $message .= $name.": ".$value."\r\n";  // the "." concatanates strings together.
 }

 //send out the email.  PARAM1=Send email to.  PARAM2=Subject. PARAM3=Email body message. PARAM4=email headers (In this case specifying what it should do if someone attempts to reply to the email-it just sends it right back to jeffcokid@bresnan.net)  
 mail("jeffcokid@bresnan.net", "Quill Signature Order", $message, "From: applicant \r\nReply-To: jeffcokid@bresnan.net\r\n");

 //This is where you want to redirect to after the form has been submitted...
 header("Location: http://www.jeffcokid.com/quillpay.htm");
 
?>

This is the code he's using for his form... He says that the header() command doesn't seem to redirect his site... The only other thing I really know to do to "redirect" it is to write in HTML the code for the new page up the PHP ender ?> ...
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 07:42:29 PM
The only other problem in that code that I could find was that his PHP starter didn't go <?php ... Those were the ideas I came up with...
Title: Re:CHMOD 777
Post by: admin on February 12, 2004, 07:47:42 PM
If all else fails, you can always do <META HTTP-EQUIV="refresh" CONTENT="1; http://www.jeffcokid.com/quillpay.htm">.

But whats wrong with just making the <forum action quillpay.php> in the html, and adding the php to quillpay.php? Won't that make it take you there when you submit?
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 07:52:16 PM
Maybe I'm not totally understanding P but right now his form action goes as follows (This is in the actual HTML of his form)

<form action="http://www.jeffcokid.com/form.php" method="post">

So that code that I posted up is titled form.php... Can you have 2 form actions?  And if its making a call to one PHP file it shouldn't it be possible to do what you are saying all in one file?
Title: Re:CHMOD 777
Post by: JeffCoKid on February 12, 2004, 08:01:57 PM
OK, you may feel free to delete all these posts lol besides the ones with the code hehe

Fatkid, I am very apologetic for the head ache I may have caused... I missed your code <?php


That worked... its all working!!!!!!!! wooooooo hooooooo

Thanks a ton!!
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 08:04:12 PM
Does that mean I can get my very own free quill sig...  ;)
Or maybe a years free hosting? lol
Title: Re:CHMOD 777
Post by: JeffCoKid on February 12, 2004, 09:25:16 PM
I can do a free quill signature... cant do the web hosting... YET hehe


Go ahead and fill out the form fatkid.
Title: Re:CHMOD 777
Post by: fatkid on February 12, 2004, 09:39:02 PM
Sent it through  ;D  Thanks!
Title: Re:CHMOD 777
Post by: JeffCoKid on February 12, 2004, 09:46:35 PM
Not a problem. (so glad the form works...  ;D)