$_POST['XYZ'] = 'something';
came across a situation. where it should appear that form as been submitted.
ofcourse we can avoid this case by using some other variables.
but assigning manually in my script like $_POST['XYZ'] = 'something'; will be ok or not?
its woking fine for me. will there be any chaos. if do like this?
assigning POST and GET variables manually allowed or not?
[SOLVED] $_POST['XYZ'] = 'something'; is this correct??
Moderator: General Moderators
Yup, you can assign anything you want to any variable or array value you want. Except for session data, then it's limited to the functionality of the serialize() function.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- crystal ship
- Forum Commoner
- Posts: 36
- Joined: Wed Aug 29, 2007 5:45 am