Hi,
I modifiy my php.ini to redirect error message in log of server web and I change
error_reporting = E_ALL ~E_NOTICE by error_reporting = E_ALL
Now, I get in server log this message :
[24-Jan-2003 08:59:31] PHP Notice: Undefined offset: 4 in
/appli/PHP/test/__xyz__.php on
line 15
and I
1lt John W. Holmes wrote:
Anyone who knows why get variables whit spaces in looking like this in
the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
$_GET['aa_bb'] instead of $_GET['aa bb']?
That's just what PHP does. It'll also convert any periods in a form element
name to an
[EMAIL PROTECTED] wrote:
I modifiy my php.ini to redirect error message in log of server web and I change
error_reporting = E_ALL ~E_NOTICE by error_reporting = E_ALL
Now, I get in server log this message :
[24-Jan-2003 08:59:31] PHP Notice: Undefined offset: 4 in
ocean wrote:
In a signup page , I want to verify some information what the user fill in ,inculde
user name¡¢password¡¢email etc.But I don't know how to verify the available email
address.Who can help me ?
There is an email validation class here:
You can use $_SERVER['QUERY_STRING']
Per wrote:
1lt John W. Holmes wrote:
Anyone who knows why get variables whit spaces in looking like this in
the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
$_GET['aa_bb'] instead of $_GET['aa bb']?
That's just what PHP does. It'll
And does apache have write permissions to the directory where the
original file is located?
Christian wrote:
Hi all,
Any idea why when I execute 'mv' in a php script
the file is copied not moved?
Apache is a member of the group which owns the file
and has wrx permissions.
Thanx,
Christian
Hello All,
When i pass a value through browser to a php page as below
http://www.xyz.com/test.php?abc=test
But when i try to display the variable abc as below
?php echo $abc; ?
It is not showing anything in php-4.3.0. but the value is displayed in
php-4.2.2 version.
Regards,
-sadha
--
PHP
At 10:55 24.01.2003, Rahul said:
[snip]
When i pass a value through browser to a php page as below
http://www.xyz.com/test.php?abc=test
But when i try to display the variable abc as below
?php echo $abc; ?
It is not showing anything in php-4.3.0. but the
Sorry if this is not really PHP related but I can't get it to work.
I am using fopen and I get the following:
Warning: fopen(testfile2.php, w) - Permission denied in
/usr/local/psa/home/vhosts/complementarymedicines.net/httpdocs/reg/regformte
st.php on line 411
I have tried setting this
Use ?php echo $_GET['abc']; ?
Rahul [EMAIL PROTECTED] wrote in message
00b301c2c38e$c9d83f80$[EMAIL PROTECTED]">news:00b301c2c38e$c9d83f80$[EMAIL PROTECTED]...
Hello All,
When i pass a value through browser to a php page as below
http://www.xyz.com/test.php?abc=test
But when i try to
I am trying to set the order of a set of categories. Previously the
catid field sorted the order of the categories. However I changed this
to Order By catorder and then set about writing a simple update query to
allow people to set the order.
I can't see anything wrong with this:
Basically I pull
hi
I'm writting an php application, a mail client, and I got a small problem.
Reading mail is quite simple if it's a normall text, but I'm not sure how to
read MIME mail. I thougt i could use eregi() and read separately every part,
but I'm not sure if it's the best way to do this. Maybe someone
-Original Message-
From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2003 09:13
[EMAIL PROTECTED] wrote:
I modifiy my php.ini to redirect error message in log of
server web and I change
error_reporting = E_ALL ~E_NOTICE by error_reporting = E_ALL
Now, I get
On Friday 24 January 2003 18:00, Don Mc Nair wrote:
Sorry if this is not really PHP related but I can't get it to work.
I am using fopen and I get the following:
Warning: fopen(testfile2.php, w) - Permission denied in
try this:
echo you . ( is_writable(testfile2.php)? 'can ' : 'cannot' ) . write;
the function is_writable() will tell you in advance whether the file is
writable or not.
--
Maxim Maletsky
[EMAIL PROTECTED]
Don Mc Nair [EMAIL PROTECTED] wrote... :
Sorry if this is not really PHP related
Hello,
I've a lot of files named php in my tmp folders ..
What's these files ?
Nico
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
besides urlencode you should also use htmlspecialchars
SpyProductions Support Team wrote:
Here is some code:
From a form, I get username as $name and it goes to the processing file for
the form, where a sale happens and it sends the code to a different server
like this:
$data =
Those are temporery uploaded files, they should be there only while some
script handling the upload is running, otherwise you have some problems.
nico wrote:
Hello,
I've a lot of files named php in my tmp folders ..
What's these files ?
Nico
--
PHP General Mailing List
No, I have some 300 php and in these files , there is some html
of my sites.
Nico
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Those are temporery uploaded files, they should be there only while some
script handling the upload is
For information : i have php 4.3 (perhaps a new caching system) ?
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Those are temporery uploaded files, they should be there only while some
script handling the upload is running, otherwise you have
Well, you should know what have installed, but there is no caching
system by default.
nico wrote:
For information : i have php 4.3 (perhaps a new caching system) ?
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Those are temporery uploaded
remove the hidden field and use
input type='text' size='2' name='catorder[{$array[catid]}]' value='{$array[catorder]}'
in action script you do
foreach($_POST['catorder'] as $catid = $catorder) {
update categories set catorder=$catorder where catid=$catid
}
Steve Jackson wrote:
I am trying
'./configure' '--with-mysql' '--with-apache=../apache_1.3.27'
'--enable-track-vars' '--with-imap=/var/imap-2002b/' '--with-gettext'
'--with-png-dir=/var/libpng-1.0.15' '--with-zlib-dir=/var/zlib-1.1.4'
My installation..
and my ls dir
-rw--- 1 nobody nobody 3687 Jan 23 14:25
Ford, Mike [LSS] wrote:
Wrong. The offset is 4, the error message says so. Undefined offset means you
Yes, true. That is me not looking hard enough at it!
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You must run
$result = mysql_query($query) or die(Query failure: .mysql_error());
within the foreach loop, else $query will be only the last query assigned.
If you use get method in your form you need to use $_GET (or $_REQUEST)
instead of $_POST
Steve Jackson wrote:
I can't get this to
Hi
i want to erease 'one' or more caracters in a file, so, if this file is too
big ( 10MB ) i don't want to read entirely it to substr(); the last line and
entirely re-write it...
i like to write -at the end by exemple- the char backspace ( 0x08 )
ex :
?php
$fp = fopen('some_file','a'); // or
Just a question but has something like ever been
done?
A PHP script that wouldcreate an installation form for
any other PHP script developed by the user. It would create the install form and
make the configuration file.
If it has, where can I find it?
Thanks,Stephen
I'm looking for an example of making payments via worldpay...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.438 / Virus Database: 246 - Release Date: 07/01/03
--
PHP General Mailing List (http://www.php.net/)
To
On Fri, 24 Jan 2003 16:39, Rick Emery wrote:
It comes from the acronym, FUBAR. This is military slang that has been
around since WWII. FUBAR stands for:
F**ked Up Beyond All Repair
Ah! Now I understand why those are the only 2 class names used in tutorials
and books on C++
Bob
--
PHP
On Fri, 24 Jan 2003 13:05:16 +0100, you wrote:
and my ls dir
-rw--- 1 nobody nobody 3687 Jan 23 14:25 phpqlG5ny
-rw--- 1 nobody nobody621 Jan 22 21:06 phpqt95I4
-rw--- 1 nobody nobody424 Jan 23 00:04 phprM5Vkx
[...]
Some PHP applications do their own
Using these methods, could you use it to insert additional text before and
after the first word (or the nth word)
e.g.
$text = This is my text, for placement;
$textWithAddedString = (word1 start)This(word1 end) is my text, for
placement;
Maxim Maletsky [EMAIL PROTECTED] wrote in message
I just switched from a 4.06 server with global_variables ON to a 4.22
with global_variables OFF
Can someone give me a quick run down of how to set/unset variables and
register/destroy sessions with PHP 4.22 (global_variables OFF).
I've been all through the php.net manual and still
It doesn't sound like you've testing to see where the bottleneck is. I
would first recommend inserting some microtime() commands into you PHP
code, like around your queries and blocks of PHP code. This will tell
you what is taking the longest time and will point you in the right
direction.
First, if you expect only a single row returned, why are you
using a while(){} construct?
Third, each() operates on succeeding elements of an array;
there are only two elements aparrently,
so what are you expecting eac() to do?
Because that magic incantation that Rasmus taught me many
Phil
It should be as easy as ..
?
session_start();
$_SESSION['foo'] = 'bar';
?
You'll need a session_start() on all pages that will be using the
$_SESSION[] array.
Is your session.save_path pointing to a writable directory? Do you see any
errors in the server logs when you try to start a session?
Because that magic incantation that Rasmus taught me many years ago will
take every field/column of the returned database row and make a variable
named the same thing with the corresponding value
Use this (damned sight easier):
extract($row)
- Original Message -
From: Daevid Vincent
Hi all,
Is it possible in PHP to determine the IP address of a server which is
requesting a page from my own server?
When I use $REMOTE_ADDR, I get the wrong IP address. In that case I get
the IP address of a person who is requesting the page on that other
server.
Hopefully my question
Hello, PHP developers,
A new version (1.03, 2003-01-24) of Davor's PHP Editor has just been
released.
This version includes many recently requested features, including following:
1) Editor now supports following languages: English - Croatian - French -
German (Many thanks to Louis Philippe
This line of code:
if(!is_readable(Constants.inc)) chmod(Constants.inc, 0644);
Produces this error:
Warning: chmod() [function.chmod]: Operation not permitted in
/home/mastersite/public_html/index.php on line 6
What I'm trying to do is determine if Constants.inc is readable. If not, I
want to
Hello,
I am trying to get ob_start to work the way I expect but I am running
into some problems.
Take the following example code:
/* Start of code snippet */
function ob_spit_content_length ($buffer) {
$len=strlen($buffer);
if($len0) Header( Content-Length: $len
In an app I'm developing I have a need to call java classes, and am hoping
to use PHP's java integration.
However, the manual page (http://www.php.net/manual/en/ref.java.php) says
This extension is EXPERIMENTAL. The behaviour of this extension --
including the names of its functions and anything
Ok. It was a late night. A fresh morning helped me solve my own
problem.
I was using ob_end_clean rather than ob_end_flush. I though I was going
crazy!
Serge.
In article [EMAIL PROTECTED], Serge Paquin
[EMAIL PROTECTED] wrote:
Hello,
I am trying to get ob_start to work the way I
Pear has an interesting installer. Try checking it out
--
Maxim Maletsky
[EMAIL PROTECTED]
Stephen [EMAIL PROTECTED] wrote... :
Just a question but has something like ever been done?
A PHP script that would create an installation form for any other PHP script
developed by the user. It
--- K.C.P. van Zijl [EMAIL PROTECTED] wrote:
Is it possible in PHP to determine the IP address
of a server which is requesting a page from my own
server? When I use $REMOTE_ADDR, I get the wrong IP
address. In that case I get the IP address of a
person who is requesting the page on that other
Hi all,
I'm pretty much a stranger to perl and now got to convert a perl script to
php. however, at once place I can not understand what the lines are doing
and what could be the equivalent of them in php. Could some one help me with
this ?
Here's my perl code :
$choice=~s/\.rm//;
I wrote a simple little class last night that does something like this.
It'll parse php.ini style configuration files and turn the variable=value
lines into form elements and make the comments into regular HTML lines and
throws it all into table rows. Then, when the form is submitted, you simply
R'twick Niceorgaw wrote:
Hi all,
I'm pretty much a stranger to perl and now got to convert a perl script to
php. however, at once place I can not understand what the lines are doing
and what could be the equivalent of them in php. Could some one help me with
this ?
Here's my perl code :
--- Martin Towell [EMAIL PROTECTED] wrote:
if it's just the string after the ? then use
$QUERY_STRING can't remember which $_* variable
it's under...
$_GET is the superglobal array for URL variables.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
I'm trying to use getdate() and then create a numeric value based on
putting the month (numeric), the date, and the year all together, side
by side in one variable.
Here's my code:
?php
$today = getdate();
$month = $today['mon'];
$mday = $today['mday'];
$year = $today['year'];
$date =
if it's just the string after the ? then use
$QUERY_STRING can't remember which $_* variable
it's under...
$_GET is the superglobal array for URL variables.
And the Query_String is in $_SERVER, as $_SERVER['QUERY_STRING'].
---John Holmes...
--
PHP General Mailing List
Thanks Sean
That worked :)
-R'twick
- Original Message -
From: Sean Burlington [EMAIL PROTECTED]
To: R'twick Niceorgaw [EMAIL PROTECTED]
Cc: php [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 11:07 AM
Subject: Re: [PHP] help with perl equivalent ?
R'twick Niceorgaw wrote:
Hi all,
No it's simple php file on websites with include on websites
Nico
Michael Sims [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Fri, 24 Jan 2003 13:05:16 +0100, you wrote:
and my ls dir
-rw--- 1 nobody nobody 3687 Jan 23 14:25 phpqlG5ny
Replace your last line with this...
$date = $month . $mday . $year
Or take a look at the date() command... something like:
$date = date(mdy, time());
would do the same thing (check the man page for sure).
On Fri, 24 Jan 2003, Guru Geek wrote:
Hello,
I'm trying to use getdate() and then
Hello All,
I am making headway but I still seem to be having some problems.
Whenever I have executing I get the following
message:
bWarning/b: ob_gzhandler() [a
href='http://www.php.net/ref.outcontrol'ref.outcontrol/a]: output handler
'ob_gzhandler' cannot be used twice
in
This happens on
At 22:30 23.01.2003, David T-G spoke out and said:
[snip]
...and then SpyProductions Support Team said...
%
% I am having some issues, apparently, with URL encode.
...
%
% I decided to use this because people are allowed to use *any* key as part of
%
I am running the following code in php-4.3.0:
?
$portrait = $_FILES[portrait];
print hr_FILES[portrait]: pre\n;
print_r($portrait);
print /pre;
$portrait = $_GLOBALS[portrait];
print hr_FILES[portrait]: pre\n;
print_r($portrait);
print $_FILES[portrait][error];
print /pre;
?
form
I am guessing that apache isn't the owner of the file. therefor it can't
delete it from it original position.
mv in unix basically copies the file pointer from one place and to another
place.
then deletes the original pointer. if you don't have permission to delete
the file from its original
the following code:
html
body
form enctype=multipart/form-data action=?= $PHP_SELF ? method
=post
input type=hidden name=MAX_FILE_SIZE value=1000
Send this file: input name=userfile type=file
input type=submit value=Send File
/form
?php
echo $_FILES['userfile']['tmp_name'];
?
/body
/html
This may just be me but I've never gotten upload to work where
the form is posting to the same page, try moving it to two pages.
On Fri, 2003-01-24 at 12:05, Andrew Rench wrote:
the following code:
html
body
form enctype=multipart/form-data
the only difference to structure is this line is in the first file and not
the second.
fw_menu_2.addMenuItem(STANDARD
PROMOTION,location='http://www.bis.org.in/sf/sfp2.htm');
diff is a wonderful tool!!!
Enjoy
Jim
- Original Message -
From: Amit Gupta [EMAIL PROTECTED]
To: [EMAIL
-Original Message-
From: Andrew Rench [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2003 17:05
the following code:
html
body
form enctype=multipart/form-data action=?= $PHP_SELF ? method
=post
input type=hidden name=MAX_FILE_SIZE value=1000
Send this file: input name=userfile
Hey all.
I need to find out how to get PHP to evaluate a PHP variable stored in our
MySql database.
Currently the variable is being read as a string; i.e. select * from table
where column = $myrow[0] -- instead of evaluating $myrow[0] as a variable.
The SQL statement is retrieved in the first
use eval()
www.php.net/eval
--
Maxim Maletsky
[EMAIL PROTECTED]
CF High [EMAIL PROTECTED] wrote... :
Hey all.
I need to find out how to get PHP to evaluate a PHP variable stored in our
MySql database.
Currently the variable is being read as a string; i.e. select * from table
where
Hey!
I was wondering with what command do you execute shell commands?
What I need is to change users password on the server, I want to write
that script and it needs to be safe. So I don't know what should I use.
I think I will need to check username and password, then log in through
website
thanks for the advice- this makes sense as to why I'm not seeing the file. I added the
move_uploaded_file() to the script to see what happens and I end up getting the
following error:
PHP Warning: Unable to move '/var/tmp/phpfcwVyC' to
'/usr/local/etc/httpd/htdocs/blast/images' in
The one problem and serious security risk you will be introducing is
that if you run passwd as an unprivliged user you can only change the
password of the user you are running it as. Therefore, the webserver
would be running as apache, so the only password it could change would
be for user
how do i create
?xml version=1.0 encoding=utf8??
domxml_new_doc(1.0) only creates
?xml version=1.0?
vennlig hilsen
Øyvind
STOPP BARNEPORNO PÅ INTERNET:
Send tips om barneporno til Redd Barna:
[EMAIL PROTECTED]
Øyvind Vestavik
oyvindve at idi dot ntnu dot no
ICQ-number: 218699329
mobil:
Hey!
Thanks for reply.
Well hmm.. is there any way to open some socket and log in with other
account or something like that? I mean use IE or other browser but the
main point is to log in with different account and change the password.
User can change password of their own not only root can
Don't quite understand why this works, but it does:
/* Escape quotes in sql_query so our header_id gets evaluated */
eval(\$myrow[2] = \$myrow[2]\;);
What's the deal with the leading backslash in ' eval(\$myrow[2] '?
Does eval() tell php to evaluate the string as php code; i.e. text
eval takes the string and executes PHP in that string. So,
eval(\$myrow[2] = \$myrow[2]\;);
is equivalent to:
$myrow[2] = $myrow[2];
I'd reccomend you using single quotes and then escape only backslashes
and single quotes within a string
--
Maxim Maletsky
[EMAIL PROTECTED]
Noah [EMAIL
Not the more secure solution but should do the trick:
I will assume that your webserver is run as apache.apache
Make a copy of passwd and call it (for example) apache_passwd
execute the following as root:
$chown root.apache apache_passwd
$chmod u+rwxs,g+rwx,o-rwx
Notice the s in the u+. This
From: Noah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 4:39 PM
Subject: Re: [PHP] Evaluate PHP var in stored sql statement?
eval(\$myrow[2] = \$myrow[2]\;);
What's the deal with the leading backslash in ' eval(\$myrow[2] '?
It's escaping the $ so you keep
Hi,
I have troubles with my php installation and file uploads. It's
kind of a strange problem. When files are uploaded via a form in php
they double in size and become corrupt. A text file smaller than about
2K will work, but past the text starts getting repeated spuratically
throuought the file
You have to include a filename along with the path when you're using
move_uploaded_file(); if you're only specifying
'/usr/local/etc/httpd/htdocs/blast/images' as your destination string, php
is trying to create a file named 'images' in
'/usr/local/etc/httpd/htdocs/blast'. If there's still a
Here is a very simple APP to test my problem. Below you can see my
result. This is done on PHP 4.3.0
Serge.
?
function ob_end_flush_all () {
while ( ob_get_level() ) {
ob_end_flush();
}
}
function ob_spit_content_length ($buffer) {
$len=strlen($buffer);
Is output_handler set in your php.ini?
---John Holmes...
- Original Message -
From: Serge Paquin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 2:24 PM
Subject: [PHP] ob_gzhandler bug???
Here is a very simple APP to test my problem. Below you can see my
If I have 3 checkboxes labeled user, but each one has a seperate value,
how do I get the values of each checkbox? For example, how would I tell if
the following checkboxes are checked?
input type=checkbox name=user value=1
input type=checkbox name=user value=2
input type=checkbox name=user
why would you give them all the same name? I can see this for radio buttons
but not checkboxes.
-Original Message-
From: Greg [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] checkboxes php
If I have 3 checkboxes labeled user, but
You need to give the checkboxes unique names like user1, user2 user3
RW
Quoting Greg [EMAIL PROTECTED]:
### If I have 3 checkboxes labeled user, but each one has a seperate value,
### how do I get the values of each checkbox? For example, how would I tell
### if
### the following checkboxes
I am crossing over from ASP to PHP and was wondering how to get the same
affect as request.questring ? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you, prehaps, wants to use radio buttons instead?
RW
Quoting Greg [EMAIL PROTECTED]:
### If I have 3 checkboxes labeled user, but each one has a seperate value,
### how do I get the values of each checkbox? For example, how would I tell
### if
### the following checkboxes are checked?
###
I found the problem. It's a bug in PHP 4.3.0 and is fixed in CVS which I
just confirmed...
Serge.
In article 007a01c2c3e1$bab70650$a629089b@TBHHCCDR, 1lt John W. Holmes
[EMAIL PROTECTED] wrote:
Is output_handler set in your php.ini?
---John Holmes...
--
PHP General Mailing List
Or name them as an array, user[] so that you have a $_REQUEST['user']
array. Checkboxes are a little pecular in how they come across into PHP. If
you search the archives you'll get some good examples.
---John Holmes...
- Original Message -
From: Richard Whitney [EMAIL PROTECTED]
To: Greg
I want to be able to let people check multiple values. I want them to be
given a list of usernames and check the ones they want deleted, so a radio
button won't work. If you go to Yahoo mail and select more than one
checkbox, you can delete more than one item. I looked at the source and all
the
Ah, that's exactly what I was looking for. Thanks! I had the right PHP
code, just didn't have the right html :)
/Greg
1lt John W. Holmes [EMAIL PROTECTED] wrote in message
00a201c2c3e8$6e2431d0$a629089b@TBHHCCDR">news:00a201c2c3e8$6e2431d0$a629089b@TBHHCCDR...
Or name them as an array, user[]
Then I would do what John Holmes suggested.
---John Holmes...
Or name them as an array, user[] so that you have a $_REQUEST['user']
array. Checkboxes are a little pecular in how they come across into PHP. If
you search the archives you'll get some good examples.
---John Holmes...
From:
$var = $_GET[varName];
Tim Haskins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am crossing over from ASP to PHP and was wondering how to get the same
affect as request.questring ? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To
I have troubles with my php installation and file uploads. It's
kind of a strange problem. When files are uploaded via a form in php
they double in size and become corrupt. A text file smaller than about
2K will work, but past the text starts getting repeated spuratically
throuought the file
--- Tim Haskins [EMAIL PROTECTED] wrote:
I am crossing over from ASP to PHP and was
wondering how to get the same affect as
request.questring?
If your URL is:
http://example.org/foo.php?bar=hello
Then you can use $_SERVER['QUERY_STRING'] to get:
bar=hello
or you can use $_GET['bar'] to
Does anyone know why url's such as
http://www.php.net/mailing-lists.php/This/is/a/test
can be passed with php.
This this legal with respect to HTML?
I have noticed that Ariadne uses this approach and was curious.
Thanks for the help
--
Glenn Pierce [EMAIL PROTECTED]
--
PHP General
I just logged in to my Yahoo mail account. I have only one account, but when I
went to Preferences, it had a select multiple, which you might want to consider
RW
Quoting Greg [EMAIL PROTECTED]:
### I want to be able to let people check multiple values. I want them to be
### given a list of
can anyone tell me why this while loop fails?
==
while ($row = mysql_fetch_array($sql_result)):
$phone = $row[phone];
$date = $row[date];
if ($phone == $_POST[areacode]$_POST[prefix]$_POST[suffix]):
if ($date == NULL):
$date = today;
- Original Message -
From: Glenn Pierce [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 3:52 PM
Subject: [PHP] paths after file in url
Does anyone know why url's such as
http://www.php.net/mailing-lists.php/This/is/a/test
This only works in apache. See Method
hey...
I'm sure the question has been answered a 1000 times!!! I'm trying to create
a simple app to send email via PHP, using the mail function.
I'm using RedHat(Linux 8.0 , Sendmail), PHP(4.2.2), Apache (2.0.40).
I'm using the following piece of code:
Is there currently any hooks into MQSeries through PHP. I need to put some
infromation on a queue, and was hoping not have to break out the C++ coding
tools.
_
The new MSN 8: smart spam protection and 2 months FREE*
Hi,
i am having problem to get GD working properly.
i used to compile GD by myself an link the libgd.a
into PHP, but as PHP 4.3.0 offers an included
version, and besides its recommonded to use it,
it saves some work. but i cant get it to work right.
the problem is the jpeg support. is it build
Define fails
- Original Message -
From: Jay Fitzgerald [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 3:11 PM
Subject: [PHP] WHILE IF/ELSE loop not working
can anyone tell me why this while loop fails?
==
while
select multiple applies to selection lists, not checkboxes
- Original Message -
From: Richard Whitney [EMAIL PROTECTED]
To: Greg [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 2:59 PM
Subject: Re: [PHP] checkboxes php
I just logged in to my Yahoo mail account.
By default PHP 4.3.0 has register_globals = off. As
others have mentioned, you need to change
register_globals to on in order to use HTTP GET
variables as global variables. Otherwise, you need to
use $_GET['varname'] in the case you can't edit the
configuration file.
Regards,
Brian Burg
1 - 100 of 134 matches
Mail list logo