Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-16 Thread Chris Aitken
At 09:06 PM 16/01/2001, Kath wrote: Hey, To get Frontpage to recognize PHP files (at least to let you edit them), do the following (I'm assuming FP2000): 1 - Open FP 2 - Click on Tools 3 - Click on Options 4 - Click on the Configure Editors tab 5 - Hit Add 6 - Make file type "php" 7 - Make

Re: [PHP] Levels of Access

2001-01-17 Thread Chris Aitken
At 10:36 PM 17/01/2001, you wrote: Hey Guys, I wonder if anyone can shed light... I have a system that internal users access - I have separated access levels into 1, 2, 3 etc. So if you have access 1 you can view certain things - If you are 2 then you can view more or other things. However

[PHP] Extracting Data from a URL output

2001-01-17 Thread Chris Aitken
I have a bit of a question which ive tried to look into, but I cant seem to find the right commands to check into or what the best method of attack it. Basically, I want to grab a URLs data, make the data a string (which im doing with fopen and fread). But now I have the entire html as a

[PHP] Directory Listing with PHP

2001-02-01 Thread Chris Aitken
I just relieving myself into the wind ? Thanks Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 Unix -- because a computer's

Re: [PHP] E-mail valid

2001-02-01 Thread Chris Aitken
-- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 Unix -- because a computer's a terrible thing to waste! -- PHP General Mailing List

Re: [PHP] Curious

2001-03-27 Thread Chris Aitken
uot;3\" face=\"Arial\") But for things like ALT tags, I use \" because spaces are required in the value of the ALT tag. Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phon

[PHP] Compiling PHP with GD2.0 ?

2002-01-07 Thread Chris Aitken
Hi, I have just upgraded my system (FreeBSD4.4 box with Apache/PHP/MySQL) and I want to use GD2.0.1 with PHP. I have installed GD 2.0.1 from /usr/ports onto the system so the package is actually there, but I have no idea how to compile GD2 ability into PHP. If anyone can lend some assistance

[PHP] Spawning an Expect Script

2001-09-23 Thread Chris Aitken
to the browser when its called. Any suggestions ? Thanks Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Getting an Email into a PHP/pl script

2001-10-04 Thread Chris Aitken
to a perl script). Once I have the body of the email as a variable, I can do all my parsing and extracting etc to do with it as I need, but im baffled on where to start looking to get this done. Any help would be greatly appreciated. Cheers Chris Chris Aitken - Administration/Database

[PHP] ereg checking if its only numbers

2001-10-04 Thread Chris Aitken
would I check either string with an IF statement and make it continue on string 1 (ie, all numbers) and error on string 2 (not all numbers). Any suggestions ? Thanks Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628

[PHP] GD 2.0

2001-10-18 Thread Chris Aitken
cannot seem to get to the actual GD site so im not sure whats up there, but has anyone else installed GD 2 and if so, any suggestions on whats the best way to go about it would be appreciated. Cheers Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL

[PHP] textarea, carriage returns and formatting

2001-11-20 Thread Chris Aitken
Hi, Something ive been trying to find out but cant seem to get the wording right to find the answers in the archives. What I have is a mysql database, and in that DB I have a field which is just a 'text' field. What I want to be able to do is write whatever text is typed from the webforms

[PHP] Compiling with Imlib2

2001-08-15 Thread Chris Aitken
in as the path to Imlib2 here. Im installing it on a FreeBSD 4.3 box, with apache 1.3.20 can anyone point me in the right direction ? Thanks Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

Re: [PHP] Compiling with Imlib2

2001-08-15 Thread Chris Aitken
-- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 __-__ *** Big Brother *** It just shows that the dull will rule the world

[PHP] Imlib Errors Still

2001-08-15 Thread Chris Aitken
imlib2 into PHP. Im trying the way the (very small) INSTALL file says that comes with php_imlib but doesnt seem to want to make it work. Any help would be greatly appreciated. Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone

[PHP] Directory Listing in an Array

2001-08-20 Thread Chris Aitken
Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 __-__ *** Big Brother *** It just shows that the dull will rule

[PHP] Strings with Spaces in URLS

2001-08-21 Thread Chris Aitken
://www.blah.com/foo.php?search=$search;); then it brings it up properly in the browser. Any suggestions ? Cheers Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Sorting IP Address Data

2001-08-22 Thread Chris Aitken
? Thanks Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 __-__ *** Big Brother *** It just shows that the dull

[PHP] PHP / MySQL Hosting Charges

2001-08-23 Thread Chris Aitken
price to add PHP and MySQL access to his current www/cgi-bin/logs website. I wont mention the prices hes been quoted yet because I want to see some uninfluenced posts. Cheers in advance. Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED

Re: [PHP] newbie : how to access functions in seperate files???

2001-09-02 Thread Chris Aitken
with a function not being in an included file anywhere, or having a typo in the function name defined. Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] script waiting for an output

2001-09-09 Thread Chris Aitken
how to go about waiting for some form of output in FreeBSD, when it happens fire off a script. I dont know if what im talking about makes sense, or is even doable, but if anyone has any ideas or suggestions it'd be appreciated. Thanks Chris -- Chris Aitken - Administration/Database

[PHP] Something like, but not Webexplorer

2001-05-09 Thread Chris Aitken
with webexplorer that it isnt a viable option. Any suggestions ? Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 Unix -- because

[PHP] Funky PHP Stuff

2001-05-23 Thread Chris Aitken
which tells the time in plain engligh (It's almost half past eight) etc. But im looking for some other bizarre things which really dont do much except entertain and make people wonder but why ? :) Cheers Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Chris Aitken
At 01:57 PM 6/06/2001, you wrote: Hi all, I have three tables in my (mysql) database: videos - ID, title, description, etc.. links - ID, videoID, actorID actors - ID, name, dateofbirth, gender, etc... what i need to do is return a particular video and all it's staring actors with just one

[PHP] .htaccess logout sequence

2001-06-20 Thread Chris Aitken
and see if anyone else has had any success (without changing to a different method of auth :) Cheers Chris Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] PHP based statistics/Graphs

2001-07-17 Thread Chris Aitken
popularity, monthly income etc etc. Just doing some research and figured you guys are the best place to get some info. Cheers Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Weekly Separation

2001-07-18 Thread Chris Aitken
they might be able to throw at me so I can make this a more simple method. Thanks Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Mathematical prob

2001-02-12 Thread Chris Aitken
Okay, im a little stumped. I have been asked to use a formula which calculates Monthly Repayments on a mortgage loan. The formula I have been given is M = P * ( J / (1 - (1 + J) ** -N)) My problem is, the last part. It explains it in english as "then take that to the -N (minus N) power" My

[PHP] Logging out a user

2001-02-25 Thread Chris Aitken
e to start looking cause I have a feeling im off the track on what im searching for in TFM and in TFA. Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2

[PHP] Forcing htaccess login again

2001-02-26 Thread Chris Aitken
Now im even getting more confused. Ive been doing some more research into the subject, and cant seem to find any answers. All of the PHP documentation about headers() talks about auth via PHP, but doesnt mention anything about htaccess as the auth system. On my main.php screen, this is where

RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Chris Aitken
At 12:26 AM 27/02/2001, Sander Pilon wrote: The request for a password is usually generated by a 401 header. Just do this - Header("WWW-authenticate: basic realm=\"Some realm\""); Header("HTTP/1.1 401 Unauthorized"); exit; That should pop up a box. Just make sure you check the values of

Re: [PHP] parse error on line after last one???

2001-02-27 Thread Chris Aitken
At 06:31 PM 27/02/2001, Jaxon wrote: Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does

Re: [PHP] page counter

2001-04-10 Thread Chris Aitken
, but a regular user may not have this ability to change it. Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 Unix -- because a computer's

RE: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Chris Aitken
it, and making sure its reloaded each time is to do it this way... the U variable pretty much guarantees a random string each time its loaded. image.jpg?.date(U). Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075

RE: [PHP] Re: Malformed Email Date Header

2007-07-26 Thread Chris Aitken
it as being a bad header. Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075 - Making The Web Work The Web Hub http://www.thewebhub.com.au/ [EMAIL PROTECTED

[PHP] Malformed Email Date Header

2007-07-25 Thread Chris Aitken
server. I have other hosting accounts on other windows and linux PHP boxes which do not have this issue. Just one this one server. Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075

RE: [PHP] Hide the real URL

2007-07-26 Thread Chris Aitken
:) Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075 - Making The Web Work The Web Hub http://www.thewebhub.com.au/ [EMAIL PROTECTED

RE: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Chris Aitken
? But wouldn't that make every image on the page be uncached and reloaded each time? Not very efficient if the shell of the site keeps getting loaded if only 1 or 2 images need to be forced. Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075

RE: [PHP] Malformed Email Date Header

2007-07-26 Thread Chris Aitken
-- Note the above how it puts the correct +1000 on the internal header, but the one that becomes more of an external (or visible) header, has the ?1000 Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075

[PHP] Re: Pirate PHP books online? - ENOUGH ALREADY

2007-07-30 Thread Chris Aitken
button). Let it die already. There's more important things to waste bandwidth on... like discussing ... I dunno who's hotter... Oprah Winfrey or Roseanne? Regards Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075

RE: [PHP] Re: Which PHP-Editor to use?

2007-08-02 Thread Chris Aitken
I know I've been away from this list for years and have missed the several reincarnations of this thread over time, but has anyone ever used a kickass little program called Notepad2? I discovered this about 2 years ago and it's the most brilliant little application I've ever found. Sure, it

RE: [PHP] About MySQL Tables

2007-08-06 Thread Chris Aitken
all items in PRODUCT, then within this loop, a second query lists all entries in IMAGES which have the productcode, with a limit 1 in the query. Personally, I'd go with the Group By option, and be clever with your ORDER so the correct image gets selected. Regards Chris Aitken The Web Hub

[PHP] Weird Messages upon install upgrade

2001-04-13 Thread Chris Aitken
Hi All, Ive just run into some bizarre problem. I upgraded to a more recent version of PHP and have run into some bizarre problem. We were running version 4.0bsomething on a FreeBSD box with Apache and ive just installed 4.0.3pl1 and ive managed to get pretty much everything working, except for

[PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Hardy Merrill wrote: I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Rasmus Lerdorf wrote: If a function has not been defined to take optional arguments, then you *must* provide these arguments when you call the function. The fact that previous versions of PHP incorrectly let you do this was at best an undocumented misfeature, but more

[PHP] Importing Data from Text File

2001-04-17 Thread Chris Aitken
each line into a table (Mysql DB) that had 6 fields (5 for each of the above plus an autoincremented ID field stock_id stock_name stock_desc stock_length stock_qty stock_price Any suggestions and direction pointing will be greatly appreciated. -- Chris Aitken - Webmaster/Database

[PHP] Lynx, Cron and PHP

2001-04-19 Thread Chris Aitken
need to add to my cron entry, or do I need to force some sort of death via the php script ? Thanks Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Incrementing a String Name

2001-04-22 Thread Chris Aitken
Hi Just a quick puzzle I cant seem to get around at the moment... Im trying to create a loop that increments the string name by a digit. For example, if I had the following 4 strings submitted to a script. $name1 $name2 $name3 $name4 What I want to do is create a while loop that will

RE: [PHP] redirection to another page function

2001-04-22 Thread Chris Aitken
() function works better. Surely its better to write your code trying not to exclude any user if at all possible. Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] Keyboard Hotkeys

2001-05-03 Thread Chris Aitken
, or simulate a click to a link which is on the page. Im not confident of a yes response, but I figured I would ask just incase. Cheers Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890

[PHP] PHP based Reminder System

2001-05-06 Thread Chris Aitken
a system has already been written doing this. Cheers Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890 Unix -- because a computer's

[PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Chris Aitken
Hi all, I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade worked well, the daemon was running and serving pages etc. So I installed the latest PHP build in my ports tree (4.2.3) and it compiled no problems, but when I added the required lines into my httpd.conf to

[PHP] Mozilla/Opera issue

2007-02-20 Thread Chris Aitken
Chris Aitken The Web Hub Designer and Programmer Phone : 02 4648 0808 Mobile : 0411 132 075 - Making The Web Work The Web Hub http://www.thewebhub.com.au/ http://www.thewebhub.com.au/ mailto:[EMAIL PROTECTED] [EMAIL PROTECTED