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 p
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...
>
>
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:
your header command must go before any other out put to the page ..
eg
boo
etc
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 26 November 2002 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Warning with Header("Location: test.php")
>
>
>
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:
".$myrow['id']." ".$myrow['company']."";
printf("(D
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.
>
>
> >
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
$r
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("
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 al
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 a
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 shou
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] Pr
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 the
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 tryin
> -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 Me
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 w
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]]
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 v
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 anythi
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
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
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
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]
> Subj
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
>
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 sendm
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 PROTE
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
D]
> Subject: RE: [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" <
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 ei
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&
r
Secure 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 Man
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
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
mp;pgmarket=en-gb&XAPID=32&DI=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
x27;m 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=3&var2=4
instead of
http://www.my-domain.com/page1.php?var1=3&var2=4
Anybody know how i can make this work? THanks
Teren
--
Peter Houchin
Sun R
>
> 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 a
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 l
n for .NET in PHP manual. Are you 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: 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 an
Mike,
i had no problems with this..
# Do things
LogBook
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
>
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 a
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 PROTECT
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?
>
>
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
12:14 PM
> 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
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 C
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] ba
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]]
> Sen
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 h
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
c
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
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: [P
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
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
> > 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
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
Pete
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
eter
> -Original 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
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
make sure there is nothing before the if statements
for example
etc
and that should work fine regardless if your using the Header( Location...)
other means
> -Original Message-
> From: Sonal Patel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 15 October 2002 8:06 AM
> To: Anup
> Cc: [EM
e Header inside the die that's fair enough I
can figure out why.. but other wise i can't figure out how to pass the die
value through if i make the error redirect out side the die and have it in
a if statement or the like...
> -Original Message-
> From: Brad Bonkoski [ma
echo $_SESSION['mysqlerror'];
echo "";
}
I have tripple checked that both pages have the session_start() on them
before any function is started.
any idea's?
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 15 October 2
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");
}
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
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 (ht
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 on the
> seco
>=21
>
> but i'll live with the fact it doesn't read 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
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
> 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 containi
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 Plea
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 Genera
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
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 Gu
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: ap
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 ...
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 Powe
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 wa
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: Trasc
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
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 L
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
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
company='$_POST[company]
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
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
>
at a guess would say have some hidden inputs on your form that echo the
var's pass from part 2 that way when your form is submitted in part 3 it
gets sent along with the new stuff
> -Original Message-
> From: Michael Benbow [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 21 November 2002 2:24
if i have a form with a select box in it how an i get the values to echo a php value
...
ie
ACT
VIC
can i change it to say
ACT
VIC
so that when the page loads it shows which ever option is in the Data base?
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
o the
user can update if they made a mistake .. it does everything right .. up until the
user clicks on update ... where instead of updating the record it creates a new one ..
Any sussestions/Help would be greatful
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
";
echo
but that's why i've got the
if($name){
if($submit) ...
clause in it .. thinking that if there was a name then update the record..
otherwise create a new one
-Original Message-
From: Simon Garner [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 10:36 AM
To: Pet
Does any one know where there are some tutorials for the switch statement?
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
witch
between the 2 cases
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 1:34 PM
To: Peter Houchin; PHP MAIL GROUP
Subject: Re: [PHP] switch statement
On Mon, 26 Feb 2001 12:33, Peter Houchin wrote:
> > Does any one know where the
Hiya,
Can i call a function from the action line of a form?
ie:
Hiya,
Can i call a function from the action line of a form?
ie:
..
any suggestions ?
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
al Message-
From: W.D. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 10:34 AM
To: Peter Houchin; [EMAIL PROTECTED]
Subject: Re: [PHP] mail() question
just the info in the .txt file
> did you want to actually send the .txt file or just the info in the .txt
> file??
&g
Has any one had/heard this problem... My page doesn't load properly with netscape 4.5
Under Solaris but on WINNT 4 under both ie & NN it loads perfectly can any one offer
any suggestions?
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
Hiya as this is my first time using cookies could some one please give me an typical
life time for a cookie before is destroys its self?
thanks
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
t;;
$body="blah blah\n";
$headers .= "CC: [EMAIL PROTECTED] ";
mail("$address", "$subject", "$body", "$headers \nContent-Type: text/plain;
charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" );
<--- end of snip--->
any help would be greatful :)
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
ot;;
$body="blah blah\n";
$headers .= "CC: [EMAIL PROTECTED] ";
mail("$address", "$subject", "$body", "$headers \nContent-Type: text/plain;
charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" );
<--- end of snip--->
any help
quot;Cc: [EMAIL PROTECTED]";
My page won't load at all apart from the first include i have on my page..
does any one have any idea's?
any help would be greatful :)
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]
--
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]
1 - 100 of 204 matches
Mail list logo