
August 2nd, 2004
01:03 PM
more noobish and stupid question
can someone tell me what "." means or what ".." mean.. or maybe ""?
it'll be appreciated if you can explain it to me or give me a tutorial page ..thanx
also does anyone knows what $_FILE means?
i tried to search on the function list but it was not there.. i saw it in a script and i did not get it.
Last edited by legendz, August 2nd, 2004 01:08 PM (Edited 1 times)

August 2nd, 2004
02:18 PM
1.) $_FILE is the global variable defining uploaded files, see:
http://us3.php.net/features.file-upload
2.) When you talk about a period (".") I'm guessing you mean like used in the following:
<?php
$string1 = $variable1 . ' means something';
?>
Where the period is a string concatenation operator, which means that that the period joins more than one strings.

August 2nd, 2004
04:43 PM
Here is the way I understood it.
<?php
$a = 'Hello ';
$b = $a.'Canada';
?>
___________________
Thanks to everyone here that has helped me in my consumption of knowledge.

August 2nd, 2004
04:47 PM
whoa, wtf?
Status: Offline!
Originally posted by chadt
1.) $_FILE is the global variable defining uploaded files, see:
http://us3.php.net/features.file-upload
2.) When you talk about a period (".") I'm guessing you mean like used in the following:
<?php
$string1 = $variable1 . ' means something';
?>
Where the period is a string concatenation operator, which means that that the period joins more than one strings.
If you're talking about in reference to files and filesystems, '.' = current directory i..e 'cd . ' would put you in the current directory or './file' woudl give you that file in this directory, whereas '..' is the directory immedialty before your current directory.
if you have this dir structure
-dir1 (/dir1, or ../dir2 or ../dir3)
-------dir2 (/dir1/dir2)
-------dir3(/dir1/dir3)
if you're in dir2, then ../ would put you in dir1 and ../dir3 would put in dir3
if you're in dir2 or dir3 then cd ../ will put you in dir1.
Got it?
___________________
Fomerly known as lasnaranjas. Holler.


August 2nd, 2004
05:24 PM
Neversidian
Status: Offline!
also next time. use a more descriptive title. dont put "php question" or "noob learning" put "Description of $_FILE and . " that way if someone looks at the title and gets the feel for what the topic is about. you will get better help. because when i saw your post, i didnt wanna look at it at all, but being a mod and all i guess i had to...
___________________
Neverside Development Director
PHP Snippets
BigToach.com - IT WORKS, TOACHY!

August 3rd, 2004
01:25 AM
Neversidian
Status: Offline!
heh, poor BT, i didn't like it when i was a mod here 
Shawn never wanted my advanced (read, godlike level) PHP forum 
___________________
Jeremie - Used to be the Director of Community Development

August 3rd, 2004
05:16 AM
whoa, wtf?
Status: Offline!
because that's not what this community is about.
___________________
Fomerly known as lasnaranjas. Holler.


August 3rd, 2004
03:22 PM
php god eh??
give a kid a book and he can be a god too
___________________
http://celerondude.com

August 3rd, 2004
06:27 PM
Neversidian
Status: Offline!
a humble god at that too.
___________________
Neverside Development Director
PHP Snippets
BigToach.com - IT WORKS, TOACHY!

August 3rd, 2004
10:03 PM
Neversidian
Status: Offline!
lol, fun thing is that im not the one who named myself php god 
___________________
Jeremie - Used to be the Director of Community Development