RE: [PHP-WIN] Breadcrumb trial as sessions

2005-05-16 Thread S.D.Price
Open University http://www.open.ac.uk -Original Message- From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 15:20 To: 'S.D.Price'; 'php-windows' Subject: RE: [PHP-WIN] Breadcrumb trial as sessions > 1. I need to have a flat folder str

RE: [PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
You are right Murray, I din't think it through properly. Probably why I haven't seen any examples of this. Steven -Original Message- From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 15:20 To: 'S.D.Price'; 'php-windows' Subject:

[PHP-WIN] RE: Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
> -Original Message- > From: S.D.Price > Sent: 12 May 2005 12:41 > To: php-windows@lists.php.net > Subject: Breadcrumb trial as sessions > > > Hi can anyone help, I would like to develop a PHP breadcrumb trail for > navigation. The examples

[PHP-WIN] Breadcrumb trial as sessions

2005-05-12 Thread S.D.Price
Hi can anyone help, I would like to develop a PHP breadcrumb trail for navigation. The examples I have seen on the web look at the location of the page the user is on, attempt to break up the URL and use breadcrumb links to point the user to each folder level. Problem: 1. I need to have a flat f

[PHP-WIN] Lasted updated using PHP

2005-04-12 Thread S.D.Price
Hi can anyone help me I would like to use PHP to somehow record when a user has changed the content of a web page e.g. Last updated 12 April 2005 Does anyone know how to do this? Thanks Steve

RE: [PHP-WIN] Validation of Primary Key Datetime variable

2005-02-28 Thread S.D.Price
sure what. Steven -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 13:31 To: S.D.Price Subject: RE: [PHP-WIN] Validation of Primary Key Datetime variable Simon, Why not use a varchar datatype and populate it yourself. It can then be modified, but

[PHP-WIN] Validation of Primary Key Datetime variable

2005-02-28 Thread S.D.Price
Hi, I wonder if anyone can help. I have designed a newsblog which uses PHP and MySQL. Each news story has a primary key which is the current date. The datatype used in MySQL is "datetime". When stories are extracted from the database the user can then navigate based on date order. When a user ad

[PHP-WIN] Showing file field value with PHP

2004-12-21 Thread S.D.Price
Hi does anyone know in PHP a way of showing the value of a file input form element? I have built an application which allows a user to select a news entry record to edit. This record has links to documents which were entered using fields. When I show the edit form I want the user to be able to m

[PHP-WIN] Escaping quotes in form validation

2004-12-20 Thread S.D.Price
Hi can anyone help. I have a news blog system where a user can add news stories to a database. As part of the data validation I indicate when the user has not entered data correctly and allow then to re-enter data in a n error prompt form However if the user has entered quotes the error prompt f

RE: [PHP-WIN] Substr function

2004-12-15 Thread S.D.Price
ge- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: 14 December 2004 13:50 To: S.D.Price Subject: RE: [PHP-WIN] Substr function Steven, You need to start by checking what might be passed. I assume that you going to work on 'name'. What will that be and will it always be consistent?

[PHP-WIN] Substr function

2004-12-13 Thread S.D.Price
Hi can anyone explain to me how to manipluate strings. I have generated a file name ($_FILES['documenturl']['name']) Out of this server variable I need to grab the file and the extension and put them into seperate fields for database upload. Any idea how to do this by using substr? Thanks Stev

[PHP-WIN] Absolute includes

2004-12-10 Thread S.D.Price
Hi, can anyone help me out. What would I need to do to use an absolute php includes to include this file in 1. Windows 2000 - IIS 2. Unix linux - Apache : Thanks Steven

[PHP-WIN] Session_start() not working

2004-12-07 Thread S.D.Price
Hi can anyone help me, I have moved my application from a Unix server to a Windows based server but suddenly I don't seem able to use sessions I get Warning: session_start() [function.session-start ]: open(C:\PHP\sessiondata\sess_60e5549c6f6404994f9a7a

RE: [PHP-WIN] While loops to build an array

2004-11-30 Thread S.D.Price
AIL PROTECTED] Subject: Re: [PHP-WIN] While loops to build an array Hello S.D.Price, Your syntax is not correct, try this, instead: if (mysql_num_rows($result3) > 0){ while ($row = mysql_fetch_array($result3)) { $days[date(j,$row3['entry_date'])] = $row3['newsid'];

[PHP-WIN] While loops to build an array

2004-11-30 Thread S.D.Price
Hi, I wonder if you could help. I am trying to build a php based calendar for a news blog. The calendar should create hyperlinks directly to a news story. However in order to do this I need to create a $days array which takes the date value of the story submitted and the id of the story and creat