Sorry, but I am unaware of this function. It is not a native function to
php, maybe it is a custom function that is part of a library that you are
using. You would have to contact them for documentation on thier functions.
- Original Message -
From: "Diana Castillo" <[EMAIL PROTECTED]>
T
Why not use sessions?
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:09 PM
Subject: [PHP] Post method
> Hi,
>
> Any one know in a php script, if it is possible to simulate a post method?
> I mean I want to header() to an
Well, I don't know about trying to uninstall it, but RH8.0 does come with
Apache 2
It works fine and I have not ran into a reason why I should use the older
version for this.
Granted I only use it for testing, my live server is RH7.2 which uses Apache
1
- Original Message -
From: "Richard B
For the most part I found two errors
The first was a scope problem. $HTTP_*_VARS hashes are not accessible
inside functions unless you source them in. i.e. global
The other was an extra line in an if statement that did not contain braces.
I did a little formating while I checked the code. Try th
Make sure that the shared module is in the correct directory.
Check your php.ini file to make sure but it is most likely at /usr/lib/php4
make sure that you have mysql.so
- Original Message -
From: "Daniel Elenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003
Try this...
$sql = "INSERT INTO personnel (firstname, lastname, nick, email, salary)
VALUES ('$first','$last','$nickname',)";
- Original Message -
From: "Brent Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 10:02 AM
Subject: [PHP] Parse error
> I'm new
No, I am afraid not. It will only send a redirection header to the same
page that you are on.
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 1:33 PM
Subject: [PHP] question on Header(location
> When I use ---> header
s to go away but then my example just shows a blank
page!
> The variable are not being passed through to the .php doc
>
> hendrik
>
> "Joseph W. Goff" <[EMAIL PROTECTED]> wrote in message
> 003201c2b803$ada54f60$bdcaa8c0@jg42000">news:003201c2b803$ada54f6
This is because of the default error reporting setting in the newer version
of php. This was not the case when your book was written.
In your php.ini file set error reporting = E_ALL & ~E_NOTICE and you will
quit getting the 'Undefined Variable' notices.
- Original Message -
From: "Hendrik
In the php.ini file set error reporting to E_ALL & ~E_NOTICE
- Original Message -
From: "Borut Kovacec" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 9:57 AM
Subject: [PHP] undefined variable notice - how to furn of
Hi
I just installed n
You are on the right track, but missed one major thing.
Anytime you want to retrieve information from a database result set you have
to follow 3 basic steps.
1) Connect to the database *you got that one
2) Execute a query *you got that one
3) Retrieve the resultset ***missed this one
See http://ww
Your local version does not have register_globals turned on in php.ini.
You can either set the value = on or access posted values by using $_POST or
$HTTP_POST_VARS depending on your version of php.
- Original Message -
From: "David Chamberlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
Try viewing the source that is generated in html and I bet you will find
that it is broken html code.
- Original Message -
From: "Lightfirst" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 4:25 PM
Subject: [PHP] Baffling output
> Can someone explain to me why
IIS may not have that variable.
You might want to install apache on your local machine so that you are using
the same tools.
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 4:00 PM
Subject: Re: [PHP] $_SERVER['
Both sites are running winXP and IIS? Both same version of IIS?
If the variable is on one and not on the other it could be either a version
conflict, or a configuration problem.
- Original Message -
From: "Rolf Vreijdenberger" <[EMAIL PROTECTED]>
To: "Joseph W. Go
Is there a difference between PHP versions on your machine and your site?
Have you looked at phpinfo() to see what variables have been set on your
system?
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 3:38 PM
Actually, I was mistaken. It isn't php.ini that has to be changed. I
believe it is httpd.conf.
php runs as what ever the webserver is set up to run as.
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTEC
You can set this up in the php.ini file in the /etc directory.
You can set php to run an any user and any group that you have set up on
your system. Just make sure that you set permissions properly so that it
can function in the directories that it is accessed.
- Original Message -
From: "
Your error reporting is set to E_ALL. If you change it to E_ALL & ~E_NOTICE
you will not get the notice messages anymore.
Also, if you are not getting the value, try $_POST['Test'] instead.
- Original Message -
From: "Jay Thayer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, D
You have the error_reporting set at E_ALL in the ini file. Set it to E_ALL
& ~E_NOTICE
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 1:29 PM
Subject: [PHP] php setup
> I recently got a laptop and was in the pr
You don't have a closing french brace for your while loop.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 12:57 PM
Subject: Re: [PHP] Re: Stumped!
Hmm, I am still getting a parse error on the last line of code
I don't know. You need to show your code.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Joseph W. Goff" <[EMAIL PROTECTED]>
Cc: "php-general" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 12:01 PM
Subject: Re: [PHP] URL field receivin
Whatever variable that is suppose to contain the URL is an array. If you
try to print a variable that is an array the value you get is 'Array'. You
will either have to step through it, or implode it, or something of that
nature to get what the array contains.
- Original Message -
From: <[
What happens when you remove the suppresion operator (@) from the
move_upload_file and why not just use ftp_put()?
That has always worked fine for me.
- Original Message -
From: "Marios Adamantopoulos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 11:06 AM
Subj
It looks to me like you are trying to get an uploaded file?
If so, it isn't $HTTP_POST_VARS, it is $HTTP_POST_FILES or $_FILES if you
are using a version of PHP that has super globals.
See the PHP manual for more info:
http://www.php.net/manual/en/language.variables.predefined.php
- Original M
I'm sorry, posted the wrong link.
It is the number_format() function.
http://www.php.net/number_format
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>; "Max Clark"
<[EMAIL PROTECTED]>
As long as the script has reading capabilities for the directory then yes.
- Original Message -
From: "Randum Ian" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 1:25 PM
Subject: RE: [PHP] FTP Listings for HTML page
> Woul
You can use the format() function for this.
http://www.php.net/format
- Original Message -
From: "Max Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 1:10 PM
Subject: [PHP] newbie - decimal places in arthimetic functions
> Hi-
>
> How can I control th
Just a small question, but why not just do this through the SQL statement
instead of using php?
http://www.mysql.com/doc/en/Date_and_time_functions.html#IDX1295
[from the mysql manual]
mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y');
-> 'Saturday October 1997'
mysql> SELECT DAT
Actually, I don't think you can make a progress bar function correctly for a
file upload. The file is uploaded before control is ever given to the
script.
- Original Message -
From: "Oscar F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 1:17 PM
Subject: [P
This should open up a new window for the new page
As far as passing variables from page to page, have you ever considered
sessions?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 2:46 PM
Subject: [PHP] Variables and Forms
>
>
PHP is open source so anyone can get the source code to it. You can find it
at http://www.php.net/downloads.php
- Original Message -
From: "Oliver Witt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 9:50 AM
Subject: [PHP] PHP source code
> Hi,
> Is ther
php is treating command line arguments as GET argument. So that means a +
is a space. Try rawurlencode.
- Original Message -
From: "Renato Lins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 1:37 PM
Subject: [PHP] command line argument vs. urlencode ?
> H
I have done this two different ways.
The first involves a function that creates a dropdown from the database.
What is special about this function is that I assign it's own condition as
part of the value for that option. Take this sql statement: select distinct
column_name from the_table
and it wou
Actually, M.A.Bond is right, you don't even have to enclose it, just use the
return construct.
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>; "Henry"
<[EMAIL PROTECTED]>
Sent:
You will have to enclose the code is some form of a container.
i.e. a function, while loop...
I would probably use the function, then you could exit with return
The other types of container would use break.
- Original Message -
From: "Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
You don't actually have a variable named $do at this point.
You can either have php set this variable automatically by turning on
register globals in the php.ini file or you can extract the variable or do
something like this:
foreach ($_POST as $key => $post)
{
echo "$key = $post";
$$key =
Not currently, but this will be added in the Zend2 engine. You can find out
about this on the Zend website.
- Original Message -
From: "Richard Black" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 9:24 AM
Subject: [PHP] OO code and private functio
preg_match('!]+>(.*)!Uis',$info,$regs);
$everything_between_divs=$regs[1];
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:44 AM
Subject: RE: [PHP] so nobody knows how do get rid of everything o
39 matches
Mail list logo