Welcome Guest, Not a member yet? Register   Sign In
  Zend Lucene Search with CI ??
Posted by: El Forum - 10-19-2007, 04:10 AM - No Replies

[eluser]citryer[/eluser]
Has anybody done this before??...

Can someone give a little direction on what needs to be changed (at CI/Zend framework end)to accomplish this.

Thanks and looking forward to your comments.


  Serving with different mime types
Posted by: El Forum - 10-19-2007, 03:45 AM - No Replies

[eluser]Clooner[/eluser]
I want to serve my application with a different mime type then normally I would use a php code similair. This is how I would do it normally.

Code:
header("Vary: Accept");
if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml"))
    header("Content-Type: application/xhtml+xml; charset=utf-8");
else
    header("Content-Type: text/html; charset=utf-8");
or I could also set it with apache and the extensions.

My question is: Is there a way with codeigniter config to set a different or default mime-type which is not text/html?


  Segmented urls not working
Posted by: El Forum - 10-19-2007, 03:28 AM - No Replies

[eluser]GreatSlovakia[/eluser]
Somehow the segmented urls do not work at all with my provider, the only possible reason I could think of is that it has something to do with the fact that it is windows hosted. If I have time I will try it out in a linux enviroment...

At the moment the index.php shows correctly but as soon as /something/ is added it gives a STANDARD not found (not the codeigniter not found)

PS. The site is http://codeigniter.greatslovakia.com


  dynamically define base_url
Posted by: El Forum - 10-19-2007, 03:10 AM - No Replies

[eluser]Xobb[/eluser]
Hello,
I need dynamically define $config['base_url'] in config.php, but i don't know how to do that. I couldn't find it in user-guide either. Can you help me?

thanks in advance.


  Exception.php
Posted by: El Forum - 10-19-2007, 01:07 AM - No Replies

[eluser]PHP Programmer[/eluser]
Hi

I am unable to find the Exception.php file and controller class. Where does it reside (in which folder)?

Anuj


  Unable to download properly
Posted by: El Forum - 10-19-2007, 01:03 AM - No Replies

[eluser]PHP Programmer[/eluser]
Hi

I am trying to download the codeigniter package but it is not downloaded with its full size. Either it is with 756KB or 254KB. How can I download it fully?? I have tried this logic too: right clicking >> save target but in vain.

Plz give any suggestion ...

TIA

Anuj


  friend system?
Posted by: El Forum - 10-18-2007, 10:12 PM - No Replies

[eluser]MMCCQQ[/eluser]
hi!


somebody know how to design mysql db for a friend system like myspace.com ?


  Hashed string lengths
Posted by: El Forum - 10-18-2007, 09:34 PM - No Replies

[eluser]Unknown[/eluser]
Just a quick question to do with storing hashed passwords.

I'm using the php SHA1 hash function for encrypting my passwords (with salt etc) to store in a database. Do the strings the hash returns always have the same length? If thats so, then can I set the database field to be something like CHAR(40)?

Whats your current password practices?


  php mod % 3
Posted by: El Forum - 10-18-2007, 06:07 PM - No Replies

[eluser]webdezzo[/eluser]
Hey all,

This may or may not be a CI question (CI may have something useful to use for this) But, since this community rocks, I figured what the heck.

Lets say I have a 3 column layout like so:

Code:
<div id='column1'>
Content 1
</div>

<div id='column2'>
Content 2
</div>

<div id='column3'>
Content 3
</div>

And I select some data from my Database, that may return any number of records. I want to split this data into 3 arrays, that are equal (close plus or minus 1 due to odd / even) in length, so that echo the data from the 3 diffrent arrays in each column respectively. How could one go about doing this?

I would typically handle it if it were 2 columns with the mod function (% 2) but I am a little thrown off with the third column. I figure splitting the array based on the data would be the easiest method. Does CI have any easy array splitting functionality that I could say, take this data, split it into 3 arrays by taking the returned records and dividing them by 3?

Any ideas would be much appreciated!
Thanks!


  "%20" being automatically changed by CI to "_"
Posted by: El Forum - 10-18-2007, 04:27 PM - No Replies

[eluser]Najki[/eluser]
Hello,

I've created a web side driven by codeigniter. The user profile viewing page identifies the user by his username, so the links are, f.e. http://www.example.com/user/show/andrew123

Now the problem is when user has an account named f.e. "andrew 123". The browser changes " " to "%20". CI accepts "%" itself, but it automatically changes the whole "%20" to "_", so this users account can't be found.

I've been looking through the CodeIgniter's code in order to disable this function, but I haven't found it.

Could anyone tell me where it's located ?

Maybe some of you guys have a better idea of fixing it ?

Thanks for Your reply.

Best regards,
Najki


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Latest Threads
hot-reload side effects s...
by InsiteFX
2 hours ago
Setting baseURL in Regist...
by grimpirate
05-15-2025, 02:20 PM
CRUD Code Generator
by DeanE10
05-15-2025, 05:31 AM
CodeIgniter.com - Report ...
by Harry Lyre
05-14-2025, 04:26 AM
Missing closing bracket w...
by abf
05-13-2025, 07:27 PM
Update from 4.6.0 to 4.6....
by FlavioSuar
05-13-2025, 04:17 AM
Sessions old files are de...
by InsiteFX
05-12-2025, 10:30 PM
Ajax post failing with Ty...
by PaulC
05-12-2025, 12:23 AM
intermittent smtp failure...
by InsiteFX
05-11-2025, 11:30 PM
MVC vs MVCS vs CodeIgnite...
by FlavioSuar
05-10-2025, 10:33 AM

Forum Statistics
» Members: 146,452
» Latest member: NeedyKarmon
» Forum threads: 78,390
» Forum posts: 379,460

Full Statistics

Search Forums

(Advanced Search)


Theme © iAndrew 2016 - Forum software by © MyBB