Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 16th, 2010, 09: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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Code to save html page source code? Jaymond Flurrie Access VBA 1 December 18th, 2008 09:28 AM
source code in C# rajum BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 December 26th, 2006 08:06 AM
where is the source code allenjiang Wrox Book Feedback 2 November 1st, 2006 12:32 AM



All times are GMT -4. The time now is 06:34 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.