[PHP] check server status...please help

2005-01-26 Thread Ross Hulford
point me in the right direction? Kind regards, Ross Hulford -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Expression for deleting all cookies

2005-02-04 Thread Ross Hulford
Is there a single bit of code for scrubbing all the cookies or do I have to do setcookie (name, ) for all of them?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A more ecconomical way with control statements??

2005-03-07 Thread Ross Hulford
if (empty($samosa)){ // do nothing } else { setcookie(cookie[samosa], $samosa); } if (empty($pakora)){ // do nothing } else { setcookie(cookie[pakora], $pakora); } It goes on like this for the whole menu I am looking for a more effiecient way to do this. The inputs are text boxes

[PHP] using javascript within php

2005-03-07 Thread Ross Hulford
I want to set focus on a text area with javascript if the entry by the user is not what I want. This is what i have so far. ?php if (isset($submitted){ if(empty($name)) { $fname_error = *Please Enter your firstname or initial; //the code to set focus to the textbox should go here } } ?

[PHP] call anchor from php

2005-03-07 Thread Ross Hulford
Is it possible to call a named anchor from within a php script?? I need my page to go to the point in the page where the form is and bypass all the rubbish. Thanks y'all -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using lists in php and sending

2005-03-08 Thread Ross Hulford
I have a list in php where the user can select 1 or more (rooms book in a bb). The following code is part of the form. select name=rooms size=7 multiple option value=Single StandardSingle Standard/option option value=Single

[PHP] incrementing a number from a text file

2005-03-09 Thread Ross Hulford
I want to read a number from an external (txt) file and increment it.then save the number back on the text file. I know this is possible but want a simple amd economical way to do this. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] showing an image with php

2005-03-11 Thread Ross Hulford
I want to asssign an image to a variable and show it if certain conditions are met. E.g If condition is met { $myimage= retrieve image (images/myimage.jpg) echo $myimage } Have not used image creation before with php just dipping my toe in the water. Thanks R. -- PHP General Mailing

Re: [PHP] incrementing a number from a text file

2005-03-11 Thread Ross Hulford
I am just going to adda auto incrementing DB filed and get the numbers that way. Seems the best way. Kim Madsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:14 PM To: Ross

[PHP] passing variables between pages without sessions

2005-03-13 Thread Ross Hulford
I am creating a form but instead of having a long form I want to break it down into a few stages but need to pass the variables bewteen the pages. I have done this before using sessions but would like to know if there is an alternative way to do this? R. -- PHP General Mailing List

[PHP] eregi expression for checking a domain

2005-03-13 Thread Ross Hulford
Does anyone know a working eregi expression for determining a domain is valid? don't need the http:// just looking for www.thedomain.com cheers, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] password Boxes

2005-03-14 Thread Ross Hulford
Does anyone know how to change the style of password boxes so when the characters are entered an asterisk appears rather that a smal circle? Or is this just determed by the OS and uncangable with CSS or Javascript of PHP? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] inserting an auto incemented column in table already created

2005-04-29 Thread Ross Hulford
Hi, I have a table with 15 columns or so that has been inherited from an older db and am trying to insert an auto increment column (in mysql) without having to number it manually. This is fine when I add new colums via a form but the old entries have a null value Alternatively It has been

[PHP] mysql_fetch_assoc(): 3 is not a valid MySQL result resource

2004-10-31 Thread Ross Hulford
My page displays the first result and then I get the following error. Warning: mysql_fetch_assoc(): 3 is not a valid MySQL result resource in c:\inetpub\wwwroot\testy\Untitled-1.php on line 29 Please help. R. my code. ?php

[PHP] code problem

2004-10-31 Thread Ross Hulford
This is my code... ?php require_once('Connections/ross.php'); ? ?php $maxRows_Recordset1 = 10; $pageNum_Recordset1 = 0; if (isset($_GET['pageNum_Recordset1'])) { $pageNum_Recordset1 = $_GET['pageNum_Recordset1']; } $startRow_Recordset1 = $pageNum_Recordset1 *

[PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Ross Hulford
I have a porblem with undefined variables on loacalhost. Any ideas why? I have turned registed variables on. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] UNDEFINED VARIABLE ON LOCALHOST

2004-11-29 Thread Ross Hulford
It was my error reporting.forgot I replaced my ini file. John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ross Hulford wrote: I have a porblem with undefined variables on loacalhost. Any ideas why? I have turned registed variables on. R. Without seeing any code

[PHP] cannot send mail through localhost

2004-11-29 Thread Ross Hulford
I am trying to test my form locally, however it doesn't get picked up my mailbox. The form is fine and I even set the access in IIS to 127.0.0.1 so the relay error is not a porblem anymore. This must be a setup problem. The mail is a standard mailform. I just use IIS thought a mail server is in

[PHP] inserting html within a mail body

2004-12-06 Thread Ross Hulford
Hi, I am using the mail() function in php andI am looking for a quick and easy way to make the mail_body of an auto response email with HTML tags in it so I can add some style to it. Are the use of CSS tags possible too? Any suggestions will be much appreciated Ross -- PHP General

[PHP] Liveticker problem

2004-12-21 Thread Ross Hulford
Her is the code (not mine) what I am trying to so is cut out all the header info that is included in the message as shown here http://supercool-74.com/sms/liveticker.php The message is supposed to be terminated by the xx string which is defined in config.php but it just continues and prints

[PHP] Javascript newsgroup

2005-01-17 Thread Ross Hulford
Hi, I need to find a good Javascript newsgroup. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Textarea and Php

2005-01-18 Thread Ross Hulford
Is there a way to add and remove lines of text to a textarea inside a form? Thanks Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php