shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell com php


From: Leandro Venturini
Subject: shell com php
Date: Tue, 15 May 2007 12:13:39 -0300
User-agent: Thunderbird 1.5.0.10 (X11/20070403)

/Oi Lista

preciso passar umas variáveis do php pro shell alguem saberia me dizer como eu 
faço ?
se eu usar o /shell junto com o php no exemplo abaixo as variáveis são usadas 
em ambas delimitações de código ?

Leandro


/
#!/bin/bash
echo This is the Bash section of the code.
$var1 

/usr/local/bin/php -q << EOF
 
<?php

$var1 

   print("ola \n");
 
?>



[As partes desta mensagem que não continham texto foram removidas]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]