I know there is a way to do it in Perl, but is there anyway in PHP to display all of
the global variables. Such as OS, browser, date/time, that sort of thing
I know I could print each one seperately, but are they all stored in an array
somewhere?
I would like to know if there is a way to determine the name of a variable.
Example:
I have the variable $firstname, with a value of Jon
I want to be able to
echo name_of_variable : value_of_variable;
So the user would see
firstname : Jon
I want to be able to do this without knowing what var
Thank you all for your help earlier!
Now I need to know if it is possible to create a complex if statement?
if ($variable=="duck") || ($variable=="goose"){ }else{ }
Is how I thought it would work. I just need to know if there is an easy way
to do an OR in if statements IF variable equals duck o
I know it is possible to redirect a user to their home page, but is it possible to
determine what home page they are using?
This is going to be a silly question. I have written the following form to mail
script, and it works. But it takes a good minute or so to process. Can any one shed
some light?
I think it may have to do with the gethostbyaddr($REMOTE_ADDR) but if anyone else can
help, that would be great.
Jon
I had an example of a function to open a file and read its contents into an
array. It worked so that each line of the file was one element of the array.
I can't find my example, nor can I get it to work the way I'd like. Any
help?
=-
Jonathan Campbell ( [EMAIL PROTECTED] )
Mid days haze and I'm
Not to sound overly obvious, but try this.
setcookie("cookieusername","$username",time()+6048000,"/","",0);
$cookieusername = $HTTP_COOKIE_VARS["cookieusername"];
if (!$cookieusername){
echo"Sorry, no cookie, no page.";
die();
}
=-
Jonathan Campbell ( [EMAIL PROTECTED] )
Mid days haze
Hey Everyone.
This isn't a request for code or help, just thoughts and ideas.
I've recently been asked to bring along some code examples for a job
interview I will be heading to this week. This was the exact request "The
sample does not have to be within any particular language, but something
th
I was recently looking at the talker example at
http://www.php.net/manual/en/ref.sockets.php
Does anyone know an example of making this same code for multiple connections. I'd
love to see any working examples
www.PictureArena.com
===
The lack of humility before natu
9 matches
Mail list logo