Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8965091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:44:17+00:00 2026-06-15T16:44:17+00:00

I m building a mail parser script that will fetch content from a mail

  • 0

I m building a mail parser script that will fetch content from a mail box
and send few “update” requests to the a WebPage backend(on Zend_Framework).

The idea is to have the mailChecker.php file stand alone and to call it with Cron Job.

All works good until I try call the update url:

file_get_content("http://mySite.com/update-item/id/1");

The framework redirects my request to the Login Form …

What would be the cleanest way fix this?
I don’t wont to edit too much the login functionality

Is there a way to skip the authentication check for specific request?
(security is not a big issue here)

Or a easy way to create a session for my stand alone script before I call the updates:
file_get_content(“http://mySite.com/easy-auth/admin/admin”);

Looking for a simple / ugly solution, I don’t wont to edit the current Authentication too much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:44:19+00:00Added an answer on June 15, 2026 at 4:44 pm

    Why not to authenticate as you normally do prior to calling the update url? If there is a simple session based authentication, you could curl the login action passing login details and enabling cookie jar. And then curl again to get data from update script.

    Another solution, if there are really NO security requirements, just disable authentication checks for incoming requests from localhost.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a system that will send verses of scripture to subscribers over e-mail.
I'm building an application that send an e-mail to admin recipient. In development, it
Building an iPhone OS application that will allow users to anonymously post information to
I'm building an application that opens existing mail messages in Outlook. The user may
I'm building a tool that analyzes Gmail specific folders (e.g. '[Gmail]/All Mail', '[Gmail]/Spam'). It
I'm building a Zend-based Web app that will permit third-party extensions. Essentially, this application's
I am building a library that will be used in several Python applications. It
I am building a simple e-mail application to send emails to a list of
I'm building a CakePHP website that sends an e-mail like this: $email = new
I am building a site that will allow notifications/alerts defined by the user. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.