Ver Mensaje Individual
  #6 (permalink)  
Antiguo 19/06/2014, 18:18
voope
 
Fecha de Ingreso: enero-2011
Mensajes: 10
Antigüedad: 13 años, 3 meses
Puntos: 0
Respuesta: Como agregar una / despues de ' . xxx;

Respuesta: Como agregar una / despues de ' . xxx;

Cita:
Iniciado por Italico76 Ver Mensaje
mmmm... no esta mal....... si LICENCE_KEY es una CONSTANTE:

Código PHP:
Ver original
  1. <?php
  2. define ('LICENSE_KEY','RESULTADO-ESTE');
  3.  
  4. $url = 'http://cuevanascript.com/license-validation/' . LICENSE_KEY;
  5. echo $url;

Pero dependiendo lo quieras hacer.......

Código PHP:
Ver original
  1. $url = 'http://cuevanascript.com/license-validation/' . 'LICENSE_KEY'

o

Código PHP:
Ver original
  1. $url = 'http://cuevanascript.com/license-validation/' . $LICENSE_KEY;

o

Código PHP:
Ver original
  1. $url = "http://cuevanascript.com/license-validation/$LICENSE_KEY";
no me explique bien quiro que al resultado final se le agrege /

$url = 'http://cuevanascript.com/license-validation/109xrurqqnf9ifgbi3263sc2grhwps6p/;

esa barra la quiero agregar despues de . LICENSE_KEY;