Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: User's library can't use the __construct method passing parameters???
Post: RE: User's library can't use the __construct meth...

Hi, leon hou, and welcome to CodeIgniter and the forums! :) What you are doing is ok, but when you load the library, you must pass the argument at that time. It's missing one parameter probably bec...
3,838 Views
2 Replies
03-10-2016, 10:33 PM
RobertSF
    Thread: Remove index segment from url
Post: RE: Remove index segment from url

I suppose you could use a test in the method to reject calls that did not explicitly include "index," but why? What is the problem caused by duplicate content by the same URL?
3,371 Views
5 Replies
03-04-2016, 05:17 AM
RobertSF
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

acheng16 Wrote: (02-24-2016, 03:52 PM) -- So I have a view called select_dates.php and it takes in POST data (start date, end date, and product ID). Once you press submit $this->load->private_vie...
14,038 Views
12 Replies
03-03-2016, 06:59 PM
RobertSF
    Thread: Display a 'modal popup' anywhere in the system
Post: RE: Display a 'modal popup' anywhere in the system

Hi, and welcome to CodeIgniter! You cannot do that with PHP, so CodeIgniter cannot do it either. This is because of the client-server nature of PHP. Running on the server, PHP executes your script and...
4,827 Views
2 Replies
02-25-2016, 01:18 PM
RobertSF
    Thread: Trying to figure out how to get related portfolios
Post: RE: Trying to figure out how to get related portfo...

Get the category ID of the portfolio they're looking at, and pass it to get_relatedportfolios(). In your controller: PHP Code: -- // assuming the current portfolio is in an array called $portfoli...
2,353 Views
2 Replies
02-25-2016, 12:41 PM
RobertSF
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

Yes, I'm not really picturing it. If you load a view and pass it an array ($data), and that view itself loads a view, you don't need to pass the array to that second view. Like Wouter60 suggest, post ...
14,038 Views
12 Replies
02-25-2016, 12:22 PM
RobertSF
    Thread: Website hacked. Code can't find database. PHP LOADER ERROR
Post: RE: Website hacked. Code can't find database. PHP ...

No doubt, GoDaddy is a wretched company. I personally have rued how Bob Parsons went from cool and struggling accountant-turned-programmer who created a pre-Quicken $25 application in the 1980s called...
8,067 Views
5 Replies
02-21-2016, 07:22 PM
RobertSF
    Thread: Empty post data when insert % or `in the html form
Post: RE: Empty post data when insert % or `in the html ...

I did some internet research but only found a suggestion that it might be an Apache security feature, however, that would apply to textboxes as well, and you say it only happens in textareas?
2,456 Views
3 Replies
02-19-2016, 03:08 PM
RobertSF
    Thread: CodeIgnitor vs row PHP
Post: RE: CodeIgnitor vs row PHP

curiousteam Wrote: (02-14-2016, 11:00 AM) -- I am very glad that you spend time to answer my questions. I have already told that I am new at codeIgnitor. Actually I want to be the PHP Boss. I kno...
25,600 Views
21 Replies
02-15-2016, 06:05 PM
RobertSF
    Thread: Need Help Creating Registration/Login Form
Post: RE: Need Help Creating Registration/Login Form

I'm glad to hear you got it working! And no worries -- most of our mistakes are silly. That's why long time coders have such flat foreheads. It's from smacking themselves. "Oh, my god, I can't believe...
17,338 Views
16 Replies
02-10-2016, 12:29 PM
RobertSF
    Thread: Form validation callables combined with "required"
Post: RE: Form validation callables combined with "requi...

I had not expected the absence of "required" to end validation and call it successful. After all, in addition to mwhitney's scenario, there might be a field that is not required, but if supplied, must...
16,616 Views
14 Replies
02-09-2016, 03:59 PM
RobertSF
    Thread: Need Help Creating Registration/Login Form
Post: RE: Need Help Creating Registration/Login Form

Rumiko Wrote: (02-09-2016, 11:13 AM) -- I should've added that I'm working on OS X. Sorry about that. -- I suggest you download something very stable and automatic, like WordPress, and install it. ...
17,338 Views
16 Replies
02-09-2016, 11:45 AM
RobertSF
    Thread: Need Help Creating Registration/Login Form
Post: RE: Need Help Creating Registration/Login Form

Diederik Wrote: (02-09-2016, 06:38 AM) -- Your database structure suggests that you are planning of storing the passwords (or a simple hash) in your database. If you have little or no experience in c...
17,338 Views
16 Replies
02-09-2016, 09:50 AM
RobertSF
    Thread: Need Help Creating Registration/Login Form
Post: RE: Need Help Creating Registration/Login Form

Hi. I confess I'm not familiar with ::1 notation, and you can't google for strings like that, so I found nothing. Clearly, Safari can open pages on your server, since you get as far displaying the ...
17,338 Views
16 Replies
02-08-2016, 07:03 PM
RobertSF
    Thread: Form validation callables combined with "required"
Post: RE: Form validation callables combined with "requi...

skunkbad Wrote: (02-06-2016, 09:06 AM) -- But since the docs show that the callables feature is used in conjunction with "required", I am wondering if I am missing something? Ideally, if I leave out ...
16,616 Views
14 Replies
02-08-2016, 05:59 PM
RobertSF
    Thread: New to Codeigniter need help
Post: RE: New to Codeigniter need help

kaaai3 Wrote: (02-08-2016, 09:50 AM) -- Is anyone willing to skype while i explain my question and screen sharing? -- Oh, I don't think anybody would be. Frankly, that's a lot to ask!  :) Why d...
3,050 Views
3 Replies
02-08-2016, 03:55 PM
RobertSF
    Thread: Updated News Tutorial
Post: RE: Updated News Tutorial

Hey, I'm glad you're not going to give up! I too remember having problems with the tutorial, and I remember thinking exactly what you're thinking -- how are they going to attract new users if the darn...
6,146 Views
6 Replies
02-07-2016, 06:08 PM
RobertSF
    Thread: Joomla and WP hackers
Post: RE: Joomla and WP hackers

Hey... not sure what you mean. Are you talking about your visitors' log? It should only show errors about your website, though I realize not every error is actually important. On my own website, I hav...
3,075 Views
3 Replies
02-04-2016, 12:12 PM
RobertSF
    Thread: Seeking Developer / Reviewer
Post: RE: Seeking Developer / Reviewer

Liquid Wrote: (02-03-2016, 02:19 PM) -- Dear CI Admin, CI Staff and CI Developers, It has been less than a month, and our site is at 99% completion as of today. . . .  -- Dear Doctor Cha, I h...
9,971 Views
7 Replies
02-03-2016, 11:35 PM
RobertSF
    Thread: Install to localhost
Post: RE: Install to localhost

nairb Wrote: (01-28-2016, 05:12 PM) -- I believe CI 3, because it was built recently, but I don't honestly know.   Yes, it works fine on the live server, and of course, fine on my local server now to...
26,015 Views
24 Replies
01-28-2016, 05:27 PM
RobertSF

Theme © iAndrew 2016 - Forum software by © MyBB