Search found 106 matches
- Sat Feb 13, 2010 10:32 am
- Forum: PHP - Code
- Topic: Webhosting and file permissions woe in PHP
- Replies: 0
- Views: 247
Webhosting and file permissions woe in PHP
Hi all, I have this issue with different web-hosting, particular upload scripts which can only upload to a folder only if it has 777 permission (which is risky). On the test server (on a different webhost), 755 works well. On another web-hosting, log files generated by PHP file functions cannot be w...
- Thu Feb 04, 2010 3:25 am
- Forum: PHP - Code
- Topic: Is there a lightweight CMS system which can be plugged in?
- Replies: 1
- Views: 53
Is there a lightweight CMS system which can be plugged in?
Hi all,
I am looking for a component, or library, that allows me to define a data structure, display its content, display a list of such structures and quickly build forms to edit it...Not exactly a complete CMS, but just the content management component. Are there any such libraries?
I am looking for a component, or library, that allows me to define a data structure, display its content, display a list of such structures and quickly build forms to edit it...Not exactly a complete CMS, but just the content management component. Are there any such libraries?
- Tue Jan 19, 2010 9:46 am
- Forum: Databases
- Topic: MySQL schema in source control (SVN)
- Replies: 1
- Views: 386
MySQL schema in source control (SVN)
Hi all, Our team is currently using xamp and localhost development (there is no in-office LAN...yet), and are using SVN for source-control. However, one problem I am running into is that when I create a new table, I have to send the query to other in the team so that their localhost DB can be up to ...
- Wed Mar 25, 2009 1:21 am
- Forum: Javascript
- Topic: How do I get started with client-side UI?
- Replies: 5
- Views: 699
Re: How do I get started with client-side UI?
Thanks for the explanation! I would definitely try to pick up CSS/XML/DOM/Javascript from the ground up but from experiences, when it comes to doing live projects, it's better to use blackboxes. So I guess after learning those I will then go look for the libraries. On Edit: I know this is a great si...
- Tue Mar 24, 2009 10:54 pm
- Forum: Javascript
- Topic: How do I get started with client-side UI?
- Replies: 5
- Views: 699
How do I get started with client-side UI?
Hi all, I have done many years of server-side programming with PHP and decide to round up my skills, I would like to master client-side web UI programming too, such as drag and drop UI elements about, loading progress bar in HTML, pop-up dialog boxes and etc. What is the collective term for this typ...
- Tue Mar 24, 2009 2:27 am
- Forum: PHP - Code
- Topic: Storing the execution of an included .php file
- Replies: 2
- Views: 170
Re: Storing the execution of an included .php file
Eh, I don't think file_get_contents parse PHP functions inside the file.
I found this on the comments for file_get_contents though
I found this on the comments for file_get_contents though
Code: Select all
<?php
ob_start();
include($filename);
$return_str = ob_get_contents();
ob_end_clean();
?>
- Mon Mar 23, 2009 10:40 pm
- Forum: PHP - Code
- Topic: Storing the execution of an included .php file
- Replies: 2
- Views: 170
Storing the execution of an included .php file
Hi, is it possible to store the output of a PHP script into a string? For example: included.php: <html> <?php echo "Hello world"; ?> </html> and then something like $included = include("included.php"); // included.php is not output at all Thanks in advance!
- Thu Mar 05, 2009 9:18 am
- Forum: PHP - Code
- Topic: How to I use curl to send this header?
- Replies: 1
- Views: 138
How to I use curl to send this header?
I am trying to use curl to substitute for this header call header('HTTP/1.1 302 Found'); The reason why I do not wish to use header() directly is because I don't want the user to be redirected to the page. I have checked through curl on the php site but can't seem to find any examples of sending thi...
- Mon Mar 02, 2009 11:44 am
- Forum: PHP - Code
- Topic: OpenID - How do I check if an OpenID user is logged in?
- Replies: 0
- Views: 147
OpenID - How do I check if an OpenID user is logged in?
Slightly off-topic, I guess, but I am using PHP to implement it... Right now I have figured out how to direct a user to an OpenID provider and log him in. The thing which I do not know is how do I know beforehand if he has already logged in before he visits my site? Or that is not the intention of t...
- Mon Feb 23, 2009 7:00 am
- Forum: General Discussion
- Topic: need help about dolphin software
- Replies: 2
- Views: 373
Re: need help about dolphin software
You would have more luck at their knowledge base than here. I have scanned through the source-code and it is not really well-written. Just an IMHO. Really obtuse way of working.
BTW, for their knowledge base, the actual link to get help is here
BTW, for their knowledge base, the actual link to get help is here
- Mon Feb 23, 2009 6:58 am
- Forum: General Discussion
- Topic: Recommend me a form generation class?
- Replies: 0
- Views: 265
Recommend me a form generation class?
I am tired of coding forms by hand. I remembered I did a class that once generate forms from an associative array, but somehow I do not like the way I code it. Are there any good form generation classes out there anyone would like to recommend?
- Sun Feb 01, 2009 2:30 am
- Forum: PHP - Code
- Topic: Annotations for articles in a Web Site? Pls advise
- Replies: 1
- Views: 122
Re: Annotations for articles in a Web Site? Pls advise
Create a table called comments, with the article's primary key as the FK. Create another table called comment_status, with the comment's primary key as the FK. You may want a couple of fields, like the userid of the moderator, the status of the comment, and an optional field called 'reason' in case ...
- Sun Feb 01, 2009 2:23 am
- Forum: General Discussion
- Topic: alternative to captcha image?
- Replies: 20
- Views: 1836
Re: alternative to captcha image?
I used a "answer the math questions" to filter out spam-bots, and realise that I have to watch out for language barriers. I used variants of "what is 1 plus 1" and "what is 1 add to 1" and it trips up a lot of people. Do those measures work anyway? I thought a spam-bot ...
- Sun Feb 01, 2009 2:15 am
- Forum: General Discussion
- Topic: What CMS doe you use? When? Why and Where?
- Replies: 12
- Views: 1904
Re: What CMS doe you use? When? Why and Where?
I found that WordPress is good enough for small websites; with a dozen plug-ins it can be almost a CMS. That said, having knowledge of PHP is a good idea when working with WordPress as you need to be working with page templates to get the content to display the way you want to. It's not a bad base t...
- Fri Jan 16, 2009 9:10 am
- Forum: General Discussion
- Topic: Are there existing CMS/PHP Framework for what I want to do?
- Replies: 1
- Views: 319
Are there existing CMS/PHP Framework for what I want to do?
Hi all, 1. I have been wanting to do a site like http://www.sitepoint.com - not in terms of content, but its layout, organisation of content and so far, I haven't found any CMS that can do what I want. I have been thinking of using WordPress and hack up a page template but am wondering if there is a...