PlayBuddy
November 22, 2024, 01:00:17 PM

This week's Club Pogo challenges!
Bookworm HD : Spell 85 4-letter words this week! [Download Cheat]
Jigsaw Treasure Hunter HD : Score 600 points this week! [Download Cheat]
Snowbird Solitaire : Win 16 games with more than 3 cards remaining in your stock pile this week! [Download Cheat]

Main Menu

CHMOD 777

Started by JeffCoKid,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeffCoKid

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.

badcrazygirl


fatkid

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?

Zymic

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.

JeffCoKid

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.

admin

What kind of redirect are you having problems with?

JeffCoKid

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.

admin

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.  :)

fatkid

<?
 
 $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 ?> ...

fatkid

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...

admin

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?

fatkid

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?

JeffCoKid

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!!

fatkid

#13
Does that mean I can get my very own free quill sig...  ;)
Or maybe a years free hosting? lol

JeffCoKid

I can do a free quill signature... cant do the web hosting... YET hehe


Go ahead and fill out the form fatkid.

fatkid


JeffCoKid

Not a problem. (so glad the form works...  ;D)

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

 Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:

Shortcuts: ALT+S post or ALT+P preview