Hmmm. Well they both work. Now I've learned two ways :)
Coming from Perl, Javascript, Delphi, ASP, etc. it's always fun to know
someone has done something different.
> > if (!strpos(...))
> > will be better...
> Why?
The only thing I would love to know is why isn't error checking more
precise/h
If you'd really like to develop your regex skills, and everyone should,
pickup Mastering Regular Expressions by Jeffrey Friedl(O'Reilly Press). Its
the best out there, and will probably teach you more than you thought
possible.
Jack
-Original Message-
From: Martin Thoma [mailto:[EMAIL PR
Andrew Kirilenko wrote:
> Oops. Forgot about 0 return ;(
Which means ???
They both work for me, yeah? No?
This tells me that the user made a boo boo:
if((strpos($yourimage, "\.jpg") !== false) || (strpos($yourimage, "\.jpeg")
!== false))
So what does this do?
if((!strpos($yourimage, ".jpg")
See these. Reduire.phps probably has what you want.
http://www.collegesherbrooke.qc.ca/si/php/exemples/photos/afficher.phps
http://www.collegesherbrooke.qc.ca/si/php/exemples/photos/charger.phps
http://www.collegesherbrooke.qc.ca/si/php/exemples/photos/lire_binaire.phps
http://www.collegeshe
Hi,
I know how to make an error message when the connection is lost with the
database, with the @ and the OR DIE in the connection with the database.
Is there also a way to display a custom error message when this error is
displaid?
"Warning: Supplied argument is not a valid MySQL result reso
Hi All,
Here is the problem:
I have a quey building form that returns results from a database as a form to generate
a new query.
On open, it shows a form, then on submit it shows resutls that are in a form
(checkboxes that let
you omit that record from the next query by $id).
What I want to do
Hi Chris, Just a small modification and it works!!!
Many thanks!
Syntax:
onclick=\"document.pageform.action='$PHP_SELF#$value'; submit()\"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Ok, where can I find a tutorial about sending mail using fsockopen ?
***
> Hi, is it possible to send SMTP mail if the server where are my pages
> hosted forbids the use of the mail() function ? I mean, by opening a
> sockets connection to an external SMTP server and writing the commands
> the
> Ok, where can I find a tutorial about sending mail using fsockopen ?
>
> ***
http://www.phpbuilder.com/columns/tim19990221.php3
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
Hi !
Do I have to edit mu ini file to display pictures with php? Is it possible
to have pictures in include files?
Best regards
Ramyond LIlleødegård
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
In article ,
[EMAIL PROTECTED] (Sjoerd Van Oosten) wrote:
> Is there also a way to display a custom error message when this error is
> displaid?
>
> "Warning: Supplied argument is not a valid MySQL result resource in
> /opt/guide/www.domain.nl/HTM
Question:
I want to build php withd support for ORACLE 8i or 9i.
Normally you use the option with-oci=. So far so good.
How can I achieve this when the oracle database is running on another
server?
Thx
Haemelinck Steve
Haemelinck.be - Developers Unite (Under construction )
http://www.haemelin
Hello, a question again.
I have a pdf file which can be downloaded. How can i link to this file so,
that the file isn't opened in the browser (if acrobat reader is installed)
but the file download popup appears?
Greetings,
Sjoerd van Oosten
Digitaal vo
Hi, I'm Carlo.
Is there a way (probably javascript) to fill a text
field (or another form object) selecting from a select
box on a window different from that where's the text
filed ?
Ciao, Carlo
__
Abbonati a Yahoo! ADSL con A
You can do that only if you've got a reference to the window you want to
change its properties.
the reference is obtained like this:
var w = window.open('file.htm');
w.document.theform.theControl.theProperty = someValue here;
"Carlo loiudice" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTEC
Hello!
Is there is anyway to copy from a table to another but by applying a filter?
Example:
SELECT * FROM table1 WHERE (condition)
INSERT INTO table2 (the results of the last query)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
_lallous wrote:
>
> Hello!
>
> Is there is anyway to copy from a table to another but by applying a filter?
>
> Example:
>
> SELECT * FROM table1 WHERE (condition)
> INSERT INTO table2 (the results of the last query)
Just try this one:
INSERT INTO table2 SELECT * FROM table1 WHERE (condition)
INSERT INTO table2 SELECT * FROM table1 WHERE (condition);
Easy, isn't it *grin*
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "_lallous" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 1:16 PM
Subjec
On Fri, Nov 16, 2001 at 10:49:17AM +0100, Steve Haemelinck wrote:
> Question:
>
> I want to build php withd support for ORACLE 8i or 9i.
> Normally you use the option with-oci=. So far so good.
> How can I achieve this when the oracle database is running on another
> server?
you need to ins
Hi
Besides that I think this is the wrong mailing list for dealing with that
question:
Zip that pdf-file and link to the zipped file.
Everything else (AFAIK) won't work because this phenomenon is caused by the
client and not by the server.
Stefan Rusterholz, [EMAIL PROTECTED]
Hello all!
I want to use gettext for multilanguage webs, so I'm pleasing you to help
me.
When I use this: xgettext --keyword=_ file.php
on this file:
---