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 .
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
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
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.
>>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
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
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
> > =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
> 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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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:/
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
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 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
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
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
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
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]]
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
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
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
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
> > 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
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
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
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
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
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
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 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
--
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
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
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
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
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
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:
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
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
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
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
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--
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
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
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
101 - 158 of 158 matches
Mail list logo