Jump to content

Attn MODS: There is a posting error on your site


Recommended Posts

Yes, there is an error when you attempt to post certain code. I tried to fill out the "contact us" form but that also errors out on this same code. Please PM me an e-mail address that I can send this info to so that it can be corrected on the site. Thanks again.

-Curly

Here is a screen shot of the error I am getting...

[img src=\"http://70.85.214.2/~onthego/images/PhpFreaksError.JPG\" border=\"0\" alt=\"IPB Image\" /]
Link to comment
Share on other sites

Moved to the @phpfreaks.com forum. Always try to find the best forum for your topic before posting.

Look at the following thread.
[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=90469\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=90469[/a]

If you're posting code with file functions some have said that changing the function names in some way allows the post to go through. Mention the change to the user you're trying to help of course.
Link to comment
Share on other sites

[!--quoteo(post=374515:date=May 16 2006, 08:44 PM:name=shoz)--][div class=\'quotetop\']QUOTE(shoz @ May 16 2006, 08:44 PM) [snapback]374515[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Moved to the @phpfreaks.com forum. Always try to find the best forum for your topic before posting.

Look at the following thread.
[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=90469\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=90469[/a]

If you're posting code with file functions some have said that changing the function names in some way allows the post to go through. Mention the change to the user you're trying to help of course.
[/quote]

There is definetely an error though on this site. It has to do with something to do with Curl.

I am not sure why I did not think of it earlier but here are steps on how to "recreate this error"....

[a href=\"http://70.85.214.2/~onthego/PhpFreaksError.txt\" target=\"_blank\"]http://70.85.214.2/~onthego/PhpFreaksError.txt[/a]
Link to comment
Share on other sites

[quote]
There is definetely an error though on this site. It has to do with something to do with Curl.
[/quote]
Did you read the thread I linked to? if not, read through it before replying.

Btw In the following, note the removal of the "e" in the curl_exec.
[code]
<?

    ######### Set up field values #########
    $fields = "authmethod=userpassword&";
    $fields .= "locale=en_us&";
    $fields .= "usr_name=username&";
    $fields .= "usr_password=password&";
    $fields .= "hiddenuri=/online/logon/on_successful_logon.jsp?LOB=COLLogon&";
    $fields .= "LOB=COLLogon";

    $agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)";
    $ref = "https://chaseonline.chase.com/colappmgr/colportal/prospect?_nfpb=true&_pageLabel=page_logonform";


    ######### Prepare curl settings and variables #########
    $ch=curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://chaseonline.chase.com/siteminderagent/forms/formpost.fcc");
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
    curl_setopt($ch, CURLOPT_TIMEOUT, 120);
    curl_setopt($ch, CURLOPT_USERAGENT, $agent);
    curl_setopt($ch, CURLOPT_REFERER, $ref);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
    $buffer = curl_xec($ch);
    echo $buffer;

?>
[/code]
Link to comment
Share on other sites

There is a security script on this site which monitors the POSTed data being transmitted to the site and if it sees certain bits of code in the POSTed data then it thinks you are attacking the site and so you get that forbidded error message.

If you want to post your code I would recommend you to post your code on a site called [a href=\"http://www.pastebin.com\" target=\"_blank\"]http://www.pastebin.com[/a].

When you go to that site make sure the [b]syntax highlighting[/b] drop down box has PHP selected. Now paste your code into the textbox underneath the drop down list and click the Send button your PHP code with be highlighted and displayed with line numbers. Now copy thge URL from the Address bar and paste that url into your post and just refer to the link when posting about your question/problem with the PHP script.

Again this is not an error but a security script running on the server to help protect phpfreaks from hackers as we did get hacked a whiled back.

Thread closed threre has been plenty of threads posted about this issue please read those before posting a new thread about the same issue.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.