Ask a Question related to PHP Development, Design and Development.
-
tobias #1
BASIC HELP on php
I am new in programming with PHP.
I wrote the following code:
file name: output.php
<?php echo $texto; ?>
And I call it on my browser like:
[url]http://localhost/cgt/output.php?texto=testing[/url]
The response in my browser is:
Notice: Undefined variable: texto in C:\Inetpub\cgt\output.php on line 1
Can anybody help me?
Lots of thanks.
(you can reply to my email address.)
tobias Guest
-
FMS BASIC HELP PLEASE
I am a newb but learning, im wanting to know if i can have a 2 way webcam chat installed on a clients website, hosted from my own pc? if so whats the... -
Basic SQL
I have this bit of code: <cfif day eq '_1'> <cfquery name = "update" dataSource = "KFS"> UPDATE tbl_Legends SET _1 = '#description#' WHERE... -
3D basic
I'm having some problems in 3D basic programming: 1. how can i remove one or more model in a 3D sprite on the stage? 2. how can i get the model's... -
Dark basic pro VS blitz basic 3D VS 3d game studio VS shockwave VS jamajic
What are all your thoughts on the other leading 3D indi game creation packages out there? Are there others that I didn?t mention? here are a few... -
very basic
hi all i am quite new to lingo and got a basic problem i ve 5 buttons b1,b2,b3,b4,b5 and i ve 5 movies in the cast m1,m2,m3,m4,m5 simply i... -
sotto #2
Re: BASIC HELP on php
On Sat, 23 Aug 2003 15:13:44 -0700, tobias wrote:
> I am new in programming with PHP.
>
> I wrote the following code:
>
> file name: output.php
>
> <?php echo $texto; ?>
>
> And I call it on my browser like:
> [url]http://localhost/cgt/output.php?texto=testing[/url]
>
> The response in my browser is:
> Notice: Undefined variable: texto in C:\Inetpub\cgt\output.php on line 1
>
> Can anybody help me?
> Lots of thanks.
>
> (you can reply to my email address.)
That's because of a setting in php.ini ... REGISTER_GLOBALS = OFF ...
<?php echo $_GET['texto']; ?> will work though
hth,
sotto
sotto Guest
-
sam #3
Re: BASIC HELP on php
You have register_globals set to off in your php.ini file.
user $_GET['texto'] instead of $texto.
HTH
"tobias" <tobias@sabadellpisos.com> wrote in message
news:165e4477.0308231413.2b589a3f@posting.google.c om...> I am new in programming with PHP.
>
> I wrote the following code:
>
> file name: output.php
>
> <?php echo $texto; ?>
>
> And I call it on my browser like:
> [url]http://localhost/cgt/output.php?texto=testing[/url]
>
> The response in my browser is:
> Notice: Undefined variable: texto in C:\Inetpub\cgt\output.php on line 1
>
> Can anybody help me?
> Lots of thanks.
>
> (you can reply to my email address.)
sam Guest



Reply With Quote

