Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

286
Views
Definición de variables $_SERVER dentro de const

Estoy tratando de definir una constante pero rompe mi script. Puedo definirlo en una variable estándar absolutamente bien, sin errores, pero tan pronto como trato de definirlo con la función const ya no funciona, aquí está mi código.

const URL_ACTUAL = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!