Hi,
Not sure if this is a PHP of a MySQL question, so I am sending it to both
groups. Basically I have a list of numbers with two decimal places in the
MySQL database, but I only want to display some of them with the decimal
points.
i.e.
70 (not 70.00)
87
51.5
46.75
12
29
5.5
-1
45
I know it's
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
Hey Guys
I know this is off subject but you people seem to be the only people on the net that
know anything :)
I'm running Solaris 8 and the version of sendmail that comes with that.
I was sending a batch of emails before with sendmail. I got an error message:
Sendmail [5899]: gBB1Eov05899: SYSE
Thanks Mike, that fixed the problem that I had!
Jason
> -Original Message-
> From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]]
> Sent: December 10, 2002 6:21 AM
> To: 'Jason Dulberg'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] update query based on array
>
>
> > -Original Message--
What does this mean and how can I fix it
/lib/libc.so.6 is on the server and so is /usr//lib/libmysqlclient.so.10
Syntax error in /etc/http/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /lib/libc.so.6: version `GLIBC_2.2'
not found (required by /usr//lib/libmysqlclient.so.1
If you have control of the pages the visitor just left, then you should be
able to modify the links there and pass forward a variable similar to the
following.
Then on your receiving page you can check the value of $var and do something
with this info.
Hope this helps,
Hugh
- Original Mes
I've got sort of an odd one here. I'm populating a select drop down box
with a substantial number of options - actually every county in the
U.S.- which is about 3000 results from a query. The problem is that
when I load the page, there are all kinds of weird problems, characters,
you name it
Hey Aggie,
Show us the rst of the code. stristr() should not be a problem. Chances are there's a
blank line elsewhere that's being sent.
- Original Message -
From: "KANM MD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 2:34 PM
Subject: [PHP] Question Rega
Beauford.2002 wrote:
John
Mary
John
Mary
Maybe you just had a typo before?
Michael Kimsal
http://www.phphelpdesk.com
Guaranteed PHP support when you need it!
734-480-9961
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Here's my question:
I'm running code that essentially checks for either a certain IP address or a password
before it sends a cookie. However, when I try to send the cookie, I get the standard
"Error - headers already sent" when I haven't output anything. After some spot
debugging, I found that
Change the html to:
John
Mary
Beauford.2002 wrote:
Hi,
I'm sending this to both lists as I'm not sure where the problem is, but I
believe it is an issue with my HTML form. Here's the problem:
I have a drop-down menu form on my webpage with employee names in it. When I
choose a name and c
I said this earlier but this time I'm saying it differently
because I semi-fixed it.
I want to repeat the following code as many times as the user
specifies in the variable $_POST['x']. I then need to have the output display as
all the numbers found in the sequence. How would I do this?
C
First, I'm more of a quick learning hack than a developer. I have some code
with a few functions that I've written. I have moved a good part of this to
a class and have updated the code to define an object based on this class
and
do its stuff.
I feel that I understand objects/classes and how to
Hey Guys
I know this is off subject but you people seem to be the only people on the net that
know anything :)
I'm running Solaris 8 and the version of sendmail that comes with that.
I was sending a batch of emails before with sendmail. I got an error message:
Sendmail [5899]: gBB1Eov05899: SYSE
I just installed the latest release Apache2 and PHP.
It seems to work correctly but I've noticed one difference.
The old server syntax highlights when I load a PHP source file but the
new one is just
plain B&W text.
--
Sent from Mozilla and GNU/Linux
--
Yet another, yes another, math related one. I have a form, the user types in
how many numbers they want after the third number they specify. (In other
words, the user enters three numbers, then enters how many MORE number the
user wants to see.) I calculate it as best I can but, very odly, I just g
I had 20 once I got home from school. 8 to check my email and reply to
Justin's email. Now 2 to check and reply to yours...
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Justin French"
<[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTE
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
Both return mailer demons... 8 more viruses just to check this email. Thank
goodness I have a virus protection program!!!
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 7:59
The postmaster@ or abuse@ address of his provider/ISP?
Justin
on 11/12/02 9:22 AM, Stephen ([EMAIL PROTECTED]) wrote:
> This is off topic but, where can you go to report viruses? I've been spammed
> with them a lot lately from this person and I'd like to stop him.
>
> Thanks,
> Stephen Craton
on 11/12/02 12:32 AM, Jon Haworth ([EMAIL PROTECTED]) wrote:
> echo $_SERVER["HTTP_REFERER"];
not all browsers / useragents set this, so you can't *rely* on it.
Justin French
http://Indent.com.au
Web Development &
Graphic Design
--
PHP General Mailin
> > I have a feeling it's going to work out to be something stupidly
> > simple... like these problems always do. :)
>
> =embarrassingly so! If you're taking this all off a user's say-so,
then it
> sounds like an eyeball job to me...
> =dn
I never did solve it, but it came down to a weird cookie
have a look at the output control functions.
http://www.php.net/manual/en/ref.outcontrol.php
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Richard Baskett" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 200
Is there a way of flushing output to the browser. So for example, I have a
script that checks things in a database, every check, or every hundred
checks it would be nice to output something to the browser.. currently it
finishes what it does, or after a minute or so it then shows the final page
wi
select * from table_name where (start_date >='2002-10-01' and start_date
<='2002-12-10') or (end_date >='2002-10-01' and end_date <='2002-12-10')
At 01:08 11.12.2002, [-^-!-%- said:
[snip]
>
>Hello everyone,
>
>I need to get a recordset between two dates, a
Hello everyone,
I need to get a recordset between two dates, and am having a little
trouble. I was wondering if someone could me make it more efficient.
The goal:
Each record has a start_date and end_date field. I want to be able to
extract records that has the start_date and/or end_date, withi
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]]
I sent one but got a mailerdemon response. The ISP is www.gosfieldtel.com if
anyone has heard of them...
- Original Message -
From: "Brad Bonkoski" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 5:26 PM
Subject: Re: [PHP] Report Viruses
> Well, I
Rich,
I'm not getting any error messages. I have just checked my database and the
only data other than that i manually entered is an auto-increment number and
a random password, which i assume were produced when you filed in the form.
There is no first name, last name, email etc which there shoul
Any error messages? You say it is not stored 'as it should be' does that
mean it *is* stored but incorrectly, or is the data just not there?
FWIW I just used your test form and it said I had registered ok I then
retried with the same info and I got 2 error messages as I would have
expected whic
Hi Rich
The prob is that the data isn't stored into the database as it should be and
the user doesn't get an email back with their data. It seems to get lost
before reaching the database, meaning the rest of it wont work, and i don't
know why.
Thanks
Steven M
--
PHP General Mailing List (ht
What "action" is designated in the form you are using? I don't see anything
below in the code you submitted. Whenever php processes a form, then it
automatically generates the individual strings containing the designated
data in the form's fields. Therefore, if on the page to which the data is
s
Hi Steven
so what exactly is the problem then?
Rich
-Original Message-
From: Steven M [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 14:25
To: [EMAIL PROTECTED]
Subject: [PHP] Can anyone help? PHP script/MySQL problem
Hi, i am trying to create a member login/authentication script to
a
This is off topic but, where can you go to report viruses?
I've been spammed with them a lot lately from this person and I'd like to stop
him.
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http:/
This HTML is invalid. Is it the same way in your script?
Mary
Do instead.
Mary
-Kevin
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 2:36 PM
Subject: [PHP] Forms
> Hi,
>
> I'm sending th
Hi, i am trying to create a member login/authentication script to
automatically send newly signed up people an email with a confirmation link.
I am following a tutorial:
http://www.phpfreaks.com/tutorials/40/0.php
My form is located at:
http://www.tricia-marwick.co.uk/members/join_form.php
The
Set the FORM ACTION="script.php" and METHOD="POST" ie...
John
Mary
script.php:
Beauford.2002 wrote:
Hi,
I'm sending this to both lists as I'm not sure where the problem is, but I
believe it is an issue with my HTML form. Here's the problem:
I have a drop-down menu form on my webpage wit
Have you tried echoing out the value on the resulting page, i.e. the page that
parses the form?
echo $_POST['name'];
What does that give you? I don't see anything that really jumps out at me with
your code.
-Brad
"Beauford.2002" wrote:
> Hi,
>
> I'm sending this to both lists as I'm not sure wh
Hi,
I'm sending this to both lists as I'm not sure where the problem is, but I
believe it is an issue with my HTML form. Here's the problem:
I have a drop-down menu form on my webpage with employee names in it. When I
choose a name and click submit it gets passed to a php page which accesses a
my
Checate http://www.php.net/manual/en/faq.installation.php
ve a la pregunta 10, tal vez ahi este la respuesta que necesitas, si de
todas formas no consigues hacer correr tus HTML asegurate de que no
relacionaste la extension .html con php, si ni asi funciona te sugiero como
tradicional de windows qu
probably register_globals is off on the client's machine - use $_FILES[][]
instead of $HTTP_POST_FILES[][] BTW I would upgrade your local Linux box
from v.4.0.3 it is pretty old now and unsupported...
Rich
-Original Message-
From: ppf [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 13:21
Thanks will try, Ill keep you all posted
"David Eisenhart" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can think of a couple of ways to tackle this:
>
> 1) The purest way is to do with your database design - a typical order
> processing database will contai
Hi:
I need to upload a file during form submittion, I had
done all the coding on my local Linux box It work fine
over here.
When i moved the code to my Client machine File upload
is not working well.
Server side code first check where file upload is
successful by
is_uploaded_file($HTTP_POST_FIL
Where is the array $tools defined? The count() function returns the
number of elements in a variable (in this case an array).
It is seeing that there are 0 elements in the $tools array and
therefore your script is trying to divide 100 by 0 which
will spit out a warning every time. Should $tools be
What is on line 251?
>Warning: Variable passed to each() is not an array or object in
>/home/www/website/admin/include/adminclass.php on line 251
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an admin panel that each section contains a set of tools so on each
page I can set $toolsneeded = "admin" or $toolsneeded = "employees"; etc.
I keep recieving this error:
Warning: Division by zero in /home/www/website/admin/include/adminclass.php
on line 250
Warning: Variable passed to e
Stephen wrote:
I found how it works, and it doesn't put it into a mixed number. I work on
it this week and see if I can't fix it. Thanks for all the help people!
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Monday, December 09,
Why do you want to "push" it to another file...why not do all the
processing in one php file that calls many functions then passes that
data back to the user.
if you still want to pass data then you can do this...
controller.php push xml data to a table that has id and xml
fields...then redirect
First, please respond to the list, not me.
Second, I'm not asking the question, David Scott is.
Third, I don't use " " either; I use ' '
- Original Message -
From: "Victor" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 1:49 PM
Subject: RE: [P
> You want the receiving page to be php that makes an xml page that is
> then pushed to be a processing page back to the user?
> I think some more detail might be needed...
No, sorry if I wasn't clear. The processing page is a PHP script on the back
end as well. The XML data being pushed to it
> > =now let's take a look at the UNIX Epoch. Various
> > 'quotations' have surfaced
> > in this email, and I don't recall that it is well discussed
> > within the PHP
> > manual (it being a UNIX definition after all...). The epoch 'began'
> > 1Jan1970, sure enough (exactly as quoted). HOWEVER it i
I corrected the typo and and $_POST works correctly now. I don't know why it
didn't work the first time I corrected the typo (I think that I had to
re-publish my web site or somesuch), nonetheless it is working now.
Thank you all.
"David Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTE
Cool, thanks!
I kept trying php --help to get that, didn't try the -h.
Works great :)
Bryan
On 10 Dec 2002, Ray Hunter wrote:
|try using -q
|
|Here is the usage:
|
|Usage: php [-q] [-h] [-s [-v] [-i] [-f ] | { [args...]}
| -q Quiet-mode. Suppress HTTP Header output.
| -s
>>Can't be done at run-time. See table in manual.
Perhaps "programmatically" was the wrong word.
Using .htaccess files it can be set per directory/site.
http://www.php.net/manual/en/security.registerglobals.php
(read to the BOTTOM of the page).
-Craig
>>-Original Message-
>>Fro
All these variables show on the browser quite well from a regular .php file, so they
are still pre-defined, but I can't fprint() them to a text file.
You want the receiving page to be php that makes an xml page that is
then pushed to be a processing page back to the user?
I think some more detail might be needed...
On Tue, 2002-12-10 at 12:35, Chris Boget wrote:
> I'm looking into doing something like the following:
>
> [best viewed w/fixed
I'm looking into doing something like the following:
[best viewed w/fixed width font]
User Request User Interface
| ^
\/ |
Receiving Page --> XML Data push --> Processing Page
where the "Rec
try using -q
Here is the usage:
Usage: php [-q] [-h] [-s [-v] [-i] [-f ] | { [args...]}
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-w Display source with stripped comments and whitespace.
-f Parse .
Hello,
I'm trying out a little script run from the command line. It simply
outputs a number to send to Cacti. Is there any way to get it to NOT send
all the stuff like this:
X-Powered-By: PHP/4.2.3
Set-Cookie: PHPSESSID=ec0e2c10c8bd9e0a0ad02cfcc182dbfb; path=/
Expires: Thu, 19 Nov 1981 08:52:00 G
When I wanted to output the png to file, I just need to plop the global
label in front of the $image_filename before I passed it.. Simple mistake,
that's what I get for using someone else's script ;-)
// output PNG object.
global $image_filename;
imagePNG($image, $image_filename);
"J
On Wednesday 11 December 2002 03:00, Alberto Brea wrote:
> Hi,
> Could somebody please tell me why I can't print pre-defined variables to a
> file with fwrite()?
>
> The code I use is this:
> $filename = '../vlog.txt';
> $fd= fopen($filename, 'a');
> $a= date(YmdHi);
> $b= basename($PHP_SELF)
Check out the filesystem functions:
http://www.php.net/manual/en/ref.filesystem.php
On Tue, 2002-12-10 at 12:05, Christian Ista wrote:
> Hello,
>
> I have a web site with several directories or subdorectories, I'd like to
> know when I call (include) php page, the path where I'm. Is it possible
Even though I did forget the ending > on the tag. Cool.
Ed
On Tue, 10 Dec 2002, Adam White wrote:
> Many thanks Ed, works a treat!
>
> Regards
> Adam White
>
> Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 10 December 2002 18:31
> To: Adam White
> Cc
Instale el PHP, pero no puedo ahora ver mis HTML?
porque, todo lo instale en el Internet Information Service 5, me salia
un mensaje CHILDS NOTES, pero no lo acepte sobre unos permisos de
Ejecución.
Mas ahora configuro mi pagina de inicio en Document y no me lee el HTML.
este error me sale:
The p
Many thanks Ed, works a treat!
Regards
Adam White
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 18:31
To: Adam White
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] How to force an image to reload
As one who has had to do the same thing and had go
Hello,
I have a web site with several directories or subdorectories, I'd like to
know when I call (include) php page, the path where I'm. Is it possible?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What version of PHP are you using? I believe that anything earlier than 4.05 does not
support $_POST.
Did you try $HTTP_POST_VARS['name']? This will work, regardless of version.
- Original Message -
From: "David Scott" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, December 10, 2002 12:54 PM
On Wednesday 11 December 2002 02:38, Craig Thomas wrote:
> If you do not want to re-write all your code and your web server is Apache
> and your host allows the use of .htaccess files you can turn
> register_globals = on programmatically:
>
> http://www.php.net/manual/en/configuration.directives.ph
Hi,
Could somebody please tell me why I can't print pre-defined variables to a file with
fwrite()?
The code I use is this:
$filename = '../vlog.txt';
$fd= fopen($filename, 'a');
$a= date(YmdHi);
$b= basename($PHP_SELF);
$c= $HTTP_USER_AGENT;
$d= $HTTP_HOST;
$e= $_SERVER['HTTP_HOST'];
I have corrected the typo and had hoped this was a simple solution, yet
$_POST still doesn't work. Any ideas?
"Craig Thomas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Using $_REQUEST[""] works because the vars are in the http request, but
> $_POST[""] cont
Using $_REQUEST[""] works because the vars are in the http request, but
$_POST[""] contains nothing as the other poster noted: mehtod="post"
>>-Original Message-
>>From: David Scott [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 10, 2002 1:20 PM
>>To: [EMAIL PROTECTED]
>>Subject: [P
John,
> > > You mention that it is a login script and that input is rejected. Is
> it
> > > rejected when it is initially typed in, or is it reported as
> rejected
> > when
> > > ensuing pages are served?
> When it's initially typed in.
=do you have multiple 'environments' (eg VHosts or even phys
Oops, ok, I misread the original question :)
"Rich Gray" <[EMAIL PROTECTED]> wrote:
> Er... but the original poster wanted a count of rows returned by a
> particular query... your method just returns the number of rows in the
> table...
Anyway, you're right. If you already have a result then use
If you do not want to re-write all your code and your web server is Apache
and your host allows the use of .htaccess files you can turn
register_globals = on programmatically:
http://www.php.net/manual/en/configuration.directives.php#ini.register-globa
ls
(php_flag register_globals = ON;) i think
As one who has had to do the same thing and had gotten some help from
this list I'll put in my two cents.
the past
> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always
> modified
> header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
> header("Cache
Guys, not sure if this is a PHP problem or a more general HTML problem,
but...
I've written a small test script (see below), basically, which allows the
user to rotate an image by 90degrees.
When I press the button, the page reloads having rotated the image, but the
old image is still displayed.
Using $_REQUEST["variable"] causes the script to work.
Why is this? And, why can I not use $_POST?
"David Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am going through the introductory tutorial on http://www.php.net/ and am
> stuck on this page:
> ht
the word METHOD is incorrectly spelled.
This is the exact code in the HTML file:
PHP Form Example
Your name:
Your age:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
where is w32_* functions on PHP 4.3.0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is the exact code in the HTML file:
PHP Form Example
Your name:
Your age:
I believe that is using the method POST. If there is something wrong in the
HTML file, or if you have any other suggestions, then please let me know.
"Hacook" <[EMAIL PROTECTED]> wrote in message
[EM
Diana,
This is how I typically do this with mysql_num_rows:
$sql = "SELECT * FROM sometable
WHERE field LIKE '%$field%' LIMIT 0, 30 ";
$result = mysql_query($sql)
or die ("Error In Query:".mysql_error());
$num_results = mysql_num_rows($result);
HTH!
Cory
On Tue, 2002-12-10 at
Er... but the original poster wanted a count of rows returned by a
particular query... your method just returns the number of rows in the
table...
Rich
-Original Message-
From: @ Edwin [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 17:21
To: Jon Haworth; 'Diana Castillo'
Cc: [EMAIL PRO
2000 server installs the PHP in win. When agreque the extension in the
configuration of the HOME DIRECTORI, me pidio something of child YOU
NOTICE, but I did not do case to him and it annuls it runs to me the
PHP, but they do not run the HTML to me? Ysrael Guzmán Meza
instale el PHP en win 2000 server.
Cuando agreque la extension en la configuracion del HOME DIRECTORI, me
pidio algo de child NOTES, pero no le hice caso y lo anule
me corre el PHP, pero no me corren los HTML???
Ysrael Guzmán Meza
--
PHP General Mailing List (http://www.php.net/)
To
Or,
"Jon Haworth" <[EMAIL PROTECTED]> wrote:
> Hi Diana,
>
> > After I run a query lik this,
> > $db->query($sql);
> >
> > what is the quickest way to find out how many
> > records result?
>
> Look into mysql_num_rows (or the equivalent if you're not using MySQL)
... you can even do it fast
Try $_POST['name'] and $_POST['age']
Try $HTTP_POST_VARS['name'] and $HTTP_POST_VARS['age']
- Original Message -
From: "David Scott" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, December 10, 2002 10:56 AM
Subject: [PHP] Help please: Unable to get $_POST["variable"]; to work in a form.
I am
Make sure your form is sent through the method="POST"
"David Scott" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I am going through the introductory tutorial on http://www.php.net/ and am
> stuck on this page:
> http://www.php.net/manual/en/tutorial.forms.php
>
> I have
Hello,
"Allred, Mark" <[EMAIL PROTECTED]> wrote:
> Darn, that's what I was afraid of.
>
> Is there a way to do this in a client-side language like JavaScript?
Javascript? No, I don't think so. (Maybe Java.) But, of course, you can
always get a second opinion from a Javascript ML :)
- E
...[sni
Hello,
"Steve Jackson" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I work for a company that manufactures device servers. They currently
> have a very low internal memory (about 8MB) which is more than enough
> for TCP/IP connections (which BTW we just released the code open source
> to anyone inter
Where is w32_* functions on PHP 4.3.0 RC2?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
"1LT John W. Holmes" <[EMAIL PROTECTED]> wrote:
...[snip]...
> Browser's are the same (128bit). It's not a laptop.
> The web page can pull up
You mean, the web "browser", right? :)
> any other external web page correctly.
And, I assume pull up "external web page" means web pages serve
I am going through the introductory tutorial on http://www.php.net/ and am
stuck on this page:
http://www.php.net/manual/en/tutorial.forms.php
I have been able to get all of the examples up to this point to work.
The form is simple: it asks for a text "name", a text "age" and has a submit
button.
Needs to be changed to the following if your forms are using the GET
HTTP method:
if(!isset($_GET["var"])){
// do nothing
}else{
// VAR IS SET.. DO SOMETHING
}
If your forms use the POST HTTP method then it needs to be changed to:
if(!isset($_POST["var"])){
// do nothing
}else{
// VAR IS SET..
Ahh Yes, Register Globals is off on the new set up, and is ON on the old Win Box.
You folks soo rule
Drinks all around!
-Thanks a million
NorthBayShane
Register_Globals is off by default in version 4.2.3. See the following
manual page for more information.
http://www.php.net/
> I can pass variables till I am blue in the face, even
> see them in the URL but they are still showing up as (!isset)
Are you accessing these variables through $var or $_GET["var"]?
I am accessing them as $var.
Example (from memory)
if(!isset($var)){
// do nothing
}else{
// VAR IS SET.. DO S
Register_Globals is off by default in version 4.2.3. See the following
manual page for more information.
http://www.php.net/manual/en/language.variables.predefined.php
- Original Message -
From: "Shane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 11:08
is register globals enabled?
On Tue, 10 Dec 2002, Shane wrote:
> Greetings gang.
>
> You know me, I never ask for help if I haven't checked all my other options, but
>this is day two, and I'm getting spanked on this one.
>
> Some recently moved scripts from a WIN2K server running PHP 4.2.1 to an
Hi,
sounds like you should use
$_GET['your_variable'] and $_POST['your_variable'] instead of $your_variable
Regards,
Bastian
Shane schrieb:
> Greetings gang.
>
> You know me, I never ask for help if I haven't checked all my other options, but
>this is day two, and I'm getting spanked on this o
Hi Shane,
> I can pass variables till I am blue in the face, even
> see them in the URL but they are still showing up as (!isset)
Are you accessing these variables through $var or $_GET["var"]?
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Greetings gang.
You know me, I never ask for help if I haven't checked all my other options, but this
is day two, and I'm getting spanked on this one.
Some recently moved scripts from a WIN2K server running PHP 4.2.1 to an Apache PHP
4.2.3 setup have stop accepting HTML Form Variables.
I can p
1 - 100 of 158 matches
Mail list logo