Hi,
I'm having a strange problem when trying to show a array after its value
was defined on a file that was included. Something like this:
?php
$lang = 'pt_BR';
include('lang/'. $lang .'/login.php');
echo $lang['Username'];
?
On the file lang/pt_BR/login.php i have this...
?php
and not an array.
On Tue, 05 Dec 2006 13:11:12 -0200, Fernando M. M. [EMAIL PROTECTED] wrote:
Hi,
I'm having a strange problem when trying to show a array after its value
was defined on a file that was included. Something like this:
?php
$lang = 'pt_BR';
include('lang/'. $lang .'/login.php
Hello,
I have a script called redir.php that is used only for redirecting
using the following code:
header('Location: ', $_GET['url']);
But
now i need to redirect post varibles too. Example:
If someone access
redir.php?url=my_page.php and post:
a=1b=2
I need to
send this post string (as
Hello,
I have a lot of php scripts that uses date() for some important
operations. Yesterday those scripts were moved to another server which is on an
different timezone. I haven't predicted this so my scripts aren't working
anymore. The
servers timezone is GMT -4 and mine is GMT -2. Is there
I´m using php5 here.
But like i said i have lots of scripts inside this
folder, is there a way to set something on .htaccess to change the timezone?
Fernando M. M. wrote:
Hello,
I have a lot of php scripts that uses date() for some
important
operations. Yesterday those scripts were
Hello,
But like i said i have lots of scripts inside
this
folder, is there a way to set something on .htaccess to change
the timezone?
why? ;-)
Because i can't set
the timezone for every single script. Inside this folder and subfolders i guess
there
are about 10,000 scripts.
What you
Hello,
I have just started using curl and i have some question about
cookies.
The website i'm logging in controls everything using cookies (from
login to the actions inside it).
Is there a way to store the cookie values
into a php session variable ($_SESSION['cookie'])?
How do i make curl
that will teach not to use global include files to init your apps.
even if you we stuck with editing 10,000 scripts (btw it sounds very
fishy
to 10,000 scripts with date() calls in them - can anyone say 'code
reuse'?)
exactly how hard would it be to write something that would go through
Hello,
I have a Java program that gives me a string. When i run this program on the
shell
everything works fine but when i try to run using shell_exec i get
Error occurred during initialization of VM
Could not reserve enough space for code cache
This script is currently on a VPS server with
9 matches
Mail list logo