Log in

About this Journal
Current Month
Apr. 25th, 2008 @ 07:32 pm Good free editors?
Current Mood: crankycranky
I've just about had it with PHP Coder Pro - while it more or less serves my purposes, the fact that the work space is kind of buggy and doesn't wrap lines is driving me kinda bugshit crazy. I'm looking for something more or less as functional as PHP Editor, but, you know, freeware. What do y'all use?
About this Entry
the web
Apr. 17th, 2008 @ 03:31 pm Existing CMS versus custom CMS?
Current Location: Hull, Quebec
Current Mood: confusedconfused

I currently run and maintain a website using the Drupal CMS. I have been noticing that it takes forever to load pages, and I keep having issues with the system not sending e-mails out.

I have been looking for a PHP geek who wouldn't mind volunteering their time to build a custom system or even someone who could explain to me... what is easier / better for the site I want existing CMS system or a custom system.

Just reply if you want more information, or are up to sharing your thoughts on the existing CMS system vs custom system debate. :)

About this Entry
Apr. 13th, 2008 @ 04:40 am Joomla moduesl for groups and more?
Just posted about XOOPS and finally managed to switch the CMS on the host over to Joomla, which seems to be an all in all better CMS and with a more active developer community.

So I apolise again if this is the wrong community for such questions but hoping its not.

Does anyone know of any modules that allow for creating Groups of the registered users and then controlling permissions for the groups? Which group is able to see what content and such? Content Builder is installed so if that helps any! Joomla 1.0.15 I think is the version installed, Content Builder 1.1.

Can anyone recommend a good tutorial on working with Joomla or working on the code level/developing for it?

About this Entry
Apr. 7th, 2008 @ 04:32 pm Xoops?
has anyone worked with the php of xoops?

Or know any sites/tutorials/documentation about doing so?

Xoops.org isn't working for me and need to work on a xoops project :(
About this Entry
Mar. 4th, 2008 @ 09:33 am PHP OO class generator
Yes, I know a framework is better, or even a DB abstraction layer. However I have a legacy system I'm working on and it's too late for all that, and I want a shortcut to create classes with basic database CRUD. Can any of you recommend a PHP class generator that you have used or heard good things about? Or something else?

Thanks for your time.
About this Entry
Silly - Dirty Face
Feb. 12th, 2008 @ 12:29 pm PHP and Java/J2EE
Hey, I was wondering if you could recommend some sites/books on learning Java for PHP programmers. I have 2 years of professional exp in PHP but I see a lot of job ads for Java/J2EE developers and I want to add it to my resume. Any help is appreciated. Thanks!
About this Entry
geek, kid
Jan. 11th, 2008 @ 06:57 pm PhP and MySQL relationship in a "reply to comment" scenario
Current Location: United Kingdom
Current Mood: confusedconfused
Current Music: None - I-Pod needs recharging
I am teaching myself PhP and MySQL, and I have a PhP website which calls blog entries from a MySQL database.

I really want to add the ability for people to leave comments to each individual entry on the blog. What I ALSO want to add is the ability for people (Namely me) to then leave replies to those comments, and then maybe for people to leave replies to those replies, similar to the systems available on some forums and Livejournal.

Here is where it gets complicated. The comment system I figured out is a "Select * from comments where blog_id = 1" and a "while mysql_fetch_array" function to display the results. I imagine the comment replies to be a similar "Select * from comments where comment_id = 1".

However, the problem I can't figure out is that I am never going to know from one day to the next how long a reply string is going to be. Short of having an infinite number of "mysql_query" and "while mysql_fetch_array" functions embedded one inside the others coding brackets, I can't think how to make this work so that there will always be enough recalls for the length of the string. If I only have 6 select queries, then the 7th reply will never be displayed.

Does anyone have any suggestions of where I should aim my research ^_^ Is there a way to get PhP or MySQL to predict the length of a reply string and act accordingly?


About this Entry
Timothy McGee
Dec. 28th, 2007 @ 07:16 am $_SERVER['DOCUMENT_ROOT']
hello everyone. after a couple of training classes, i felt i was ready to repair my first php/mysql site. anyway, when i downloaded the site to my machine for testing. these little things started causing problems on my testing server:

require_once ($_SERVER['DOCUMENT_ROOT'].'/Connections/foo_db.php');

the $_SERVER['DOCUMENT_ROOT'] on the site, of course, takes you back to the root of the whole server and then gets the file from the folder you requested. on my testing server it goes all the way back to the C drive, i.e., it won't find: C:/wamp/www/Connections/foo_db.php because it's going too far back. is there any way to set up my testing server so it assumes a certain folder is the root? i don't feel like going through and changing all the requires and includes. thanks.

x posted in php
About this Entry
little atari
Dec. 14th, 2007 @ 02:13 am (no subject)
Hey. Im working with the atom feed of my LJ and I have a question. I use a script that turns the XML into a nested array but right now it requests the XML doc each time. How do I cache the result? Would putting it in the session and checking the session first be sufficient? Thanks!
About this Entry
geek, kid
Nov. 25th, 2007 @ 09:02 pm PHP Puzzle
Does anyone know of a simple snippet of code that will transpose a block of text. A common mistake for a newbie is typing with the caps lock key on.

I want to write something that transposes "a TYPICAL EXAMPLE" to "A typical example" and "a tYPICAL eXAMPLE" to "A Typical Example" but when "A Typical Example" or "A typical example" or even "a typical example" is typed, the text is not transposed.

Does anyone have any ideas?
About this Entry
astro 10th aug 2007