I am using php 5 and getting an error message like this
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
Basically (and as very clearly stated), PHP Global variables no longer effect the session. What appears to have happened is that somewhere in the script there is the code:
global $GlobalVariable = "<small>In earlier versions of PHP the global variable scope used to include the session array, however that has been disabled for security reasons.</small>";
echo $_SESSION['GlobalVariable']; //This is what is causing the error. It is not necessarily a echo command.
- unknown PHP Developer on "Job Prospect"
Requirement: * Experience working with XML, XSL, XPath
I have a standard DHTML File Upload form (transporting the file over the post command). Now when a user clicks the submit button I don't want a new page to be loaded, I want the file to be uploaded over an AJAX call. So that not the whole page needs to be reloaded! XMLHttpRequest Object can deal with POST data, but how can I give it the POST data of the file?
The -1 means the database driver does not support record-counts for record sets.
A quick way of achieving a record count is to use the recordset GetRows() method to extract the data into a two-dimensional array. Then you can do Ubound(arr, 2) to get the number of elements in the 2nd dimension.
i want to change background of my web form at run time using C# code in Asp.net web application.
By using HTML tags i can do it like using "document.body.background"
but i want to know how to use it in C#.
Not exactly what I want it to do beacuse then you still have to specify the table height in pixels. What I need is the table to be centered, when the screen resolution is chnaged to smaller it doent show scrollbars in the window.
I am trying to export contents of Repeater Control data to excel file...which also contains a check box in one of its columns...
but i have export without that checkbox control column..
how can i do it..pls help (ASP.NET/C#.NET)
hi, very very urgent. i am using crystal report on a web form. on the same web form i am also using a toolbar from evolve software. i invested a lot time with both controls. everything worked fine until i got instructions that in evolve toolbar i must use a dropdownlist to chose data. evolve toolbar has no dropdownlist object, so i have to use ControlContainerItem to add dropdownlist to toolbar. problem is when i add it to evolve toolbar and click on navigation buttons of crystal report toolbar, it does not work. i mean i click on next button and can navigate to next page but when i click again on next, it remains on same page and so on. so i can navigate only one page further and then no more. crystal report toolbat get this problem only if i add dropdownlist control to evolve toolbar. if i do not add, crystal report toolbar works very fine and i can navigate until last page. i can take another toolbar instead of evolve toolbar but i have invested a lot of time in using evolve toolbar and right now i have no time to take another toolbar and investting time to first understand it and then use it. so please help me to explain why crystal report toolbar is behaving so stupid. follows is the web page with code behind.