Re: [PHP] Making it so the .php isn't needed

2003-04-02 Thread Peter Houchin
passing variables to a php file, I don't have to include the .php in the link...so i can have http://www.my-domain.com/page1?var1=3var2=4 instead of http://www.my-domain.com/page1.php?var1=3var2=4 Anybody know how i can make this work? THanks Teren -- Peter Houchin Sun Rentals STR Manager

Re: [PHP] daylight savings time ?

2003-04-01 Thread Peter Houchin
=32DI=1059 -- Peter Houchin Sun Rentals STR Manager Phone: 03 9869 6452 Fax: 03 9866 2511 Mobile:0438 789 220 [EMAIL PROTECTED] http://www.sunrentals.com.au/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ereg question

2003-03-30 Thread Peter Houchin
Beauford, Jason, Build a bridge and get over it already sheeesh TYVMIA Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can anyone help me

2003-03-27 Thread Peter Houchin
Site Programming (OpenSSL) Also How to create certificate on server Suhas __ Suhas S Pharkute. P O Box 8551, Pocatello, ID 83209. 1.208.221.3896 http://myweb.cableone.net/psuhas/ __ -- Peter Houchin Sun Rentals STR Manager Phone

Re: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Peter Houchin
yes there is java script Dan wrote: On Thu, 27 Mar 2003 12:32:06 -0800 (PST), [EMAIL PROTECTED] (Manuel Ochoa) wrote: Is there any way of using php to launch a new browser without the IE toolbars? No. PHP is server side, not client side. -- Peter Houchin Sun Rentals STR Manager Phone: 03

[PHP] working with pop up windows

2003-01-21 Thread Peter Houchin
howdy all, a page with a link to a pop up window.. when a user clicks on it a window opens with a little form on it, now what i want to happen is when the user hits submit and it does all of it's processing it 1) closes the popup window 2) updates the original page where the user first started

RE: [PHP] working with pop up windows

2003-01-21 Thread Peter Houchin
ahh shoot!!! forgot to add the values of the form once submitted go to another page before it's ment to go back to the parent page.. -Original Message- From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 11:18 AM To: 'Peter Houchin'; 'php gen

RE: [PHP] Need a suggestion on developing a php-related system

2003-01-07 Thread Peter Houchin
check out php nuke or post nuke -Original Message- From: Kelvin Poon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Need a suggestion on developing a php-related system HI, I am new to PHP and I am just wondering if anyone

RE: [PHP] Need a suggestion on developing a php-related system

2003-01-07 Thread Peter Houchin
: [PHP] Need a suggestion on developing a php-related system THanks a lot Peter, would you mind explaining what is PHP nuke? From: Peter Houchin [EMAIL PROTECTED] To: Kelvin Poon [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Need a suggestion on developing a php-related system

RE: [PHP] PHP sendmail configuration

2003-01-06 Thread Peter Houchin
richard check your php.ini the mail stuff in there .. it's most likely using the address either there or ur web server config file -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 7 January 2003 10:49 AM To: PHP General Subject: [PHP] PHP sendmail

RE: [PHP] Access page via user password

2003-01-06 Thread Peter Houchin
yep look at sites like phpbeginner.com, phpwizard.com,zend.com, phpbuilder.com and browse ya way thru the tutorials there are plently of sites out there such as the ones mentioned that will give you a great helping hand :) -Original Message- From: Ezequiel Sapoznik [mailto:[EMAIL

RE: [PHP] Code contents of a function

2003-01-02 Thread Peter Houchin
so put it in a if or switch statement eg if ($var){ myfunction(); } else { sumotherfunction(); } etc -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED]] Sent: Friday, 3 January 2003 12:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Code contents of a function I

[PHP] Which one to use..

2002-12-22 Thread Peter Houchin
Howdy, in my header page that I include I have a lil script that basically welcomes a user to the site.. I've been asked if I can only get this to show up on the 1st page of the site ( index.php ) now rather than have a whole new header page I want to see if i can go something like this if page

RE: [PHP] php/dreamweaver mx/mysql server question...

2002-12-22 Thread Peter Houchin
localhost refferes to the actual machine your are on .. what is the remote server's host name or ip number .. use one of them instead of local host -Original Message- From: Kelly Meeks [mailto:[EMAIL PROTECTED]] Sent: Saturday, 21 December 2002 10:00 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] URL path problems

2002-12-19 Thread Peter Houchin
if ur using apache using .htaccess in the directory .. and you can also set it in the httpd.conf -Original Message- From: ªüYam [mailto:[EMAIL PROTECTED]] Sent: Friday, 20 December 2002 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP] URL path problems Suppose my web domain is

RE: [PHP] Plz help to solve my problem.

2002-12-16 Thread Peter Houchin
you will need to say what drive the temp folder is on so c:\temp\ in the php.ini -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 17 December 2002 4:11 PM To: 'Elaine Kwek'; PHP Subject: RE: [PHP] Plz help to solve my problem. From this error

RE: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Peter Houchin
Steven, given what you've just said have you double checked that the spelling is the same for the field names in your code and also in the db.. also have you tried to just pass the info on to another page and displaying it? -Original Message- From: Steven M [mailto:[EMAIL PROTECTED]]

RE: [PHP] Report Viruses

2002-12-10 Thread Peter Houchin
only 8? i came in to work this morning and had over 20 of em :( -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 12:13 PM To: Justin French Cc: PHP List Subject: Re: [PHP] Report Viruses Both return mailer demons... 8 more viruses

RE: [PHP] Sendmail

2002-12-10 Thread Peter Houchin
check out sendmail.org -Original Message- From: Kris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 6:03 PM To: PHP List Subject: [PHP] Sendmail Hey Guys I know this is off subject but you people seem to be the only people on the net that know anything :)

RE: [PHP] Solaris

2002-12-08 Thread Peter Houchin
Kris, a couple of options for you to try are http://www.sun.com/bigadmin http://www.solariscentral.com also have a search in google also you can try this... resart the machine and press stop a after the banner comes up and you get the ok prompt .. then type boot -s (for single user mode) (you

RE: [PHP] passing sessions via POST

2002-12-04 Thread Peter Houchin
-Original Message- From: Myrage [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 December 2002 3:55 PM To: [EMAIL PROTECTED] Subject: [PHP] passing sessions via POST How do we pass sessions via post ?? I seem to lose the session once it has been submitted through the POST Method.

RE: [PHP] Prevent storing data when reload

2002-12-03 Thread Peter Houchin
yep have the submit got to another page and then have a header location in there to go back to the original page that the form is on -Original Message- From: Lars Espelid [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] how to make a individual submit...

2002-12-03 Thread Peter Houchin
howdy i have got me a form, that when submitted is effectlively only one variable, but when i submit it, it grabs the last field displayed instead of the one selected.. normally this would be easy but I think because I have it inside a loop it's playing havock on me.. -[form code in side

RE: [PHP] Whimper, help :)

2002-12-03 Thread Peter Houchin
what are the field types in the mysql DB? -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 4:13 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Whimper, help :) Tom, Anyone, No I'm not looking for a , I'm trying to pass

RE: [PHP] hiding php

2002-12-02 Thread Peter Houchin
yes look around for sum thing like chilli soft from sun microsystems, but it's not free.. i dunno if there is a free one.. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 4:13 PM To: PHP List Subject: [PHP] hiding php This should bump

RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

2002-12-01 Thread Peter Houchin
if its not there add it -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Monday, 2 December 2002 10:31 AM To: PHP List; Evan Nemerson Subject: RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php That's what I'm saying, there is

RE: [PHP] Postnuke --- Meta keywords and title different for all the pages...

2002-11-28 Thread Peter Houchin
Howdy, um what exactly do you want to do? add meta tag's to each individual page? -Original Message- From: Manoj Nahar [mailto:[EMAIL PROTECTED]] Sent: Friday, 29 November 2002 5:26 AM To: [EMAIL PROTECTED] Subject: [PHP] Postnuke --- Meta keywords and title different for all

[PHP] deleting a record.

2002-11-26 Thread Peter Houchin
howdy all, this should be fairly simple but not turning out to be so am asking for a little help.. I have a script that fetches all the records in a table and display's them on the screen. I get and display the records with the following: ? // get the list of resellers from the db $res =

RE: [PHP] Re: deleting a record.

2002-11-26 Thread Peter Houchin
Thanks Kyle, got it working like a treat :) for some reason it wasn't selecting the DB but it is now :D -Original Message- From: Kyle Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 10:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: deleting a record. ? //

[PHP] displaying record number in a cell in a table

2002-11-26 Thread Peter Houchin
howdy, I've had a look around and haven't been able to find what I'm after.. What I'm trying to do is display the number of each individual record with in a table in a db WITH OUT relying on the records id, here what I've come up with so far: //get and count the number of records in the table

RE: [PHP] displaying record number in a cell in a table

2002-11-26 Thread Peter Houchin
Thanks Robert -Original Message- From: Van Andel, Robert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 11:43 AM To: Peter Houchin; php_gen Subject: RE: [PHP] displaying record number in a cell in a table $result = mysql_query(select * from [database table]); echo

RE: [PHP] forum module for NUKE?

2002-11-25 Thread Peter Houchin
there's sort of one in there already ... but also check out http://www.nukescripts.net/ and that has links off that for other nuke sites/add on's -Original Message- From: The Gabster [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 26 November 2002 9:35 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] Warning with Header(Location: test.php)

2002-11-25 Thread Peter Houchin
your header command must go before any other out put to the page .. eg ?PHP lots of or no php other stuff, with out writing to the page .. .. .. Header(location: test.php); html head titleboo/title /head body etc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

[PHP] perplexed as to why this is happening...

2002-11-24 Thread Peter Houchin
Howdy, I'm doing a simple db check.. grabbing a db value, in this case $sec, based on the user name registered in the session, I've created a user called test with $sec equal to 2 but when i get to the second echo of $sec the value has changed to 1 and I can't understand why... can some one

RE: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Peter Houchin
thanks for that .. I must be going blind :) -Original Message- From: Michael Hazelden [mailto:[EMAIL PROTECTED]] Sent: Monday, 25 November 2002 11:44 AM To: 'Peter Houchin'; php_gen Subject: RE: [PHP] perplexed as to why this is happening... Ahem ... $sec=1 means set $sec

[PHP] a conditionial insert

2002-11-18 Thread Peter Houchin
howdy have made up a script to insert stuff into my db but I want it to be conditionial as in I only want it inserterd if it matches the condition.. function new_user() { //check to see if the company is in the list $result = mysql_query(SELECT * FROM resellers WHERE

RE: [PHP] a conditionial insert

2002-11-18 Thread Peter Houchin
Hi just wanted to say thanks Justin.. I've got it working with your idea I needed to change this line if($result mysql_num_rows($result) 0) to if ($result mysql_num_rows($result) 1) and it works a treat. Thanks Peter I'm no expert, but I think $result will return true if the

RE: [PHP] RE: running php as cgi script

2002-11-18 Thread Peter Houchin
Hi I'm trying to run a simple test php script as a cgi script on my ISP's server and haven't been able to get it to work, although according them it is possible. I have an example from a book which gives the following steps: 1. Put the script in the cgi-bin 2. run chmod 755 3.

[PHP] geting date after x number of days

2002-10-30 Thread Peter Houchin
howdy, I was wondering if someone could point me to a place where i can find out how to or give me some pointers on getting the day date after x number of days.. I'm also using getting the current date by $date = date(D M d, Y ); TIA Cheers Peter the only dumb question is the one that

RE: [PHP] Re: Yet another question

2002-10-30 Thread Peter Houchin
try it and see .. though I am pretty sure that it won't work unless you define the variable else where in the file b4 calling it. other wise the variable will either be blank or give you an error saying undefined variable if it's used before the include. -Original Message- From: Trasca

RE: [PHP] geting date after x number of days

2002-10-30 Thread Peter Houchin
apologies to all 4 my laziness, I should have looked around 1st. I'm still 1/2 asleep .. but that's no excuse.. so sorry all :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stupid me!!

2002-10-30 Thread Peter Houchin
howdy, can any one tell me what's wrong with this my mind is going a miss on me.. if ( $state == 'NSW' $state == QLD $state == NT $state == ACT){ do sum stuff } else { do other stuff } TIA Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List

RE: [PHP] stupid me!!

2002-10-30 Thread Peter Houchin
thanks every one for your help. -Original Message- From: Leif K-Brooks [mailto:eurleif;buyer-brokerage.com] Sent: Thursday, 31 October 2002 2:26 PM To: Peter Houchin Cc: [EMAIL PROTECTED] Subject: Re: [PHP] stupid me!! A variable can't have 4 values at once? :) Peter Houchin

RE: [PHP] newbie: apache prob...

2002-10-28 Thread Peter Houchin
check your permissions on htdocs etc and also that u haven't blocked ya self outta there in the httpd.conf -Original Message- From: John Nichel [mailto:jnichel;by-tor.com] Sent: Tuesday, 29 October 2002 8:09 AM To: Mr. BuNgL3 Cc: [EMAIL PROTECTED] Subject: Re: [PHP] newbie: apache

RE: [PHP] New Error?

2002-10-28 Thread Peter Houchin
instead of using break use exit() where u have ur breaks and will work fine -Original Message- From: Marek Kilimajer [mailto:kilimajer;webglobe.sk] Sent: Tuesday, 29 October 2002 1:30 AM To: PHP Subject: Re: [PHP] New Error? Break an continue are for loops (while,for ...), if

RE: [PHP] looking for Powerfull Document Management Systems in PHP...

2002-10-28 Thread Peter Houchin
yeah phpnuke, phpnuke.org postnuke, postnuke.com phpwebsite, phpwebsite.appstate.edu there's probably a few more out there too -Original Message- From: PHP Beginner [mailto:bphpdev;icem.cu] Sent: Tuesday, 29 October 2002 11:14 AM To: php - List Subject: [PHP] looking for Powerfull

[PHP] OCDB Connection from unix box

2002-10-27 Thread Peter Houchin
can any one point me to a good tutorial or article that has web server on a unix box and a win2k server with access on it? is there anything other than the ocdb_connect... that i need to get/use to connect to it? Cheers Peter the only dumb question is the one that wasn't asked -- PHP General

RE: [PHP] OCDB Connection from unix box

2002-10-27 Thread Peter Houchin
Thanks Andrew :D -Original Message- From: Andrew Hill [mailto:ahill;openlinksw.com] Sent: Monday, 28 October 2002 12:10 PM To: Peter Houchin Cc: php_gen Subject: Re: [PHP] OCDB Connection from unix box Hi Peter, Check out the PHP-ODBC HOWTO's on http://www.iodbc.org

RE: [PHP] A newbie on Board!

2002-10-27 Thread Peter Houchin
jump along to php.net/manual/en and have a look in there and it will show ya how to connect to oracle ( I can't remember :D ) also check out phpbuilder.com and phpbeginner.com they'll both have tutorials for connecting to oracle from memory :) Cheers -Original Message- From: Subodh

RE: [PHP] Sessions help please

2002-10-24 Thread Peter Houchin
Have a look through the articles and or tutorials that can be found on phpbeginner.com and also phpbuilder.com they will give u a good place to start learning about it all :) -Original Message- From: Bryan McLemore [mailto:Kaelten;worldnet.att.net] Sent: Friday, 25 October 2002 2:19 AM

RE: [PHP] Session Trouble

2002-10-24 Thread Peter Houchin
I'm trying to register a session for a poll by first opening the session (session_start()), then registering it like this: $_SESSION['voted'] = yes; Problem is, when I check to see if the session is there: if(isset($_SESSION['voted'])) I have it load up a page containing the poll

RE: [PHP] Sessions help Please

2002-10-24 Thread Peter Houchin
have a look on phpbeginner there is a couple of articles/tutorials that explain this also look at previous posts :) -Original Message- From: Bryan McLemore [mailto:Kaelten;worldnet.att.net] Sent: Friday, 25 October 2002 6:39 AM To: PHP - General Subject: [PHP] Sessions help Please

[PHP] to use switch or not to use switch

2002-10-16 Thread Peter Houchin
howdy am just courious to see what approach others would take given this senario. I have a form which for the most part is basic to follow but I have one field where people can enter any value up to 100k in now what has to happen is if they enter anything that equals 20k or lower is taken care

[PHP] why can't i do this?

2002-10-16 Thread Peter Houchin
howdy can some one please tell me why i can't do this elseif ($_POST['cost'] =4 =20001){...} but i can do this elseif ($_POST['cost'] =4 $_POST['cost'] =20001){...} Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List

RE: [PHP] why can't i do this?

2002-10-16 Thread Peter Houchin
PROTECTED]] Sent: Thursday, 17 October 2002 2:12 PM To: Peter Houchin Cc: php_gen Subject: Re: [PHP] why can't i do this? Because that's not the way PHP works. You aren't comparing anything on the second half of the elseif statement. Keith Vance Vance Consulting LLC www.vanceconsulting.net

RE: [PHP] why can't i do this?

2002-10-16 Thread Peter Houchin
it like i do :) Cheers -Original Message- From: Keith Vance [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 October 2002 2:12 PM To: Peter Houchin Cc: php_gen Subject: Re: [PHP] why can't i do this? Because that's not the way PHP works. You aren't comparing anything

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-15 Thread Peter Houchin
Just wanted to say thanks to both Brad and John for their help i got it going with the following function new_user() { $res = mysql_query(...); if ($res == FALSE) { $error = mysql_error(); $_SESSION['mysqlerror'] = $error; Header(Location: logerror.php?op=insert_error); }

RE: [PHP] sesson tutorials

2002-10-14 Thread Peter Houchin
Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Monday, 14 October 2002 12:50 PM To: 'Peter Houchin'; 'php_gen' Subject: RE: [PHP] sesson tutorials howdy does any one know where i can view an uptodate session tutorial? so far I have not found any that are up todate

[PHP] passing mysql_error() out put to a different page?

2002-10-14 Thread Peter Houchin
howdy, I have a page that I want to control the errors etc for a site, now what I want is to perform a query on one page but if there's an error it opens a different page with the error message on it including the out put from mysql_error() can this be done? Cheers Peter the only dumb question

RE: [PHP] Re: two submit buttons redirecting to two scripts

2002-10-14 Thread Peter Houchin
make sure there is nothing before the if statements for example ?php if ($b1) { redirct to script1 } elseif ($b2) { redirct to script2 } HTML etc /HTML and that should work fine regardless if your using the Header( Location...) other means -Original Message- From: Sonal Patel

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-14 Thread Peter Houchin
11:07 AM To: Peter Houchin Cc: php_gen Subject: Re: [PHP] passing mysql_error() out put to a different page? Very interesting question The only thing I can come up with right now is if you detect an error (one of the functions returning FALSE,) you can write the contents of mysql_error

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-14 Thread Peter Houchin
() on them before any function is started. any idea's? -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 15 October 2002 11:21 AM To: 'Peter Houchin'; 'Brad Bonkoski' Cc: 'php_gen' Subject: RE: [PHP] passing mysql_error() out put to a different page

[PHP] sesson tutorials

2002-10-13 Thread Peter Houchin
howdy does any one know where i can view an uptodate session tutorial? so far I have not found any that are up todate. Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] updated tutorials? do they exist?

2002-10-08 Thread Peter Houchin
Howdy does any one know of any site(s) any where that has UPDATED tutorials? I have alooked phpbuilder, phpwizard, hotscripts, php.resourceindex.com, zend for updated examples etc.. but they only seem to have them for earlier versions of php and not for any verson after php 4.2.1? Cheers

RE: [PHP] File download doesn't work with SSL

2002-10-07 Thread Peter Houchin
You can have multiple directives in that header: Cache-Control: no-cache, no-store Do you have a way to view the HTTP? No. Can you recommend a good method on windows? Should I get lynx or does opera have a method to view all the headers? can't you view all headers etc in the source

[PHP] session.cookie_domain

2002-10-06 Thread Peter Houchin
howdy, I have a server running a number of domains as virtual hosts under apache if i wanted to set a cookie domain can i set it for all domains in php.ini? or is it better to set it using ini_set(session.cookie_domain, domain) in each site? Cheers Peter the only dumb question is the one that

RE: [PHP] PHP and Flash

2002-10-01 Thread Peter Houchin
do you mean load into the menu as in populate the menu? if so then that is working but if u mean u click on a link then nothing comes up -Original Message- From: Rebekah Garner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] PHP and Flash

2002-10-01 Thread Peter Houchin
am assuming tis up the top ( it loads other menu names) and the white space down the bottom. but either way it don't -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:29 PM To: Rebekah Garner; [EMAIL PROTECTED] Subject: Re: [PHP]

RE: [PHP] Configure php for windows

2002-09-30 Thread Peter Houchin
ScriptAlias /php/ c:/path-to-php-dir/ one would assume that you change the C:/path-to-php-dir/ to the path of the cd drive to get it to work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] .php to .html?

2002-09-29 Thread Peter Houchin
just save the files u create as .html make sure in your apache httpd.conf where you reference for .php that u have html in here as well and all will be sweet. eg in this line AddType application/x-httpd-php .php4 .php .htm .php3 .html anything you put in that line will be passed through php

RE: [PHP] backup script

2002-09-23 Thread Peter Houchin
do ya self a fav. and look @ phpbuilder, phpwizard etc and and a look will take ya 2 mins to find what your looking for :) -Original Message- From: Research and Development [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 September 2002 9:18 AM To: PHP General List Subject: [PHP] backup

RE: [PHP] Maybe a stupid question but can it be done?

2002-09-23 Thread Peter Houchin
if the 2 tables have the same name can't he just go INSERT INTO table1, table2 (table1.name=$name, table2.name=$name ... blah); think u can do that .. but again that relies on table names being the same i guess... -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Maybe a stupid question but can it be done?

2002-09-23 Thread Peter Houchin
opps same fields even sawwy :) -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 September 2002 1:49 PM To: 'PHP General' Subject: RE: [PHP] Maybe a stupid question but can it be done? if the 2 tables have the same name can't he just go INSERT

RE: [PHP] Access MySQL

2002-09-19 Thread Peter Houchin
yeah there is tis called Access-to-MySQL (http://www.convert-in.com/acc2sql.htm ) ...here's some specs on it Features All MS Access data types and attributes are supported Works with all versions of Unix and Windows MySQL servers Stores MS Access database into a dump file (see

RE: [PHP] adding unix account via system command

2002-09-17 Thread Peter Houchin
you need to make sure that the web has permission to use that file .. my guess is it don't have permission hence why you can run add.sh from the command line (where your not your web user I'm assuming). -Original Message- From: tim tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 18

RE: [PHP] adding unix account via system command

2002-09-17 Thread Peter Houchin
To: Peter Houchin; [EMAIL PROTECTED] Subject: RE: [PHP] adding unix account via system command Dear Pete, Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ? -- tim --- Peter Houchin [EMAIL PROTECTED] wrote: you need to make sure that the web has permission

RE: [PHP] refresh function?

2002-09-11 Thread Peter Houchin
yeah have a look at ur meta tags.. ie meta refreash -Original Message- From: Peter [mailto:[EMAIL PROTECTED]] Sent: Thursday, 12 September 2002 1:56 PM To: [EMAIL PROTECTED] Subject: [PHP] refresh function? Hi, Is there a function that will auto refresh a page? Thanks in

RE: [PHP] unexpected T_SL

2002-09-01 Thread Peter Houchin
simple .. look up docs on putting straight text to the screen and u'll find a number of options such as echo and print i bet ya'd be able to solve really quickly -Original Message- From: Voisine [mailto:[EMAIL PROTECTED]] Sent: Monday, 2 September 2002 12:34 PM To: [EMAIL PROTECTED]

RE: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread Peter Houchin
do a php_info() on a page and check the mysql propeties in there.. might give you a clue.. -Original Message- From: hugh danaher [mailto:[EMAIL PROTECTED]] Sent: Monday, 26 August 2002 1:18 PM To: php Subject: [PHP] Call to undefined function mysql_connect() Help! I am getting

RE: [PHP] Include/require and the HTML Code

2002-08-14 Thread Peter Houchin
Mike, i had no problems with this.. !-- index.php -- ? include('Functions.inc'); HtmlHeader(); ? # Do things ? HtmlFooter(); ? !-- Functions.inc-- ? function HtmlHeader() { ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN htmlhead

RE: [PHP] Php.ini on Solaris?

2002-08-14 Thread Peter Houchin
is usually in /usr/local/lib -Original Message- From: Randall Perry [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 11:58 AM To: [EMAIL PROTECTED] Subject: [PHP] Php.ini on Solaris? Just compiled Apache 1.3.26 with latest php and discovered my form variables weren't

RE: [PHP] Comparing Data

2002-08-13 Thread Peter Houchin
-Original Message- From: Justin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 14 August 2002 10:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Comparing Data Hello all, I've run into a problem and there has got to be a way to do this. I'm searching a mysql table and finding

RE: [PHP] Web services and PHP

2002-08-12 Thread Peter Houchin
look up .NET in the manual it will have all your answers :D -Original Message- From: Aung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 13 August 2002 1:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Web services and PHP I have some web services developed with .NET and I would like to

RE: [PHP] Web services and PHP

2002-08-12 Thread Peter Houchin
refering to different manual? Peter Houchin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... look up .NET in the manual it will have all your answers :D -Original Message- From: Aung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 13 August 2002

RE: [PHP] Need help to choose hosting!

2002-08-01 Thread Peter Houchin
How do you expect to get ASP (assuming you mean microsoft's Active Server Pages) on a Unix box? Justin, you can use ChilliSoft, http://www.chillisoft.com, by Sun Microsystems that is a ASP plugin that works with Apache as well as other browsers such as IBM's Websphere, and many others as

Re: [PHP] mail problem

2001-09-13 Thread Peter Houchin Sun Rentals STR Manager
From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] mail problem Date: Thu, 13 Sep 2001 14:51:36 +0930 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mozilla-Status

[PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
to the commandline and send emails no problem but from the web pages I can't .. any suggestions would be apreciated. -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sunrentals.com.au

Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager

Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager

Re: [PHP] cant connect to mysql

2001-08-28 Thread Peter Houchin Sun Rentals STR Manager
/html/procbit/login.php on line 17 the line 17 in my code is as follows: $db=mysql_connect(localhost,root,password); please help me out of this problem. Please reply me at [EMAIL PROTECTED] thank you all sagar -- Peter Houchin Sun Rentals STR

[PHP] Mail() not setting MIME TYPE

2001-08-14 Thread Peter Houchin
it to you off the list. thanks in advance -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sun.com.au/rentals

Re: [PHP] Question about sessions

2001-08-13 Thread Peter Houchin
: [EMAIL PROTECTED] -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sun.com.au/rentals

Re: [PHP] sample or tutorial for conditional pulldown menus

2001-08-07 Thread Peter Houchin
LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Peter

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Peter Houchin
ROTECTED] ------ Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sun.com.au

Re: [PHP] IE - View Source

2001-07-26 Thread Peter Houchin
They do it using a java script that disables the right click or they build a custom right click menu -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sun.com.au/rentals

RE: [PHP] Strong typing?

2001-07-12 Thread Peter Houchin - SunRentals Australia
why can't you just use plan simple HTML to do it??? rather than make a larger hassle for your self ie strong howdy /strong ??? yes that is valid HTML :) Peter -Original Message- From: Dr. Evil [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 10:27 AM To: [EMAIL

RE: [PHP] How to prevent people from downloading images

2001-07-03 Thread Peter Houchin - SunRentals Australia
yeah use macromedia's flash is One way there is a java script way ... but i think that basically just stops people right clicking the page -Original Message- From: rodrigo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 10:37 AM To: php php Subject: [PHP] How to

RE: [PHP] newbie has include path error new problem

2001-07-02 Thread Peter Houchin - SunRentals Australia
if the windows machine is the host machine ie for your internet http://localhost/ will only be for the windows machine so if you are tring to get to that address from your linux machine you won't be able to ... however if your machines ip was say 123.123.123.123(windows machine) then from your

RE: [PHP] PHAkt for Macromedia Ultradev

2001-07-01 Thread Peter Houchin - SunRentals Australia
Using DW UD 4 I've found no problems with it.. how ever I will suggest that you use something else to do the bulk of your php coding, although the new layout in UD DW 4 does make it easier than in prevous versions to edit code directly Peter -Original Message- From: Matthew

RE: [PHP] search for a better php source code viewer

2001-06-27 Thread Peter Houchin - SunRentals Australia
try http://astro.phpwebhosting.com/~ttm/ or home site for windows .. however I do think, though am not sure, visual Php is available on linex windows (I'm using windows) -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 3:42 AM To:

  1   2   >