Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

302
Vistas
Fetching value from URL, Commentics

I have a little problem with programming.

I'm trying to make a website in which people could leave their humble opinions about each other.

I was looking into one page, http://numeris.info and they seem to use very simple but also very good which would suit my needs. basically, you type in after / number and it gives info about it from database, for ex :myawesomepage.co.uk/1234567890 I'm using Commentics review system if that helps. it fetches all data with identifier

$cmtx_identifier = 'x';

Is it possible somehow to fetch the digits from URL after slash and put them instead of x ? and, if the digit doesnt exist in system, is it possible to 'create' a page?

Sorry if its to many questions, I'm just trying to learn programming, and many thanks

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Your .htaccess

RewriteEngine On
RewriteRule ^([0-9]+)/?$ page.php?id=$1 [QSA,L]

Your page.php

<?php
$id = (int) $_GET["id"];
var_dump($id)
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda