PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This is strange. When I posted the numbers (4.3.7) alone it kept giving the message : Failed Sending Email
I did not know what was wrong and figured the post was not posted so I repeatedly posted it and got the same error. Now I look at it and find that its posted all right. Moderators(or whoever) : need to fix this.
An associative array containing references to all variables which are currently defined in the global scope of the script. The variable names are the keys of the array.
Note the "global scope of the script" You had two scripts instad of one. I suppose $GLOBALS is useful with your own functions:
I was trying to send a variable from one script to another using $GLOBALS since $_SESSION was not working.
Now I got it. I was using sessions in db (session_set_save_handler('user')) which does not store it in a file since its set to db. Therefore I had to get it in the session_read() function (user defined). All this time I thought I could just send a variable from one script to another just like that. But it stores it in the session file (if files is default). Otherwise get it from read() and store it manually into the db.