Look at the line directly above where you're parse error is.
It semi-lacks part of the lower intentestional tract.
That will seem funny to you tommarrow.
--
Plutarck
Should be working on something...
...but forgot what it was.
PS: No it won't.
""Richard Kurth"" [EMAIL PROTECTED] wrote in
Yasuo Ohgaki wrote:
set_nonblock() is in PHP C source, but not in the PHP Manual. May be it's dead?
It seems it take one parameter (file descriptor), let us know if it works. I
might want to use it in the future :)
Yasuo,
There is one mention of set_nonblock() in the manual under
Also check out the CURL group of functions in the manual.
As for code, nope. Never needed to do it, and you won't find the code you
need anywhere. You'll have to write it yourself. Which is kind of the point,
I thought...
You'll find all the info you need in the manual under fsockopen, fgets,
You'll probably want to play with the following function:
http://www.php.net/manual/en/function.parse-url.php
--
Plutarck
Should be working on something...
...but forgot what it was.
"Mike Gifford" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I'm
I don't have to wait tell tomorrow I feel funny already
Thanks
Richard
Look at the line directly above where you're parse error is.
It semi-lacks part of the lower intentestional tract.
That will seem funny to you tommarrow.
--
Plutarck
Should be working on something...
...but forgot
Hi :)
Well, I have installed php on my Windows 98 machine. But i am unable
to use the imap funcationality. I have the php_imap.dll in my php.ini file
for which i have removed the semicolon (;extension = php_imap.dll) . But it
dosent seem to work .I suppose i should have (php_imap4r2.dll ).
Michael,
This works for us:
Location /
php_value include_path "/usr/local/etc/httpd/htdocs/site/inc:."
/Location
in the httpd.conf.
good luck,
@lvin
-Original Message-
From: Temeschinko, Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 11:40 PM
To: 'Steve
the way I'd do it is " ... WHERE lastname LIKE '$last_name%" AND firstname
LIKE "$first_name%"
this gets round the problem of blank first names and treats all names as
being the start of a name, e.g. "Smith" will find "Smithson", but because of
your ORDER BY, for an exact imnput, an exact match
hi,
I'm hari. I've need a help from you.
Pls look by code.
$string="line1\nline\2line3";
$fp=fopen( "somefile", "w");
fwrite( $fp, $string);
fclose( $fp);
Then the file contents will be
line1\nline\2line3
Instead I'm looking for.
line1
line2
line3
Pls help me on some true program way.
I tried
php_value include_path ".:./foo"
php_value include_path=".:./foo"
php_value include_path .:./foo
php_value include_path=.:./foo
php_flag include_path .:./foo # but flag is not right
according to the
documentation
nothing :-(
It seems I must change al my includes to
You could use continue to skip to the start of a loop.
e.g.
while (1)
{
start of code you want to jump back too
.
.
.
if (so and so is true) continue;
.
.
.
.
break; // exit loop
}
Unlike c php does not have a goto command.
However what you describe does not sound
Hello,
Can anyone help me to achieve this using PHP:
I would like to have a personal photographic portfolio site with thumbnails.
Clicking on the thumbnail would bring up another page which has an enlarged
version of the photo on a standard 'template page'. In other words the
photo src is a
Hi There,
I currently have a MySQL table, with around 700 populated rows in it. I'd
like to know if there's a quick and easy way to update one column across all
of the rows in the database. I shouldn't imagine it's a difficult job, but
I'm having a mental block :)
Thanks in advance.
--
I've posted this email one week ago. I think it may help you
a little with some new ideas. Don't forget the other good advices
like 'make clean' in gd, php and apache and.. so on..directories
and removing config.cache from php directory before making a
new recompilation.
Hope it helps!
On Friday 06 April 2001 03:12, you wrote:
Technically yes.
In an HTTP session, the server returns a header "Content-length" which
lists the more or less exact size of the file being sent.
Caution: The server is not required to send this header - PHP for example
doesn't do it automatically.
On Friday 06 April 2001 01:57, you wrote:
NOTE(!): LIKE '%foo%' DOES NOT SCALE. It looks like you are making a
phone book, which could get to be a lot of numbers. On the other hand
'foo%' oddly scales to hundreds of thousands of records without any
problems (make sure it's key'd!).
Well, if
chregu Fri Apr 6 03:13:13 2001 EDT
Modified files:
/php4/pear/Experimental/XML sql2xml.php
Log:
- Row and result Tag names are now configurable
- some errorchecking
Index: php4/pear/Experimental/XML/sql2xml.php
diff -u
Hello Michael
Some people have reported with the ADODB database class library that they
were having problems with inserts and updates when using mssql_pconnect.
Switching to regular mssql_connect the problems disappeared.
I suspect it has something to do with persistent connections having
We have successfully installed php3 and php4 under AIX4.3.3 with
Apache1.3.19.
Now we can see the php3-documents in the browser(NS4.7).
In opposition to that the php4-documents are only downloadable.
Is there any setting that is not described in the manual we have to do
therewith the browser can
Hi I am trying to format a date extracted from my DB. I have run my query
and then have used the following to get my row data
while ($row = mysql_fetch_array($sql_result)) {
$title = $row["message_title"];
$message = $row["message"];
Hi All,
We have successfully installed php3 and php4 under AIX4.3.3 with
Apache1.3.19.
Now we can see the php3-documents in the browser(NS4.7).
In opposition to that the php4-documents are only downloadable.
Is there any setting that is not described in the manual we have to do
therewith the
in .conf/httpd.conf
Do the following;
# For example, the PHP 3.x module (not part of the Apache distribution - see
# http://www.php.net) will typically use:
#
AddType application/x-httpd-php3 .php3 .php #or whatever extensions.
AddType application/x-httpd-php3-source .phps
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 3:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Array problem
I am having big problems with merging two arrays. I just
can't seem to get my head around it.
I have two arrays
Very strange. I've noticed some integrity issues using mssql_pconnect,
but we don't explicitly use transactions in any case, so it may not
even go that deep.
I wonder if the odbc functions have this issue - anyone have any ideas?
[EMAIL PROTECTED] wrote:
Hello Michael
Some people have
Have you already tried to patch the Zend/zend_list.c file and recompile it?
there is a known problem with persistent connections,
read this:
http://groups.google.com/groups?hl=enlr=safe=offic=1th=8810708445e328bb;
seekd=939114469#939114469
and this:
Something I almost always do when pulling dates from a mySQL table is
format the date column in the query itself using the mySQL function
DATE_FORMAT()...
At 01:13 PM 4/6/01 +0100, Matt Davis wrote:
Hi I am trying to format a date extracted from my DB. I have run my query
and then have used
Hi:
Can someone please explain the following error message?
ERROR 1052: Column: 'compid' in field list is ambiguous
Here's my mySQL statement:
$sql="SELECT fname, lname, compid, status, dept, room, bldg, phone,
ticket_num, compid, date_rpt, request_type, hardware, model, dci,
In your query you have compid specified twice. If this field is named the
same in two seperate tables, preface your fieldnames with the table names...
$sql="SELECT fname, lname, users.compid, status, dept, room, bldg, phone,
ticket_num, tickets.compid, date_rpt, request_type, hardware, model,
Toni Barskile wrote:
Hi:
Can someone please explain the following error message?
ERROR 1052: Column: 'compid' in field list is ambiguous
Here's my mySQL statement:
$sql="SELECT fname, lname, compid, status, dept, room, bldg, phone,
ticket_num, compid, date_rpt, request_type,
well, that didn't work either. Same error. Show me where my thinking is
wrong, if I've got an array ($HTTP_POST_VARS) in this case. and
$HTTP_POST_VARS[var_list] is an array and the first entry in the array. if
I did $x = each($HTTP_POST_VARS) in a while loop, the first combination that
is
Thanks for everyone's help w/the error message thing.
I got my SQL statement working, but it's not returning any rows. I noticed
that there's nothing in my compid field in the 2nd table. Does anyone know
how I might go about automatically filling in the value in the 2nd table
when someone
Mike,
You could investigate the functions strstr (www.php.net/strstr) and stristr
(www.php.net/stristr), it sounds like they're what you're after.
HTH
Jon
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2001 15:42
To: [EMAIL PROTECTED]
Subject: [PHP] String in
I have two table one categories, two with relationship to table one...
Example:
Table 1
catid category
1 General Gaming News
2 Combat Flight Simulator
3 B-17 Flying Fortress
4 IL-2 Sturmovik
5 Crimson Skies
6 European Air War
Table Two
id datecategorydesc
Hello Mike,
try preg_match
See
http://www.php.net/manual/en/function.preg-match.php
HTH
Regards
- Original Message -
From: Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 4:42 PM
Subject: [PHP] String in a string
How do I find out if a string is
elixer Fri Apr 6 07:42:07 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Fixed possible overflow.
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.11 php4/ext/skeleton/skeleton.c:1.12
---
i'm trying to make all my include files into functions for
manageability. I have one function that i'd like to get to work.heres
teh code..
?php
$db = mysql_pconnect("localhost", "user" ,"pass");
mysql_select_db("database",$db);
?
i had it in a function and had the function return
Wouldn't this have made it in PHP 4.0.4 by now? Or am I reading 2001-01-04
wrong? (january 4?)
Kees Hoekzema wrote:
Have you already tried to patch the Zend/zend_list.c file and recompile it?
there is a known problem with persistent connections,
read this:
Toni Barskile wrote:
Thanks for everyone's help w/the error message thing.
I got my SQL statement working, but it's not returning any rows. I noticed
that there's nothing in my compid field in the 2nd table. Does anyone know
how I might go about automatically filling in the value in the
try preg_match
A bit of a big hammer for cracking nuts.
strstr and stristr will tax your server much more lightly, and, no doubt, do
the job quicker as well.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing
Hi there
Trying to run apache with support for PHP 4.0.4pl1 as a module
I set up eveything and when I launch apache it dies with an error like this
APACHE caused an invalid page fault in
module MSVCRT.DLL at 017f:780102ba.
Registers:
EAX= CS=017f EIP=780102ba EFLGS=00010206
"Richard Kurth" [EMAIL PROTECTED] wrote:
I can not seem to get this figuered out I whant to run this function to
pull
data out of a file and thin use the data in the rest of the program. When
I
do this I get a Parse error: parse error in
c:/httpd/htdocs/autosetup/auto/test.php on line 25
sniper Fri Apr 6 08:18:52 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/main main.c
Log:
Support also old arg_separator directive.
Index: php4/main/main.c
diff -u php4/main/main.c:1.356.2.2 php4/main/main.c:1.356.2.3
--- php4/main/main.c:1.356.2.2 Thu
Hello,
ok I am getting completely crazy here, I use this to make shure
outlook will display newlines correctly. But now I found out
that exchange is jumping 2 lines at every newline with this...
$msg = str_replace ( "\n", "\r\n", $msg );
My question, what sould I use in order to send a long
This would work ...
?
$arrA = array(1,2,3,4,5,6);
$arrB = array(9,8,7,6,5);
// pick an arbitrary one to start with ...
for($i = 0 ; $i = sizeof($arrB) ; ++$i)
if(!in_array($arrB[$i],$arrA))
$arrA[] = $arrB[$i];
?
--Joe
On Fri, Apr 06, 2001 at 09:19:52AM +0100, Alexis
should work(works for me).probly something simple.
?php
function conn(){
$db = mysql_pconnect("localhost", "" ,"");
mysql_select_db("database",$db);
return $db;
}
$db = conn();
$result= mysql_query("select * from table",$db);
while($myrow=MySQL_fetch_array($result))
{
Geez Plutarck where are all the GTK functions? :) Just kidding this is
great and I am gonna snarf a copy to use locally.
--
phill
""Plutarck"" [EMAIL PROTECTED] wrote in message
9ajqk2$ll4$[EMAIL PROTECTED]">news:9ajqk2$ll4$[EMAIL PROTECTED]...
First of all I use Edit Plus, which uses a list
You need a UNIX timestamp for the second argument in date() - thus you need
to first convert your $even into a timestamp (number of seconds past 1970).
?
$event = '2001-03-15 24:03:34';
list($date,$time) = explode(' ',$event);
list($year,$month,$day) = explode('-',$date);
WoW. That is UberGeek! I am humbledcool...fear not, good sir, for that
list will become very handy indeed.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Friday, April
jon Fri Apr 6 09:01:20 2001 EDT
Modified files:
/php4 configure.in
Log:
Fix expansion of PEAR_INSTALLDIR.
Index: php4/configure.in
diff -u php4/configure.in:1.229 php4/configure.in:1.230
--- php4/configure.in:1.229 Wed Apr 4 13:52:43 2001
But members.evolt.org does, along with MySQL, Cold Fusion, and a heap of
other goodies.
HTH
Jon
-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2001 17:03
I'm not sure about Freeserve, but I don't think that Geocities supports PHP
on their webpages (at
Hello,
I am wondering witch way is that best to go with my forms..
Self Referenceing or have the data sent to another page for the
processing.
i.e.
(option one)
My forms page is named "submit.phtml"
form action="submit.phtml" method="post"
OR
(option two)
My forms page name is
Why are you having problems with option one? That one makes more
sense to me, because you can have the FORM in only one file, and show
error messages/etc on the same page as the form.
psuedo-code
?
if (submitted) {
check values
if no errors(redirect to next page)
if errors }
?
?= $errors;?
Howdy Y'all!
I'm trying to figure out why I'm having so much difficulty with
nested for loops.
As a test, I did this and it doesn't work. The script simply doesn't
give any output.
?
error_reporting(E_ALL);
for( $i=0; $i10; $i++ )
for( $j=0; $j10; $j++ )
{
$res = $i * $j;
A copy and paste into foo.php and then a php -q foo.php yielded results for
me.
--Joe
On Fri, Apr 06, 2001 at 10:44:59AM -0600, [EMAIL PROTECTED] wrote:
Howdy Y'all!
I'm trying to figure out why I'm having so much difficulty with
nested for loops.
As a test, I did this and it doesn't
This code won't work. I'm trying to get an error if the username
is entered incorrectly but it won't go through the if brackets. I even
tried printing out $num and it's 0. I also tried
if ($num = "0") {
if ($num = '0') {
?php
include("connect.php");
$result=mysql_query("select * from table
I cut and pasted your code and it worked fine - ???
kirk
As a test, I did this and it doesn't work. The script simply doesn't
give any output.
?
error_reporting(E_ALL);
for( $i=0; $i10; $i++ )
for( $j=0; $j10; $j++ )
{
$res = $i * $j;
print(" result = $res br");
Thanks for the tips guys,
but I'm also new to the coding...
can anyone tell me what the script to accept the variable might be?
Geocities does do lots of Cgi scripts - is that better/easier?
-Original Message-
From: Jon Haworth [SMTP:[EMAIL PROTECTED]]
Sent: 06 April 2001 17:20
To:
"Jeff Oien" [EMAIL PROTECTED] wrote:
This code won't work. I'm trying to get an error if the username
is entered incorrectly but it won't go through the if brackets. I even
tried printing out $num and it's 0. I also tried
if ($num = "0") {
if ($num = '0') {
The single "=" sets the variable
The comparison operator is ==. = means "assign". Try:
if ($num == 0) {
foo(bar, baz);
}
AFAIK what your code means is "assign 0 to $num and then, if that worked,
print the error message."
HTH
Jon
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: 06 April
At 11:51 AM 4/6/01 -0500, Jeff Oien wrote:
if ($num = 0) {
print "htmlerror message etc.
exit;
}
This "conditional" will always run. you are assigning $num the value of
zero within your if() statement, and that assignation actually happens, so
the result is "true" and
jon Fri Apr 6 09:04:25 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Make this message more grammatically correct.
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.12 php4/ext/skeleton/skeleton.c:1.13
---
"Jeff Oien" [EMAIL PROTECTED] wrote:
This code won't work. I'm trying to get an error if the username
is entered incorrectly but it won't go through the if brackets. I even
tried printing out $num and it's 0. I also tried
if ($num = "0") {
if ($num = '0') {
The single "=" sets the
jon Fri Apr 6 09:24:56 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Comment out the 'include_path' variable by default.
# Leaving it blank overrides the default include path, which contains the
# PEAR directory.
# The other option is to
I think the function should be mysql_num_rows. There's an mSQL function
msql_numrows, but for MySQL it needs the second underscore in between 'num'
and 'rows'.
$num = mysql_numrows($result);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Joe Stump wrote:
A copy and paste into foo.php and then a php -q foo.php yielded results for
me.
Yeah, it's giving me results too today. I don't know what went wrong
yesterday.
To extend my question, I'm trying to work with multidimensional arrays.
For example, I would like to do this:
You just do something like this:
?
$arr = array(0,23,4,2,1);
for($i = 0 ; $i 10 ; ++$i)
$arrB[] = $arr;
while(list(,$my_array) = each($arrB))
while(list($key,$val) = each($my_array))
echo $key.' - '.$val."\n";
?
Just throw arrays into arrays :O)
--Joe
On Fri, Apr
Hi!
I found an interesting PHP issues here. I use the "odbc_result_all" or
"odbc_fetch_row" or "odbc_result" to display the data in any column in a
row. What I got is that a very long data on a column box doesn't show them
all on the website. The MS-SQL database showed all of the data in
"long huynh" [EMAIL PROTECTED] wrote:
I think the function should be mysql_num_rows. There's an mSQL function
msql_numrows, but for MySQL it needs the second underscore in between
'num'
and 'rows'.
$num = mysql_numrows($result);
Either will work. mysql_numrows() is the old name of the
Does anyone know the way to make php4 running as NSAPI, work with named
virtuals? It seems to work only if it is a real virtual (with its own IP)
and not a named virtual. Any help is greatly appreciated
Tom Freeman
Web Analyst
StellarRAD Systems
an Everest Global Technologies Company
p |
Hello all,
Today, I compiled my PHP as CGI, since I want to use some PHP scripts in cron jobs.
Shouldn't be too hard, I tought, and compiled with
./configure --with-mysql
For some strange reason, it does not work. Look at this:
[root@blazebox cron]# php ./missiles.php
File
Hi,
I am trying to find some info on upgrading from php3 to php4.
I can't seem to find any docs about upgrading, just installing. Is this the same thing?
Do I have to re-compile apache just to go from php3 to php4?
Thanks,
Chris.
http://www.php.net/manual/en/migration4.php
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 12:19 PM
To: php
Subject: [PHP] Help please.
Hi,
I am trying to find some info on upgrading from php3 to php4.
I can't seem to find any docs
Hi!
Well, I want to send an email to about 300 people. The
problem is that if I use this method people can see
all the email address of the people whoever it is sent
to.
?php
$connect = mysql_connect();
$query = "select email from news";
$execute = mysql_db_query("uaegraduate", $query);
maybe, but fact is that it isn't in php404pl1, and it usefull if you
use persistent connections :)
Kees
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens
Michael Kimsal
Verzonden: Friday, April 06, 2001 5:12 PM
Aan: [EMAIL PROTECTED]
Onderwerp: Re: [PHP]
So, now that you've seen 'em all, which one is your favorite? :)
Kirk
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Nearly all (1755) PHP functions in a text file
In any case, there are 1755
Yes, thank you, but this has nothing to do with what I asked, this is about
CODE migration.
http://www.php.net/manual/en/migration4.php
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 12:19 PM
To: php
Subject: [PHP] Help please.
On Fri, Apr 06, 2001 at 12:27:22PM -0400, Curtis wrote:
Self Referenceing or have the data sent to another page for the
processing.
I usually do self-referencing, since this way I have everything
in one place, don't rely on two scripts, don't need to open
two files in my editor etc. :)
-fkr
elixer Fri Apr 6 10:48:34 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Fixed possible overflow again.
# Heh...
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.13 php4/ext/skeleton/skeleton.c:1.14
---
"Dhaval Desai" [EMAIL PROTECTED] wrote:
Well, I want to send an email to about 300 people. The
problem is that if I use this method people can see
all the email address of the people whoever it is sent
to.
Add the addresses to the bcc: field instead of the to: field. I believe
this is
"Chris" [EMAIL PROTECTED] wrote:
I am trying to find some info on upgrading from php3 to php4.
I can't seem to find any docs about upgrading, just installing.
Is this the same thing?
Do I have to re-compile apache just to go from php3 to php4?
Upgrading from PHP3 to PHP4 consists of
How come sometimes I get this message and sometimes I dont?
[Fri Apr 6 13:49:15 2001] [error] PHP Warning: 3 is not a valid
PostgreSQL lin
k resource in /usr/local/apache/htdocs/ltt-dev/htdocs/formproc.php3
on line 134
It worked fine until I upgraded to PHP4 and now a bunch of code is
Hi all,
Can anyone tell me how to write a script to close the current opened window
with hyperlink? Thank you.
Calvin Chua
Systems Analyst
InterClean Equipment, Inc.
734-975-2967
www.InterClean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Okay, you may call me an idiot all you want,
But if the extension_dir= ./
In php.ini
And PHP is loaded as an apxs module in apache, then just where does ./ point
to?
ServerRoot?
DocumentRoot?
Some other directory?
Having a major brain in getting my .so into the right place.
Also, how can
This is offtopic, but easy
User javascript
Make your link =
a href="javascript:window.close();"linked item /a
If you are wanting to do it with PHP, stop.
PHP is server side only
http is connectionless, the server can't tell the client to close it's
window.
On 4/6/01 11:45 AM, "Wee Chua" [EMAIL
sniper Fri Apr 6 11:01:52 2001 EDT
Modified files:
/php4/ext/gdgd.c php_gd.h
Log:
Killed some compile warnings.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.120 php4/ext/gd/gd.c:1.121
--- php4/ext/gd/gd.c:1.120 Sat Mar 31 22:20:45 2001
+++
You need to do this using Javascript since it is a client side function.
window.close() is the function you are looking for.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Wee Chua [mailto:[EMAIL PROTECTED]]
Sent:
You could do it only in javavascript
or in php
echo "a href=\"javascript://\" OnClick=\"self.close\"Close this
window/a\n";
py
At 02:45 PM 4/6/01 -0400, you wrote:
Hi all,
Can anyone tell me how to write a script to close the current opened window
with hyperlink? Thank you.
Calvin Chua
I have a page with multiple form submit buttons that carry different values
to do different functions and such.
form name="bidfile" method=post action="?=$ME?"
input type=submit name="mode" value="Edit Contacts"
input type=submit name="mode" value="Add Products"
input type=text name="something"
Yes, but you no longer check the value of "value" to determine which button
was clicked. Instead, give each button a unique *name* attribute, then check
if $name_x is set. The browser returns the x,y coordinates of the point
where the user clicks the button, in variables named name_x and name_y.
Oops. You do need the type=image and src= attributes, instead of what I
wrote in the example. Good thing it's Friday :)
-Original Message-
From: Johnson, Kirk
Sent: Friday, April 06, 2001 1:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] FORM input type=image ... with a posting
Hello php,
Soeey but I can't find anyexample abot PHP + IRC..
Please help me.
_
2001 m. balandþio 6 d.
Marius
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi folks, i writing in order to get a simple problem i am facing with
FastTemplate PHP lib.
I am trying to get my template parsed, but when i access the url, i get
an error:
Warning: Undefined property: table in
/usr/home/grios/.public_html/php_inc/FastTemplate.inc on line 376
0 0
1 10
2 20
3
Are there any PHP magazines stateside? I see all kinds of ASP mags, but none for PHP
Hello,
I'm creating a mailinglist archive in PHP, and all is going
very well. I'm planning to release it open source when
version 1.0 is ready.
I have a question, when i get emails and parse them sometimes the
name of the sender is in this format:
=?iso-8859-13?B?TWFyaXVzIFBldHJhdmnoaXVz?=
Hi, has someone an idea where to find a tutorial to
build a php based chat enviroment (both implementation
and, very important, the logical background)
Many thank in advance
Lars ;-)
__
Do You Yahoo!?
Gesendet von Yahoo! Mail -
300 recipients is allot. I would not use a script for so many.
Why don't you use a program that was designed to send
many emails such as Group Mail :
http://www.sellshareware.com/CustomView.asp?PrID=34604AfID=2407PageID=1
I use it to send mail to tens of thousands of recipients and it's great.
Hi,
Does anyone know if and what the limit is of bcc that can be used in the mail()
function? Hundreds, thousands?
Thanks,
Chris
My forms page is named "submit.phtml"
form action="submit.phtml" method="post"
and if you use the ? echo $PHP_SELF; ? then you don't even need to wory
about the file name, as it will always submit to itself...
form action="? echo $PHP_SELF; ?" method="POST"
-js
-Original Message-
Have you looked at php.net/manual/ ? Just read through the variables portion
and it goes over it.
-js
-Original Message-
From: Cheng, Kynan (London) [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 9:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Variables
Thanks for
If you're splitting by a defined pattern (such as a space " ") explode is
quite a bit faster...and i believe that if you need reg exps. you can use
split() (which will take a regex as the pattern)...
-js
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
1 - 100 of 146 matches
Mail list logo