TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 113
Search took 0.02 seconds.
Search: Posts Made By: Jmz
Forum: General 11-11-2009, 10:25 PM
Replies: 5
Views: 2,563
Posted By Jmz
Edit post with CodeIgniter

I'm playing with CodeIgniter for the first time and I've managed to confuse myself. I've made a very simple blog script which I can add posts with, now I want to make an edit post page.

My...
Forum: General 11-05-2009, 04:33 PM
Replies: 4
Views: 619
Posted By Jmz
I wasn't really thinking of a specific system, I...

I wasn't really thinking of a specific system, I was just wondering what people tend to do in general and why they do it so that I can get a better idea of when I should use each method or if people...
Forum: General 11-05-2009, 09:17 AM
Replies: 4
Views: 619
Posted By Jmz
Deleting rows from a large web app

Say I'm making a web app which will hold a lot of data. If a user chooses to delete something, would you delete the row or use a field to mark that it's been deleted?

Deleting the row will keep the...
Forum: General 10-19-2009, 12:24 PM
Replies: 5
Views: 661
Posted By Jmz
Thanks for that, I've updated it incase somebody...

Thanks for that, I've updated it incase somebody wants to use it.
Forum: General 10-12-2009, 08:38 PM
Replies: 5
Views: 661
Posted By Jmz
Ooops, was easier than I thought! Incase anybody...

Ooops, was easier than I thought! Incase anybody else needs the same thing.


$string = 'Line 1;Line 2;Line 3;';
$string = explode(';',$string);
foreach ($string as $value){
echo...
Forum: General 10-12-2009, 08:21 PM
Replies: 5
Views: 661
Posted By Jmz
Split a string

I have a string that will look like:


Line 1;Line 2;Line 3


Basically the words will be separated by a semi-colon. How can I split this string and then display them like:


<li>Line 1</li>
Forum: General 10-09-2009, 07:49 AM
Replies: 6
Views: 1,171
Posted By Jmz
I'm using plesk but I'm not sure how to change...

I'm using plesk but I'm not sure how to change the default folder, or even if it's possible.

I have a few sites on the same server so I need to make sure anything I change only changes for this...
Forum: General 10-08-2009, 01:51 PM
Replies: 6
Views: 1,171
Posted By Jmz
That's a pretty good idea :) How do you tell the...

That's a pretty good idea :)

How do you tell the server to use the 'site' folder as the main folder? htaccess?
Forum: General 10-07-2009, 06:52 PM
Replies: 1
Views: 576
Posted By Jmz
Best way to echo some js

I have an if statement that will echo some javascript if certain things are true.

I'm currently writing it as:


<?php
if($x=1){
?>
<script type="text/javascript">
$(document).ready(function(){
Forum: General 10-07-2009, 06:50 PM
Replies: 6
Views: 1,171
Posted By Jmz
Thanks, I was hoping there would be a simple way...

Thanks, I was hoping there would be a simple way with .htaccess.

I'll just do it your way ^^
Forum: General 10-07-2009, 01:28 PM
Replies: 6
Views: 1,171
Posted By Jmz
Redirecting site to temporary folder

I'm going to be updating one of my sites soon. The new site will be running on WordPress and I'd like to redirect users to a temporary site I have made while I get everything set up for my new...
Forum: General 09-13-2009, 03:18 PM
Replies: 3
Views: 744
Posted By Jmz
On my server I had already created the...

On my server I had already created the info@mydomain.com domain a while ago. I just checked the inbox from that and emails from the server are going to that inbox but when I email from gmail or...
Forum: General 09-13-2009, 12:58 PM
Replies: 3
Views: 744
Posted By Jmz
Email problem

I'm trying to send an email from a website to an email address when someone fills out a form. The email address I'm trying to send to is hosted on google apps (info@clientsdomain.com).

It should be...
Forum: General 08-29-2009, 08:08 AM
Replies: 1
Views: 704
Posted By Jmz
Listing files and folders with scandir

I'm making a little script that will list the files and folders in a certain directory. Currently it looks like:


<?php
//Scan the directory
$scan = scandir("../www");

//Loop through the array
echo...
Forum: General 02-18-2009, 04:06 PM
Replies: 5
Views: 549
Posted By Jmz
Really at the minute I just want to get a basic...

Really at the minute I just want to get a basic idea of how it would work. Then I can have a look at it once the rest of my site is finished.

Even if I end up paying someone else to do it I dont...
Forum: General 02-18-2009, 09:25 AM
Replies: 5
Views: 549
Posted By Jmz
Creating the subdomain isn't my problem, I have...

Creating the subdomain isn't my problem, I have that working already.

I want users to have the option to use a top level domain if they want.
Forum: General 02-17-2009, 10:30 AM
Replies: 5
Views: 549
Posted By Jmz
Domain mapping

Does anybody know how sites like wordpress.org let users add their own domains to their blogs.

So for example I could add my domain myblog.com and it would point to myblog.wordpress.org.

I'm not...
Forum: General 12-10-2008, 09:10 AM
Replies: 5
Views: 618
Posted By Jmz
You can see the PHPThumb...

You can see the PHPThumb (http://phpthumb.sourceforge.net/) site here. I've never used it before but the wordpress skin I use for one of my sites uses it.

Apparently it uses the GD library and...
Forum: General 12-09-2008, 03:07 PM
Replies: 5
Views: 618
Posted By Jmz
Ok thanks, I'll do that. Any idea which would be...

Ok thanks, I'll do that.

Any idea which would be better to use? PHPThumb, GD or something else?
Forum: General 12-08-2008, 11:27 AM
Replies: 5
Views: 618
Posted By Jmz
Generating thumbnails on the fly

I have a site that lets a user create multiple galleries. For each gallery they can upload an image to be the image for that gallery.

I want to generate a thumbnail for each gallery to display on a...
Forum: General 12-01-2008, 04:02 PM
Replies: 3
Views: 702
Posted By Jmz
Integrating a forum with a membership site?

I have a membership site that I'm working on at the minute.

I would like to integrate a forum with the site where users can get help etc. However I don't really want to make them register for the...
Forum: Advanced PHP Programming 09-24-2008, 09:03 AM
Replies: 3
Views: 912
Posted By Jmz
Getting started with OOP

I've read a ton of theory articles on OOP but I'm not sure where to go now.

Has anybody got a link to a tutorial that shows you how to make a class thats actually useful rather than 'person' or...
Forum: General 08-01-2008, 09:28 AM
Replies: 2
Views: 596
Posted By Jmz
Checking if a string is alphanumeric

I was looking for the best way to check if a string is alphanumeric and I found things along the lines of:


function is_alphanumeric($someString){
return (preg_match("/[\w\s.]/i", $someString) > 0)...
Forum: General 07-26-2008, 09:36 AM
Replies: 2
Views: 701
Posted By Jmz
Templating

I run a site where users can create a 'profile' for themselves. Basically it's a mini site that they can update themselves.

I would like to allow the users to be able to edit the design of their own...
Forum: General 07-12-2008, 09:39 AM
Replies: 8
Views: 747
Posted By Jmz
Right, I've enabled the wildcard on subdomains on...

Right, I've enabled the wildcard on subdomains on my host but I'm still having a problem with the .htaccess file.

I have three possible solutions, none of which work properly.


RewriteEngine...
Showing results 1 to 25 of 113

 

All times are GMT. The time now is 03:05 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design