[PHP] String Length ??

2004-03-22 Thread gordon stewart
Hi there I'm new to PHP (as some may know)... ive spotted / Found the answers to 2-3 problems tonight - By looking through the PHP documentation.. but this problem is perplexing.. Ok - Ive got a FORM - Which basically, I put lots of text into it (For testing purposes, I go to news websites

Re: [PHP] String Length ??

2004-03-22 Thread gordon stewart
--- Filip de Waard [EMAIL PROTECTED] wrote: strlen() is the correct function to use here. Use it like: echo strlen($_POST['input_name']); Thanks... Where $_POST['input_name'] should be replaced by the variable you want to check. strlen() is always right, but it counts the actual

[PHP] Thanks : Re: [PHP] String Length ??

2004-03-22 Thread gordon stewart
--- Filip de Waard [EMAIL PROTECTED] wrote: strlen() is the correct function to use here. Use it like: echo strlen($_POST['input_name']); Where $_POST['input_name'] should be replaced by the variable you want to check. strlen() is always right, but it counts the actual charactars of

[PHP] Apache - PHP Load-n-Go ?

2004-03-20 Thread gordon stewart
Hi there About 12 months ago, - (on an old PC), I ran Apache, installed PHP.. (I dont remember any hastles at the time..) Anyway, I havnt used PHP much - (didnt need to..) - I have a new PC now - loaded Apache onto it (a test server, before I upload to main 24/7 website/server) Its 3:30

[PHP] PS : [PHP] Apache - PHP Load-n-Go ? : FIXED

2004-03-20 Thread gordon stewart
Sorry for the new thread - I deleted my old email (thread ID)... http://marc.theaimsgroup.com/?l=php-generalm=107979353616896w=2 Basically : FIXED I went to the website :- on the 3rd-4th screen :- http://www.webmasterstop.com/tutorials/apache-php-mysql-installation3.shtml I found MY

[PHP] This Group....

2004-03-20 Thread gordon stewart
Hi there Got PHP going :) - ok - Is this the correct group to ask ? Or can anyone suggest another group / forum for newbie how-to questions.. BASICALLY :- Ive been programming in HTML / CGI (Perl) for several years, have only 'briefly' done PHP.. - At work, Someone wants one of my CGI

[PHP] Getting values

2002-04-09 Thread Gordon Stewart
http://kwister.dns2go.com/php/4.php?action=tablesdatabase=mysqltable=user http://kwister.dns2go.com/php/4.txt Hi - I'm online for next few hours (I'll upload to a non PHP server when i go offline) basically ive had help, fixed my script to show 4 rows of 17 columns each (Instead of 1 row of

[PHP] Re: cookie sharing between asp and php

2002-04-09 Thread Gordon Stewart
Scott St. John [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have developed a security application for our intranet that handles a user login. It writes values to a cookie and uses that to verify them on the intranet sites until the sessions expire.

[PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Gordon Stewart
Hello, - I'm used (in years gone by) to the Qbasic programme, where i can create 'sub' routines, view each routine on its own - Without reference / Viewing the other code.. (I think its good like that..).. I know in CGI/Perl - you can use sub-routines etc... 1) Does PHP allow sub-routines, eg

[PHP] New User of PHp/Mysql..

2002-04-07 Thread Gordon Stewart
Ive been using Mysql/PHP for a short while - I sent this messaghe to a big PHP group (not enough users though) about a week ago - No reply... Can anyone help.. PS - Slingshot.co.nz doesnt have PHP - its just a text file.. - Save to your own SQL server test, Or just review the code - No

Re: [PHP] Phone number validation

2002-04-07 Thread Gordon Stewart
Richard Baskett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What I do is strip all non-numeric numbers out and just store the number as a string of numbers.. Then do validation on those numbers.. Make sure the right amount of numbers are there, valid

[PHP] Mail Attachments

2002-01-24 Thread Gordon Stewart
Dear List I have just compleated a PHP web frontend to the standard mail function in PHP. I have got it to send and recieve email. Can I take this programming task further and allow it to send and recieve attachments. My script runs on a redhat 7 box. Can anyone help? How can i achieve this?