[PHP] wish list

2001-08-01 Thread Erick Calder

does anybody know how to submit a feature request?  I can't do it via the
bug reporting mechanism.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] wish list?

2001-08-01 Thread Erick Calder

does anybody know how to submit a feature request?  I can't do it via the
bug reporting mechanism.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] wish list?

2001-08-01 Thread Erick Calder

I dumb.  I looked at the bugs page and the listbox for bugs of type reads:
Any (except Feature Requests).

I didn't realise I was looking at the search area!

1k thx - e

-Original Message-
From:   Mark Roedel [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, August 01, 2001 1:18 PM
To: Erick Calder; [EMAIL PROTECTED]
Subject:RE: [PHP] wish list?

 -Original Message-
 From: Erick Calder [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 01, 2001 2:24 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] wish list?


 does anybody know how to submit a feature request?  I can't
 do it via the bug reporting mechanism.

Is that can't as in I tried, and it didn't work or as in I wasn't
able to/didn't try?

If bugs.php.net isn't an option for some reason, I'd imagine your next
best bet would be to post something to the php-developers list.  Keep in
mind, though, that  using bugs.php.net is a good thing, as it gives your
request a trackable identity that can be reviewed, assigned, followed up
on, etc.  Simply posting a message to a mailing list doesn't do that
(unless the idea is so wonderful that somebody else is motivated to
enter it).


---
Mark Roedel ([EMAIL PROTECTED])  ||  There cannot be a crisis next week.
Systems Programmer / WebMaster  ||   My schedule is already full.
 LeTourneau University  ||-- Henry Kissinger


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] :(

2001-07-29 Thread Erick Calder

your code works for me.  it would be helpful to know how your code doesn't
work. does it pop the window at all?

couple of suggestions: use onClick instead of onclick - if I recall
correctly case matters in Javascript event names depending on your browser.
also, you don't need to use the javascript: specifier within event
handlers.  additionally you might want to quote the handler code.

- e

-Original Message-
From:   LDL Enterprise [mailto:[EMAIL PROTECTED]]
Sent:   Sunday, July 29, 2001 12:48 AM
To: *PHP-General mail list
Subject:[PHP] :(

 I cannot figure out why this button does not work any suggestions
are appreciated. Thanks.




$table = inventory;
$sql = SELECT * FROM $table where category='$category';
$result = mysql_query($sql);

while ($myrow = mysql_fetch_array($result))
{
printf(trtd border=1 bgcolor=#A0AAB9font face=Lucida Sans Unicode
size=4forminput type=button value=%s
onclick=javascript:window.open('view_pict.php?picture_id=%s.gif','MyWind
ow','width=450,height=600,menubar=no,scrollbars=yes,toolbar=no,location=
no,directories=no,resizable=yes,top=0,left=0')/form/font/td/tr
\n, $myrow[product], $myrow[product]);
}


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] automatic deallocation

2001-07-28 Thread Erick Calder

I've searched through the manuals and newsgroups but haven't found an
answer.  maybe someone on this list can tell me whether PHP will
automatically de-allocate filehandles and database connections upon script
termination?  i.e. do I always need to call fclose() and mysql_close()
before the script ends when I've called fsockopen() and mysql_connect()?

thx - e


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] END block

2001-07-28 Thread Erick Calder

is there an equivalent to Perl's END block? i.e some way to automatically
run certain code when a page is about to end?

1k thx - e


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] field values in multipart/form

2001-07-13 Thread Erick Calder

Hi, I'm running PHP 4.0.4pl1 on a RedHat 7.0 box.  I have the following
problem:

when using ENCTYPE=multipart/form for a FORM, PHP receives the values of
fields with a prepended \n e.g. with:

PRE
?
if ($f1) {
   echo test: /$f1/;
   exit;
   }
?
/PRE
FORM ENCTYPE=multipart/form
INPUT TYPE=TEXT NAME=f1
INPUT TYPE=SUBMIT
/FORM

if I enter Hello into the field and submit the form I get:

/
Hello/

what's the deal?? I've read through all the user comments on the file
uploads section but no one seems to have run into this.  is it a bug or did
I miss some docs somewhere?

1k thx - e r i c k



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Regex Help

2001-07-13 Thread Erick Calder

Sheridan,

I didn't test this in PHP, I'm more familiar with the Perl Regex, but this
might work for you, play with it:

/img\s*src=([^ ]*)/

note: \s = whitespace and the [^ ] means any nonspace character... the only
issue remaining that you might find s or 's around the string matched into
the ().

- e r i c k

-Original Message-
From:   Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]]
Sent:   Friday, July 13, 2001 9:04 AM
To: [EMAIL PROTECTED]
Subject:[PHP] Regex Help

I am trying to write a script that needs a list of all the images in an HTML
file.

I am trying this code

if (eregi ((img.+src=)(.+)[\s],$buffer, $regs ))
{
  echo $regs[2]BRBR;
}

The problem, however is that when it looks at

IMG SRC=images/Logo.gif ALT=Only Child Club - The Place for Only
Children

instead of getting images/Logo.gif like I want I am getting

images/Logo.gif ALT=Only Child Club - The Place for Only Children

I am not as familiar with Regexes as I would like and any help would be
greatly appreciated

Thanks

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]