Jump to content

BloodyMind

Members
  • Posts

    98
  • Joined

  • Last visited

    Never

Everything posted by BloodyMind

  1. you can set a session variable, that the order with ID XXXXX was processed or reached some state, and skip the process to the next step
  2. I would recommend storing only the product ID, and retrieve the price from the database I assume every product has an ID and the order page, which set this product to purchase The order page has to set the purchased product ID with the new ID not the existing one, in case the user had returned and picked another product
  3. @fugix What version are you using, because its closed by default since php 5.2, and you have to have both directives on allow_url_fopen and allow_url_include it was closed because it is a major security risk, if you got it @fugix try to close it, for your server's security for reference, study something from the manual: http://php.net/manual/en/filesystem.configuration.php
  4. you cannot include a URL you should include a file not a url, for instance /var/www/a-file.php you can include that file, but force the $_GET with the keys you want. and you cannot use return without a function if you want to use job-details both way, then force the $_GET vars $_GET['job']='jobname'; $_GET['city']='thecity'; include_once 'php/job-details.php'; but if you don;t need to execute job-details.php directly from the browser, then just set the job and city vars as normal variables not $_GET and read them in the other file. I'd recommed that you read more about php I hope my reply was helpful Goodluck
×
×
  • 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.