Wrox Programmer Forums
|
BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
This is the forum to discuss the Wrox book Professional CodeIgniter by Thomas Myer; ISBN: 9780470282458
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 16th, 2010, 10:49 AM
Authorized User
 
Join Date: Nov 2009
Posts: 26
Thanks: 3
Thanked 0 Times in 0 Posts
Default Not able to see source code.

Hi there, I hope you are fine.

I have a question regarding the following code.

PHP Code:
if ($_SESSION['userid'] < 1){ 
        
redirect('welcome/verify','refresh');
    } 
Since this give errors, I changed to the followings.

PHP Code:
    if (!isset($_SESSION['userid']) || $_SESSION['userid'] < 1){
    
$this->session->set_flashdata('error',"You must log in!");  
        
redirect('welcome/verify','refresh');
    } 
Now problem is that this/these code does not show codes in view source in Firefox.

It returns just blank screen.

I deleted the above code and it shows all the codes in view source.

If I click View Generated Source I can see codes.

Is there any thing can be done?

Thanks in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save html page source code? Jaymond Flurrie Access VBA 2 July 2nd, 2019 06:04 PM
Have you source code in c# ? surendra01 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 May 2nd, 2009 08:46 AM
source code in C# rajum BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 December 26th, 2006 09:06 AM
where is the source code allenjiang Wrox Book Feedback 2 November 1st, 2006 01:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.