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

  • SEARCH
  • Home
  • 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 8054779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:13:33+00:00 2026-06-05T08:13:33+00:00

I am setting a parameters in my PHP page and need to pass it

  • 0

I am setting a parameters in my PHP page and need to pass it to another WEB SITE, to execute operation on the WEB SITE (i don’t need to get re result). I use header ("location : https://localhost/test=123") but its not executing it and display:

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/script1.php:33) in /Applications/XAMPP/xamppfiles/htdocs/script1.php on line 106

How can i simply just invoke it one time?

if there is solution from bash file,also can help…

  • 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-05T08:13:35+00:00Added an answer on June 5, 2026 at 8:13 am

    You already output content to use header().
    I would recommend:

    $sRemotePage = file_get_contents('https://localhost/test=123');
    

    More here: http://php.net/manual/en/function.file-get-contents.php

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

Sidebar

Related Questions

I need a very fast SQLite database acces. Setting parameters this way: PRAGMA synchronize
What is the recommended way of setting GET query parameters on a Restlet Request
Setting up the multi language site I now need to decide which option I
when i call include once without any GET parameters it works but with setting
I am trying to interact with the NCBO annotator by setting a few parameters,
I have got a locale setting in my app/config/parameters.ini and i would like to
Setting up a custom form. Magento doesn't use the 'value' attribute of addField. Suggestions?
I'm starting with PHP for dynamic web pages. I have some libraries written in
I'm having a problem with a TinyMCE plugin using long GET parameters. On my
I wanted to get the settings of the current installed PHP on my server.

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.