Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 41
Search took 0.01 seconds.
Search: Posts Made By: CFerthorney
Forum: Beginning PHP June 21st, 2004, 02:34 AM
Replies: 3
Views: 1,970
Posted By CFerthorney
Probably the easiest way to do this is with...

Probably the easiest way to do this is with javascript. Below is some javascript that uses functions to validate separate things. Just assign each input an ID AND a name.
At or near the top of the...
Forum: Beginning PHP June 10th, 2004, 05:50 PM
Replies: 3
Views: 3,020
Posted By CFerthorney
It has many purposes but its main purpose is to...

It has many purposes but its main purpose is to act as a basic password protection lock for a directory. There are many tutorials available on the net. The one I used was the one of the Apache...
Forum: J2EE May 15th, 2004, 06:03 AM
Replies: 1
Views: 2,849
Posted By CFerthorney
I was having great trouble using XML and J2EE. ...

I was having great trouble using XML and J2EE. Here is a list of things you might like to try.

You need to download J2EE from sun. You can download it form this URL...
Forum: Java GUI May 15th, 2004, 02:23 AM
Replies: 0
Views: 756
Posted By CFerthorney
FileLock()

Hello,

I am currently writing a program which requires me to create a locked file, which a user can edit, and then the file be distributed to a/some server/s. We have managed to get this working...
Forum: J2EE May 10th, 2004, 05:26 PM
Replies: 1
Views: 3,660
Posted By CFerthorney
I have managed to solve it. In case anyone...

I have managed to solve it.

In case anyone was wondering (And I feel pretty silly ([:I])for not checking all jar files properly (Thank you jar -tf!) the package org.xml is located at $ANT_HOME (Or...
Forum: PHP Databases May 10th, 2004, 07:41 AM
Replies: 1
Views: 1,417
Posted By CFerthorney
Storing PHP Session data in a MySQL db?

Dear all,

I am wondering if you can help (I seem to be asking that all the time I post to these forums!)

I have a PHP/MySQL website to develop (for uni coursework), and am needing to store...
Forum: J2EE May 9th, 2004, 09:47 AM
Replies: 1
Views: 3,660
Posted By CFerthorney
package org.xml does not exist??

I am wondering if anyone can help me.

Having eventually managed to install J2EE on my Linux box and windows box (It works successfully, I have tested it using the sample .war apps) I went to try...
Forum: MySQL March 25th, 2004, 04:49 PM
Replies: 4
Views: 9,217
Posted By CFerthorney
There are a number of things that could be the...

There are a number of things that could be the problem. Have you checked to see if the server is turned on? To do this go to your mysql directory (By default it is C:\mysql) and then type cd bin. ...
Forum: MySQL March 25th, 2004, 06:22 AM
Replies: 1
Views: 959
Posted By CFerthorney
Let me get this right, you are after only ONE...

Let me get this right, you are after only ONE occurence of apple, ONE occurrence of pear, etc?

If that is the case use the DISTINCT key word

SELECT DISTINCT name FROM table WHERE id =1;

...
Forum: PHP How-To March 20th, 2004, 06:11 AM
Replies: 4
Views: 1,951
Posted By CFerthorney
What DB are you using? If it is MySQL then type...

What DB are you using? If it is MySQL then type the following mysqldump -u USER -p DBName > /path/to/where/file/to/be/stored/DBName.sql then enter your password. If successful go to the directory...
Forum: Beginning PHP February 26th, 2004, 06:22 PM
Replies: 3
Views: 7,486
Posted By CFerthorney
What can I say other than sorry! I did say I...

What can I say other than sorry! I did say I might be wrong (Happens surprisingly frequently) "knight" I am sorry. However I do use isset() often, and as Rich says, it is used to check for...
Forum: Beginning PHP February 26th, 2004, 07:07 AM
Replies: 3
Views: 7,486
Posted By CFerthorney
try the following and see if ti helps. <?php...

try the following and see if ti helps.

<?php
$config_use_sessions = TRUE;
session_start();
if(!isset($_SESSION['logged_in']))
{
header('location: login_page.php');
}// valid user's...
Forum: Beginning PHP February 26th, 2004, 06:16 AM
Replies: 2
Views: 7,455
Posted By CFerthorney
It is possible to use sessions. DO this by...

It is possible to use sessions. DO this by ensuring every page has the code

<?php
session_start();
?>

BEFORE ANY OTHER code Then on your login.php page have a form that "logs the user in"...
Forum: Beginning PHP February 23rd, 2004, 09:32 AM
Replies: 5
Views: 1,272
Posted By CFerthorney
Thanks Chris, Sorted --- David Thorne,...

Thanks Chris, Sorted

---
David Thorne, Student
UK
Forum: Beginning PHP February 22nd, 2004, 11:42 AM
Replies: 5
Views: 1,272
Posted By CFerthorney
I have discovered how to do it with $_GET but I...

I have discovered how to do it with $_GET but I would prefer to use $_POST as it doesn't require the use of the address bar (So no one "knows" whats going on) any ideas? code as follows:
...
Forum: Beginning PHP February 21st, 2004, 04:05 PM
Replies: 5
Views: 1,272
Posted By CFerthorney
just tried that, no. Thanks for the thought...

just tried that, no. Thanks for the thought though.

I am at a loss on this one.



---
David Thorne, Student
UK
Forum: Beginning PHP February 21st, 2004, 03:05 PM
Replies: 5
Views: 1,272
Posted By CFerthorney
Isolation of results

I am wondering if anyone can tell me how to isolated a single result from a multiple result query?

Example I enter my identification number, and the query returns three results of meetings I have...
Forum: Beginning PHP February 18th, 2004, 08:02 AM
Replies: 7
Views: 14,212
Posted By CFerthorney
It sounds like you have global variables turned...

It sounds like you have global variables turned off. Don't panic this is a good thing. To access the data from your form you need to use the following:

<?php
$Choice = $_POST['Choice'];
echo...
Forum: BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 February 4th, 2004, 04:36 AM
Replies: 4
Views: 1,672
Posted By CFerthorney
There are a number of ways to deal with sort of...

There are a number of ways to deal with sort of situation. and therefore I would like to know if you are using a database. If so what package are you using? Personally with PHP I would use MySQL,...
Forum: Beginning PHP January 23rd, 2004, 10:37 AM
Replies: 2
Views: 28,351
Posted By CFerthorney
Is there a PHP Equivalent of postback?

As part of my undergraduate project (Now intranet app, using PHP and MySQL) I need to create a lock out mechanism for the database. If the user gets their password wrong X times, then their account...
Forum: MySQL January 6th, 2004, 06:31 AM
Replies: 1
Views: 1,242
Posted By CFerthorney
Firstly download the MDAC 2.8 (available from ...

Firstly download the MDAC 2.8 (available from http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&DisplayLang=en)
at time of writing this was most recent....
Forum: PHP Databases December 9th, 2003, 09:24 AM
Replies: 2
Views: 1,184
Posted By CFerthorney
I presume by leaving the speach marks blank you...

I presume by leaving the speach marks blank you intend on setting the default on being blank? Is this the case? Well as you state the type should be not null, try putting a space between your ' '...
Forum: MySQL November 16th, 2003, 06:43 AM
Replies: 1
Views: 5,331
Posted By CFerthorney
To install MySQL 4 see other topic posted by...

To install MySQL 4 see other topic posted by Blizeach http://p2p.wrox.com/topic.asp?TOPIC_ID=5773

firstly ensure rc.mysqld IS exec (I used chmod 755 rc.mysqld) then to ensure I did
ls -la | grep...
Forum: MySQL November 16th, 2003, 06:36 AM
Replies: 2
Views: 6,986
Posted By CFerthorney
I managed to solve this one yesterday (Or day...

I managed to solve this one yesterday (Or day before)

(As Root)
To install MySQL 4, I downloaded the package from the slackware website, as well as GLIBC (package names: glibc-2.3.2-i486-2.tgz...
Forum: J2EE November 11th, 2003, 09:34 AM
Replies: 4
Views: 3,410
Posted By CFerthorney
OK maybe I didn't explain what I mean properly. ...

OK maybe I didn't explain what I mean properly. I am connecting to a remote server (OS "unknown" - I actually know it is Windows (At my end), but it is going 2 b testing on multi OS) so I really...
Showing results 1 to 25 of 41

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.